diff --git a/cluster-autoscaler/cloudprovider/oci/README.md b/cluster-autoscaler/cloudprovider/oci/README.md index 445a1d1cfcb3..fa7ea83ad7d8 100644 --- a/cluster-autoscaler/cloudprovider/oci/README.md +++ b/cluster-autoscaler/cloudprovider/oci/README.md @@ -49,6 +49,23 @@ Allow dynamic-group acme-oci-cluster-autoscaler-dyn-grp to use vnics in compartm Allow dynamic-group acme-oci-cluster-autoscaler-dyn-grp to inspect compartments in compartment ``` +### If using Workload Identity + +Note: This is available to use with OKE Node Pools or OCI Managed Instance Pools with OKE Enhanced Clusters only. + +See the [documentation](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contenggrantingworkloadaccesstoresources.htm) for more details + +When using a mix of nodes, make sure to add proper lables and affinities on the cluster-autoscaler deployment to prevent it from being deployed on non-OCI managed nodes. + +``` +Allow any-user to manage cluster-node-pools in compartment where ALL {request.principal.type='workload', request.principal.namespace ='', request.principal.service_account = 'cluster-autoscaler', request.principal.cluster_id = 'ocid1.cluster.oc1....'} +Allow any-user to manage instance-family in compartment where ALL {request.principal.type='workload', request.principal.namespace ='', request.principal.service_account = 'cluster-autoscaler', request.principal.cluster_id = 'ocid1.cluster.oc1....'} +Allow any-user to use subnets in compartment where ALL {request.principal.type='workload', request.principal.namespace ='', request.principal.service_account = 'cluster-autoscaler', request.principal.cluster_id = 'ocid1.cluster.oc1....'} +Allow any-user to read virtual-network-family in compartment where ALL {request.principal.type='workload', request.principal.namespace ='', request.principal.service_account = 'cluster-autoscaler', request.principal.cluster_id = 'ocid1.cluster.oc1....'} +Allow any-user to use vnics in compartment where ALL {request.principal.type='workload', request.principal.namespace ='', request.principal.service_account = 'cluster-autoscaler', request.principal.cluster_id = 'ocid1.cluster.oc1....'} +Allow any-user to inspect compartments in compartment where ALL {request.principal.type='workload', request.principal.namespace ='', request.principal.service_account = 'cluster-autoscaler', request.principal.cluster_id = 'ocid1.cluster.oc1....'} +``` + ### Instance Pool and Instance Configurations Before you deploy the Cluster Autoscaler on OCI, your need to create one or more static Instance Pools and Instance @@ -123,6 +140,7 @@ use-instance-principals = true ### Configuration via environment-variables: - `OCI_USE_INSTANCE_PRINCIPAL` - Whether to use Instance Principals for authentication rather than expecting an OCI config file to be mounted in the container. Defaults to false. +- `OCI_USE_WORKLOAD_IDENTITY` - Whether to use Workload Identity for authentication (Available with node pools and OCI managed nodepools in OKE Enhanced Clusters only). Setting to `true` takes precedence over `OCI_USE_INSTANCE_PRINCIPAL`. When using this flag, the `OCI_RESOURCE_PRINCIPAL_VERSION` (1.1 or 2.2) and `OCI_RESOURCE_PRINCIPAL_REGION` also need to be set. See this [blog post](https://blogs.oracle.com/cloud-infrastructure/post/oke-workload-identity-greater-control-access#:~:text=The%20OKE%20Workload%20Identity%20feature,having%20to%20run%20fewer%20nodes.) for more details on setting the policies for this auth mode. - `OCI_REFRESH_INTERVAL` - Optional. Refresh interval to sync internal cache with OCI API. Defaults to `2m`. #### Instance Pool specific environment-variables diff --git a/cluster-autoscaler/cloudprovider/oci/common/oci_cloud_config.go b/cluster-autoscaler/cloudprovider/oci/common/oci_cloud_config.go index e55298c9b03f..d39143caef64 100644 --- a/cluster-autoscaler/cloudprovider/oci/common/oci_cloud_config.go +++ b/cluster-autoscaler/cloudprovider/oci/common/oci_cloud_config.go @@ -12,7 +12,7 @@ import ( "gopkg.in/gcfg.v1" ipconsts "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/instancepools/consts" npconsts "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/nodepools/consts" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "k8s.io/klog/v2" ) diff --git a/cluster-autoscaler/cloudprovider/oci/common/oci_shape.go b/cluster-autoscaler/cloudprovider/oci/common/oci_shape.go index 415412cebceb..9095d0f83f0a 100644 --- a/cluster-autoscaler/cloudprovider/oci/common/oci_shape.go +++ b/cluster-autoscaler/cloudprovider/oci/common/oci_shape.go @@ -7,13 +7,14 @@ package common import ( "context" "fmt" - "github.com/pkg/errors" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core" - "k8s.io/klog/v2" "sync" "time" + + "github.com/pkg/errors" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core" + "k8s.io/klog/v2" ) // ShapeGetter returns the oci shape attributes for the pool. diff --git a/cluster-autoscaler/cloudprovider/oci/common/oci_shape_test.go b/cluster-autoscaler/cloudprovider/oci/common/oci_shape_test.go index 531b00a60b1d..7cd722b3e072 100644 --- a/cluster-autoscaler/cloudprovider/oci/common/oci_shape_test.go +++ b/cluster-autoscaler/cloudprovider/oci/common/oci_shape_test.go @@ -6,13 +6,13 @@ package common import ( "context" - oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine" + oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine" "reflect" "strings" "testing" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core" ) type mockShapeClient struct { diff --git a/cluster-autoscaler/cloudprovider/oci/common/oci_util.go b/cluster-autoscaler/cloudprovider/oci/common/oci_util.go index 94c15ef279f4..781cc01c5337 100644 --- a/cluster-autoscaler/cloudprovider/oci/common/oci_util.go +++ b/cluster-autoscaler/cloudprovider/oci/common/oci_util.go @@ -7,17 +7,18 @@ package common import ( "context" "fmt" - "k8s.io/client-go/kubernetes" - "k8s.io/klog/v2" "math" "net" "net/http" "strings" "time" + "k8s.io/client-go/kubernetes" + "k8s.io/klog/v2" + "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) // IsRetryable returns true if the given error is retryable. diff --git a/cluster-autoscaler/cloudprovider/oci/instancepools/consts/annotations.go b/cluster-autoscaler/cloudprovider/oci/instancepools/consts/annotations.go index 6dc0e205f3b6..5851e0ed0153 100644 --- a/cluster-autoscaler/cloudprovider/oci/instancepools/consts/annotations.go +++ b/cluster-autoscaler/cloudprovider/oci/instancepools/consts/annotations.go @@ -10,6 +10,8 @@ import ( ) const ( + // OciUseWorkloadIdentityEnvVar is an env var that indicates whether to use the workload identity provider + OciUseWorkloadIdentityEnvVar = "OCI_USE_WORKLOAD_IDENTITY" // OciUseInstancePrincipalEnvVar is an env var that indicates whether to use an instance principal OciUseInstancePrincipalEnvVar = "OCI_USE_INSTANCE_PRINCIPAL" // OciUseNonPoolMemberAnnotationEnvVar is an env var indicating that non-members of instance pools will get a special annotation diff --git a/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_cache.go b/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_cache.go index 26d7e5f3aee7..72bf533879dc 100644 --- a/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_cache.go +++ b/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_cache.go @@ -7,18 +7,19 @@ package instancepools import ( "context" "fmt" + "math" + "strings" + "sync" + "time" + "github.com/pkg/errors" "k8s.io/apimachinery/pkg/util/wait" ocicommon "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/common" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/instancepools/consts" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests" "k8s.io/klog/v2" - "math" - "strings" - "sync" - "time" ) // ComputeMgmtClient wraps core.ComputeManagementClient exposing the functions we actually require. diff --git a/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager.go b/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager.go index 1eccce820a3c..f908c1699258 100644 --- a/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager.go +++ b/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager.go @@ -6,13 +6,14 @@ package instancepools import ( "fmt" - ocicommon "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/instancepools/consts" "os" "strconv" "strings" "time" + ocicommon "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/instancepools/consts" + apiv1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -23,10 +24,10 @@ import ( "k8s.io/autoscaler/cluster-autoscaler/cloudprovider" "github.com/pkg/errors" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests" ) var ( @@ -79,12 +80,21 @@ func CreateInstancePoolManager(cloudConfigPath string, discoveryOpts cloudprovid RetryPolicy: ocicommon.NewRetryPolicy(), } - if os.Getenv(consts.OciUseInstancePrincipalEnvVar) == "true" { + // Preference to Workload Identity if set to true + if os.Getenv(consts.OciUseWorkloadIdentityEnvVar) == "true" { + klog.V(4).Info("using workload identity...") + configProvider, err = auth.OkeWorkloadIdentityConfigurationProvider() + if err != nil { + return nil, err + } + // try instance principal is set to true + } else if os.Getenv(consts.OciUseInstancePrincipalEnvVar) == "true" { klog.V(4).Info("using instance principals...") configProvider, err = auth.InstancePrincipalConfigurationProvider() if err != nil { return nil, err } + // default to default provider } else { klog.Info("using default configuration provider") configProvider = common.DefaultConfigProvider() diff --git a/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager_test.go b/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager_test.go index de19c961ff4d..0fe27b40b510 100644 --- a/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager_test.go +++ b/cluster-autoscaler/cloudprovider/oci/instancepools/oci_instance_pool_manager_test.go @@ -8,14 +8,14 @@ import ( "context" apiv1 "k8s.io/api/core/v1" ocicommon "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests" kubeletapis "k8s.io/kubelet/pkg/apis" "reflect" "testing" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) // this is a copy of the mockShapeClient code in common/oci_shape_test.go diff --git a/cluster-autoscaler/cloudprovider/oci/nodepools/cache.go b/cluster-autoscaler/cloudprovider/oci/nodepools/cache.go index 25404e2bb158..c4a5a2412b13 100644 --- a/cluster-autoscaler/cloudprovider/oci/nodepools/cache.go +++ b/cluster-autoscaler/cloudprovider/oci/nodepools/cache.go @@ -12,8 +12,8 @@ import ( "k8s.io/klog/v2" "github.com/pkg/errors" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine" ) func newNodePoolCache(okeClient *oke.ContainerEngineClient) *nodePoolCache { diff --git a/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager.go b/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager.go index 633e8596ff1b..bcb19ddddc13 100644 --- a/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager.go +++ b/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager.go @@ -25,10 +25,10 @@ import ( ocicommon "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/common" ipconsts "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/instancepools/consts" npconsts "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/nodepools/consts" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" - oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" + oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core" ) const ( @@ -82,7 +82,13 @@ func CreateNodePoolManager(cloudConfigPath string, discoveryOpts cloudprovider.N var err error var configProvider common.ConfigurationProvider - if os.Getenv(ipconsts.OciUseInstancePrincipalEnvVar) == "true" || os.Getenv(npconsts.OkeUseInstancePrincipalEnvVar) == "true" { + if os.Getenv(ipconsts.OciUseWorkloadIdentityEnvVar) == "true" { + klog.Info("using workload identity provider") + configProvider, err = auth.OkeWorkloadIdentityConfigurationProvider() + if err != nil { + return nil, err + } + } else if os.Getenv(ipconsts.OciUseInstancePrincipalEnvVar) == "true" || os.Getenv(npconsts.OkeUseInstancePrincipalEnvVar) == "true" { klog.Info("using instance principal provider") configProvider, err = auth.InstancePrincipalConfigurationProvider() if err != nil { diff --git a/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager_test.go b/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager_test.go index 1fda1965aa47..ef12951d9ca4 100644 --- a/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager_test.go +++ b/cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager_test.go @@ -13,11 +13,11 @@ import ( apiv1 "k8s.io/api/core/v1" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" kubeletapis "k8s.io/kubelet/pkg/apis" ocicommon "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/common" - oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine" + oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine" ) func TestNodePoolFromArgs(t *testing.T) { diff --git a/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints.go b/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints.go index 7bd8a7a2b4b7..a5530a8db040 100644 --- a/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints.go +++ b/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints.go @@ -11,7 +11,7 @@ import ( apiv1 "k8s.io/api/core/v1" taintutil "k8s.io/kubernetes/pkg/util/taints" - oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine" + oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine" ) // RegisteredTaintsGetter returns the initial registered taints for the node pool. diff --git a/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints_test.go b/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints_test.go index 6b1906a231a5..71930fbe8615 100644 --- a/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints_test.go +++ b/cluster-autoscaler/cloudprovider/oci/nodepools/registered_taints_test.go @@ -9,7 +9,7 @@ import ( "testing" apiv1 "k8s.io/api/core/v1" - oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine" + oke "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine" ) func Test_ociInitialTaintsGetterImpl_Get(t *testing.T) { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/.gitignore b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/.gitignore new file mode 100644 index 000000000000..daf913b1b347 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/.gitignore @@ -0,0 +1,24 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test +*.prof diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/.travis.yml b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/.travis.yml new file mode 100644 index 000000000000..b16d040fa89e --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/.travis.yml @@ -0,0 +1,10 @@ +language: go +go: + - 1.14.x + - 1.15.x +script: go test -v -check.vv -race ./... +sudo: false +notifications: + email: + on_success: never + on_failure: always diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/LICENSE b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/LICENSE new file mode 100644 index 000000000000..8b8ff36fe426 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2015-2020, Tim Heckman +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of gofrs nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/README.md b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/README.md new file mode 100644 index 000000000000..71ce63692e8e --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/README.md @@ -0,0 +1,41 @@ +# flock +[![TravisCI Build Status](https://img.shields.io/travis/gofrs/flock/master.svg?style=flat)](https://travis-ci.org/gofrs/flock) +[![GoDoc](https://img.shields.io/badge/godoc-flock-blue.svg?style=flat)](https://godoc.org/github.com/gofrs/flock) +[![License](https://img.shields.io/badge/license-BSD_3--Clause-brightgreen.svg?style=flat)](https://github.com/gofrs/flock/blob/master/LICENSE) +[![Go Report Card](https://goreportcard.com/badge/github.com/gofrs/flock)](https://goreportcard.com/report/github.com/gofrs/flock) + +`flock` implements a thread-safe sync.Locker interface for file locking. It also +includes a non-blocking TryLock() function to allow locking without blocking execution. + +## License +`flock` is released under the BSD 3-Clause License. See the `LICENSE` file for more details. + +## Go Compatibility +This package makes use of the `context` package that was introduced in Go 1.7. As such, this +package has an implicit dependency on Go 1.7+. + +## Installation +``` +go get -u github.com/gofrs/flock +``` + +## Usage +```Go +import "github.com/gofrs/flock" + +fileLock := flock.New("/var/lock/go-lock.lock") + +locked, err := fileLock.TryLock() + +if err != nil { + // handle locking error +} + +if locked { + // do work + fileLock.Unlock() +} +``` + +For more detailed usage information take a look at the package API docs on +[GoDoc](https://godoc.org/github.com/gofrs/flock). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/appveyor.yml b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/appveyor.yml new file mode 100644 index 000000000000..909b4bf7cb4e --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/appveyor.yml @@ -0,0 +1,25 @@ +version: '{build}' + +build: false +deploy: false + +clone_folder: 'c:\gopath\src\github.com\gofrs\flock' + +environment: + GOPATH: 'c:\gopath' + GOVERSION: '1.15' + +init: + - git config --global core.autocrlf input + +install: + - rmdir c:\go /s /q + - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi + - msiexec /i go%GOVERSION%.windows-amd64.msi /q + - set Path=c:\go\bin;c:\gopath\bin;%Path% + - go version + - go env + +test_script: + - go get -t ./... + - go test -race -v ./... diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock.go new file mode 100644 index 000000000000..95c784ca504b --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock.go @@ -0,0 +1,144 @@ +// Copyright 2015 Tim Heckman. All rights reserved. +// Use of this source code is governed by the BSD 3-Clause +// license that can be found in the LICENSE file. + +// Package flock implements a thread-safe interface for file locking. +// It also includes a non-blocking TryLock() function to allow locking +// without blocking execution. +// +// Package flock is released under the BSD 3-Clause License. See the LICENSE file +// for more details. +// +// While using this library, remember that the locking behaviors are not +// guaranteed to be the same on each platform. For example, some UNIX-like +// operating systems will transparently convert a shared lock to an exclusive +// lock. If you Unlock() the flock from a location where you believe that you +// have the shared lock, you may accidentally drop the exclusive lock. +package flock + +import ( + "context" + "os" + "runtime" + "sync" + "time" +) + +// Flock is the struct type to handle file locking. All fields are unexported, +// with access to some of the fields provided by getter methods (Path() and Locked()). +type Flock struct { + path string + m sync.RWMutex + fh *os.File + l bool + r bool +} + +// New returns a new instance of *Flock. The only parameter +// it takes is the path to the desired lockfile. +func New(path string) *Flock { + return &Flock{path: path} +} + +// NewFlock returns a new instance of *Flock. The only parameter +// it takes is the path to the desired lockfile. +// +// Deprecated: Use New instead. +func NewFlock(path string) *Flock { + return New(path) +} + +// Close is equivalent to calling Unlock. +// +// This will release the lock and close the underlying file descriptor. +// It will not remove the file from disk, that's up to your application. +func (f *Flock) Close() error { + return f.Unlock() +} + +// Path returns the path as provided in NewFlock(). +func (f *Flock) Path() string { + return f.path +} + +// Locked returns the lock state (locked: true, unlocked: false). +// +// Warning: by the time you use the returned value, the state may have changed. +func (f *Flock) Locked() bool { + f.m.RLock() + defer f.m.RUnlock() + return f.l +} + +// RLocked returns the read lock state (locked: true, unlocked: false). +// +// Warning: by the time you use the returned value, the state may have changed. +func (f *Flock) RLocked() bool { + f.m.RLock() + defer f.m.RUnlock() + return f.r +} + +func (f *Flock) String() string { + return f.path +} + +// TryLockContext repeatedly tries to take an exclusive lock until one of the +// conditions is met: TryLock succeeds, TryLock fails with error, or Context +// Done channel is closed. +func (f *Flock) TryLockContext(ctx context.Context, retryDelay time.Duration) (bool, error) { + return tryCtx(ctx, f.TryLock, retryDelay) +} + +// TryRLockContext repeatedly tries to take a shared lock until one of the +// conditions is met: TryRLock succeeds, TryRLock fails with error, or Context +// Done channel is closed. +func (f *Flock) TryRLockContext(ctx context.Context, retryDelay time.Duration) (bool, error) { + return tryCtx(ctx, f.TryRLock, retryDelay) +} + +func tryCtx(ctx context.Context, fn func() (bool, error), retryDelay time.Duration) (bool, error) { + if ctx.Err() != nil { + return false, ctx.Err() + } + for { + if ok, err := fn(); ok || err != nil { + return ok, err + } + select { + case <-ctx.Done(): + return false, ctx.Err() + case <-time.After(retryDelay): + // try again + } + } +} + +func (f *Flock) setFh() error { + // open a new os.File instance + // create it if it doesn't exist, and open the file read-only. + flags := os.O_CREATE + if runtime.GOOS == "aix" { + // AIX cannot preform write-lock (ie exclusive) on a + // read-only file. + flags |= os.O_RDWR + } else { + flags |= os.O_RDONLY + } + fh, err := os.OpenFile(f.path, flags, os.FileMode(0600)) + if err != nil { + return err + } + + // set the filehandle on the struct + f.fh = fh + return nil +} + +// ensure the file handle is closed if no lock is held +func (f *Flock) ensureFhState() { + if !f.l && !f.r && f.fh != nil { + f.fh.Close() + f.fh = nil + } +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_aix.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_aix.go new file mode 100644 index 000000000000..0694808a3025 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_aix.go @@ -0,0 +1,282 @@ +// Copyright 2019 Tim Heckman. All rights reserved. Use of this source code is +// governed by the BSD 3-Clause license that can be found in the LICENSE file. + +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// This code implements the filelock API using POSIX 'fcntl' locks, which attach +// to an (inode, process) pair rather than a file descriptor. To avoid unlocking +// files prematurely when the same file is opened through different descriptors, +// we allow only one read-lock at a time. +// +// This code is adapted from the Go package: +// cmd/go/internal/lockedfile/internal/filelock + +//go:build aix +// +build aix + +package flock + +import ( + "errors" + "io" + "os" + "sync" + "syscall" + + "golang.org/x/sys/unix" +) + +type lockType int16 + +const ( + readLock lockType = unix.F_RDLCK + writeLock lockType = unix.F_WRLCK +) + +type cmdType int + +const ( + tryLock cmdType = unix.F_SETLK + waitLock cmdType = unix.F_SETLKW +) + +type inode = uint64 + +type inodeLock struct { + owner *Flock + queue []<-chan *Flock +} + +var ( + mu sync.Mutex + inodes = map[*Flock]inode{} + locks = map[inode]inodeLock{} +) + +// Lock is a blocking call to try and take an exclusive file lock. It will wait +// until it is able to obtain the exclusive file lock. It's recommended that +// TryLock() be used over this function. This function may block the ability to +// query the current Locked() or RLocked() status due to a RW-mutex lock. +// +// If we are already exclusive-locked, this function short-circuits and returns +// immediately assuming it can take the mutex lock. +// +// If the *Flock has a shared lock (RLock), this may transparently replace the +// shared lock with an exclusive lock on some UNIX-like operating systems. Be +// careful when using exclusive locks in conjunction with shared locks +// (RLock()), because calling Unlock() may accidentally release the exclusive +// lock that was once a shared lock. +func (f *Flock) Lock() error { + return f.lock(&f.l, writeLock) +} + +// RLock is a blocking call to try and take a shared file lock. It will wait +// until it is able to obtain the shared file lock. It's recommended that +// TryRLock() be used over this function. This function may block the ability to +// query the current Locked() or RLocked() status due to a RW-mutex lock. +// +// If we are already shared-locked, this function short-circuits and returns +// immediately assuming it can take the mutex lock. +func (f *Flock) RLock() error { + return f.lock(&f.r, readLock) +} + +func (f *Flock) lock(locked *bool, flag lockType) error { + f.m.Lock() + defer f.m.Unlock() + + if *locked { + return nil + } + + if f.fh == nil { + if err := f.setFh(); err != nil { + return err + } + defer f.ensureFhState() + } + + if _, err := f.doLock(waitLock, flag, true); err != nil { + return err + } + + *locked = true + return nil +} + +func (f *Flock) doLock(cmd cmdType, lt lockType, blocking bool) (bool, error) { + // POSIX locks apply per inode and process, and the lock for an inode is + // released when *any* descriptor for that inode is closed. So we need to + // synchronize access to each inode internally, and must serialize lock and + // unlock calls that refer to the same inode through different descriptors. + fi, err := f.fh.Stat() + if err != nil { + return false, err + } + ino := inode(fi.Sys().(*syscall.Stat_t).Ino) + + mu.Lock() + if i, dup := inodes[f]; dup && i != ino { + mu.Unlock() + return false, &os.PathError{ + Path: f.Path(), + Err: errors.New("inode for file changed since last Lock or RLock"), + } + } + + inodes[f] = ino + + var wait chan *Flock + l := locks[ino] + if l.owner == f { + // This file already owns the lock, but the call may change its lock type. + } else if l.owner == nil { + // No owner: it's ours now. + l.owner = f + } else if !blocking { + // Already owned: cannot take the lock. + mu.Unlock() + return false, nil + } else { + // Already owned: add a channel to wait on. + wait = make(chan *Flock) + l.queue = append(l.queue, wait) + } + locks[ino] = l + mu.Unlock() + + if wait != nil { + wait <- f + } + + err = setlkw(f.fh.Fd(), cmd, lt) + + if err != nil { + f.doUnlock() + if cmd == tryLock && err == unix.EACCES { + return false, nil + } + return false, err + } + + return true, nil +} + +func (f *Flock) Unlock() error { + f.m.Lock() + defer f.m.Unlock() + + // if we aren't locked or if the lockfile instance is nil + // just return a nil error because we are unlocked + if (!f.l && !f.r) || f.fh == nil { + return nil + } + + if err := f.doUnlock(); err != nil { + return err + } + + f.fh.Close() + + f.l = false + f.r = false + f.fh = nil + + return nil +} + +func (f *Flock) doUnlock() (err error) { + var owner *Flock + mu.Lock() + ino, ok := inodes[f] + if ok { + owner = locks[ino].owner + } + mu.Unlock() + + if owner == f { + err = setlkw(f.fh.Fd(), waitLock, unix.F_UNLCK) + } + + mu.Lock() + l := locks[ino] + if len(l.queue) == 0 { + // No waiters: remove the map entry. + delete(locks, ino) + } else { + // The first waiter is sending us their file now. + // Receive it and update the queue. + l.owner = <-l.queue[0] + l.queue = l.queue[1:] + locks[ino] = l + } + delete(inodes, f) + mu.Unlock() + + return err +} + +// TryLock is the preferred function for taking an exclusive file lock. This +// function takes an RW-mutex lock before it tries to lock the file, so there is +// the possibility that this function may block for a short time if another +// goroutine is trying to take any action. +// +// The actual file lock is non-blocking. If we are unable to get the exclusive +// file lock, the function will return false instead of waiting for the lock. If +// we get the lock, we also set the *Flock instance as being exclusive-locked. +func (f *Flock) TryLock() (bool, error) { + return f.try(&f.l, writeLock) +} + +// TryRLock is the preferred function for taking a shared file lock. This +// function takes an RW-mutex lock before it tries to lock the file, so there is +// the possibility that this function may block for a short time if another +// goroutine is trying to take any action. +// +// The actual file lock is non-blocking. If we are unable to get the shared file +// lock, the function will return false instead of waiting for the lock. If we +// get the lock, we also set the *Flock instance as being share-locked. +func (f *Flock) TryRLock() (bool, error) { + return f.try(&f.r, readLock) +} + +func (f *Flock) try(locked *bool, flag lockType) (bool, error) { + f.m.Lock() + defer f.m.Unlock() + + if *locked { + return true, nil + } + + if f.fh == nil { + if err := f.setFh(); err != nil { + return false, err + } + defer f.ensureFhState() + } + + haslock, err := f.doLock(tryLock, flag, false) + if err != nil { + return false, err + } + + *locked = haslock + return haslock, nil +} + +// setlkw calls FcntlFlock with cmd for the entire file indicated by fd. +func setlkw(fd uintptr, cmd cmdType, lt lockType) error { + for { + err := unix.FcntlFlock(fd, int(cmd), &unix.Flock_t{ + Type: int16(lt), + Whence: io.SeekStart, + Start: 0, + Len: 0, // All bytes. + }) + if err != unix.EINTR { + return err + } + } +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_unix.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_unix.go new file mode 100644 index 000000000000..7e6e7210dd7b --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_unix.go @@ -0,0 +1,199 @@ +// Copyright 2015 Tim Heckman. All rights reserved. +// Use of this source code is governed by the BSD 3-Clause +// license that can be found in the LICENSE file. + +//go:build !aix && !windows +// +build !aix,!windows + +package flock + +import ( + "os" + "syscall" +) + +// Lock is a blocking call to try and take an exclusive file lock. It will wait +// until it is able to obtain the exclusive file lock. It's recommended that +// TryLock() be used over this function. This function may block the ability to +// query the current Locked() or RLocked() status due to a RW-mutex lock. +// +// If we are already exclusive-locked, this function short-circuits and returns +// immediately assuming it can take the mutex lock. +// +// If the *Flock has a shared lock (RLock), this may transparently replace the +// shared lock with an exclusive lock on some UNIX-like operating systems. Be +// careful when using exclusive locks in conjunction with shared locks +// (RLock()), because calling Unlock() may accidentally release the exclusive +// lock that was once a shared lock. +func (f *Flock) Lock() error { + return f.lock(&f.l, syscall.LOCK_EX) +} + +// RLock is a blocking call to try and take a shared file lock. It will wait +// until it is able to obtain the shared file lock. It's recommended that +// TryRLock() be used over this function. This function may block the ability to +// query the current Locked() or RLocked() status due to a RW-mutex lock. +// +// If we are already shared-locked, this function short-circuits and returns +// immediately assuming it can take the mutex lock. +func (f *Flock) RLock() error { + return f.lock(&f.r, syscall.LOCK_SH) +} + +func (f *Flock) lock(locked *bool, flag int) error { + f.m.Lock() + defer f.m.Unlock() + + if *locked { + return nil + } + + if f.fh == nil { + if err := f.setFh(); err != nil { + return err + } + defer f.ensureFhState() + } + + if err := syscall.Flock(int(f.fh.Fd()), flag); err != nil { + shouldRetry, reopenErr := f.reopenFDOnError(err) + if reopenErr != nil { + return reopenErr + } + + if !shouldRetry { + return err + } + + if err = syscall.Flock(int(f.fh.Fd()), flag); err != nil { + return err + } + } + + *locked = true + return nil +} + +// Unlock is a function to unlock the file. This file takes a RW-mutex lock, so +// while it is running the Locked() and RLocked() functions will be blocked. +// +// This function short-circuits if we are unlocked already. If not, it calls +// syscall.LOCK_UN on the file and closes the file descriptor. It does not +// remove the file from disk. It's up to your application to do. +// +// Please note, if your shared lock became an exclusive lock this may +// unintentionally drop the exclusive lock if called by the consumer that +// believes they have a shared lock. Please see Lock() for more details. +func (f *Flock) Unlock() error { + f.m.Lock() + defer f.m.Unlock() + + // if we aren't locked or if the lockfile instance is nil + // just return a nil error because we are unlocked + if (!f.l && !f.r) || f.fh == nil { + return nil + } + + // mark the file as unlocked + if err := syscall.Flock(int(f.fh.Fd()), syscall.LOCK_UN); err != nil { + return err + } + + f.fh.Close() + + f.l = false + f.r = false + f.fh = nil + + return nil +} + +// TryLock is the preferred function for taking an exclusive file lock. This +// function takes an RW-mutex lock before it tries to lock the file, so there is +// the possibility that this function may block for a short time if another +// goroutine is trying to take any action. +// +// The actual file lock is non-blocking. If we are unable to get the exclusive +// file lock, the function will return false instead of waiting for the lock. If +// we get the lock, we also set the *Flock instance as being exclusive-locked. +func (f *Flock) TryLock() (bool, error) { + return f.try(&f.l, syscall.LOCK_EX) +} + +// TryRLock is the preferred function for taking a shared file lock. This +// function takes an RW-mutex lock before it tries to lock the file, so there is +// the possibility that this function may block for a short time if another +// goroutine is trying to take any action. +// +// The actual file lock is non-blocking. If we are unable to get the shared file +// lock, the function will return false instead of waiting for the lock. If we +// get the lock, we also set the *Flock instance as being share-locked. +func (f *Flock) TryRLock() (bool, error) { + return f.try(&f.r, syscall.LOCK_SH) +} + +func (f *Flock) try(locked *bool, flag int) (bool, error) { + f.m.Lock() + defer f.m.Unlock() + + if *locked { + return true, nil + } + + if f.fh == nil { + if err := f.setFh(); err != nil { + return false, err + } + defer f.ensureFhState() + } + + var retried bool +retry: + err := syscall.Flock(int(f.fh.Fd()), flag|syscall.LOCK_NB) + + switch err { + case syscall.EWOULDBLOCK: + return false, nil + case nil: + *locked = true + return true, nil + } + if !retried { + if shouldRetry, reopenErr := f.reopenFDOnError(err); reopenErr != nil { + return false, reopenErr + } else if shouldRetry { + retried = true + goto retry + } + } + + return false, err +} + +// reopenFDOnError determines whether we should reopen the file handle +// in readwrite mode and try again. This comes from util-linux/sys-utils/flock.c: +// +// Since Linux 3.4 (commit 55725513) +// Probably NFSv4 where flock() is emulated by fcntl(). +func (f *Flock) reopenFDOnError(err error) (bool, error) { + if err != syscall.EIO && err != syscall.EBADF { + return false, nil + } + if st, err := f.fh.Stat(); err == nil { + // if the file is able to be read and written + if st.Mode()&0600 == 0600 { + f.fh.Close() + f.fh = nil + + // reopen in read-write mode and set the filehandle + fh, err := os.OpenFile(f.path, os.O_CREATE|os.O_RDWR, os.FileMode(0600)) + if err != nil { + return false, err + } + f.fh = fh + return true, nil + } + } + + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_winapi.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_winapi.go new file mode 100644 index 000000000000..89b223698f8a --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_winapi.go @@ -0,0 +1,77 @@ +// Copyright 2015 Tim Heckman. All rights reserved. +// Use of this source code is governed by the BSD 3-Clause +// license that can be found in the LICENSE file. + +//go:build windows +// +build windows + +package flock + +import ( + "syscall" + "unsafe" +) + +var ( + kernel32, _ = syscall.LoadLibrary("kernel32.dll") + procLockFileEx, _ = syscall.GetProcAddress(kernel32, "LockFileEx") + procUnlockFileEx, _ = syscall.GetProcAddress(kernel32, "UnlockFileEx") +) + +const ( + winLockfileFailImmediately = 0x00000001 + winLockfileExclusiveLock = 0x00000002 + winLockfileSharedLock = 0x00000000 +) + +// Use of 0x00000000 for the shared lock is a guess based on some the MS Windows +// `LockFileEX` docs, which document the `LOCKFILE_EXCLUSIVE_LOCK` flag as: +// +// > The function requests an exclusive lock. Otherwise, it requests a shared +// > lock. +// +// https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx + +func lockFileEx(handle syscall.Handle, flags uint32, reserved uint32, numberOfBytesToLockLow uint32, numberOfBytesToLockHigh uint32, offset *syscall.Overlapped) (bool, syscall.Errno) { + r1, _, errNo := syscall.Syscall6( + uintptr(procLockFileEx), + 6, + uintptr(handle), + uintptr(flags), + uintptr(reserved), + uintptr(numberOfBytesToLockLow), + uintptr(numberOfBytesToLockHigh), + uintptr(unsafe.Pointer(offset))) + + if r1 != 1 { + if errNo == 0 { + return false, syscall.EINVAL + } + + return false, errNo + } + + return true, 0 +} + +func unlockFileEx(handle syscall.Handle, reserved uint32, numberOfBytesToLockLow uint32, numberOfBytesToLockHigh uint32, offset *syscall.Overlapped) (bool, syscall.Errno) { + r1, _, errNo := syscall.Syscall6( + uintptr(procUnlockFileEx), + 5, + uintptr(handle), + uintptr(reserved), + uintptr(numberOfBytesToLockLow), + uintptr(numberOfBytesToLockHigh), + uintptr(unsafe.Pointer(offset)), + 0) + + if r1 != 1 { + if errNo == 0 { + return false, syscall.EINVAL + } + + return false, errNo + } + + return true, 0 +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_windows.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_windows.go new file mode 100644 index 000000000000..ddb534ccef09 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock/flock_windows.go @@ -0,0 +1,142 @@ +// Copyright 2015 Tim Heckman. All rights reserved. +// Use of this source code is governed by the BSD 3-Clause +// license that can be found in the LICENSE file. + +package flock + +import ( + "syscall" +) + +// ErrorLockViolation is the error code returned from the Windows syscall when a +// lock would block and you ask to fail immediately. +const ErrorLockViolation syscall.Errno = 0x21 // 33 + +// Lock is a blocking call to try and take an exclusive file lock. It will wait +// until it is able to obtain the exclusive file lock. It's recommended that +// TryLock() be used over this function. This function may block the ability to +// query the current Locked() or RLocked() status due to a RW-mutex lock. +// +// If we are already locked, this function short-circuits and returns +// immediately assuming it can take the mutex lock. +func (f *Flock) Lock() error { + return f.lock(&f.l, winLockfileExclusiveLock) +} + +// RLock is a blocking call to try and take a shared file lock. It will wait +// until it is able to obtain the shared file lock. It's recommended that +// TryRLock() be used over this function. This function may block the ability to +// query the current Locked() or RLocked() status due to a RW-mutex lock. +// +// If we are already locked, this function short-circuits and returns +// immediately assuming it can take the mutex lock. +func (f *Flock) RLock() error { + return f.lock(&f.r, winLockfileSharedLock) +} + +func (f *Flock) lock(locked *bool, flag uint32) error { + f.m.Lock() + defer f.m.Unlock() + + if *locked { + return nil + } + + if f.fh == nil { + if err := f.setFh(); err != nil { + return err + } + defer f.ensureFhState() + } + + if _, errNo := lockFileEx(syscall.Handle(f.fh.Fd()), flag, 0, 1, 0, &syscall.Overlapped{}); errNo > 0 { + return errNo + } + + *locked = true + return nil +} + +// Unlock is a function to unlock the file. This file takes a RW-mutex lock, so +// while it is running the Locked() and RLocked() functions will be blocked. +// +// This function short-circuits if we are unlocked already. If not, it calls +// UnlockFileEx() on the file and closes the file descriptor. It does not remove +// the file from disk. It's up to your application to do. +func (f *Flock) Unlock() error { + f.m.Lock() + defer f.m.Unlock() + + // if we aren't locked or if the lockfile instance is nil + // just return a nil error because we are unlocked + if (!f.l && !f.r) || f.fh == nil { + return nil + } + + // mark the file as unlocked + if _, errNo := unlockFileEx(syscall.Handle(f.fh.Fd()), 0, 1, 0, &syscall.Overlapped{}); errNo > 0 { + return errNo + } + + f.fh.Close() + + f.l = false + f.r = false + f.fh = nil + + return nil +} + +// TryLock is the preferred function for taking an exclusive file lock. This +// function does take a RW-mutex lock before it tries to lock the file, so there +// is the possibility that this function may block for a short time if another +// goroutine is trying to take any action. +// +// The actual file lock is non-blocking. If we are unable to get the exclusive +// file lock, the function will return false instead of waiting for the lock. If +// we get the lock, we also set the *Flock instance as being exclusive-locked. +func (f *Flock) TryLock() (bool, error) { + return f.try(&f.l, winLockfileExclusiveLock) +} + +// TryRLock is the preferred function for taking a shared file lock. This +// function does take a RW-mutex lock before it tries to lock the file, so there +// is the possibility that this function may block for a short time if another +// goroutine is trying to take any action. +// +// The actual file lock is non-blocking. If we are unable to get the shared file +// lock, the function will return false instead of waiting for the lock. If we +// get the lock, we also set the *Flock instance as being shared-locked. +func (f *Flock) TryRLock() (bool, error) { + return f.try(&f.r, winLockfileSharedLock) +} + +func (f *Flock) try(locked *bool, flag uint32) (bool, error) { + f.m.Lock() + defer f.m.Unlock() + + if *locked { + return true, nil + } + + if f.fh == nil { + if err := f.setFh(); err != nil { + return false, err + } + defer f.ensureFhState() + } + + _, errNo := lockFileEx(syscall.Handle(f.fh.Fd()), flag|winLockfileFailImmediately, 0, 1, 0, &syscall.Overlapped{}) + + if errNo > 0 { + if errNo == ErrorLockViolation || errNo == syscall.ERROR_IO_PENDING { + return false, nil + } + + return false, errNo + } + + *locked = true + + return true, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/CHANGELOG.md b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/CHANGELOG.md deleted file mode 100644 index 574ae2afab7e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/CHANGELOG.md +++ /dev/null @@ -1,45 +0,0 @@ -# CHANGELOG - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/) - - -## 1.3.0 - 2018-04-19 -### Added -- Support for retry on OCI service APIs. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_retry_test.go) -- Support for tagging DbSystem and Database resources in the Database Service -- Support for filtering by DbSystemId in ListDbVersions operation in Database Service - -### Fixed -- Fixed a request signing bug for PatchZoneRecords API -- Fixed a bug in DebugLn - -## 1.2.0 - 2018-04-05 -### Added -- Support for Email Delivery Service. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_email_test.go) -- Support for paravirtualized volume attachments in Core Services -- Support for remote VCN peering across regions -- Support for variable size boot volumes in Core Services -- Support for SMTP credentials in the Identity Service -- Support for tagging Bucket resources in the Object Storage Service - -## 1.1.0 - 2018-03-27 -### Added -- Support for DNS service -- Support for File Storage service -- Support for PathRouteSets and Listeners in Load Balancing service -- Support for Public IPs in Core Services -- Support for Dynamic Groups in Identity service -- Support for tagging in Core Services and Identity service. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_tagging_test.go) -- Fix ComposingConfigurationProvider to not accept a nil ConfigurationProvider -- Support for passphrase configuration to FileConfiguration provider - -## 1.0.0 - 2018-02-28 Initial Release -### Added -- Support for Audit service -- Support for Core Services (Networking, Compute, Block Volume) -- Support for Database service -- Support for IAM service -- Support for Load Balancing service -- Support for Object Storage service diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/MakefileDevelopment.mk b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/MakefileDevelopment.mk deleted file mode 100644 index 6f455cd487f5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/MakefileDevelopment.mk +++ /dev/null @@ -1,103 +0,0 @@ -#### Project generation setup -PROJECT_NAME=github.com/oracle/oci-go-sdk -PROJECT_PATH=$(GOPATH)/src/$(PROJECT_NAME) -REMOVE_AFTER_GENERATE=audit/audit_waiters.go objectstorage/objectstorage_waiters.go -DOC_SERVER_URL_DEV=https:\/\/docs.cloud.oracle.com - -#### Versions -#### If you are doing a release, do not forget to increment this versions -VER_MAJOR=55 -## where the number is the week number -VER_MINOR=1 -VER_TAG=preview -################### - -#### AutoTest setup -AUTOTEST_DIR = autotest -AUTOTEST_HELPERS = client.go configurations.go main_test.go -AUTOTEST_FILES = $(notdir $(wildcard $(AUTOTEST_DIR)/*client_auto_test.go)) -AUTOTEST_TARGETS = $(patsubst %_client_auto_test.go, autotest-%, $(AUTOTEST_FILES)) - -define HELP_MESSAGE -make -f MakefileDevelopment.mk build: builds and generate the sdk -make -f MakefileDevelopment.mk build-sdk: to build the sdk only -make -f MakefileDevelopment.mk generate: to generate the sdk -make -f MakefileDevelopment.mk list-autotest-services to list all autogenerated test targets at the service level -make -f MakefileDevelopment.mk autotest-[name of the package] to run autogenerated tests -make -f MakefileDevelopment.mk autotest-all runs all autogenerated tests -endef - - -.PHONY: help - -export HELP_MESSAGE -help: - @echo "$$HELP_MESSAGE" - -list-autotest-services: - @echo $(AUTOTEST_TARGETS) - -test-all: build-sdk build-autotest test-sdk-only test-integ-test - -autotest-all: build-sdk test-sdk-only $(AUTOTEST_TARGETS) - -autotest: build-autotest - go test -v -run $(TEST_NAME) -count 1 -timeout 3h github.com/oracle/oci-go-sdk/autotest - -$(AUTOTEST_TARGETS): autotest-%:% - @echo Testing $(AUTOTEST_DIR)/$<_client_auto_test.go - @(cd $(AUTOTEST_DIR) && go test -v $(AUTOTEST_HELPERS) $<_client_auto_test.go) - -generate: - @echo "Cleaning and generating sdk" - @(cd $(PROJECT_PATH) && make clean-generate) - @echo "Cleaning autotest files" - @find autotest -name \*_auto_test.go|xargs rm -f - PROJECT_NAME=$(PROJECT_NAME) mvn clean install - @(cd $(PROJECT_PATH) && rm -f $(REMOVE_AFTER_GENERATE)) - find . -name \*.go |xargs sed -i "" "s#\"$(PROJECT_NAME)/\(v[0-9]*/\)*#\"$(PROJECT_NAME)/v$(VER_MAJOR)/#g" - -build-autotest: - @echo "building autotests" - @(cd $(AUTOTEST_DIR) && gofmt -s -w . && go test -c) - -build-sdk: - @echo "Building sdk" - @(cd $(PROJECT_PATH) && make build) - -test-sdk-only: - @echo "Testing sdk common" - @(cd $(PROJECT_PATH) && make test) - -test-integ-test: - @echo "Testing sdk integ test" - @(cd $(PROJECT_PATH) && make test-integ) - -release-sdk: - @echo "Building oci-go-sdk with major:$(VER_MAJOR) minor:$(VER_MINOR) patch:$(VER_PATCH) tag:$(VER_TAG)" - @(cd $(PROJECT_PATH)) - find . -name \*.go |xargs sed -i "s#\"$(PROJECT_NAME)/\(v[0-9]*/\)*#\"$(PROJECT_NAME)/v$(VER_MAJOR)/#g" - @(VER_MAJOR=$(VER_MAJOR) VER_MINOR=$(VER_MINOR) VER_PATCH=$(VER_PATCH) VER_TAG=$(VER_TAG) make release) - -build: generate build-sdk build-autotest - @(cd $(PROJECT_PATH) && make pre-doc) - -release: generate release-sdk build-autotest - -# command used by self service pipeline to clean all generated files -clean-pipeline: - @echo "Cleaning generated files" - @(cd $(PROJECT_PATH) && make clean-generate) - @echo "Cleaning autotest files" - @find autotest -name \*_auto_test.go|xargs rm -f - @(cd $(PROJECT_PATH) && rm -f $(REMOVE_AFTER_GENERATE)) - -# doing build and lint for generated code in self-service pipeline -lint-pipeline: update-import build-autotest test-sdk-only - @echo "Rendering doc server to ${DOC_SERVER_URL_DEV}" - find . -name \*.go |xargs sed -i 's/{{DOC_SERVER_URL}}/${DOC_SERVER_URL_DEV}/g' - find . -name \*.go |xargs sed -i 's/https:\/\/docs.us-phoenix-1.oraclecloud.com/${DOC_SERVER_URL_DEV}/g' - -# update all imports to match latest major version -update-import: - find . -name \*.go |xargs sed -i "s#\"$(PROJECT_NAME)/\(v[0-9]*/\)*#\"$(PROJECT_NAME)/v$(VER_MAJOR)/#g" \ No newline at end of file diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/READMEDevelopment.md b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/READMEDevelopment.md deleted file mode 100644 index 2a086cea41b5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/READMEDevelopment.md +++ /dev/null @@ -1,160 +0,0 @@ -# Running the Code Generator -## Pre-requisites -- Maven -- Python (and tools, see below) -- Go(make sure you set the GOPATH enviroment correctly) -- Go tools see: https://github.com/oracle/oci-go-sdk#building-and-testing -- oci-go-sdk commons go package - - You can install the lastest version by installing pulling the current version of the go sdk -- Make - -## GO Module -We have introduced Go Module support and there are some tricky part in development. For developers who want to use an internal Go SDK version (which is hosted in bitbucket instead of public github), please follow these steps to setup your environment -1. run - ``` - git config --global url."ssh://git@bitbucket.oci.oraclecorp.com:7999".insteadOf "https://bitbucket.oci.oraclecorp.com/scm" - ``` -2. disable GOSUMDB, `export GOSUMDB=off` -3. import oci-go-sdk as usual in `go.mod` file -4. add "replace" statement at the end of `go.mod` file, for example: - ``` - replace github.com/oracle/oci-go-sdk/v35 => bitbucket.oci.oraclecorp.com/sdk/oci-go-sdk/v35 v35.0.0-20210209162633-71904f09d1f4 - ``` -5. replace this complex version with the commit id you want, then run `go mod tidy`/`go mod vendor`/`go build`, etc - ``` - replace github.com/oracle/oci-go-sdk/v36 v36.0.0 => bitbucket.oci.oraclecorp.com/sdk/oci-go-sdk/v36 15b567ee1ef - ``` -6. after `v36.1.0`, replacing tag for Bitbucket preview branch is also supported, then run `go mod tidy`/`go mod vendor`/`go build`, etc - ``` - replace github.com/oracle/oci-go-sdk/v36 v36.1.0 => bitbucket.oci.oraclecorp.com/sdk/oci-go-sdk/v36 v36.1.0-p - ``` - -## Python setup -Use ``virtualenv`` to create a virtual environment that runs Python 2.x (of course, you have to have Python 2.x installed somewhere): - - # Install the virtual environment in the current directory - virtualenv --python= temp/python2 - # Activate virtual environment - source temp/python2/bin/activate - # Install packages - pip install PyYAML - pip install six - - - -## Start here! -The build functionality is driven by 2 make files - -- Makefile: Is public and exposed, builds the sdk and runs unittest -- MakefileDevelopment: Private. builds, generates new sdk, runs private integtests and autotest. Most of the time this the one you want to work with - - -## Layout -The organiztion of the public parts of sdk is described here: https://github.com/oracle/oci-go-sdk#organization-of-the-sdk . -In addition in order to support generation, the following files are present: - -- featureId.yaml: legacy file where the different conditinal directives were getting saved, used by the generator to turn spec features on/off -- codegenConfig: current directory where the feature flags are stored and read from -- github.whitelist: our release process uses this file to copy/push all the files that match one or more of the regexes in this file -- pom.xml: Controls the version of the generator as well as locations of the specs used to generate the different packages. For go in particular, this file contains configurations for a successful generation and it usually looks like this. - - - oracle-go-sdk - ${preprocessed-temp-dir}/announcements-service-spec/${announcements-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} <-- The root of the sdk, notice it reads the env var $GOPATH - announcementsservice <--- The name of the package, it will create a directory with that name and put all generated files in there - ${generationType} - - announcementsservice - ${fullyQualifiedProjectName} <-- The name of the root packate usually github.com/oracle/oci-go-sdk - announcements - - ${feature-id-file} - ${feature-id-dir} - - - -## Help -The `MakefileDevelopment.mk` file contains a help command to help you nagivate its options. To bring out the help execute: - - make -f MakefileDevelopment.mk help - -## Building and Generating -The generation makefile is: ***MakefileDevelopment.mk*** -You run the code generator by executing. This will generate the code as well as build it - - make -f MakefileDevelopment.mk build - -After executing this command the source code will be placed under the canonical repository `$GOPATH/src/$PROJECT_NAME` where $PROJECT_NAME is the fully qualified project name: `github.com/oracle/oci-go-sdk`. - -The above command executes the `generation` and `build` target which generates the sdk. If you want to just build the sdk, issue: - - make -f MakefileDevelopment.mk build-sdk - -You can also build packages individually by issuing: - - make build-[package_name] - -## Testing -The go sdk has 2 types of testing and they can all be executed through the make files - -### Unittest -The unitest of the go-sdk cover functionality used internally by all the sdk packages, mostly present in the `common` and `common/auth` package. It can be executed by running - - make test - -### Autotests -Autotests have the highest coverage for the sdk api and are genereated automatically. These test work in conjunction with the testing service, so when running them, you need to have an instance of the testing service running. You can execute these tests by - - make -f MakefileDevelopment.mk autotest-identity ## will execute the autotest for the identity service - - make -f MakefileDevelopment.mk autotest-all ## will execute all autotest, be careful, this can take a long time - -### Running a single test -A single test can be run with the following command. Notices `TEST_NAME` is the name of the test that you wish to run and can be a string or a regex, eg: - - make -f MakefileDevelopment.mk autotest TEST_NAME=TestIdentityClientListUsers ## will execute *just* the TestIdentityClientListUsers test - - make -f MakefileDevelopment.mk autotest TEST_NAME=^TestIdentity ## will execute all tests that start with "TestIdentity" - - -## Release -Instead of the `build` target. Execute the release target like so: - - make -f MakefileDevelopment.mk release - -Do not forget to setup major, minor versions by updating the variables in: `MakefileDevelopment.mk` - - VER_MAJOR = x - VER_MINOR = y - - -## Some tips -Often when working on new feature of the sdk, you'll need to generate and build, most of the time you don't need to generate the whole sdk but only a subset. This is a bit challening since maven thougt it allows you to target a specific step, the names of the stepts in the maven file are not very intuitive. I find the following commands super helpful - -- Targeting a specific package for generation, where `$1` is the execution `` of the package you want to generate - - PROJECT_NAME=github.com/oracle/oci-go-sdk mvn bmc-sdk-swagger:generate@$1 - PROJECT_NAME=github.com/oracle/oci-go-sdk mvn bmc-sdk-swagger:generate@go-public-sdk-maestro-spec - -- Linting and rebuilding sdk and tests for a specific package - - make lint-$1 build-$1 pre-doc && make -f MakefileDevelopment.mk build-autotest - make lint-resourcemanager build-resourcemanager pre-doc && make -f MakefileDevelopment.mk build-autotest - -- Often you have to rebuild the generator and then execute this steps, so the whole command line ends up looking like this: - - (cd /Users/eginez/repos/bmc-sdk-swagger && mvn install -D=skipTests) && mvngen go-public-sdk-maestro-spec && make lint-resourcemanager build-resourcemanager pre-doc && make -f MakefileDevelopment.mk build-autotest - - -## Self-service for adding features and services - -[Requesting a preview SDK]() - -[Requesting a public SDK]() - -[Self-Service Testing and Development]() - -[SDK Testing with OCI Testing Service Overview]() - -[SDK / CLI Sample Requirements]() diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/THIRD_PARTY_LICENSES.txt b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/THIRD_PARTY_LICENSES.txt deleted file mode 100644 index 624a65b1a18a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/THIRD_PARTY_LICENSES.txt +++ /dev/null @@ -1,46 +0,0 @@ ------------------------- Third Party Components ------------------------ -------------------------------- Licenses ------------------------------- -- MIT License --------------------------------- Notices ------------------------------- - -======================== Third Party Components ======================== - -testify -* Copyright © 2012-2020 Mat Ryer, Tyler Bunnell and contributors. -* License: MIT License -* Source code: https://github.com/stretchr/testify -* Project home: https://github.com/stretchr/testify - -gobreaker -* Copyright © 2015 Sony Corporation -* License: MIT License -* Source code: https://k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker -* Project home: https://k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker - -=============================== Licenses =============================== - ------------------------------- MIT License ----------------------------- - -Copyright © 2012-2020 Mat Ryer, Tyler Bunnell and contributors. - -Copyright © 2015 Sony Corporation - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ------------------------------------------------------------------------- \ No newline at end of file diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/certificate_retriever_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/certificate_retriever_test.go deleted file mode 100644 index f620792d7f9c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/certificate_retriever_test.go +++ /dev/null @@ -1,256 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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/rand" - "crypto/rsa" - "crypto/x509" - "crypto/x509/pkix" - "encoding/pem" - "fmt" - "github.com/stretchr/testify/assert" - "math/big" - "net/http" - "net/http/httptest" - "testing" - "time" -) - -func TestUrlBasedX509CertificateRetriever_BadCertificate(t *testing.T) { - expectedCert := make([]byte, 100) - rand.Read(expectedCert) - certServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, string(expectedCert)) - })) - defer certServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, "", "") - err := retriever.Refresh() - - assert.Error(t, err) -} -func TestUrlBasedX509CertificateRetriever_RefreshWithoutPrivateKeyUrl(t *testing.T) { - _, expectedCert := generateRandomCertificate() - certServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, string(expectedCert)) - })) - defer certServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, "", "") - err := retriever.Refresh() - - assert.NoError(t, err) - - assert.Equal(t, expectedCert, retriever.CertificatePemRaw()) - actualCert := retriever.Certificate() - actualCertPem := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: actualCert.Raw}) - assert.Equal(t, expectedCert, actualCertPem) - - assert.Nil(t, retriever.PrivateKeyPemRaw()) - assert.Nil(t, retriever.PrivateKey()) -} - -func TestUrlBasedX509CertificateRetriever_RefreshWithPrivateKeyUrl(t *testing.T) { - expectedPrivateKey, expectedCert := generateRandomCertificate() - certServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, string(expectedCert)) - })) - defer certServer.Close() - privateKeyServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, string(expectedPrivateKey)) - })) - defer privateKeyServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, privateKeyServer.URL, "") - err := retriever.Refresh() - - assert.NoError(t, err) - - assert.Equal(t, expectedCert, retriever.CertificatePemRaw()) - actualCert := retriever.Certificate() - actualCertPem := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: actualCert.Raw}) - assert.Equal(t, expectedCert, actualCertPem) - - assert.Equal(t, expectedPrivateKey, retriever.PrivateKeyPemRaw()) - actualPrivateKey := retriever.PrivateKey() - actualPrivateKeyPem := pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(actualPrivateKey)}) - assert.Equal(t, expectedPrivateKey, actualPrivateKeyPem) -} - -func TestUrlBasedX509CertificateRetriever_RefreshCertNotFound(t *testing.T) { - certServer := httptest.NewServer(http.NotFoundHandler()) - defer certServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, "", "") - err := retriever.Refresh() - - assert.Error(t, err) - assert.Nil(t, retriever.CertificatePemRaw()) - assert.Nil(t, retriever.Certificate()) - assert.Nil(t, retriever.PrivateKeyPemRaw()) - assert.Nil(t, retriever.PrivateKey()) -} - -func TestUrlBasedX509CertificateRetriever_RefreshPrivateKeyNotFound(t *testing.T) { - _, expectedCert := generateRandomCertificate() - certServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, string(expectedCert)) - })) - defer certServer.Close() - privateKeyServer := httptest.NewServer(http.NotFoundHandler()) - defer privateKeyServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, privateKeyServer.URL, "") - err := retriever.Refresh() - - assert.Error(t, err) - assert.Nil(t, retriever.CertificatePemRaw()) - assert.Nil(t, retriever.Certificate()) - assert.Nil(t, retriever.PrivateKeyPemRaw()) - assert.Nil(t, retriever.PrivateKey()) -} - -func internalServerError(w http.ResponseWriter, r *http.Request) { - http.Error(w, "500 internal server error", http.StatusInternalServerError) -} - -func TestUrlBasedX509CertificateRetriever_RefreshCertInternalServerError(t *testing.T) { - certServer := httptest.NewServer(http.HandlerFunc(internalServerError)) - defer certServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, "", "") - err := retriever.Refresh() - - assert.Error(t, err) - assert.Nil(t, retriever.CertificatePemRaw()) - assert.Nil(t, retriever.Certificate()) - assert.Nil(t, retriever.PrivateKeyPemRaw()) - assert.Nil(t, retriever.PrivateKey()) -} - -func TestUrlBasedX509CertificateRetriever_RefreshPrivateKeyInternalServerError(t *testing.T) { - _, expectedCert := generateRandomCertificate() - certServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, string(expectedCert)) - })) - defer certServer.Close() - privateKeyServer := httptest.NewServer(http.HandlerFunc(internalServerError)) - defer privateKeyServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, privateKeyServer.URL, "") - err := retriever.Refresh() - - assert.Error(t, err) - assert.Nil(t, retriever.CertificatePemRaw()) - assert.Nil(t, retriever.Certificate()) - assert.Nil(t, retriever.PrivateKeyPemRaw()) - assert.Nil(t, retriever.PrivateKey()) -} - -func TestUrlBasedX509CertificateRetriever_FailureAtomicity(t *testing.T) { - privateKeyServerFailed := false - - expectedPrivateKey, expectedCert := generateRandomCertificate() - _, anotherCert := generateRandomCertificate() - - certServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - if privateKeyServerFailed { - fmt.Fprint(w, string(anotherCert)) - - } else { - fmt.Fprint(w, string(expectedCert)) - } - })) - defer certServer.Close() - - privateKeyServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - if privateKeyServerFailed { - internalServerError(w, r) - } else { - fmt.Fprint(w, string(expectedPrivateKey)) - } - })) - defer privateKeyServer.Close() - - retriever := newURLBasedX509CertificateRetriever(&http.Client{}, certServer.URL, privateKeyServer.URL, "") - err := retriever.Refresh() - - assert.NoError(t, err) - - privateKeyServerFailed = true - - err = retriever.Refresh() - - assert.Error(t, err) - assert.Equal(t, expectedCert, retriever.CertificatePemRaw()) // Not anotherCert but expectedCert - actualCert := retriever.Certificate() - actualCertPem := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: actualCert.Raw}) - assert.Equal(t, expectedCert, actualCertPem) - - assert.Equal(t, expectedPrivateKey, retriever.PrivateKeyPemRaw()) - actualPrivateKey := retriever.PrivateKey() - actualPrivateKeyPem := pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(actualPrivateKey)}) - assert.Equal(t, expectedPrivateKey, actualPrivateKeyPem) -} - -func generateRandomCertificate() (privateKeyPem, certPem []byte) { - serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128) - serialNumber, _ := rand.Int(rand.Reader, serialNumberLimit) - notBefore := time.Now() - notAfter := notBefore.Add(365 * 24 * time.Hour) - - template := x509.Certificate{ - SerialNumber: serialNumber, - Issuer: pkix.Name{ - CommonName: "PKISVC Identity Intermediate r2", - }, - Subject: pkix.Name{ - CommonName: "ocid1.instance.oc1.phx.bluhbluhbluh", - }, - NotBefore: notBefore, - NotAfter: notAfter, - PublicKeyAlgorithm: x509.RSA, - SignatureAlgorithm: x509.SHA256WithRSA, - } - - privateKey, _ := rsa.GenerateKey(rand.Reader, 2048) - newCertBytes, _ := x509.CreateCertificate(rand.Reader, &template, &template, privateKey.Public(), privateKey) - - privateKeyPem = pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(privateKey)}) - certPem = pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: newCertBytes}) - return -} - -func TestStaticCertificateRetriever(t *testing.T) { - retriever := staticCertificateRetriever{ - Passphrase: []byte(""), - CertificatePem: []byte(leafCertPem), - PrivateKeyPem: []byte(leafCertPrivateKeyPem), - } - - err := retriever.Refresh() - assert.NoError(t, err) - key := retriever.PrivateKey() - assert.NotNil(t, key) - cert := retriever.Certificate() - assert.NotNil(t, cert) -} - -func TestBadStaticCertificateRetriever(t *testing.T) { - retriever := staticCertificateRetriever{ - Passphrase: []byte(""), - CertificatePem: []byte(""), - PrivateKeyPem: []byte(""), - } - - err := retriever.Refresh() - assert.Error(t, err) - - c := retriever.Certificate() - assert.Nil(t, c) - - k := retriever.PrivateKey() - assert.Nil(t, k) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/dispatcher_modifier_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/dispatcher_modifier_test.go deleted file mode 100644 index dfaa1507f0b5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/dispatcher_modifier_test.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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/tls" - "errors" - "github.com/stretchr/testify/assert" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "testing" -) - -var customTransport = &http.Transport{ - TLSClientConfig: &tls.Config{ - ServerName: "test", - }, -} - -func TestNewDispatcherModifier_NoInitialModifier(t *testing.T) { - modifier := newDispatcherModifier(nil) - initialClient := &http.Client{} - returnClient, err := modifier.Modify(initialClient) - assert.Nil(t, err) - assert.ObjectsAreEqual(initialClient, returnClient) -} - -func TestNewDispatcherModifier_InitialModifier(t *testing.T) { - modifier := newDispatcherModifier(setCustomCAPool) - initialClient := &http.Client{} - returnDispatcher, err := modifier.Modify(initialClient) - assert.Nil(t, err) - returnClient := returnDispatcher.(*http.Client) - assert.ObjectsAreEqual(returnClient.Transport, customTransport) -} - -func TestNewDispatcherModifier_ModifierFails(t *testing.T) { - modifier := newDispatcherModifier(modifierGoneWrong) - initialClient := &http.Client{} - returnClient, err := modifier.Modify(initialClient) - assert.NotNil(t, err) - assert.Nil(t, returnClient) -} - -func setCustomCAPool(dispatcher common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error) { - client := dispatcher.(*http.Client) - client.Transport = customTransport - return client, nil -} - -func modifierGoneWrong(dispatcher common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error) { - return nil, errors.New("uh oh") -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/federation_client_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/federation_client_test.go deleted file mode 100644 index 0205d31e34c5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/federation_client_test.go +++ /dev/null @@ -1,577 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 ( - "bytes" - "crypto/rsa" - "crypto/x509" - "encoding/pem" - "fmt" - "net/http" - "net/http/httptest" - "strings" - "testing" - - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/mock" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" -) - -func TestX509FederationClient_VeryFirstSecurityToken(t *testing.T) { - authServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - // Verify request - expectedKeyID := fmt.Sprintf("%s/fed-x509/%s", tenancyID, leafCertFingerprint) - assert.True(t, strings.HasPrefix(r.Header.Get("Authorization"), fmt.Sprintf(`Signature version="1",headers="date (request-target) content-length content-type x-content-sha256",keyId="%s",algorithm="rsa-sha256",signature=`, expectedKeyID))) - expectedBody := fmt.Sprintf(`{"certificate":"%s","intermediateCertificates":["%s"],"publicKey":"%s"}`, - leafCertBodyNoNewLine, intermediateCertBodyNoNewLine, sessionPublicKeyBodyNoNewLine) - - var buf bytes.Buffer - buf.ReadFrom(r.Body) - assert.Equal(t, expectedBody, buf.String()) - - // Return response - fmt.Fprintf(w, "\n{\n \"token\" : \"%s\"\n}\n", expectedSecurityToken) - })) - defer authServer.Close() - - mockSessionKeySupplier := new(mockSessionKeySupplier) - mockSessionKeySupplier.On("Refresh").Return(nil).Once() - mockSessionKeySupplier.On("PublicKeyPemRaw").Return([]byte(sessionPublicKeyPem)) - - mockLeafCertificateRetriever := new(mockCertificateRetriever) - mockLeafCertificateRetriever.On("Refresh").Return(nil).Once() - mockLeafCertificateRetriever.On("CertificatePemRaw").Return([]byte(leafCertPem)) - mockLeafCertificateRetriever.On("Certificate").Return(parseCertificate(leafCertPem)) - mockLeafCertificateRetriever.On("PrivateKey").Return(parsePrivateKey(leafCertPrivateKeyPem)) - - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - mockIntermediateCertificateRetriever.On("Refresh").Return(nil).Once() - mockIntermediateCertificateRetriever.On("CertificatePemRaw").Return([]byte(intermediateCertPem)) - - federationClient := &x509FederationClient{ - tenancyID: tenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - // Overwrite with the authServer's URL - federationClient.authClient.Host = authServer.URL - federationClient.authClient.BasePath = "" - - actualSecurityToken, err := federationClient.SecurityToken() - - assert.NoError(t, err) - assert.Equal(t, expectedSecurityToken, actualSecurityToken) - mockSessionKeySupplier.AssertExpectations(t) - mockLeafCertificateRetriever.AssertExpectations(t) - mockIntermediateCertificateRetriever.AssertExpectations(t) -} - -func TestX509FederationClient_RenewSecurityToken(t *testing.T) { - authServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - // Verify request - expectedKeyID := fmt.Sprintf("%s/fed-x509/%s", tenancyID, leafCertFingerprint) - assert.True(t, strings.HasPrefix(r.Header.Get("Authorization"), fmt.Sprintf(`Signature version="1",headers="date (request-target) content-length content-type x-content-sha256",keyId="%s",algorithm="rsa-sha256",signature=`, expectedKeyID))) - - expectedBody := fmt.Sprintf(`{"certificate":"%s","intermediateCertificates":["%s"],"publicKey":"%s"}`, - leafCertBodyNoNewLine, intermediateCertBodyNoNewLine, sessionPublicKeyBodyNoNewLine) - var buf bytes.Buffer - buf.ReadFrom(r.Body) - assert.Equal(t, expectedBody, buf.String()) - - // Return response - fmt.Fprintf(w, "\n{\n \"token\" : \"%s\"\n}\n", expectedSecurityToken) - })) - defer authServer.Close() - - mockSessionKeySupplier := new(mockSessionKeySupplier) - mockSessionKeySupplier.On("Refresh").Return(nil).Once() - mockSessionKeySupplier.On("PublicKeyPemRaw").Return([]byte(sessionPublicKeyPem)) - - mockLeafCertificateRetriever := new(mockCertificateRetriever) - mockLeafCertificateRetriever.On("Refresh").Return(nil).Once() - mockLeafCertificateRetriever.On("CertificatePemRaw").Return([]byte(leafCertPem)) - mockLeafCertificateRetriever.On("Certificate").Return(parseCertificate(leafCertPem)) - mockLeafCertificateRetriever.On("PrivateKey").Return(parsePrivateKey(leafCertPrivateKeyPem)) - - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - mockIntermediateCertificateRetriever.On("Refresh").Return(nil).Once() - mockIntermediateCertificateRetriever.On("CertificatePemRaw").Return([]byte(intermediateCertPem)) - - mockSecurityToken := new(mockSecurityToken) - mockSecurityToken.On("Valid").Return(false) - - federationClient := &x509FederationClient{ - tenancyID: tenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - // Overwrite with the authServer's URL - federationClient.authClient.Host = authServer.URL - federationClient.authClient.BasePath = "" - federationClient.securityToken = mockSecurityToken - - actualSecurityToken, err := federationClient.SecurityToken() - - assert.NoError(t, err) - assert.Equal(t, expectedSecurityToken, actualSecurityToken) - mockSessionKeySupplier.AssertExpectations(t) - mockLeafCertificateRetriever.AssertExpectations(t) - mockIntermediateCertificateRetriever.AssertExpectations(t) -} - -func TestX509FederationClient_GetCachedSecurityToken(t *testing.T) { - mockSessionKeySupplier := new(mockSessionKeySupplier) - mockLeafCertificateRetriever := new(mockCertificateRetriever) - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - - mockSecurityToken := new(mockSecurityToken) - mockSecurityToken.On("Valid").Return(true) - mockSecurityToken.On("String").Return(expectedSecurityToken) - - federationClient := &x509FederationClient{ - tenancyID: tenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - federationClient.securityToken = mockSecurityToken - - actualSecurityToken, err := federationClient.SecurityToken() - - assert.NoError(t, err) - assert.Equal(t, expectedSecurityToken, actualSecurityToken) - - mockSessionKeySupplier.AssertNotCalled(t, "Refresh") - mockSessionKeySupplier.AssertNotCalled(t, "PublicKeyPemRaw") - mockLeafCertificateRetriever.AssertNotCalled(t, "Refresh") - mockLeafCertificateRetriever.AssertNotCalled(t, "CertificatePemRaw") - mockLeafCertificateRetriever.AssertNotCalled(t, "Certificate") - mockLeafCertificateRetriever.AssertNotCalled(t, "PrivateKey") - mockIntermediateCertificateRetriever.AssertNotCalled(t, "Refresh") - mockIntermediateCertificateRetriever.AssertNotCalled(t, "CertificatePemRaw") -} - -func TestX509FederationClient_RenewSecurityTokenSessionKeySupplierError(t *testing.T) { - mockSessionKeySupplier := new(mockSessionKeySupplier) - expectedErrorMessage := "TestSessionKeySupplierRefreshError" - mockSessionKeySupplier.On("Refresh").Return(fmt.Errorf(expectedErrorMessage)).Once() - - mockLeafCertificateRetriever := new(mockCertificateRetriever) - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - - mockSecurityToken := new(mockSecurityToken) - mockSecurityToken.On("Valid").Return(false) - - federationClient := &x509FederationClient{ - tenancyID: tenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - federationClient.securityToken = mockSecurityToken - - actualSecurityToken, actualError := federationClient.SecurityToken() - - assert.Empty(t, actualSecurityToken) - assert.EqualError(t, actualError, fmt.Sprintf("failed to renew security token: failed to refresh session key: %s", expectedErrorMessage)) -} - -func TestX509FederationClient_RenewSecurityTokenLeafCertificateRetrieverError(t *testing.T) { - mockSessionKeySupplier := new(mockSessionKeySupplier) - mockSessionKeySupplier.On("Refresh").Return(nil).Once() - - mockLeafCertificateRetriever := new(mockCertificateRetriever) - expectedErrorMessage := "TestLeafCertificateRetrieverError" - mockLeafCertificateRetriever.On("Refresh").Return(fmt.Errorf(expectedErrorMessage)).Once() - - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - - mockSecurityToken := new(mockSecurityToken) - mockSecurityToken.On("Valid").Return(false) - - federationClient := &x509FederationClient{ - tenancyID: tenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - federationClient.securityToken = mockSecurityToken - - actualSecurityToken, actualError := federationClient.SecurityToken() - - assert.Empty(t, actualSecurityToken) - assert.EqualError(t, actualError, fmt.Sprintf("failed to renew security token: failed to refresh leaf certificate: %s", expectedErrorMessage)) -} - -func TestX509FederationClient_RenewSecurityTokenIntermediateCertificateRetrieverError(t *testing.T) { - mockSessionKeySupplier := new(mockSessionKeySupplier) - mockSessionKeySupplier.On("Refresh").Return(nil).Once() - - mockLeafCertificateRetriever := new(mockCertificateRetriever) - mockLeafCertificateRetriever.On("Refresh").Return(nil).Once() - mockLeafCertificateRetriever.On("Certificate").Return(parseCertificate(leafCertPem)) - - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - expectedErrorMessage := "TestLeafCertificateRetrieverError" - mockIntermediateCertificateRetriever.On("Refresh").Return(fmt.Errorf(expectedErrorMessage)).Once() - - mockSecurityToken := new(mockSecurityToken) - mockSecurityToken.On("Valid").Return(false) - - federationClient := &x509FederationClient{ - tenancyID: tenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - federationClient.securityToken = mockSecurityToken - - actualSecurityToken, actualError := federationClient.SecurityToken() - - assert.Empty(t, actualSecurityToken) - assert.EqualError(t, actualError, fmt.Sprintf("failed to renew security token: failed to refresh intermediate certificate: %s", expectedErrorMessage)) -} - -func TestX509FederationClient_RenewSecurityTokenUnexpectedTenancyIdUpdateError(t *testing.T) { - mockSessionKeySupplier := new(mockSessionKeySupplier) - mockSessionKeySupplier.On("Refresh").Return(nil).Once() - - mockLeafCertificateRetriever := new(mockCertificateRetriever) - mockLeafCertificateRetriever.On("Refresh").Return(nil).Once() - mockLeafCertificateRetriever.On("Certificate").Return(parseCertificate(leafCertPem)) - - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - - mockSecurityToken := new(mockSecurityToken) - mockSecurityToken.On("Valid").Return(false) - - previousTenancyID := "ocidv1:tenancy:oc1:phx:1234567890:foobarfoobar" - - federationClient := &x509FederationClient{ - tenancyID: previousTenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - federationClient.securityToken = mockSecurityToken - - actualSecurityToken, actualError := federationClient.SecurityToken() - - assert.Empty(t, actualSecurityToken) - assert.EqualError(t, actualError, fmt.Sprintf("failed to renew security token: unexpected update of tenancy OCID in the leaf certificate. Previous tenancy: %s, Updated: %s", previousTenancyID, tenancyID)) -} - -func TestX509FederationClient_AuthServerInternalError(t *testing.T) { - authServer := httptest.NewServer(http.HandlerFunc(internalServerError)) - defer authServer.Close() - - mockSessionKeySupplier := new(mockSessionKeySupplier) - mockSessionKeySupplier.On("Refresh").Return(nil).Once() - mockSessionKeySupplier.On("PublicKeyPemRaw").Return([]byte(sessionPublicKeyPem)) - - mockLeafCertificateRetriever := new(mockCertificateRetriever) - mockLeafCertificateRetriever.On("Refresh").Return(nil).Once() - mockLeafCertificateRetriever.On("CertificatePemRaw").Return([]byte(leafCertPem)) - mockLeafCertificateRetriever.On("Certificate").Return(parseCertificate(leafCertPem)) - mockLeafCertificateRetriever.On("PrivateKey").Return(parsePrivateKey(leafCertPrivateKeyPem)) - - mockIntermediateCertificateRetriever := new(mockCertificateRetriever) - mockIntermediateCertificateRetriever.On("Refresh").Return(nil).Once() - mockIntermediateCertificateRetriever.On("CertificatePemRaw").Return([]byte(intermediateCertPem)) - - federationClient := &x509FederationClient{ - tenancyID: tenancyID, - sessionKeySupplier: mockSessionKeySupplier, - leafCertificateRetriever: mockLeafCertificateRetriever, - intermediateCertificateRetrievers: []x509CertificateRetriever{mockIntermediateCertificateRetriever}, - } - federationClient.authClient = newAuthClient(whateverRegion, federationClient) - // Overwrite with the authServer's URL - federationClient.authClient.Host = authServer.URL - federationClient.authClient.BasePath = "" - - _, err := federationClient.SecurityToken() - - assert.Error(t, err) -} - -func TestX509FederationClient_ClientHost(t *testing.T) { - type testData struct { - region common.Region - expected string - } - testDataSet := []testData{ - { - // OC1 - region: common.StringToRegion("us-phoenix-1"), - expected: "auth.us-phoenix-1.oraclecloud.com", - }, - { - // OC2 - region: common.StringToRegion("us-langley-1"), - expected: "auth.us-langley-1.oraclegovcloud.com", - }, - { - // OC3 - region: common.StringToRegion("us-langley-1"), - expected: "auth.us-langley-1.oraclegovcloud.com", - }, - { - // unknown - region: common.StringToRegion("test"), - expected: "auth.test.oraclecloud.com", - }, - } - - for _, testData := range testDataSet { - federationClient := &x509FederationClient{} - federationClient.authClient = newAuthClient(testData.region, federationClient) - assert.Equal(t, testData.expected, federationClient.authClient.Host) - } -} - -func parseCertificate(certPem string) *x509.Certificate { - var block *pem.Block - block, _ = pem.Decode([]byte(certPem)) - cert, _ := x509.ParseCertificate(block.Bytes) - return cert -} - -func parsePrivateKey(privateKeyPem string) *rsa.PrivateKey { - block, _ := pem.Decode([]byte(privateKeyPem)) - key, _ := x509.ParsePKCS1PrivateKey(block.Bytes) - return key -} - -const ( - leafCertBody = `MIIEfzCCA2egAwIBAgIRAJNzEqD3n5To66H1rEDhKyMwDQYJKoZIhvcNAQELBQAw -gfgxgccwHAYDVQQLExVvcGMtY2VydHR5cGU6aW5zdGFuY2UwKgYDVQQLEyNvcGMt -aW5zdGFuY2Uub2NpZDEucGh4LmJsdWhibHVoYmx1aDA5BgNVBAsTMm9wYy1jb21w -YXJ0bWVudDpvY2lkMS5jb21wYXJ0bWVudC5vYzEuYmx1aGJsdWhibHVoMEAGA1UE -CxM5b3BjLXRlbmFudDpvY2lkdjE6dGVuYW5jeTpvYzE6cGh4OjEyMzQ1Njc4OTA6 -Ymx1aGJsdWhibHVoMSwwKgYDVQQDEyNvY2lkMS5pbnN0YW5jZS5vYzEucGh4LmJs -dWhibHVoYmx1aDAeFw0xNzExMzAwMDA4MzRaFw0xODExMzAwMDA4MzRaMIH4MYHH -MBwGA1UECxMVb3BjLWNlcnR0eXBlOmluc3RhbmNlMCoGA1UECxMjb3BjLWluc3Rh -bmNlLm9jaWQxLnBoeC5ibHVoYmx1aGJsdWgwOQYDVQQLEzJvcGMtY29tcGFydG1l -bnQ6b2NpZDEuY29tcGFydG1lbnQub2MxLmJsdWhibHVoYmx1aDBABgNVBAsTOW9w -Yy10ZW5hbnQ6b2NpZHYxOnRlbmFuY3k6b2MxOnBoeDoxMjM0NTY3ODkwOmJsdWhi -bHVoYmx1aDEsMCoGA1UEAxMjb2NpZDEuaW5zdGFuY2Uub2MxLnBoeC5ibHVoYmx1 -aGJsdWgwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDOEGPhWFLIU/1w -gncMPddP01Mo80GEZ1h2A+QGC/1ha0gxp/yVNIi2rNwwjLiqtAGaMbGnVicaPpOm -uNiHWf92E2jwEcy2Q0kA+FwHINDjmzrjMgQFTI4MDIA0bLdZY9KX5CFqw3pwqkyC -KfsZRjUiOmlELbnCb7NQIyd5t3zZfgFv6EOFW4qPdTHrr5Gql1knpUNjUeYR4ZxI -BB6NIxBV3Dm3PRDClP/2/Q5zwsZepRYmWyBe6WsfIvB86x5xH19CGe4HGYrNr1YF -+q9+iDb8PuLfr+gxW7PJPo/TxBgdko0h981nPYzbju9eVa2KKjK6fmzjSvNkgJWn -11ngT5mBAgMBAAGjAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQANjXNFgZ+q/OGZ4bBY -uyFUU/yWz+BtkTzukZa7HT78w4qVE+Gjunc9ad5D2Afr+qTl4sazTTVWTI+KyRJW -5aHWwTUSXSwYrUOQbV0rktLbS4vJggVnU50Y8pdaXq1q+3B4t1DIJwrN2sWu3krA -bQKgOQzEUwm2OZJf0lPA9bp+HVv0iA17wUazgvHVPt/93Yr8e1VQT43ygG990KIT -gipcAk/44ONyBS8W8QRhzpuErEHCcSR+3+KBtwVZgzaVR6+mb5KFYFpXBrgs8YOe -P2X4jUFjRbpUMbNi9Q6V8mAzejPc8Hqk3116Fpl62PGiW802n4CMtDXYxawJSRxV -WO1p` - leafCertPrivateKeyBody = `MIIEowIBAAKCAQEAzhBj4VhSyFP9cIJ3DD3XT9NTKPNBhGdYdgPkBgv9YWtIMaf8 -lTSItqzcMIy4qrQBmjGxp1YnGj6TprjYh1n/dhNo8BHMtkNJAPhcByDQ45s64zIE -BUyODAyANGy3WWPSl+QhasN6cKpMgin7GUY1IjppRC25wm+zUCMnebd82X4Bb+hD -hVuKj3Ux66+RqpdZJ6VDY1HmEeGcSAQejSMQVdw5tz0QwpT/9v0Oc8LGXqUWJlsg -XulrHyLwfOsecR9fQhnuBxmKza9WBfqvfog2/D7i36/oMVuzyT6P08QYHZKNIffN -Zz2M247vXlWtiioyun5s40rzZICVp9dZ4E+ZgQIDAQABAoIBAQCdvLAoVIrx7FEp -6cSla0VBRrv2sdbqOo3dsPbApjbsdsoJsNTJhjBM3Z+jzmShzy8W0Il0VZ+TGGnA -Cuk9GuhRg2QluQpiTrk4c+VGU5lzUWVPev7W65YkpQESoFHtrFsNiEUIS+CTE9mD -Hg2neDW+IMZpuTLkIss5Qd+67Xk1pj19CtHfWVbeqc7B9DPAZa4CBCVsWFPhaiyv -tsz/PJKFDDXllgrQaAyCK1gyrKR4q4noARKhOcfMUPFFTK+1lPqLxLlkQbfr/T5n -izhXHsf1e8cK0gFIa5iE3acaxwbsuFcIDlYEqWiTGxIYk2mXNz7uXlY8QpkbDHQR -z1RFTjABAoGBAPa1g/mFvhYzCZnKOskDyAyZikZqZgTlLtXMoxKhGBsZU072xUQl -Z6USrRy+00rbn8ankkjZRqOnVc6jAi0mvfyVLYMG96q8jN24RwUD52IPKWpHS/BK -LUbQlkg9ajASQm5qt83AU6czdW5X/8nxsV4uOpEML5bsI4s/SfKFLtxBAoGBANXT -BaukiAQSCUDHjXFaLnt/rbdhfhFjflzCbNDCF/Ym3nqCHDL8uHOtAIkCY5LwGKxd -xL2wd81M10Dld+WOtzdt4VVibhT3NfYScr3aa5o3GoUznfkgJsBKP2TE1/NyC1lF -LTgpgu2uU7j8TjvXyQMjzmK38vbfQv6b6V0bIm1BAoGAaQnpcdCGmS8LtGXM1477 -mpm4rLhaTVVCtpaVC7Z46/jBZopcfOIsGbU07Vs13NZbVZo9BzUzBTSWrQ7sO0sW -crcVFIdf5Vq34yK1YiZCWpa3/F70rw717gObKJC1aFgt3pMjRL/RHgwjwGJJLrLv -4HhwSRdWH7zUeVHt6wrXY8ECgYBmfwQN1g2ZHegvlDh56Ie1jWuBJwueXDn7TvuI -SjHgPZuR0AKickAcuwYxpuKCUfMR1NT1NL0IvVfFdPm3IWUz/cjw/ADWrfXA4fD8 -jtHbl6Rvy2FjRQUuUaj3rd/yg21rOlzFuihXtKPPXapGx1ZE2goZiiG+MyFTGPuR -NOuYwQKBgDH+p2Ec/CZ5lFJYqqGBVR7fESBBeqpxr6UgfO8NBIXGuL5CCi5iCK07 -hKG53Vba9OYmWWmVVYdTTjUBoG6ObqLbgzfNbkF1E70ShPoWO+6WZYpaMuO/2DjA -ysvMnQwaC0432ceRJ3r6vPAI2EPRd9KOE7Va1IFNJNmOuIkmRx8t` - // The code to generate the PEM encoded bytes for "leafCertBody" and "leafCertPrivateKeyBody" above: - // - //func generateLeafCertificate() (privateKeyPem, certPem []byte) { - // serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128) - // serialNumber, _ := rand.Int(rand.Reader, serialNumberLimit) - // notBefore := time.now() - // notAfter := notBefore.Add(365 * 24 * time.Hour) - // - // template := x509.Certificate{ - // SerialNumber: serialNumber, - // Issuer: pkix.Name{ - // CommonName: "PKISVC Identity Intermediate r2", - // }, - // Subject: pkix.Name{ - // CommonName: "ocid1.instance.oc1.phx.bluhbluhbluh", - // OrganizationalUnit: []string{ - // "opc-certtype:instance", - // "opc-instance.ocid1.phx.bluhbluhbluh", - // "opc-compartment:ocid1.compartment.oc1.bluhbluhbluh", - // fmt.Sprintf("opc-tenant:%s", TenancyID), - // }, - // }, - // NotBefore: notBefore, - // NotAfter: notAfter, - // PublicKeyAlgorithm: x509.RSA, - // SignatureAlgorithm: x509.SHA256WithRSA, - // } - // - // privateKey, _ := rsa.GenerateKey(rand.Reader, 2048) - // newCertBytes, _ := x509.CreateCertificate(rand.Reader, &template, &template, privateKey.Public(), privateKey) - // - // privateKeyPem = pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(privateKey)}) - // certPem = pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: newCertBytes}) - // return - //} - leafCertFingerprint = `52:3c:9d:93:8b:b8:07:21:ce:36:30:98:ba:fc:e2:4a:bc:3a:2e:0b` - intermediateCertBody = `MIIC4TCCAcmgAwIBAgIRAK7jQKVEO6ssUBICuPw4OwQwDQYJKoZIhvcNAQELBQAw -KjEoMCYGA1UEAxMfUEtJU1ZDIElkZW50aXR5IEludGVybWVkaWF0ZSByMjAeFw0x -NzExMzAwMDE0MDhaFw0xODExMzAwMDE0MDhaMCoxKDAmBgNVBAMTH1BLSVNWQyBJ -ZGVudGl0eSBJbnRlcm1lZGlhdGUgcjIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCj06NzfxfPYK6BLDKiD3tb6YLCi/XsksdBFpBsfp77eE0Wc8d6Te9M -fVaAswknpmxl4idHar7vIvJDtXq8U7UwyM75di3eMp46QR1UtmhzvCRRCQrj7uKX -ax1tAg73CJ/364YKIZpXc5p4ngOLb6bsyvd81oNDvnRXBFo3nIOpL451DiuIQGrt -6xa1wDGczvlbmTkecWH/ncIyy8JveaTsTbWfLTOgneeZEOj0OJm4eg6fudXQwqQX -TrQJTq7Nnsr1zV4eA0FVy+qVqIlGiloZHKSWkzO6ubIVmLBkKg4BXwV+zC3Lm+pW -w9U+pBoRnt5FjVHLK9U2NgfT2vTOO6G5AgMBAAGjAjAAMA0GCSqGSIb3DQEBCwUA -A4IBAQAwYegxBGNQUKTQT1OYPO6bBogzonzknPRyRcHoPdcisTUnq1EFwxz6PVrv -2cU+MrljCYblhFgnsUiwVTwBM8Eqb88HU/+8wbOyNtIc8EO4CjD7r1IU9hTv8CET -DB2LhVHN0ADwbvHGpUjC6uyyMG+5ZT+fTssx9ukCMO8hJNi2P8tBU0KGJAc0HoWV -4fEVcp0GPcXZ5IAnQfsfF4cV6DKSXGmeRZozDDlIPnWtD0f9rc3sqRtERIYS8ReS -NwVA90jrn5mKp+9B8L+o6e8qHNGoFOCY9MlM8UCqeH+wI7xUliNS9RkkYjKFg9ao -gAv8TMjAPcdnYRUXgs3UAxJQSgtB` - // The code to generate the PEM encoded bytes for "intermediateCertBody" above: - // - //func generateIntermediateCertificate() (privateKeyPem, certPem []byte) { - // serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128) - // serialNumber, _ := rand.Int(rand.Reader, serialNumberLimit) - // notBefore := time.now() - // notAfter := notBefore.Add(365 * 24 * time.Hour) - // - // template := x509.Certificate{ - // SerialNumber: serialNumber, - // Issuer: pkix.Name{ - // CommonName: "Oracle BMCS Instance Identity Root - r2", - // }, - // Subject: pkix.Name{ - // CommonName: "PKISVC Identity Intermediate r2", - // }, - // NotBefore: notBefore, - // NotAfter: notAfter, - // PublicKeyAlgorithm: x509.RSA, - // SignatureAlgorithm: x509.SHA256WithRSA, - // } - // - // privateKey, _ := rsa.GenerateKey(rand.Reader, 2048) - // newCertBytes, _ := x509.CreateCertificate(rand.Reader, &template, &template, privateKey.Public(), privateKey) - // - // privateKeyPem = pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(privateKey)}) - // certPem = pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: newCertBytes}) - // return - //} - sessionPublicKeyBody = `MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyQn1VgH+aBOfN8PfN6WU -ZOyiGWbozd1WaxDyP/rYCPJJIinKupp1ZcissN+A2dgcknQqJteX9XWYz31WzeAk -NEVAi9R4ZnrP0u/4921ZWmiCKIqBVxSWGE+PJcHUWJRSFNS1mQcX//UjwEYNPDKV -tPcwQqt7CYTxL77YFy0Z+s9WUmZaOJakgrCLSokeQBWdi0JibYp1mZPZv6pqsIm9 -X86ef1hXyNjvEQRxuf1Bx96Y32m7FjsD251XeOEzzdESCa90Z+bHN6k7wsTRrU79 -dYZF0puZUEmHID4xIF5AprOHVarrhawiddwayMQWH7GZuVzhJ2Z/Q4CK2DneR8Lr -fwIDAQAB` - tenancyID = `ocidv1:tenancy:oc1:phx:1234567890:bluhbluhbluh` - expectedSecurityToken = `eyJhbGciOiJSUzI1NiIsImtpZCI6ImFzdyIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJvcGMub3JhY2xlLmNvbSIsImV4cCI6MTUxMTgzODc5MywiaWF0IjoxNTExODE3MTkzLCJpc3MiOiJhdXRoU2VydmljZS5vcmFjbGUuY29tIiwib3BjLWNlcnR0eXBlIjoiaW5zdGFuY2UiLCJvcGMtY29tcGFydG1lbnQiOiJvY2lkMS5jb21wYXJ0bWVudC5vYzEuLmJsdWhibHVoYmx1aCIsIm9wYy1pbnN0YW5jZSI6Im9jaWQxLmluc3RhbmNlLm9jMS5waHguYmx1aGJsdWhibHVoIiwib3BjLXRlbmFudCI6Im9jaWR2MTp0ZW5hbmN5Om9jMTpwaHg6MTIzNDU2Nzg5MDpibHVoYmx1aGJsdWgiLCJwdHlwZSI6Imluc3RhbmNlIiwic3ViIjoib2NpZDEuaW5zdGFuY2Uub2MxLnBoeC5ibHVoYmx1aGJsdWgiLCJ0ZW5hbnQiOiJvY2lkdjE6dGVuYW5jeTpvYzE6cGh4OjEyMzQ1Njc4OTA6Ymx1aGJsdWhibHVoIiwidHR5cGUiOiJ4NTA5In0.zen7q2yJSpMjzH4ym_H7VEwZA0-vTT4Wcild-HRfLxX6A1ej4tlpACa7A24j5JoZYI4mHooZVJ8e7ZezFenK0zZx5j8RbIjsqJKwroYXExOiBXLCUwMWOLXIndEsUzzGLqnPfKHXd80vrhMLmtkVTCJqBMzvPUSYkH_ciWgmjP9m0YETdQ9ifghkADhZGt9IlnOswg0s3Bx9ASwxFZEtom0BmU9GwEuITTTZfKvndk785BlNeZMOjhovaD97-LYpv5B_PiWEz8zialK5zxjijLCw06zyA8CQRQqmVCagNUPilfz_BcPyImzvFDuzQcPyDkTcsB7weX35tafHmA_Ulg` -) - -var ( - leafCertPem = fmt.Sprintf("-----BEGIN CERTIFICATE-----\n%s\n-----END CERTIFICATE-----\n", leafCertBody) - leafCertBodyNoNewLine = strings.Replace(leafCertBody, "\n", "", -1) - leafCertPrivateKeyPem = fmt.Sprintf("-----BEGIN RSA PRIVATE KEY-----\n%s\n-----END RSA PRIVATE KEY-----\n", leafCertPrivateKeyBody) - intermediateCertPem = fmt.Sprintf("-----BEGIN CERTIFICATE-----\n%s\n-----END CERTIFICATE-----\n", intermediateCertBody) - intermediateCertBodyNoNewLine = strings.Replace(intermediateCertBody, "\n", "", -1) - sessionPublicKeyPem = fmt.Sprintf("-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n", sessionPublicKeyBody) - sessionPublicKeyBodyNoNewLine = strings.Replace(sessionPublicKeyBody, "\n", "", -1) -) - -const whateverRegion = common.RegionPHX - -type mockSessionKeySupplier struct { - mock.Mock -} - -func (m *mockSessionKeySupplier) Refresh() error { - args := m.Called() - return args.Error(0) -} - -func (m *mockSessionKeySupplier) PrivateKey() *rsa.PrivateKey { - args := m.Called() - return args.Get(0).(*rsa.PrivateKey) -} - -func (m *mockSessionKeySupplier) PublicKeyPemRaw() []byte { - args := m.Called() - return args.Get(0).([]byte) -} - -type mockCertificateRetriever struct { - mock.Mock -} - -func (m *mockCertificateRetriever) Refresh() error { - args := m.Called() - return args.Error(0) -} - -func (m *mockCertificateRetriever) CertificatePemRaw() []byte { - args := m.Called() - return args.Get(0).([]byte) -} - -func (m *mockCertificateRetriever) Certificate() *x509.Certificate { - args := m.Called() - return args.Get(0).(*x509.Certificate) -} - -func (m *mockCertificateRetriever) PrivateKeyPemRaw() []byte { - args := m.Called() - return args.Get(0).([]byte) -} - -func (m *mockCertificateRetriever) PrivateKey() *rsa.PrivateKey { - args := m.Called() - return args.Get(0).(*rsa.PrivateKey) -} - -type mockSecurityToken struct { - mock.Mock -} - -func (m *mockSecurityToken) String() string { - args := m.Called() - return args.String(0) -} - -func (m *mockSecurityToken) Valid() bool { - args := m.Called() - return args.Bool(0) -} - -func (m *mockSecurityToken) GetClaim(key string) (interface{}, error) { - args := m.Called(key) - return args.Get(0), args.Error(1) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_delegation_token_provider_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_delegation_token_provider_test.go deleted file mode 100644 index d8f443f99842..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_delegation_token_provider_test.go +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 ( - "testing" - - "github.com/stretchr/testify/assert" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" -) - -func TestInstancePrincipalDelegationTokenConfigurationProvider_ErrorInput(t *testing.T) { - delegationToken := "" - region := common.StringToRegion("us-ashburn-1") - configurationProvider, err := InstancePrincipalDelegationTokenConfigurationProvider(&delegationToken) - assert.Nil(t, configurationProvider) - assert.NotNil(t, err) - - configurationProvider, err = InstancePrincipalDelegationTokenConfigurationProvider(nil) - assert.Nil(t, configurationProvider) - assert.NotNil(t, err) - - configurationProviderForRegion, err := InstancePrincipalDelegationTokenConfigurationProviderForRegion(&delegationToken, region) - assert.Nil(t, configurationProviderForRegion) - assert.NotNil(t, err) - - configurationProviderForRegionNotFound, err := InstancePrincipalDelegationTokenConfigurationProviderForRegion(&delegationToken, "") - assert.Nil(t, configurationProviderForRegionNotFound) - assert.NotNil(t, err) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_key_provider_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_key_provider_test.go deleted file mode 100644 index 2cf812b1aee0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_key_provider_test.go +++ /dev/null @@ -1,292 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 ( - "bytes" - "crypto/rsa" - "encoding/json" - "fmt" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/mock" - "io/ioutil" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "net/http/httptest" - "testing" - "time" -) - -func TestInstancePrincipalKeyProvider_getRegionForFederationClient(t *testing.T) { - regionServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Fprint(w, "phx") - })) - defer regionServer.Close() - - actualRegion, err := getRegionForFederationClient(&http.Client{}, regionServer.URL) - - assert.NoError(t, err) - assert.Equal(t, common.RegionPHX, actualRegion) -} - -func TestInstancePrincipalKeyProvider_getRegionForFederationClientNotFound(t *testing.T) { - regionServer := httptest.NewServer(http.NotFoundHandler()) - defer regionServer.Close() - - _, err := getRegionForFederationClient(&http.Client{}, regionServer.URL) - - assert.Error(t, err) -} - -func TestInstancePrincipalKeyProvider_getRegionForFederationClientTimeout(t *testing.T) { - HandlerFunc := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - time.Sleep(100 * time.Millisecond) - }) - regionServer := httptest.NewServer(http.TimeoutHandler(HandlerFunc, 20*time.Millisecond, "Timeout occured")) - defer regionServer.Close() - - start := time.Now() - response, _ := getRegionForFederationClient(&http.Client{}, regionServer.URL) - assert.NotNil(t, response) - elapsed := time.Since(start) - assert.GreaterOrEqual(t, elapsed.Seconds(), 3.0) -} - -func TestInstancePrincipalKeyProvider_getRegionForFederationClientNotFoundRetrySuccess(t *testing.T) { - responses := []func(w http.ResponseWriter, r *http.Request){ - func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Bad request ", 404) - fmt.Fprintln(w, "First response") - }, - func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Bad request ", 404) - fmt.Fprintln(w, "Second response") - }, - func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Good request ", 200) - fmt.Fprintln(w, "Third response") - }, - } - responseCounter := 0 - ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - responses[responseCounter](w, r) - responseCounter++ - })) - defer ts.Close() - response, err := getRegionForFederationClient(&http.Client{}, ts.URL) - - assert.NoError(t, err) - assert.NotEmpty(t, response) - assert.NotNil(t, response) -} - -func TestInstancePrincipalKeyProvider_getRegionForFederationClientNotFoundRetryFailure(t *testing.T) { - responses := []func(w http.ResponseWriter, r *http.Request){ - func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "First response") - }, - func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "Second response") - }, - func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "Third response") - }, - } - responseCounter := 0 - ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Bad request ", 404) - responses[responseCounter](w, r) - responseCounter++ - })) - defer ts.Close() - response, err := getRegionForFederationClient(&http.Client{}, ts.URL) - - assert.Error(t, err) - assert.Empty(t, response) - assert.NotNil(t, response) -} - -func TestInstancePrincipalKeyProvider_getRegionForFederationClientRetrySuccess(t *testing.T) { - statusCodeList := []int{400, 401, 403, 405, 408, 409, 412, 413, 422, 429, 431, 500, 501, 503} - for _, statusCode := range statusCodeList { - responses := []func(w http.ResponseWriter, r *http.Request){ - func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Bad request ", statusCode) - fmt.Fprintln(w, "First response") - }, - func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Bad request ", statusCode) - fmt.Fprintln(w, "Second response") - }, - func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Good request - Third ", 200) - fmt.Fprintln(w, "Third response") - }, - } - responseCounter := 0 - ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - responses[responseCounter](w, r) - responseCounter++ - })) - defer ts.Close() - - response, err := getRegionForFederationClient(&http.Client{}, ts.URL) - - assert.NoError(t, err) - assert.NotEmpty(t, response) - assert.NotNil(t, response) - } -} - -func TestInstancePrincipalKeyProvider_getRegionForFederationClientRetryFailure(t *testing.T) { - statusCodeList := []int{400, 401, 403, 405, 408, 409, 412, 413, 422, 429, 431, 500, 501, 503} - responses := []func(w http.ResponseWriter, r *http.Request){ - func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "First response") - }, - func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "Second response") - }, - func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "Third response") - }, - } - for _, statusCode := range statusCodeList { - responseCounter := 0 - ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - http.Error(w, "Bad request ", statusCode) - responses[responseCounter](w, r) - responseCounter++ - })) - defer ts.Close() - - response, err := getRegionForFederationClient(&http.Client{}, ts.URL) - assert.Error(t, err) - assert.Empty(t, response) - } -} - -func TestInstancePrincipalKeyProvider_getRegionForFederationClientInternalServerError(t *testing.T) { - regionServer := httptest.NewServer(http.HandlerFunc(internalServerError)) - defer regionServer.Close() - - _, err := getRegionForFederationClient(&http.Client{}, regionServer.URL) - - assert.Error(t, err) -} - -func TestInstancePrincipalKeyProvider_RegionForFederationClient(t *testing.T) { - expectedRegion := common.StringToRegion("sea") - keyProvider := &instancePrincipalKeyProvider{Region: expectedRegion} - returnedRegion := keyProvider.RegionForFederationClient() - assert.Equal(t, returnedRegion, expectedRegion) -} - -func TestInstancePrincipalKeyProvider_PrivateRSAKey(t *testing.T) { - mockFederationClient := new(mockFederationClient) - expectedPrivateKey := new(rsa.PrivateKey) - mockFederationClient.On("PrivateKey").Return(expectedPrivateKey, nil).Once() - - keyProvider := &instancePrincipalKeyProvider{FederationClient: mockFederationClient} - - actualPrivateKey, err := keyProvider.PrivateRSAKey() - - assert.NoError(t, err) - assert.Equal(t, expectedPrivateKey, actualPrivateKey) - mockFederationClient.AssertExpectations(t) -} - -func TestInstancePrincipalKeyProvider_PrivateRSAKeyError(t *testing.T) { - mockFederationClient := new(mockFederationClient) - var nilPtr *rsa.PrivateKey - expectedErrorMessage := "TestPrivateRSAKeyError" - mockFederationClient.On("PrivateKey").Return(nilPtr, fmt.Errorf(expectedErrorMessage)).Once() - - keyProvider := &instancePrincipalKeyProvider{FederationClient: mockFederationClient} - - actualPrivateKey, actualError := keyProvider.PrivateRSAKey() - - assert.Nil(t, actualPrivateKey) - assert.EqualError(t, actualError, fmt.Sprintf("failed to get private key: %s", expectedErrorMessage)) - mockFederationClient.AssertExpectations(t) -} - -func TestInstancePrincipalKeyProvider_KeyID(t *testing.T) { - mockFederationClient := new(mockFederationClient) - mockFederationClient.On("SecurityToken").Return("TestSecurityTokenString", nil).Once() - - keyProvider := &instancePrincipalKeyProvider{FederationClient: mockFederationClient} - - actualKeyID, err := keyProvider.KeyID() - - assert.NoError(t, err) - assert.Equal(t, "ST$TestSecurityTokenString", actualKeyID) -} - -type requestVerifier struct { - t *testing.T - expectedPurpose string -} - -func (r requestVerifier) Do(req *http.Request) (*http.Response, error) { - bts, _ := ioutil.ReadAll(req.Body) - fedRequest := X509FederationDetails{} - err := json.Unmarshal(bts, &fedRequest) - if err != nil { - return nil, err - } - - assert.Equal(r.t, r.expectedPurpose, fedRequest.Purpose) - - jsonBody := fmt.Sprintf(`{"token":"%s"}`, expectedSecurityToken) - buff := bytes.NewBufferString(jsonBody) - return &http.Response{Body: ioutil.NopCloser(buff)}, nil - -} - -func TestInstancePrincipalKeyProviderCustomClient(t *testing.T) { - - modifier := func(d common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error) { - return requestVerifier{t, servicePrincipalTokenPurpose}, nil - } - - provider, e := instancePrincipalConfigurationWithCertsAndPurpose(common.RegionPHX, []byte(leafCertPem), []byte(""), - []byte(leafCertPrivateKeyPem), [][]byte{[]byte(intermediateCertPem)}, servicePrincipalTokenPurpose, modifier) - assert.NoError(t, e) - _, e = provider.KeyID() - assert.NoError(t, e) -} - -func TestInstancePrincipalKeyProvider_KeyIDError(t *testing.T) { - mockFederationClient := new(mockFederationClient) - expectedErrorMessage := "TestSecurityTokenError" - mockFederationClient.On("SecurityToken").Return("", fmt.Errorf(expectedErrorMessage)).Once() - - keyProvider := &instancePrincipalKeyProvider{FederationClient: mockFederationClient} - - actualKeyID, actualError := keyProvider.KeyID() - - assert.Equal(t, "", actualKeyID) - assert.EqualError(t, actualError, fmt.Sprintf("failed to get security token: %s", expectedErrorMessage)) - mockFederationClient.AssertExpectations(t) -} - -type mockFederationClient struct { - mock.Mock -} - -func (m *mockFederationClient) PrivateKey() (*rsa.PrivateKey, error) { - args := m.Called() - return args.Get(0).(*rsa.PrivateKey), args.Error(1) -} - -func (m *mockFederationClient) SecurityToken() (string, error) { - args := m.Called() - return args.String(0), args.Error(1) -} - -func (m *mockFederationClient) GetClaim(key string) (interface{}, error) { - args := m.Called(key) - return args.Get(0), args.Error(1) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/jwt_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/jwt_test.go deleted file mode 100644 index 84d01b2f2a75..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/jwt_test.go +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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/stretchr/testify/assert" - "testing" -) - -const validJwtTokenString = `eyJhbGciOiJSUzI1NiIsImtpZCI6ImFzdyIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJvcGMub3JhY2xlLmNvbSIsImV4cCI6MTUxMTgzODc5MywiaWF0IjoxNTExODE3MTkzLCJpc3MiOiJhdXRoU2VydmljZS5vcmFjbGUuY29tIiwib3BjLWNlcnR0eXBlIjoiaW5zdGFuY2UiLCJvcGMtY29tcGFydG1lbnQiOiJvY2lkMS5jb21wYXJ0bWVudC5vYzEuLmJsdWhibHVoYmx1aCIsIm9wYy1pbnN0YW5jZSI6Im9jaWQxLmluc3RhbmNlLm9jMS5waHguYmx1aGJsdWhibHVoIiwib3BjLXRlbmFudCI6Im9jaWR2MTp0ZW5hbmN5Om9jMTpwaHg6MTIzNDU2Nzg5MDpibHVoYmx1aGJsdWgiLCJwdHlwZSI6Imluc3RhbmNlIiwic3ViIjoib2NpZDEuaW5zdGFuY2Uub2MxLnBoeC5ibHVoYmx1aGJsdWgiLCJ0ZW5hbnQiOiJvY2lkdjE6dGVuYW5jeTpvYzE6cGh4OjEyMzQ1Njc4OTA6Ymx1aGJsdWhibHVoIiwidHR5cGUiOiJ4NTA5In0.zen7q2yJSpMjzH4ym_H7VEwZA0-vTT4Wcild-HRfLxX6A1ej4tlpACa7A24j5JoZYI4mHooZVJ8e7ZezFenK0zZx5j8RbIjsqJKwroYXExOiBXLCUwMWOLXIndEsUzzGLqnPfKHXd80vrhMLmtkVTCJqBMzvPUSYkH_ciWgmjP9m0YETdQ9ifghkADhZGt9IlnOswg0s3Bx9ASwxFZEtom0BmU9GwEuITTTZfKvndk785BlNeZMOjhovaD97-LYpv5B_PiWEz8zialK5zxjijLCw06zyA8CQRQqmVCagNUPilfz_BcPyImzvFDuzQcPyDkTcsB7weX35tafHmA_Ulg` - -func TestJwtToken_ParseJwt(t *testing.T) { - token, err := parseJwt(validJwtTokenString) - - assert.NoError(t, err) - - expectedHeader := map[string]interface{}{ - "alg": "RS256", - "kid": "asw", - "typ": "JWT", - } - assert.Equal(t, expectedHeader, token.header) - - expectedPayload := map[string]interface{}{ - "aud": "opc.oracle.com", - "exp": float64(1511838793), - "iat": float64(1511817193), - "iss": "authService.oracle.com", - "opc-certtype": "instance", - "opc-compartment": "ocid1.compartment.oc1..bluhbluhbluh", - "opc-instance": "ocid1.instance.oc1.phx.bluhbluhbluh", - "opc-tenant": "ocidv1:tenancy:oc1:phx:1234567890:bluhbluhbluh", - "ptype": "instance", - "sub": "ocid1.instance.oc1.phx.bluhbluhbluh", - "tenant": "ocidv1:tenancy:oc1:phx:1234567890:bluhbluhbluh", - "ttype": "x509", - } - assert.Equal(t, expectedPayload, token.payload) - - assert.Equal(t, true, token.expired()) -} - -const headerMissingJwtTokenString = `eyJhdWQiOiJvcGMub3JhY2xlLmNvbSIsImV4cCI6MTUxMTgzODc5MywiaWF0IjoxNTExODE3MTkzLCJpc3MiOiJhdXRoU2VydmljZS5vcmFjbGUuY29tIiwib3BjLWNlcnR0eXBlIjoiaW5zdGFuY2UiLCJvcGMtY29tcGFydG1lbnQiOiJvY2lkMS5jb21wYXJ0bWVudC5vYzEuLmJsdWhibHVoYmx1aCIsIm9wYy1pbnN0YW5jZSI6Im9jaWQxLmluc3RhbmNlLm9jMS5waHguYmx1aGJsdWhibHVoIiwib3BjLXRlbmFudCI6Im9jaWR2MTp0ZW5hbmN5Om9jMTpwaHg6MTIzNDU2Nzg5MDpibHVoYmx1aGJsdWgiLCJwdHlwZSI6Imluc3RhbmNlIiwic3ViIjoib2NpZDEuaW5zdGFuY2Uub2MxLnBoeC5ibHVoYmx1aGJsdWgiLCJ0ZW5hbnQiOiJvY2lkdjE6dGVuYW5jeTpvYzE6cGh4OjEyMzQ1Njc4OTA6Ymx1aGJsdWhibHVoIiwidHR5cGUiOiJ4NTA5In0.zen7q2yJSpMjzH4ym_H7VEwZA0-vTT4Wcild-HRfLxX6A1ej4tlpACa7A24j5JoZYI4mHooZVJ8e7ZezFenK0zZx5j8RbIjsqJKwroYXExOiBXLCUwMWOLXIndEsUzzGLqnPfKHXd80vrhMLmtkVTCJqBMzvPUSYkH_ciWgmjP9m0YETdQ9ifghkADhZGt9IlnOswg0s3Bx9ASwxFZEtom0BmU9GwEuITTTZfKvndk785BlNeZMOjhovaD97-LYpv5B_PiWEz8zialK5zxjijLCw06zyA8CQRQqmVCagNUPilfz_BcPyImzvFDuzQcPyDkTcsB7weX35tafHmA_Ulg` - -func TestJwtToken_ParseJwtInvalidNumberOfParts(t *testing.T) { - token, err := parseJwt(headerMissingJwtTokenString) - - assert.Nil(t, token) - assert.EqualError(t, err, "the given token string contains an invalid number of parts") -} - -const invalidHeaderJwtTokenString = `INVALIDHEADER.eyJhdWQiOiJvcGMub3JhY2xlLmNvbSIsImV4cCI6MTUxMTgzODc5MywiaWF0IjoxNTExODE3MTkzLCJpc3MiOiJhdXRoU2VydmljZS5vcmFjbGUuY29tIiwib3BjLWNlcnR0eXBlIjoiaW5zdGFuY2UiLCJvcGMtY29tcGFydG1lbnQiOiJvY2lkMS5jb21wYXJ0bWVudC5vYzEuLmJsdWhibHVoYmx1aCIsIm9wYy1pbnN0YW5jZSI6Im9jaWQxLmluc3RhbmNlLm9jMS5waHguYmx1aGJsdWhibHVoIiwib3BjLXRlbmFudCI6Im9jaWR2MTp0ZW5hbmN5Om9jMTpwaHg6MTIzNDU2Nzg5MDpibHVoYmx1aGJsdWgiLCJwdHlwZSI6Imluc3RhbmNlIiwic3ViIjoib2NpZDEuaW5zdGFuY2Uub2MxLnBoeC5ibHVoYmx1aGJsdWgiLCJ0ZW5hbnQiOiJvY2lkdjE6dGVuYW5jeTpvYzE6cGh4OjEyMzQ1Njc4OTA6Ymx1aGJsdWhibHVoIiwidHR5cGUiOiJ4NTA5In0.zen7q2yJSpMjzH4ym_H7VEwZA0-vTT4Wcild-HRfLxX6A1ej4tlpACa7A24j5JoZYI4mHooZVJ8e7ZezFenK0zZx5j8RbIjsqJKwroYXExOiBXLCUwMWOLXIndEsUzzGLqnPfKHXd80vrhMLmtkVTCJqBMzvPUSYkH_ciWgmjP9m0YETdQ9ifghkADhZGt9IlnOswg0s3Bx9ASwxFZEtom0BmU9GwEuITTTZfKvndk785BlNeZMOjhovaD97-LYpv5B_PiWEz8zialK5zxjijLCw06zyA8CQRQqmVCagNUPilfz_BcPyImzvFDuzQcPyDkTcsB7weX35tafHmA_Ulg` - -func TestJwtToken_ParseJwtInvalidHeader(t *testing.T) { - token, err := parseJwt(invalidHeaderJwtTokenString) - - assert.Nil(t, token) - assert.Error(t, err) -} - -const invalidPayloadJwtTokenString = `eyJhbGciOiJSUzI1NiIsImtpZCI6ImFzdyIsInR5cCI6IkpXVCJ9.INVALIDPAYLOAD.zen7q2yJSpMjzH4ym_H7VEwZA0-vTT4Wcild-HRfLxX6A1ej4tlpACa7A24j5JoZYI4mHooZVJ8e7ZezFenK0zZx5j8RbIjsqJKwroYXExOiBXLCUwMWOLXIndEsUzzGLqnPfKHXd80vrhMLmtkVTCJqBMzvPUSYkH_ciWgmjP9m0YETdQ9ifghkADhZGt9IlnOswg0s3Bx9ASwxFZEtom0BmU9GwEuITTTZfKvndk785BlNeZMOjhovaD97-LYpv5B_PiWEz8zialK5zxjijLCw06zyA8CQRQqmVCagNUPilfz_BcPyImzvFDuzQcPyDkTcsB7weX35tafHmA_Ulg` - -func TestJwtToken_ParseJwtInvalidPayload(t *testing.T) { - token, err := parseJwt(invalidPayloadJwtTokenString) - - assert.Nil(t, token) - assert.Error(t, err) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resouce_principal_key_provider_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resouce_principal_key_provider_test.go deleted file mode 100644 index e6de004599c8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resouce_principal_key_provider_test.go +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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/stretchr/testify/assert" - "io/ioutil" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "os" - "testing" -) - -var ( - testEncryptedPrivateKey = `-----BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,05B7ACED45203763 - -bKbv8X2oyfxwp55w3MVKj1bfWnhvQgyqJ/1dER53STao3qRS26epRoBc0BoLtrNj -L+Wfa3NeuEinetDYKRwWGHZqvbs/3PD5OKIXW1y/EAlg1vr6JWX8KxhQ0PzGJOdQ -KPcB2duDtlNJ4awoGEsSp/qYyJLKOKpcz893OWTe3Oi9aQpzuL+kgH6VboCUdwdl -Ub7YyTMFBkGzzjOXV/iSJDaxvVUIZt7CQS/DkBq4IHXX8iFUDzh6L297/BuRp3Q8 -hDL4yQacl2F2yCWpUoNNkbPpe6oOmL8JHrxXxo+u0pSJELXx0sjWMn7bSRfgFFIE -k08y4wXZeoxHiQDhHmQI+YTikgqnxEWtDYhHYvWudVQY6Wcf1Fdypa1v4I3gv4S9 -QwjDRbRcrnPxMkxWmQEM6xGCwWBj8wmFyIQoEA5MJuQZxWdyptEKVtwwI1TB9etn -SlXPUl125dYYBu2ynmR96nBVEZd6BWl+iFeeZnqxDHABOB0AvpI61vt/6c7tIimC -YciZs74XZH/ERs55p0Ng/G23XNu+UGQQptrr2kyRR5JrS0UGKVjivydIK5Lus4c4 -NTaKyEJNMbvSUGY5SLfxyp6HZnlbr4aCDAk62+2ZUotr+sVXplCpuxoSc2Qlw0en -y+plCvd2RdQ/EzIFkpi9V/snIvbMvH3Sp/HqFDG8GehFTRvwpCIVqWC+BZYeaERX -n2P4jODz2M8Ns7txv1nB4CyxWgu19398Zit0K0QmG24kCJtLg9spEOmKtoIuVTnU -9ydxmHQjNNtyH+RceZFn07IkWvPveo2BXpK4K9DXE39Z/g1nQzwTqgN8diXxwRuN -Ge97lBWup4vP1TV8nyHW2AppgFVuPynO+XWfZUuCUzxNseB+XOyeqitoM4uvSNax -DQmokjIf4qXC/46EnJ/fd9Ydz4GVQ4TYyxwNCBJK39RdUOcUtyI+A3IbZ+vt2HIV -eiIN2BhdnwbvNTbPs9nc9McM2NtACqDGQsIzRdXcQ8SFDP2DnTVjGu5E8H9dnVrd -FcuUnA9TIbfBkRHOS7yoDHOo4j28g6xePDV5tK0L5C2yyDh+bwWnO5AIg/gdpnuH -wxIZUxFwkD4GvOVtj5Y4W5L+Uy3c94stMPbHE+zGN75DdQRy5aVbDjWqXRB9AEQN -+NSb526oqhv0JyYlZmCqz2ydBxkT4FsShZv/34pkRr3qL5FSTAQTXQAZdiQQbMTe -H3zKyu4GbEUV9WsyriqSq27ptMwFfIqN1NdsWeVWN1mXf2KZDn61EgleeQXmdSZu -XM4Z1n98xjYDwdCkF738j+oRAlSUThBeU/hYbH6Ysff6ON9MPBAAKy3ZxM5tF86e -l0x20lpND2QLLDZbsg/LrCrE6ZzpWkXn4w4PG4lWMAqph0BebSkFqXvUvuds3c39 -yptNH3FsyqeyM9kDwbDpBQAvpsDIQJfwAbQPLAiQJhpbixZyG9lqhkKOhYTZhU3l -ufFtnLEj/5G9a8A//MFrXsXePUeBDEzjtEcjPGNxe0ZkuOgYx11Zc0R4oLI7LoHO -07vtw4qCH4hztCJ5+JOUac6sGcILFRc4vSQQ15Cg5QEdBiSbQ/yo1P0hbNtSvnwO ------END RSA PRIVATE KEY-----` - testKeyPassphrase = "goisfun" - - // Generated key duplicates the Java SDK test resources - - testPrivateKey = `-----BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEA8Wf2KWrO/KEqeKKLN7chonrvVsSOEJcZQykYnCePswsFYNDB -/6O7njPx12Y0tRB8vaLVFNuoylGPLTNCfCy5veeVZnBX5/MENSh9/a3KMvSaKG8P -o5eNqYdyuZTaHUsa2vOjcyQfNZv9p1G4d/HhiDmqGP8KggV5ZhD0j7UteUt5OZSL -e3oGZ3M0/P5VtXZfD1Fq734va2ta4Q+zxE5IHJn7GW/VwK7TqctyuJFznbapjAtQ -pUsJrig6jqnyMd1rIs4hS8zimxfVo05mbr7Z1r38XIeXYiqICCry8N21BICAItrE -L25SOkzcA/sB1PvcSFIAV1i1hLKrnBU/eg+T+wIDAQABAoIBAQCI7GKfE0nb2L3y -Np+oNmMJeZkPKeU6W7mkckbXK0lCUFn4k++1Q/VCwkvF1N7IZFWcaiNZ9U1DlAcV -qCFptSSVJimDNO1nTltwm0r6+/vX8w0NKhFAxNFA+uaDhH5CZzsQPWjUAgUBrzys -DpoGzlcRoUNtchtPrDMzRSKx8B2e0aooD9kHQrXPYftaUi9rW+C44GXqt00ulZtZ -gyXbIy8WB0ZlQt40aS+1NyNcZyBb2bf0ldwZbRwh4ZzdWyoD/v2Vsi0RL0aaV1T1 -GtnnFIRJH6WeZTjoBzCw88VAwZdRCKxZaJ0mB08VS+bAIBEXN6/Ts3SKUQ87Y+I0 -xgAuh1/BAoGBAPq/xQTEv4YB14CYEPo2CIV38poxF5GonlBmEq5kedFWNLfO3+ge -KsHYPuB1ZUc89a0zUnaq7FdYSJGD2xmLNqN+R4OVTxPztpakglKHWhisK+2ocBL7 -lsJkBTg9El+N4a2MQohTDfXf/br/2HwZeCN5G2FvixUzUm1pcYZpfTuZAoGBAPZ2 -Gv/KrL93btabNoMLprw4Z/ElVoBo5NQpn4BNuVeABc60v+RwWxsAvwHOTGYY5TZR -hQeaDhvusiH7vT9ozNb7YpehFaay2pkgytFAvcr2QhFcjbOGq2cm4puuGZGN3uOL -ErhwxbNmKVxhjpVUUNkZdYmufkA6i4ltAvLNByizAoGAYrZsEVyDKXZAKFe1F0t+ -P0zhLOJ2rNj8uhn08MKNUmPljRbb/r0hh/5hgmu02z6cWPsDU8QmFpyitOZ7sqqj -b+meraZx4yDmmJda1rKCPYRKJt1QgaiZyR0nEOS5/vQUDAZTiudnb4wmjx95UiGU -siJTLSCEWGxD3t7L2mZc7sECgYBsec0mWmEwIHQTVttmUEGBxF3TYHizKffVfcBr -K0pxPbLQqPNwqxceSnTHabJsmXaBMt4XW3HsT2Ht3SwNdaX61UgursKlzUCzdyBt -e05Nv5eSpqbjpllYnF/O35D3ZHb+tZ52uYP6kvOPaozkIuk2tKLsB3Yf9OSnhuhu -T1lgSwKBgDLm/qguyd2gdhOBhVXJkfLRKZwogQI1ZdZYjNssCVFmnX+FvEJV+4cS -BjYWARWBrZbkAz3+8y9EIHV9aRmnX1jGOVUJ0MhaYyZ18KTzi32gAG8s7V7r57Sv -1D6imvCUmX3q5d1QuikaFw0VBX6S/FPFLneJXybW+GHwsgcGToxU ------END RSA PRIVATE KEY-----` - - // Generated RPST duplicates the Java SDK test resources - rpst = `eyJraWQiOiJhc3ciLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJvY2lkMS5kYXRhd2FyZWhvdXNlLmN1c3RvbWVyLWJpZy1kYi0xIiwiaXNzIjoiYXV0aFNlcnZpY2Uub3JhY2xlLmNvbSIsInJlc190ZW5hbnQiOiJjdXN0b21lci10ZW5hbnQtMSIsInB0eXBlIjoicmVzb3VyY2UiLCJyZXNfdHlwZSI6ImRhdGF3YXJlaG91c2UiLCJhdWQiOiJvY2kiLCJvcGMtdGFnIjoiVjEsb2NpZDEuZHluYW1pY2dyb3VwLmRldi4uYWFhYWFhYWEsb28ycHA2M3Y3NTMyNXpiNnJuNHYzYWgzYnRlam5ubTJvdDN1NWJyZnd1Y2VvczRpZDZ0YSIsIm9wYy1idW1wIjoiSDRzSUFBQUFBQUFBQUUyUHpRcUNRQlNGTTExTVJSQXRLbHBHYlFRSE1sSm8xVVAwQXVQTWJSeHJISnVmMHA0LUF4SFA5bjczTzV6bFRWSEJqcGcxSlpHQ2NxMWNoUm04TVNaZDVGM3cwMHZGejhaQnduaVpTZjA0eDBWaThuZGVrSlJMY0o4NnF3cWFmRTJkMGx3bE5RbFQ1Qy04N1ZxRFVVNVR3RlRKaW1ncm9iUllzTjJLT21PVkJCME5EdEh4T2dvbktGaE1ROThiLS1FZWpWdkh2SGZZcG9MZG5CRkxQa1JEcnB5Qjl1R0N2SmFhOVZSclAzU1RoaVR1R3pQQkk1Yjl5LUlBZVp2Z0IxX2paUVFDQVFBQSIsInR0eXBlIjoicmVzIiwicmVzX2lkIjoib2NpZDEuZGF0YXdhcmVob3VzZS5jdXN0b21lci1iaWctZGItMSIsIm9wYy1pbnN0YW5jZSI6Im9jaWQxLmluc3RhbmNlLmpveWZ1bC5kYm5vZGUuMSIsInJlc190YWciOiIiLCJyZXNfY29tcGFydG1lbnQiOiJjdXN0b21lci1jb21wYXJ0bWVudC0xIiwiZXhwIjoxNTUyNjgxMTY4LCJvcGMtY29tcGFydG1lbnQiOiJkYmFhcy1jb21wYXJ0bWVudC0xIiwiaWF0IjoxNTUyNjc5OTY4LCJqdGkiOiIzZDQxNDNlOC01ZTMyLTRlMTItYTM4Yy01OTc0NjUwMTA3MDMiLCJ0ZW5hbnQiOiJjdXN0b21lci10ZW5hbnQtMSIsImp3ayI6IntcImtpZFwiOlwiY3VzdG9tZXItZGJub2RlLTFcIixcIm5cIjpcImxzLUFDNGhpS0stMTFVdTFEZ3VLTFE1VGFhZGpNR1hCcDRhMFVFS2w0dnJjcmF3b2V6X3BuUS1pNS1nNV9XTU5xVXdrdUtBcXVTZnlVS25yZEhhV3d4b2RWcmRleTk1T3R4ckIySzNRdzgzaURkcUltSkhfWFp1cERfRHR0SzduS3N6Qy01TFI1Ums3SHF5Y094eEZVNzBNcGduQW9IaVNUM2V0VjJVZlJkNXRtb0dOaTdOSURORWJnSVpmcnczYUVYbHBzaGM2ckpVdUEyOG55ZUNjOVFtOHllMHUwN0UzamlCYmp5RjNFVWhTelNxblFsUlVNVEdaR1ZSZGpfRG9tcEhUVkFPNEJqUnVIZURWWGtWNjh1TzNrSEdTZUVPc2xsZmJZTkpaYUtCQTB3aUxrZkViWVBEWDFwbTM4UFAzcnJFbWhxeElObzdoYVFWakRXRDNKUVwiLFwiZVwiOlwiQVFBQlwiLFwia3R5XCI6XCJSU0FcIixcImFsZ1wiOlwiUlMyNTZcIixcInVzZVwiOlwic2lnXCJ9Iiwib3BjLXRlbmFudCI6ImRiYWFzLXRlbmFudCJ9.LqRt9JXSdcLahdwACjw_p_KHQhKde-NaVZG3zMjzWX6bVad-SRZYWKQSlk6Tq4f1ZNN0uxlP-d2snQAp3Kw-cQRrdCDOmD_0CDgR-yre-YbJDsJbEncczUIbe-ASeq_Sh9zDROVuD_7NdrmUCiVH2g-UYpYkuKKqu_tVjL2uy77W5_DGobPArEFvZ2GnyHT7gVVv12RnINtgr2jJULhegPBfvnp9-fhhZ7_PcsJ7Z5FkPzLtLOwEm3Lbm3veyUVUviu1CSjXnK67KzjS18TVGi723bkxYBf9lYDHfaXh9EEHzPtxeLAl3VrGjwZUv_ih0FRmoM7wgq8HMRjNACMo6g` -) - -var ppEnvVars = map[string]string{ - ResourcePrincipalVersionEnvVar: ResourcePrincipalVersion2_2, - ResourcePrincipalRegionEnvVar: string(common.RegionPHX), - ResourcePrincipalRPSTEnvVar: rpst, - ResourcePrincipalPrivatePEMEnvVar: testEncryptedPrivateKey, - ResourcePrincipalPrivatePEMPassphraseEnvVar: testKeyPassphrase, -} - -var envVars = map[string]string{ - ResourcePrincipalVersionEnvVar: ResourcePrincipalVersion2_2, - ResourcePrincipalRegionEnvVar: string(common.RegionPHX), - ResourcePrincipalRPSTEnvVar: rpst, - ResourcePrincipalPrivatePEMEnvVar: testPrivateKey, -} - -func writeTempFile(data string) (filename string) { - f, _ := ioutil.TempFile("", "auth-gosdkTest") - f.WriteString(data) - filename = f.Name() - return -} - -func removeFile(files ...string) { - for _, f := range files { - os.Remove(f) - } -} - -func unsetAllVars() { - for k := range ppEnvVars { - os.Unsetenv(k) - } -} - -func setupResourcePrincipalsEnvsWithValues(from map[string]string, enabledVars ...string) { - if len(enabledVars) == 0 { - for k, v := range from { - os.Setenv(k, v) - } - return - } - - for _, v := range enabledVars { - os.Setenv(v, from[v]) - } -} - -func setupResourcePrincipalsEnvsWithPaths(enabledVars ...string) (tempFiles []string) { - tempFiles = make([]string, 0) - for _, v := range enabledVars { - f := writeTempFile(envVars[v]) - tempFiles = append(tempFiles, f) - os.Setenv(v, f) - } - return -} - -func TestResourcePrincipalKeyProvider(t *testing.T) { - unsetAllVars() - setupResourcePrincipalsEnvsWithValues(ppEnvVars) - provider, e := ResourcePrincipalConfigurationProvider() - - assert.NoError(t, e) - assert.NotNil(t, provider) -} - -func TestResourcePrincipalKeyProvider_MissingEnvVars(t *testing.T) { - var testVars = [][]string{ - {ResourcePrincipalVersionEnvVar, ResourcePrincipalRegionEnvVar, ResourcePrincipalPrivatePEMEnvVar, - ResourcePrincipalPrivatePEMPassphraseEnvVar}, - {ResourcePrincipalVersionEnvVar, ResourcePrincipalRegionEnvVar, ResourcePrincipalPrivatePEMEnvVar}, - {ResourcePrincipalVersionEnvVar, ResourcePrincipalRegionEnvVar}, - {ResourcePrincipalVersionEnvVar}, - } - - for _, v := range testVars { - unsetAllVars() - setupResourcePrincipalsEnvsWithValues(ppEnvVars, v...) - _, e := ResourcePrincipalConfigurationProvider() - assert.Error(t, e, "should have failed with %s", v) - } -} - -func TestResourcePrincipalKeyProvider_DifferentEnvVarContent(t *testing.T) { - unsetAllVars() - setupResourcePrincipalsEnvsWithValues(ppEnvVars) - tempFiles := setupResourcePrincipalsEnvsWithPaths(ResourcePrincipalRPSTEnvVar) - defer removeFile(tempFiles...) - - _, e := ResourcePrincipalConfigurationProvider() - assert.NoError(t, e, "should have not failed") -} - -func TestResourcePrincipalConfigurationProvider(t *testing.T) { - unsetAllVars() - // Set up the environment as an example consumer (eg, a function) may have it - this injects no passphrase - setupResourcePrincipalsEnvsWithValues(envVars, ResourcePrincipalVersionEnvVar, ResourcePrincipalRegionEnvVar) - tempFiles := setupResourcePrincipalsEnvsWithPaths(ResourcePrincipalRPSTEnvVar, ResourcePrincipalPrivatePEMEnvVar) - defer removeFile(tempFiles...) - - provider, e := ResourcePrincipalConfigurationProvider() - assert.NoError(t, e) - - tenancyOCID, e := provider.TenancyOCID() - assert.NoError(t, e) - assert.Equal(t, "customer-tenant-1", tenancyOCID) - - keyFingerprint, e := provider.KeyFingerprint() - assert.NoError(t, e) - assert.Equal(t, "", keyFingerprint) - - userOCID, e := provider.UserOCID() - assert.NoError(t, e) - assert.Equal(t, "", userOCID) - - region, e := provider.Region() - assert.NoError(t, e) - assert.Equal(t, string(common.RegionPHX), region) - - keyID, e := provider.KeyID() - assert.NoError(t, e) - assert.Equal(t, "ST$"+rpst, keyID) - - privateKey, e := provider.PrivateRSAKey() - assert.NoError(t, e) - assert.NotNil(t, privateKey) - -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principals_v1_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principals_v1_test.go deleted file mode 100644 index 5de49e7762a3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principals_v1_test.go +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 ( - "bytes" - "fmt" - "github.com/stretchr/testify/assert" - "io/ioutil" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" - "testing" -) - -type fakeHTTPCaller struct { - Body string - validateRequest func(response *http.Request) error -} - -func (f fakeHTTPCaller) Do(req *http.Request) (*http.Response, error) { - if f.validateRequest != nil && f.validateRequest(req) != nil { - return nil, f.validateRequest(req) - } - - response := http.Response{} - response.Body = ioutil.NopCloser(bytes.NewBufferString(f.Body)) - return &response, nil -} - -func fakeInstanceProvider(region common.Region, tenancyID string) (*instancePrincipalConfigurationProvider, error) { - - modifier := func(dispatcher common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error) { - body := fmt.Sprintf(`{"token":"%s"}`, expectedSecurityToken) - return &fakeHTTPCaller{Body: body}, nil - } - - passPhrase := []byte("") - intermediateCerts := [][]byte{[]byte(intermediateCertPem)} - - fedClient, err := - newX509FederationClientWithCerts(region, tenancyID, - []byte(leafCertPem), passPhrase, []byte(leafCertPrivateKeyPem), intermediateCerts, *newDispatcherModifier(modifier), "") - if err != nil { - return nil, err - } - - provider := &instancePrincipalConfigurationProvider{ - keyProvider: instancePrincipalKeyProvider{ - Region: region, - FederationClient: fedClient, - TenancyID: tenancyID, - }, - region: ®ion, - } - return provider, nil -} - -func TestNewResourcePrincipalConfigurationProvider(t *testing.T) { - testRegion := common.RegionFRA - tenancyID := tenancyID - instanceID := "sdf" - - instanceProvider, e := fakeInstanceProvider(testRegion, tenancyID) - assert.NoError(t, e) - - rpTkClient, e := common.NewClientWithConfig(instanceProvider) - assert.NoError(t, e) - rpTkClient.BasePath = "/some/path" - rpTkClient.Host = "https://somehost" - rpTkClient.HTTPClient = fakeHTTPCaller{ - Body: `{"resourcePrincipalToken": "T1","servicePrincipalSessionToken":"S1"}`, - } - - rpSessionClient, e := common.NewClientWithConfig(instanceProvider) - assert.NoError(t, e) - rpSessionClient.BasePath = identityResourcePrincipalSessionTokenPath - rpSessionClient.Host = "https://someotherhost" - rpSessionClient.HTTPClient = fakeHTTPCaller{ - Body: fmt.Sprintf(`{"token":"%s"}`, expectedSecurityToken), - validateRequest: func(req *http.Request) error { - if !strings.Contains(req.URL.Path, identityResourcePrincipalSessionTokenPath) { - return fmt.Errorf("request path: %v needs to contain: %v", req.URL.Path, identityResourcePrincipalSessionTokenPath) - } - return nil - }, - } - - provider, e := resourcePrincipalConfigurationProviderForInstanceWithClients(*instanceProvider, rpTkClient, rpSessionClient, instanceID, identityResourcePrincipalSessionTokenPath) - assert.NoError(t, e) - assert.NotNil(t, provider) - - s, e := provider.KeyID() - assert.NoError(t, e) - assert.Equal(t, "ST$"+expectedSecurityToken, s) -} - -func TestNewServicePrincipalConfigurationProvider(t *testing.T) { - t.Skip("Skipping integration test for resource principals as it requires service support") - - //Set endpoints in for resource principal - resourcePrincipalTokenEndpoint := "https://someservice.region/endpoint" - resourcePrincipalTokenSessionEndpoint := "https://auth.someregion.oraclecloud.com" - - //Create an instance principal - instancePrincipalProvider, err := InstancePrincipalConfigurationProvider() - assert.NoError(t, err) - - //Define an interceptor(optional) - //an interceptor is call back made just before signing and it can - //be used to apply arbitrary transformations to the request - interceptor := func(request *http.Request) error { - request.URL.Query().Set("param1", "value1") - return nil - } - - provider, err := ResourcePrincipalConfigurationProviderWithInterceptor(instancePrincipalProvider, resourcePrincipalTokenEndpoint, - resourcePrincipalTokenSessionEndpoint, interceptor) - - assert.NoError(t, err) - valid, err := common.IsConfigurationProviderValid(provider) - assert.NoError(t, err) - assert.True(t, valid) - - // Finally, use the provider to create a client - // client, _ := containerengine.NewContainerEngineClientWithConfigurationProvider(provider) - -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/service_principal.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/service_principal.go deleted file mode 100644 index 262dad23d2fb..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/service_principal.go +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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" - "io/ioutil" - "path" - - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" -) - -type servicePrincipalKeyProvider struct { - federationClient federationClient -} - -func newServicePrincipalKeyProvider(tenancyID, region string, cert, key []byte, intermediates [][]byte, passphrase []byte, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (provider *servicePrincipalKeyProvider, err error) { - clientModifier := newDispatcherModifier(modifier) - - leafCertificateRetriever := newStaticX509CertificateRetriever(cert, key, passphrase) - - var intermediateCertificateRetrievers []x509CertificateRetriever - for _, intermediate := range intermediates { - intermediateCertificateRetrievers = - append(intermediateCertificateRetrievers, newStaticX509CertificateRetriever(intermediate, key, passphrase)) - } - - federationClient, err := newX509FederationClientWithPurpose( - common.Region(region), tenancyID, leafCertificateRetriever, - intermediateCertificateRetrievers, true, *clientModifier, defaultTokenPurpose) - - if err != nil { - err = fmt.Errorf("failed to create federation client: %s", err.Error()) - return nil, err - } - - provider = &servicePrincipalKeyProvider{federationClient: federationClient} - return -} - -func (p *servicePrincipalKeyProvider) PrivateRSAKey() (privateKey *rsa.PrivateKey, err error) { - if privateKey, err = p.federationClient.PrivateKey(); err != nil { - err = fmt.Errorf("failed to get private key: %s", err.Error()) - return nil, err - } - return privateKey, nil -} - -func (p *servicePrincipalKeyProvider) KeyID() (string, error) { - var securityToken string - var err error - if securityToken, err = p.federationClient.SecurityToken(); err != nil { - return "", fmt.Errorf("failed to get security token: %s", err.Error()) - } - - return fmt.Sprintf("ST$%s", securityToken), nil -} - -func (p *servicePrincipalKeyProvider) AuthType() (common.AuthConfig, error) { - return common.AuthConfig{common.UnknownAuthenticationType, false, nil}, - fmt.Errorf("unsupported, keep the interface") -} - -type servicePrincipalConfigurationProvider struct { - keyProvider *servicePrincipalKeyProvider - tenancyID, region string -} - -// NewServicePrincipalConfigurationProvider will create a new service principal configuration provider -func NewServicePrincipalConfigurationProvider(tenancyID, region string, cert, key []byte, intermediates [][]byte, passphrase []byte) (common.ConfigurationProvider, error) { - return NewServicePrincipalConfigurationProviderWithCustomClient(nil, tenancyID, region, cert, key, intermediates, passphrase) -} - -// NewServicePrincipalConfigurationProviderWithCustomClient will create a new service principal configuration provider using a modifier function to modify the HTTPRequestDispatcher -func NewServicePrincipalConfigurationProviderWithCustomClient(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error), tenancyID, region string, cert, key []byte, intermediates [][]byte, passphrase []byte) (common.ConfigurationProvider, error) { - var err error - var keyProvider *servicePrincipalKeyProvider - if keyProvider, err = newServicePrincipalKeyProvider(tenancyID, region, cert, key, intermediates, passphrase, modifier); err != nil { - return nil, fmt.Errorf("failed to create a new key provider: %s", err.Error()) - } - return servicePrincipalConfigurationProvider{keyProvider: keyProvider, region: region, tenancyID: tenancyID}, nil -} - -// NewServicePrincipalWithInstancePrincipalConfigurationProvider create a S2S configuration provider by acquiring credentials via instance principals -func NewServicePrincipalWithInstancePrincipalConfigurationProvider(region common.Region) (common.ConfigurationProvider, error) { - return newInstancePrincipalConfigurationProvider(region, servicePrincipalTokenPurpose, nil) -} - -// NewServicePrincipalConfigurationWithCerts returns a configuration for service principals with a given region and hardcoded certificates in lieu of metadata service certs -func NewServicePrincipalConfigurationWithCerts(region common.Region, leafCertificate, leafPassphrase, leafPrivateKey []byte, intermediateCertificates [][]byte) (common.ConfigurationProvider, error) { - leafCertificateRetriever := staticCertificateRetriever{Passphrase: leafPassphrase, CertificatePem: leafCertificate, PrivateKeyPem: leafPrivateKey} - - //The .Refresh() call actually reads the certificates from the inputs - err := leafCertificateRetriever.Refresh() - if err != nil { - return nil, err - } - certificate := leafCertificateRetriever.Certificate() - tenancyID := extractTenancyIDFromCertificate(certificate) - fedClient, err := newX509FederationClientWithCerts(region, tenancyID, leafCertificate, leafPassphrase, leafPrivateKey, intermediateCertificates, *newDispatcherModifier(nil), "") - if err != nil { - return nil, err - } - keyProvider := servicePrincipalKeyProvider{federationClient: fedClient} - return servicePrincipalConfigurationProvider{keyProvider: &keyProvider, region: string(region), tenancyID: tenancyID}, nil -} - -// NewServicePrincipalConfigurationProviderFromHostCerts returns a configuration for service principals, -// given the region and a pathname to the host's service principal certificate directory. -// The pathname generally follows the pattern "/var/certs/hostclass/${hostclass}/${servicePrincipalName}-identity" -func NewServicePrincipalConfigurationProviderFromHostCerts(region common.Region, certDir string) (common.ConfigurationProvider, error) { - if certDir == "" { - return nil, fmt.Errorf("empty input string") - } - // Read certs from substrate host. - leafKey, err := ioutil.ReadFile(path.Join(certDir, "key.pem")) - if err != nil { - return nil, fmt.Errorf("error reading leafPrivateKey") - } - leafCert, err := ioutil.ReadFile(path.Join(certDir, "cert.pem")) - if err != nil { - return nil, fmt.Errorf("error reading leafCertificate") - } - interCert, err := ioutil.ReadFile(path.Join(certDir, "intermediates.pem")) - if err != nil { - return nil, fmt.Errorf("error reading intermediateCertificate") - } - var interCerts [][]byte - interCerts = append(interCerts, interCert) - var leafPass = []byte("") - return NewServicePrincipalConfigurationWithCerts(region, leafCert, leafPass, leafKey, interCerts) -} - -func (p servicePrincipalConfigurationProvider) PrivateRSAKey() (*rsa.PrivateKey, error) { - return p.keyProvider.PrivateRSAKey() -} - -func (p servicePrincipalConfigurationProvider) KeyID() (string, error) { - return p.keyProvider.KeyID() -} - -func (p servicePrincipalConfigurationProvider) TenancyOCID() (string, error) { - return p.tenancyID, nil -} - -func (p servicePrincipalConfigurationProvider) UserOCID() (string, error) { - return "", nil -} - -func (p servicePrincipalConfigurationProvider) KeyFingerprint() (string, error) { - return "", nil -} - -func (p servicePrincipalConfigurationProvider) Region() (string, error) { - return p.region, nil -} - -func (p servicePrincipalConfigurationProvider) AuthType() (common.AuthConfig, error) { - return common.AuthConfig{common.UnknownAuthenticationType, false, nil}, - fmt.Errorf("unsupported, keep the interface") - -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/service_principal_test.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/service_principal_test.go deleted file mode 100644 index 485fc2db6f8f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/service_principal_test.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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" - "testing" - - "github.com/stretchr/testify/assert" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" -) - -func TestServicePrincipalKeyProvider(t *testing.T) { - key, _ := common.PrivateKeyFromBytes([]byte(leafCertPrivateKeyPem), nil) - testIO := []struct { - name string - tenancy, region string - cert, key []byte - intermediates [][]byte - passphrase []byte - expectErrorKey error - expectErrorToken error - expectedPrivateKey *rsa.PrivateKey - expectSecToken string - }{ - { - name: "Should crate a service principal with no failure", - tenancy: tenancyID, - region: "anyRegion", - cert: []byte(leafCertPem), - key: []byte(leafCertPrivateKeyPem), - intermediates: [][]byte{[]byte(intermediateCertPem)}, - passphrase: nil, - expectedPrivateKey: key, - expectSecToken: "token", - }, - { - name: "Should create a service principal even if, skipping tenancy verification", - tenancy: "random ocid", - region: "anyRegion", - cert: []byte(leafCertPem), - key: []byte(leafCertPrivateKeyPem), - intermediates: [][]byte{[]byte(intermediateCertPem)}, - passphrase: nil, - expectedPrivateKey: key, - expectSecToken: "token", - }, - { - name: "Should create fail if there is an error returning the sec token", - tenancy: "random ocid", - region: "anyRegion", - cert: []byte(leafCertPem), - key: []byte(leafCertPrivateKeyPem), - intermediates: [][]byte{[]byte(intermediateCertPem)}, - passphrase: nil, - expectedPrivateKey: key, - expectErrorToken: assert.AnError, - }, - { - name: "Should create fail if there is an error returning private key", - tenancy: "random ocid", - region: "anyRegion", - cert: []byte(leafCertPem), - key: []byte(leafCertPrivateKeyPem), - intermediates: [][]byte{[]byte(intermediateCertPem)}, - passphrase: nil, - expectErrorKey: assert.AnError, - }, - } - for _, test := range testIO { - t.Run(test.name, func(t *testing.T) { - mockFederationClient := new(mockFederationClient) - mockFederationClient.On("PrivateKey").Return(test.expectedPrivateKey, test.expectErrorKey).Once() - mockFederationClient.On("SecurityToken").Return(test.expectSecToken, test.expectErrorToken).Once() - - keyProvider, _ := newServicePrincipalKeyProvider(test.tenancy, - test.region, test.cert, test.key, test.intermediates, test.passphrase, nil) - - keyProvider.federationClient = mockFederationClient - actualPrivateKey, errKey := keyProvider.PrivateRSAKey() - actualToken, errToken := keyProvider.KeyID() - - if test.expectErrorKey != nil { - assert.Equal(t, fmt.Errorf("failed to get private key: %s", test.expectErrorKey.Error()), errKey) - } - if test.expectErrorToken != nil { - assert.Equal(t, fmt.Errorf("failed to get security token: %s", test.expectErrorToken.Error()), errToken) - } - assert.Equal(t, test.expectedPrivateKey, actualPrivateKey) - if test.expectSecToken != "" { - assert.Equal(t, "ST$"+test.expectSecToken, actualToken) - } - mockFederationClient.AssertExpectations(t) - }) - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/errors.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/errors.go deleted file mode 100644 index fb6e09f00523..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/errors.go +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 - -import ( - "encoding/json" - "fmt" - "io/ioutil" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker" - "net" - "net/http" -) - -// ServiceError models all potential errors generated the service call -type ServiceError interface { - // The http status code of the error - GetHTTPStatusCode() int - - // The human-readable error string as sent by the service - GetMessage() string - - // A short error code that defines the error, meant for programmatic parsing. - // See https://docs.cloud.oracle.com/Content/API/References/apierrors.htm - GetCode() string - - // Unique Oracle-assigned identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - GetOpcRequestID() string -} - -type servicefailure struct { - StatusCode int - Code string `json:"code,omitempty"` - Message string `json:"message,omitempty"` - OpcRequestID string `json:"opc-request-id"` -} - -func newServiceFailureFromResponse(response *http.Response) error { - var err error - - se := servicefailure{ - StatusCode: response.StatusCode, - Code: "BadErrorResponse", - OpcRequestID: response.Header.Get("opc-request-id")} - - //If there is an error consume the body, entirely - body, err := ioutil.ReadAll(response.Body) - if err != nil { - se.Message = fmt.Sprintf("The body of the response was not readable, due to :%s", err.Error()) - return se - } - - err = json.Unmarshal(body, &se) - if err != nil { - Debugf("Error response could not be parsed due to: %s", err.Error()) - se.Message = fmt.Sprintf("Failed to parse json from response body due to: %s. With response body %s.", err.Error(), string(body[:])) - return se - } - return se -} - -func (se servicefailure) Error() string { - return fmt.Sprintf("Service error:%s. %s. http status code: %d. Opc request id: %s", - se.Code, se.Message, se.StatusCode, se.OpcRequestID) -} - -func (se servicefailure) GetHTTPStatusCode() int { - return se.StatusCode - -} - -func (se servicefailure) GetMessage() string { - return se.Message -} - -func (se servicefailure) GetCode() string { - return se.Code -} - -func (se servicefailure) GetOpcRequestID() string { - return se.OpcRequestID -} - -// IsServiceError returns false if the error is not service side, otherwise true -// additionally it returns an interface representing the ServiceError -func IsServiceError(err error) (failure ServiceError, ok bool) { - failure, ok = err.(servicefailure) - return -} - -type deadlineExceededByBackoffError struct{} - -func (deadlineExceededByBackoffError) Error() string { - return "now() + computed backoff duration exceeds request deadline" -} - -// DeadlineExceededByBackoff is the error returned by Call() when GetNextDuration() returns a time.Duration that would -// force the user to wait past the request deadline before re-issuing a request. This enables us to exit early, since -// we cannot succeed based on the configured retry policy. -var DeadlineExceededByBackoff error = deadlineExceededByBackoffError{} - -// NonSeekableRequestRetryFailure is the error returned when the request is with binary request body, and is configured -// retry, but the request body is not retryable -type NonSeekableRequestRetryFailure struct { - err error -} - -func (ne NonSeekableRequestRetryFailure) Error() string { - if ne.err == nil { - return fmt.Sprintf("Unable to perform Retry on this request body type, which did not implement seek() interface") - } - return fmt.Sprintf("%s. Unable to perform Retry on this request body type, which did not implement seek() interface", ne.err.Error()) -} - -// IsNetworkError validates if an error is a net.Error and check if it's temporary or timeout -func IsNetworkError(err error) bool { - if r, ok := err.(net.Error); ok && (r.Temporary() || r.Timeout()) { - return true - } - return false -} - -// IsCircuitBreakerError validates if an error's text is Open state ErrOpenState or HalfOpen state ErrTooManyRequests -func IsCircuitBreakerError(err error) bool { - if err.Error() == gobreaker.ErrOpenState.Error() || err.Error() == gobreaker.ErrTooManyRequests.Error() { - return true - } - return false -} - -// StatErrCode is a type which wraps error's statusCode and errorCode from service end -type StatErrCode struct { - statusCode int - errorCode string -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/regions.json b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/regions.json deleted file mode 100644 index cefcbf7fba8e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/regions.json +++ /dev/null @@ -1,272 +0,0 @@ -[ - { - "regionKey": "yny", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-chuncheon-1", - "realmKey": "oc1" - }, - { - "regionKey": "hyd", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-hyderabad-1", - "realmKey": "oc1" - }, - { - "regionKey": "mel", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-melbourne-1", - "realmKey": "oc1" - }, - { - "regionKey": "bom", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-mumbai-1", - "realmKey": "oc1" - }, - { - "regionKey": "kix", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-osaka-1", - "realmKey": "oc1" - }, - { - "regionKey": "icn", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-seoul-1", - "realmKey": "oc1" - }, - { - "regionKey": "syd", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-sydney-1", - "realmKey": "oc1" - }, - { - "regionKey": "nrt", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-tokyo-1", - "realmKey": "oc1" - }, - { - "regionKey": "sin", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ap-singapore-1", - "realmKey": "oc1" - }, - { - "regionKey": "yul", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ca-montreal-1", - "realmKey": "oc1" - }, - { - "regionKey": "yyz", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "ca-toronto-1", - "realmKey": "oc1" - }, - { - "regionKey": "ams", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-amsterdam-1", - "realmKey": "oc1" - }, - { - "regionKey": "fra", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-frankfurt-1", - "realmKey": "oc1" - }, - { - "regionKey": "zrh", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-zurich-1", - "realmKey": "oc1" - }, - { - "regionKey": "jed", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "me-jeddah-1", - "realmKey": "oc1" - }, - { - "regionKey": "dxb", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "me-dubai-1", - "realmKey": "oc1" - }, - { - "regionKey": "gru", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "sa-saopaulo-1", - "realmKey": "oc1" - }, - { - "regionKey": "cwl", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "uk-cardiff-1", - "realmKey": "oc1" - }, - { - "regionKey": "lhr", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "uk-london-1", - "realmKey": "oc1" - }, - { - "regionKey": "iad", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "us-ashburn-1", - "realmKey": "oc1" - }, - { - "regionKey": "phx", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "us-phoenix-1", - "realmKey": "oc1" - }, - { - "regionKey": "sjc", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "us-sanjose-1", - "realmKey": "oc1" - }, - { - "regionKey": "auh", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "me-abudhabi-1", - "realmKey": "oc1" - }, - { - "regionKey": "vcp", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "sa-vinhedo-1", - "realmKey": "oc1" - }, - { - "regionKey": "scl", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "sa-santiago-1", - "realmKey": "oc1" - }, - { - "regionKey": "mrs", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-marseille-1", - "realmKey": "oc1" - }, - { - "regionKey": "mtz", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "il-jerusalem-1", - "realmKey": "oc1" - }, - { - "regionKey": "arn", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-stockholm-1", - "realmKey": "oc1" - }, - { - "regionKey": "lin", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-milan-1", - "realmKey": "oc1" - }, - { - "regionKey": "jnb", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "af-johannesburg-1", - "realmKey": "oc1" - }, - { - "regionKey": "cdg", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-paris-1", - "realmKey": "oc1" - }, - { - "regionKey": "lfi", - "realmDomainComponent": "oraclegovcloud.com", - "regionIdentifier": "us-langley-1", - "realmKey": "oc2" - }, - { - "regionKey": "luf", - "realmDomainComponent": "oraclegovcloud.com", - "regionIdentifier": "us-luke-1", - "realmKey": "oc2" - }, - { - "regionKey": "ric", - "realmDomainComponent": "oraclegovcloud.com", - "regionIdentifier": "us-gov-ashburn-1", - "realmKey": "oc3" - }, - { - "regionKey": "pia", - "realmDomainComponent": "oraclegovcloud.com", - "regionIdentifier": "us-gov-chicago-1", - "realmKey": "oc3" - }, - { - "regionKey": "tus", - "realmDomainComponent": "oraclegovcloud.com", - "regionIdentifier": "us-gov-phoenix-1", - "realmKey": "oc3" - }, - { - "regionKey": "ltn", - "realmDomainComponent": "oraclegovcloud.uk", - "regionIdentifier": "uk-gov-london-1", - "realmKey": "oc4" - }, - { - "regionKey": "brs", - "realmDomainComponent": "oraclegovcloud.uk", - "regionIdentifier": "uk-gov-cardiff-1", - "realmKey": "oc4" - }, - { - "regionKey": "nja", - "realmDomainComponent": "oraclecloud8.com", - "regionIdentifier": "ap-chiyoda-1", - "realmKey": "oc8" - }, - { - "regionKey": "ukb", - "realmDomainComponent": "oraclecloud8.com", - "regionIdentifier": "ap-ibaraki-1", - "realmKey": "oc8" - }, - { - "regionKey": "mct", - "realmDomainComponent": "oraclecloud9.com", - "regionIdentifier": "me-dcc-muscat-1", - "realmKey": "oc9" - }, - { - "regionKey": "wga", - "realmDomainComponent": "oraclecloud10.com", - "regionIdentifier": "ap-dcc-canberra-1", - "realmKey": "oc10" - }, - { - "regionKey": "qro", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "mx-queretaro-1", - "realmKey": "oc1" - }, - { - "regionKey": "bgy", - "realmDomainComponent": "oraclecloud14.com", - "regionIdentifier": "eu-dcc-milan-1", - "realmKey": "oc14" - }, - { - "regionKey": "mad", - "realmDomainComponent": "oraclecloud.com", - "regionIdentifier": "eu-madrid-1", - "realmKey": "oc1" - } -] \ No newline at end of file diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/containerengine_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/containerengine_client.go deleted file mode 100644 index 2051fd6acf40..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/containerengine_client.go +++ /dev/null @@ -1,1219 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// Container Engine for Kubernetes API -// -// API for the Container Engine for Kubernetes service. Use this API to build, deploy, -// and manage cloud-native applications. For more information, see -// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). -// - -package containerengine - -import ( - "context" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" - "net/http" -) - -// ContainerEngineClient a client for ContainerEngine -type ContainerEngineClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewContainerEngineClientWithConfigurationProvider Creates a new default ContainerEngine client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewContainerEngineClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ContainerEngineClient, err error) { - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newContainerEngineClientFromBaseClient(baseClient, provider) -} - -// NewContainerEngineClientWithOboToken Creates a new default ContainerEngine client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewContainerEngineClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ContainerEngineClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newContainerEngineClientFromBaseClient(baseClient, configProvider) -} - -func newContainerEngineClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client ContainerEngineClient, err error) { - // ContainerEngine service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSetting()) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = ContainerEngineClient{BaseClient: baseClient} - client.BasePath = "20180222" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *ContainerEngineClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("containerengine", "https://containerengine.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *ContainerEngineClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *ContainerEngineClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// ClusterMigrateToNativeVcn Initiates cluster migration to use native VCN. -func (client ContainerEngineClient) ClusterMigrateToNativeVcn(ctx context.Context, request ClusterMigrateToNativeVcnRequest) (response ClusterMigrateToNativeVcnResponse, 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.clusterMigrateToNativeVcn, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ClusterMigrateToNativeVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ClusterMigrateToNativeVcnResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ClusterMigrateToNativeVcnResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ClusterMigrateToNativeVcnResponse") - } - return -} - -// clusterMigrateToNativeVcn implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) clusterMigrateToNativeVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/actions/migrateToNativeVcn", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ClusterMigrateToNativeVcnResponse - 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 -} - -// CreateCluster Create a new cluster. -func (client ContainerEngineClient) CreateCluster(ctx context.Context, request CreateClusterRequest) (response CreateClusterResponse, 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.createCluster, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateClusterResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateClusterResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateClusterResponse") - } - return -} - -// createCluster implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) createCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateClusterResponse - 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 -} - -// CreateKubeconfig Create the Kubeconfig YAML for a cluster. -func (client ContainerEngineClient) CreateKubeconfig(ctx context.Context, request CreateKubeconfigRequest) (response CreateKubeconfigResponse, 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.createKubeconfig, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateKubeconfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateKubeconfigResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateKubeconfigResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateKubeconfigResponse") - } - return -} - -// createKubeconfig implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) createKubeconfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/kubeconfig/content", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateKubeconfigResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - response.RawResponse = httpResponse - if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// CreateNodePool Create a new node pool. -func (client ContainerEngineClient) CreateNodePool(ctx context.Context, request CreateNodePoolRequest) (response CreateNodePoolResponse, 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.createNodePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateNodePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateNodePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateNodePoolResponse") - } - return -} - -// createNodePool implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) createNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/nodePools", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateNodePoolResponse - 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 -} - -// DeleteCluster Delete a cluster. -func (client ContainerEngineClient) DeleteCluster(ctx context.Context, request DeleteClusterRequest) (response DeleteClusterResponse, 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.deleteCluster, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteClusterResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteClusterResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteClusterResponse") - } - return -} - -// deleteCluster implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) deleteCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/clusters/{clusterId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteClusterResponse - 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 -} - -// DeleteNode Delete node. -func (client ContainerEngineClient) DeleteNode(ctx context.Context, request DeleteNodeRequest) (response DeleteNodeResponse, 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.deleteNode, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteNodeResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteNodeResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteNodeResponse") - } - return -} - -// deleteNode implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) deleteNode(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/nodePools/{nodePoolId}/node/{nodeId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteNodeResponse - 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 -} - -// DeleteNodePool Delete a node pool. -func (client ContainerEngineClient) DeleteNodePool(ctx context.Context, request DeleteNodePoolRequest) (response DeleteNodePoolResponse, 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.deleteNodePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteNodePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteNodePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteNodePoolResponse") - } - return -} - -// deleteNodePool implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) deleteNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/nodePools/{nodePoolId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteNodePoolResponse - 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 -} - -// DeleteWorkRequest Cancel a work request that has not started. -func (client ContainerEngineClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, 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.deleteWorkRequest, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteWorkRequestResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteWorkRequestResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteWorkRequestResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteWorkRequestResponse") - } - return -} - -// deleteWorkRequest implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) deleteWorkRequest(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/workRequests/{workRequestId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteWorkRequestResponse - 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 -} - -// GetCluster Get the details of a cluster. -func (client ContainerEngineClient) GetCluster(ctx context.Context, request GetClusterRequest) (response GetClusterResponse, 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.getCluster, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClusterResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClusterResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClusterResponse") - } - return -} - -// getCluster implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) getCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters/{clusterId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClusterResponse - 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 -} - -// GetClusterMigrateToNativeVcnStatus Get details on a cluster's migration to native VCN. -func (client ContainerEngineClient) GetClusterMigrateToNativeVcnStatus(ctx context.Context, request GetClusterMigrateToNativeVcnStatusRequest) (response GetClusterMigrateToNativeVcnStatusResponse, 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.getClusterMigrateToNativeVcnStatus, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClusterMigrateToNativeVcnStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClusterMigrateToNativeVcnStatusResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClusterMigrateToNativeVcnStatusResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClusterMigrateToNativeVcnStatusResponse") - } - return -} - -// getClusterMigrateToNativeVcnStatus implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) getClusterMigrateToNativeVcnStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters/{clusterId}/migrateToNativeVcnStatus", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClusterMigrateToNativeVcnStatusResponse - 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 -} - -// GetClusterOptions Get options available for clusters. -func (client ContainerEngineClient) GetClusterOptions(ctx context.Context, request GetClusterOptionsRequest) (response GetClusterOptionsResponse, 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.getClusterOptions, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClusterOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClusterOptionsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClusterOptionsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClusterOptionsResponse") - } - return -} - -// getClusterOptions implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) getClusterOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusterOptions/{clusterOptionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClusterOptionsResponse - 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 -} - -// GetNodePool Get the details of a node pool. -func (client ContainerEngineClient) GetNodePool(ctx context.Context, request GetNodePoolRequest) (response GetNodePoolResponse, 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.getNodePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetNodePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetNodePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetNodePoolResponse") - } - return -} - -// getNodePool implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) getNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/nodePools/{nodePoolId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetNodePoolResponse - 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 -} - -// GetNodePoolOptions Get options available for node pools. -func (client ContainerEngineClient) GetNodePoolOptions(ctx context.Context, request GetNodePoolOptionsRequest) (response GetNodePoolOptionsResponse, 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.getNodePoolOptions, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetNodePoolOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetNodePoolOptionsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetNodePoolOptionsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetNodePoolOptionsResponse") - } - return -} - -// getNodePoolOptions implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) getNodePoolOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/nodePoolOptions/{nodePoolOptionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetNodePoolOptionsResponse - 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 -} - -// GetWorkRequest Get the details of a work request. -func (client ContainerEngineClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, 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.getWorkRequest, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetWorkRequestResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetWorkRequestResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetWorkRequestResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetWorkRequestResponse") - } - return -} - -// getWorkRequest implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) getWorkRequest(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetWorkRequestResponse - 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 -} - -// ListClusters List all the cluster objects in a compartment. -func (client ContainerEngineClient) ListClusters(ctx context.Context, request ListClustersRequest) (response ListClustersResponse, 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.listClusters, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListClustersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListClustersResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListClustersResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListClustersResponse") - } - return -} - -// listClusters implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) listClusters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListClustersResponse - 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 -} - -// ListNodePools List all the node pools in a compartment, and optionally filter by cluster. -func (client ContainerEngineClient) ListNodePools(ctx context.Context, request ListNodePoolsRequest) (response ListNodePoolsResponse, 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.listNodePools, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListNodePoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListNodePoolsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListNodePoolsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListNodePoolsResponse") - } - return -} - -// listNodePools implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) listNodePools(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/nodePools", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListNodePoolsResponse - 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 -} - -// ListWorkRequestErrors Get the errors of a work request. -func (client ContainerEngineClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, 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.listWorkRequestErrors, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListWorkRequestErrorsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListWorkRequestErrorsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListWorkRequestErrorsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestErrorsResponse") - } - return -} - -// listWorkRequestErrors implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) listWorkRequestErrors(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}/errors", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListWorkRequestErrorsResponse - 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 -} - -// ListWorkRequestLogs Get the logs of a work request. -func (client ContainerEngineClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, 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.listWorkRequestLogs, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListWorkRequestLogsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListWorkRequestLogsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListWorkRequestLogsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestLogsResponse") - } - return -} - -// listWorkRequestLogs implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) listWorkRequestLogs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}/logs", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListWorkRequestLogsResponse - 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 -} - -// ListWorkRequests List all work requests in a compartment. -func (client ContainerEngineClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, 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.listWorkRequests, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListWorkRequestsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListWorkRequestsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListWorkRequestsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestsResponse") - } - return -} - -// listWorkRequests implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) listWorkRequests(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListWorkRequestsResponse - 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 -} - -// UpdateCluster Update the details of a cluster. -func (client ContainerEngineClient) UpdateCluster(ctx context.Context, request UpdateClusterRequest) (response UpdateClusterResponse, 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.updateCluster, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateClusterResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateClusterResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateClusterResponse") - } - return -} - -// updateCluster implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) updateCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/clusters/{clusterId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateClusterResponse - 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 -} - -// UpdateClusterEndpointConfig Update the details of the cluster endpoint configuration. -func (client ContainerEngineClient) UpdateClusterEndpointConfig(ctx context.Context, request UpdateClusterEndpointConfigRequest) (response UpdateClusterEndpointConfigResponse, 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.updateClusterEndpointConfig, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateClusterEndpointConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateClusterEndpointConfigResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateClusterEndpointConfigResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateClusterEndpointConfigResponse") - } - return -} - -// updateClusterEndpointConfig implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) updateClusterEndpointConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/actions/updateEndpointConfig", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateClusterEndpointConfigResponse - 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 -} - -// UpdateNodePool Update the details of a node pool. -func (client ContainerEngineClient) UpdateNodePool(ctx context.Context, request UpdateNodePoolRequest) (response UpdateNodePoolResponse, 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.updateNodePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateNodePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateNodePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateNodePoolResponse") - } - return -} - -// updateNodePool implements the OCIOperation interface (enables retrying operations) -func (client ContainerEngineClient) updateNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/nodePools/{nodePoolId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateNodePoolResponse - 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_operation_type.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_operation_type.go deleted file mode 100644 index f9a3be315e93..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_operation_type.go +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// Container Engine for Kubernetes API -// -// API for the Container Engine for Kubernetes service. Use this API to build, deploy, -// and manage cloud-native applications. For more information, see -// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). -// - -package containerengine - -// WorkRequestOperationTypeEnum Enum with underlying type: string -type WorkRequestOperationTypeEnum string - -// Set of constants representing the allowable values for WorkRequestOperationTypeEnum -const ( - WorkRequestOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" - WorkRequestOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" - WorkRequestOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" - WorkRequestOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" - WorkRequestOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" - WorkRequestOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" - WorkRequestOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" - WorkRequestOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" -) - -var mappingWorkRequestOperationTypeEnum = map[string]WorkRequestOperationTypeEnum{ - "CLUSTER_CREATE": WorkRequestOperationTypeClusterCreate, - "CLUSTER_UPDATE": WorkRequestOperationTypeClusterUpdate, - "CLUSTER_DELETE": WorkRequestOperationTypeClusterDelete, - "NODEPOOL_CREATE": WorkRequestOperationTypeNodepoolCreate, - "NODEPOOL_UPDATE": WorkRequestOperationTypeNodepoolUpdate, - "NODEPOOL_DELETE": WorkRequestOperationTypeNodepoolDelete, - "NODEPOOL_RECONCILE": WorkRequestOperationTypeNodepoolReconcile, - "WORKREQUEST_CANCEL": WorkRequestOperationTypeWorkrequestCancel, -} - -// GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum -func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum { - values := make([]WorkRequestOperationTypeEnum, 0) - for _, v := range mappingWorkRequestOperationTypeEnum { - values = append(values, v) - } - return values -} - -// GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum -func GetWorkRequestOperationTypeEnumStringValues() []string { - return []string{ - "CLUSTER_CREATE", - "CLUSTER_UPDATE", - "CLUSTER_DELETE", - "NODEPOOL_CREATE", - "NODEPOOL_UPDATE", - "NODEPOOL_DELETE", - "NODEPOOL_RECONCILE", - "WORKREQUEST_CANCEL", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_local_peering_token_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_local_peering_token_details.go deleted file mode 100644 index 494dd021e307..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_local_peering_token_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AcceptLocalPeeringTokenDetails Contains a peering token generated by a peer. By accepting a peering token, you are facilitating a peering handshake. Once both sides accept peering tokens, a peering is established. -type AcceptLocalPeeringTokenDetails struct { - - // An opaque token obtained from a peer. - TokenFromPeer *string `mandatory:"true" json:"tokenFromPeer"` -} - -func (m AcceptLocalPeeringTokenDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AcceptLocalPeeringTokenDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_local_peering_token_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_local_peering_token_request_response.go deleted file mode 100644 index 6ebd040a3262..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_local_peering_token_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// AcceptLocalPeeringTokenRequest wrapper for the AcceptLocalPeeringToken operation -type AcceptLocalPeeringTokenRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering connection. This feature is currently in preview and may change before public release. Do not use it for production workloads. - LocalPeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"localPeeringConnectionId"` - - // Details regarding the token to accept. - AcceptLocalPeeringTokenDetails `contributesTo:"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 `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 AcceptLocalPeeringTokenRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request AcceptLocalPeeringTokenRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request AcceptLocalPeeringTokenRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request AcceptLocalPeeringTokenRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request AcceptLocalPeeringTokenRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// AcceptLocalPeeringTokenResponse wrapper for the AcceptLocalPeeringToken operation -type AcceptLocalPeeringTokenResponse 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 AcceptLocalPeeringTokenResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response AcceptLocalPeeringTokenResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_additional_route_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_additional_route_rules_details.go deleted file mode 100644 index adfff6814b5b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_additional_route_rules_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AddAdditionalRouteRulesDetails The configuration details for the add rules operation. -type AddAdditionalRouteRulesDetails struct { - - // The collection of rules used for routing destination IPs to network devices. - RouteRules []RouteRule `mandatory:"false" json:"routeRules"` -} - -func (m AddAdditionalRouteRulesDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AddAdditionalRouteRulesDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_additional_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_additional_route_rules_request_response.go deleted file mode 100644 index 4b63ecfef2a7..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_additional_route_rules_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// AddAdditionalRouteRulesRequest wrapper for the AddAdditionalRouteRules operation -type AddAdditionalRouteRulesRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table. - RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` - - // Request to add route rules to a given route table. - AddAdditionalRouteRulesDetails `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 AddAdditionalRouteRulesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request AddAdditionalRouteRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request AddAdditionalRouteRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request AddAdditionalRouteRulesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request AddAdditionalRouteRulesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// AddAdditionalRouteRulesResponse wrapper for the AddAdditionalRouteRules operation -type AddAdditionalRouteRulesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The AddedAdditionalRouteRules instance - AddedAdditionalRouteRules `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"` -} - -func (response AddAdditionalRouteRulesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response AddAdditionalRouteRulesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/added_additional_route_rules.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/added_additional_route_rules.go deleted file mode 100644 index 1096d64c8fe5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/added_additional_route_rules.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AddedAdditionalRouteRules The route rules that were added. -type AddedAdditionalRouteRules struct { - - // List of route rules that were added. - RouteRules []AdditionalRouteRule `mandatory:"true" json:"routeRules"` -} - -func (m AddedAdditionalRouteRules) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AddedAdditionalRouteRules) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/additional_route_rule.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/additional_route_rule.go deleted file mode 100644 index 75276a21b0ba..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/additional_route_rule.go +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AdditionalRouteRule A mapping between a destination IP address range and a virtual device to route matching -// packets to (a target). This is used only by a large route table. -type AdditionalRouteRule struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the route rule's target. For information about the type of - // targets you can specify, see - // Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). - NetworkEntityId *string `mandatory:"true" json:"networkEntityId"` - - // An identifier for the route rule. You specify this identifier when you want to delete the rule. - Id *string `mandatory:"true" json:"id"` - - // Deprecated. Instead use `destination` and `destinationType`. Requests that include both - // `cidrBlock` and `destination` will be rejected. - // A destination IP address range in CIDR notation. Matching packets will - // be routed to the indicated network entity (the target). - // Cannot be an IPv6 CIDR. - // Example: `0.0.0.0/0` - CidrBlock *string `mandatory:"false" json:"cidrBlock"` - - // Conceptually, this is the range of IP addresses used for matching when routing - // traffic. Required if you provide a `destinationType`. - // Allowed values: - // * IP address range in CIDR notation. Can be an IPv4 or IPv6 CIDR. For example: `192.168.1.0/24` - // or `2001:0db8:0123:45::/56`. If you set this to an IPv6 CIDR, the route rule's target - // can only be a DRG or internet gateway. IPv6 addressing is supported for all commercial and government regions. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - // * The `cidrBlock` value for a Service, if you're - // setting up a route rule for traffic destined for a particular `Service` through - // a service gateway. For example: `oci-phx-objectstorage`. - Destination *string `mandatory:"false" json:"destination"` - - // Type of destination for the rule. Required if you provide a `destination`. - // * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. - // * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a - // Service (the rule is for traffic destined for a - // particular `Service` through a service gateway). - DestinationType AdditionalRouteRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` - - // An optional description of your choice for the rule. - Description *string `mandatory:"false" json:"description"` -} - -func (m AdditionalRouteRule) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AdditionalRouteRule) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingAdditionalRouteRuleDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetAdditionalRouteRuleDestinationTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// AdditionalRouteRuleDestinationTypeEnum Enum with underlying type: string -type AdditionalRouteRuleDestinationTypeEnum string - -// Set of constants representing the allowable values for AdditionalRouteRuleDestinationTypeEnum -const ( - AdditionalRouteRuleDestinationTypeCidrBlock AdditionalRouteRuleDestinationTypeEnum = "CIDR_BLOCK" - AdditionalRouteRuleDestinationTypeServiceCidrBlock AdditionalRouteRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK" -) - -var mappingAdditionalRouteRuleDestinationTypeEnum = map[string]AdditionalRouteRuleDestinationTypeEnum{ - "CIDR_BLOCK": AdditionalRouteRuleDestinationTypeCidrBlock, - "SERVICE_CIDR_BLOCK": AdditionalRouteRuleDestinationTypeServiceCidrBlock, -} - -// GetAdditionalRouteRuleDestinationTypeEnumValues Enumerates the set of values for AdditionalRouteRuleDestinationTypeEnum -func GetAdditionalRouteRuleDestinationTypeEnumValues() []AdditionalRouteRuleDestinationTypeEnum { - values := make([]AdditionalRouteRuleDestinationTypeEnum, 0) - for _, v := range mappingAdditionalRouteRuleDestinationTypeEnum { - values = append(values, v) - } - return values -} - -// GetAdditionalRouteRuleDestinationTypeEnumStringValues Enumerates the set of values in String for AdditionalRouteRuleDestinationTypeEnum -func GetAdditionalRouteRuleDestinationTypeEnumStringValues() []string { - return []string{ - "CIDR_BLOCK", - "SERVICE_CIDR_BLOCK", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_rome_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_rome_bm_launch_instance_platform_config.go deleted file mode 100644 index 9d67cda63c1f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_rome_bm_launch_instance_platform_config.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AmdRomeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the AMD Rome platform. -type AmdRomeBmLaunchInstancePlatformConfig struct { - - // Whether Secure Boot is enabled on the instance. - IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` - - // Whether the Trusted Platform Module (TPM) is enabled on the instance. - IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` - - // Whether the Measured Boot feature is enabled on the instance. - IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` - - // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. - IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` -} - -// GetIsSecureBootEnabled returns IsSecureBootEnabled -func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { - return m.IsSecureBootEnabled -} - -// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled -func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { - return m.IsTrustedPlatformModuleEnabled -} - -// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled -func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { - return m.IsMeasuredBootEnabled -} - -// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled -func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { - return m.IsMemoryEncryptionEnabled -} - -func (m AmdRomeBmLaunchInstancePlatformConfig) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AmdRomeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m AmdRomeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { - type MarshalTypeAmdRomeBmLaunchInstancePlatformConfig AmdRomeBmLaunchInstancePlatformConfig - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeAmdRomeBmLaunchInstancePlatformConfig - }{ - "AMD_ROME_BM", - (MarshalTypeAmdRomeBmLaunchInstancePlatformConfig)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_rome_bm_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_rome_bm_platform_config.go deleted file mode 100644 index ed47f024fa7d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_rome_bm_platform_config.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AmdRomeBmPlatformConfig The platform configuration of a bare metal instance that uses the AMD Rome platform. -type AmdRomeBmPlatformConfig struct { - - // Whether Secure Boot is enabled on the instance. - IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` - - // Whether the Trusted Platform Module (TPM) is enabled on the instance. - IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` - - // Whether the Measured Boot feature is enabled on the instance. - IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` - - // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. - IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` -} - -// GetIsSecureBootEnabled returns IsSecureBootEnabled -func (m AmdRomeBmPlatformConfig) GetIsSecureBootEnabled() *bool { - return m.IsSecureBootEnabled -} - -// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled -func (m AmdRomeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { - return m.IsTrustedPlatformModuleEnabled -} - -// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled -func (m AmdRomeBmPlatformConfig) GetIsMeasuredBootEnabled() *bool { - return m.IsMeasuredBootEnabled -} - -// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled -func (m AmdRomeBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool { - return m.IsMemoryEncryptionEnabled -} - -func (m AmdRomeBmPlatformConfig) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AmdRomeBmPlatformConfig) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m AmdRomeBmPlatformConfig) MarshalJSON() (buff []byte, e error) { - type MarshalTypeAmdRomeBmPlatformConfig AmdRomeBmPlatformConfig - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeAmdRomeBmPlatformConfig - }{ - "AMD_ROME_BM", - (MarshalTypeAmdRomeBmPlatformConfig)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_dav_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_dav_details.go deleted file mode 100644 index 797b9309be12..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_dav_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AttachDavDetails Details to attach a Direct Attached Vnic to an instance. -type AttachDavDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the host instance. - HostInstanceId *string `mandatory:"true" json:"hostInstanceId"` -} - -func (m AttachDavDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AttachDavDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_dav_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_dav_request_response.go deleted file mode 100644 index de33f17f23b2..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_dav_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// AttachDavRequest wrapper for the AttachDav operation -type AttachDavRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic. - DavId *string `mandatory:"true" contributesTo:"path" name:"davId"` - - // Request to attach the Direct Attached Vnic for an instance. - AttachDavDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // 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 AttachDavRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request AttachDavRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request AttachDavRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request AttachDavRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request AttachDavRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// AttachDavResponse wrapper for the AttachDav operation -type AttachDavResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Dav instance - Dav `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 AttachDavResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response AttachDavResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_to_destination_smart_nic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_to_destination_smart_nic_details.go deleted file mode 100644 index 4d38b04e277d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_to_destination_smart_nic_details.go +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AttachVnicToDestinationSmartNicDetails This structure is used when attaching VNIC to destination smartNIC. -type AttachVnicToDestinationSmartNicDetails struct { - - // Live migration session ID - MigrationSessionId *string `mandatory:"true" json:"migrationSessionId"` - - // Destination smart NIC's substrate IP address - DestinationSubstrateIp *string `mandatory:"true" json:"destinationSubstrateIp"` - - // Index of NIC that VNIC is attaching to - DestinationNicIndex *int `mandatory:"true" json:"destinationNicIndex"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC on source hypervisor that will be used for hypervisor - VCN DP communication. - SourceHypervisorVnicId *string `mandatory:"false" json:"sourceHypervisorVnicId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC on destination hypervisor that will be used for hypervisor - VCN DP communication. - DestinationHypervisorVnicId *string `mandatory:"false" json:"destinationHypervisorVnicId"` -} - -func (m AttachVnicToDestinationSmartNicDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AttachVnicToDestinationSmartNicDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_to_destination_smart_nic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_to_destination_smart_nic_request_response.go deleted file mode 100644 index c0f7c8b48e83..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_to_destination_smart_nic_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// AttachVnicToDestinationSmartNicRequest wrapper for the AttachVnicToDestinationSmartNic operation -type AttachVnicToDestinationSmartNicRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // Request to attach internal VNIC to destination smart NIC for live migration - AttachVnicToDestinationSmartNicDetails `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 AttachVnicToDestinationSmartNicRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request AttachVnicToDestinationSmartNicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request AttachVnicToDestinationSmartNicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request AttachVnicToDestinationSmartNicRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request AttachVnicToDestinationSmartNicRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// AttachVnicToDestinationSmartNicResponse wrapper for the AttachVnicToDestinationSmartNic operation -type AttachVnicToDestinationSmartNicResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnicAttachment instance - InternalVnicAttachment `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 AttachVnicToDestinationSmartNicResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response AttachVnicToDestinationSmartNicResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_worker_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_worker_details.go deleted file mode 100644 index e7146071398b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_worker_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// AttachVnicWorkerDetails the data to attach a vnicWorker to a VM instance -type AttachVnicWorkerDetails struct { - - // The instance where vnicWorker needs to be attached. - WorkerInstanceId *string `mandatory:"true" json:"workerInstanceId"` -} - -func (m AttachVnicWorkerDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AttachVnicWorkerDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_worker_request_response.go deleted file mode 100644 index e1625876df84..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_worker_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// AttachVnicWorkerRequest wrapper for the AttachVnicWorker operation -type AttachVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // Request to Attach a VnicWorker to a VM instance - AttachVnicWorkerDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request AttachVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request AttachVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request AttachVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request AttachVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request AttachVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// AttachVnicWorkerResponse wrapper for the AttachVnicWorker operation -type AttachVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 AttachVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response AttachVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill.go deleted file mode 100644 index ee047980c0d9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// Backfill Response of DRG Backfill -type Backfill struct { - - // The number of successfully mirrored drgs from the given batch - SuccessCount *int `mandatory:"true" json:"successCount"` -} - -func (m Backfill) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m Backfill) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill_details.go deleted file mode 100644 index 57e874563ab8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill_details.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// BackfillDetails Request details for DRG backfill from VCN to EP-DB -type BackfillDetails struct { - - // The tenancy OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of drgs to be backfilled - TenancyId *string `mandatory:"false" json:"tenancyId"` - - // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of drgs to be backfilled - CompartmentId *string `mandatory:"false" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a specific drg to be mirrored - DrgId *string `mandatory:"false" json:"drgId"` -} - -func (m BackfillDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m BackfillDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill_request_response.go deleted file mode 100644 index 462294b20028..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/backfill_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// BackfillRequest wrapper for the Backfill operation -type BackfillRequest struct { - - // Details for backfill drgs. - BackfillDetails `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 BackfillRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request BackfillRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request BackfillRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request BackfillRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request BackfillRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// BackfillResponse wrapper for the Backfill operation -type BackfillResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Backfill instance - Backfill `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 BackfillResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response BackfillResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration.go deleted file mode 100644 index 21765a2124bc..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration.go +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// BulkMigration Response from Bulk Migration API -type BulkMigration struct { - - // The count of succesfully migrated DRGS from the batch. - SuccessCount *int `mandatory:"true" json:"successCount"` - - // The count of failed during DRGS during migration from the batch. - FailureCount *int `mandatory:"true" json:"failureCount"` - - // The OCIDs of the drgs which were successfully backfilled. - SuccessfulBackfills []string `mandatory:"false" json:"successfulBackfills"` - - // The OCIDs of the drgs which were failed during backfill. - FailedBackfills []string `mandatory:"false" json:"failedBackfills"` - - // The OCIDs of the drgs which were successfully migrated. - SuccessfulMigrations []string `mandatory:"false" json:"successfulMigrations"` - - // The OCIDs of the drgs which were failed during migration. - FailedMigrations []string `mandatory:"false" json:"failedMigrations"` -} - -func (m BulkMigration) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m BulkMigration) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration_details.go deleted file mode 100644 index 51afa998a94a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// BulkMigrationDetails Request object to Bulk Migration API -type BulkMigrationDetails struct { - - // The size of migration batch. - BatchSize *int `mandatory:"true" json:"batchSize"` -} - -func (m BulkMigrationDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m BulkMigrationDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration_request_response.go deleted file mode 100644 index 0bc56dae4a8d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_migration_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// BulkMigrationRequest wrapper for the BulkMigration operation -type BulkMigrationRequest struct { - - // Details for migrating batch of drgs. - BulkMigrationDetails `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 BulkMigrationRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request BulkMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request BulkMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request BulkMigrationRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request BulkMigrationRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// BulkMigrationResponse wrapper for the BulkMigration operation -type BulkMigrationResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The BulkMigration instance - BulkMigration `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 BulkMigrationResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response BulkMigrationResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cfm_metadata.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cfm_metadata.go deleted file mode 100644 index 5b79265a1511..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cfm_metadata.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CfmMetadata Customer facing metrics metadata in association with a Service VNIC. Each metadata item takes the form of a key-value pair. Arbitrary limit for the number of key-value pairs is 30. -type CfmMetadata struct { - - // Metadata entry key. Key comprises of namespace, resource_id, resource_name etc. - Key *string `mandatory:"false" json:"key"` - - // Corresponding value for the key - Value *string `mandatory:"false" json:"value"` -} - -func (m CfmMetadata) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CfmMetadata) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_c3_drg_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_c3_drg_compartment_request_response.go deleted file mode 100644 index 4165e8df6e42..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_c3_drg_compartment_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangeC3DrgCompartmentRequest wrapper for the ChangeC3DrgCompartment operation -type ChangeC3DrgCompartmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` - - // Request to change the compartment of a DRG. - ChangeDrgCompartmentDetails `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 ChangeC3DrgCompartmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangeC3DrgCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangeC3DrgCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangeC3DrgCompartmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangeC3DrgCompartmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangeC3DrgCompartmentResponse wrapper for the ChangeC3DrgCompartment operation -type ChangeC3DrgCompartmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 ChangeC3DrgCompartmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangeC3DrgCompartmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_client_vpn_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_client_vpn_compartment_details.go deleted file mode 100644 index 1dec4e14743b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_client_vpn_compartment_details.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ChangeClientVpnCompartmentDetails The configuration details for the move operation. -type ChangeClientVpnCompartmentDetails struct { - - // 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"` -} - -func (m ChangeClientVpnCompartmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ChangeClientVpnCompartmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_client_vpn_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_client_vpn_compartment_request_response.go deleted file mode 100644 index 31b98d367b84..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_client_vpn_compartment_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangeClientVpnCompartmentRequest wrapper for the ChangeClientVpnCompartment operation -type ChangeClientVpnCompartmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // Request to change the compartment of a clientVpn. - ChangeClientVpnCompartmentDetails `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"` - - // 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 ChangeClientVpnCompartmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangeClientVpnCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangeClientVpnCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangeClientVpnCompartmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangeClientVpnCompartmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangeClientVpnCompartmentResponse wrapper for the ChangeClientVpnCompartment operation -type ChangeClientVpnCompartmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpn instance - ClientVpn `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 ChangeClientVpnCompartmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangeClientVpnCompartmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_attachment_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_attachment_compartment_request_response.go deleted file mode 100644 index 5f3282551fc1..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_attachment_compartment_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangeDrgAttachmentCompartmentRequest wrapper for the ChangeDrgAttachmentCompartment operation -type ChangeDrgAttachmentCompartmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` - - // Request to change the compartment of a given DRG attachment. - ChangeDrgAttachmentCompartmentDetails `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 ChangeDrgAttachmentCompartmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangeDrgAttachmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangeDrgAttachmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangeDrgAttachmentCompartmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangeDrgAttachmentCompartmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangeDrgAttachmentCompartmentResponse wrapper for the ChangeDrgAttachmentCompartment operation -type ChangeDrgAttachmentCompartmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response ChangeDrgAttachmentCompartmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangeDrgAttachmentCompartmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_drg_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_drg_compartment_details.go deleted file mode 100644 index b9684aa1493b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_drg_compartment_details.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ChangeInternalDrgCompartmentDetails The configuration details for the changing the compartment. -type ChangeInternalDrgCompartmentDetails struct { - - // 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"` -} - -func (m ChangeInternalDrgCompartmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ChangeInternalDrgCompartmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_drg_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_drg_compartment_request_response.go deleted file mode 100644 index 10e9e89e518e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_drg_compartment_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangeInternalDrgCompartmentRequest wrapper for the ChangeInternalDrgCompartment operation -type ChangeInternalDrgCompartmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - InternalDrgId *string `mandatory:"true" contributesTo:"path" name:"internalDrgId"` - - // Request to change the compartment of a DRG. - ChangeInternalDrgCompartmentDetails `contributesTo:"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 `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 ChangeInternalDrgCompartmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangeInternalDrgCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangeInternalDrgCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangeInternalDrgCompartmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangeInternalDrgCompartmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangeInternalDrgCompartmentResponse wrapper for the ChangeInternalDrgCompartment operation -type ChangeInternalDrgCompartmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response ChangeInternalDrgCompartmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangeInternalDrgCompartmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_generic_gateway_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_generic_gateway_compartment_details.go deleted file mode 100644 index 188fd7a04dbf..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_generic_gateway_compartment_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ChangeInternalGenericGatewayCompartmentDetails Contains details indicating which compartment the resource should move to -type ChangeInternalGenericGatewayCompartmentDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the new compartment - DestinationCompartmentId *string `mandatory:"true" json:"destinationCompartmentId"` -} - -func (m ChangeInternalGenericGatewayCompartmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ChangeInternalGenericGatewayCompartmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_generic_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_generic_gateway_compartment_request_response.go deleted file mode 100644 index a78fa127b89d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internal_generic_gateway_compartment_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangeInternalGenericGatewayCompartmentRequest wrapper for the ChangeInternalGenericGatewayCompartment operation -type ChangeInternalGenericGatewayCompartmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the generic gateway. - InternalGenericGatewayId *string `mandatory:"true" contributesTo:"path" name:"internalGenericGatewayId"` - - // Request to change the compartment ID for an internal generic gateway. - ChangeInternalGenericGatewayCompartmentDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ChangeInternalGenericGatewayCompartmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangeInternalGenericGatewayCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangeInternalGenericGatewayCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangeInternalGenericGatewayCompartmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangeInternalGenericGatewayCompartmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangeInternalGenericGatewayCompartmentResponse wrapper for the ChangeInternalGenericGatewayCompartment operation -type ChangeInternalGenericGatewayCompartmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response ChangeInternalGenericGatewayCompartmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangeInternalGenericGatewayCompartmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_private_endpoint_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_private_endpoint_compartment_details.go deleted file mode 100644 index 7f6a562fb6bf..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_private_endpoint_compartment_details.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ChangePrivateEndpointCompartmentDetails The configuration details for the move operation. -type ChangePrivateEndpointCompartmentDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment - // into which the private endpoint should be moved. - CompartmentId *string `mandatory:"true" json:"compartmentId"` -} - -func (m ChangePrivateEndpointCompartmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ChangePrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_private_endpoint_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_private_endpoint_compartment_request_response.go deleted file mode 100644 index db95da13af58..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_private_endpoint_compartment_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangePrivateEndpointCompartmentRequest wrapper for the ChangePrivateEndpointCompartment operation -type ChangePrivateEndpointCompartmentRequest struct { - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // Request to change the compartment of a given private endpoint. - ChangePrivateEndpointCompartmentDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ChangePrivateEndpointCompartmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangePrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangePrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangePrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangePrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangePrivateEndpointCompartmentResponse wrapper for the ChangePrivateEndpointCompartment operation -type ChangePrivateEndpointCompartmentResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 ChangePrivateEndpointCompartmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangePrivateEndpointCompartmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_drg_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_drg_compartment_request_response.go deleted file mode 100644 index 82cd57a977b6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_drg_compartment_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangeVcnDrgCompartmentRequest wrapper for the ChangeVcnDrgCompartment operation -type ChangeVcnDrgCompartmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` - - // Request to change the compartment of a DRG. - ChangeDrgCompartmentDetails `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 ChangeVcnDrgCompartmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangeVcnDrgCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangeVcnDrgCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangeVcnDrgCompartmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangeVcnDrgCompartmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangeVcnDrgCompartmentResponse wrapper for the ChangeVcnDrgCompartment operation -type ChangeVcnDrgCompartmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 ChangeVcnDrgCompartmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangeVcnDrgCompartmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vnic_attachments_compartment_request_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vnic_attachments_compartment_request_request_response.go deleted file mode 100644 index e2be84f640d5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vnic_attachments_compartment_request_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ChangeVnicAttachmentsCompartmentRequestRequest wrapper for the ChangeVnicAttachmentsCompartmentRequest operation -type ChangeVnicAttachmentsCompartmentRequestRequest struct { - - // Request to change the compartment of vnic attachment(s). - ChangeVnicAttachmentsCompartmentRequest `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 ChangeVnicAttachmentsCompartmentRequestRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ChangeVnicAttachmentsCompartmentRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ChangeVnicAttachmentsCompartmentRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ChangeVnicAttachmentsCompartmentRequestRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ChangeVnicAttachmentsCompartmentRequestRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ChangeVnicAttachmentsCompartmentRequestResponse wrapper for the ChangeVnicAttachmentsCompartmentRequest operation -type ChangeVnicAttachmentsCompartmentRequestResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 ChangeVnicAttachmentsCompartmentRequestResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ChangeVnicAttachmentsCompartmentRequestResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn.go deleted file mode 100644 index 7800e0091476..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn.go +++ /dev/null @@ -1,224 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpn The ClientVPNEnpoint is a server endpoint that allow customer get access to openVPN service. -type ClientVpn struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that user sent request. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of clientVPNEndpoint. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attachedSubnet (VNIC) in customer tenancy. - SubnetId *string `mandatory:"true" json:"subnetId"` - - // The IP address in attached subnet. - IpAddressInAttachedSubnet *string `mandatory:"true" json:"ipAddressInAttachedSubnet"` - - // Whether re-route Internet traffic or not. - IsRerouteEnabled *bool `mandatory:"true" json:"isRerouteEnabled"` - - // A list of accessible subnets from this clientVPNEndpoint. - AccessibleSubnetCidrs []string `mandatory:"true" json:"accessibleSubnetCidrs"` - - DnsConfig *DnsConfigDetails `mandatory:"true" json:"dnsConfig"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // The current state of the ClientVPNenpoint. - LifecycleState ClientVpnLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // A limit that allows the maximum number of VPN concurrent connections. - MaxConnections *int `mandatory:"false" json:"maxConnections"` - - // A subnet for openVPN clients to access servers. - ClientSubnetCidr *string `mandatory:"false" json:"clientSubnetCidr"` - - // Allowed values: - // * `NAT`: NAT mode supports the one-way access. In NAT mode, client can access the Internet from server endpoint - // but server endpoint cannot access the Internet from client. - // * `ROUTING`: ROUTING mode supports the two-way access. In ROUTING mode, client and server endpoint can access the - // Internet to each other. - AddressingMode ClientVpnAddressingModeEnum `mandatory:"false" json:"addressingMode,omitempty"` - - // Allowed values: - // * `LOCAL`: Local authentication mode that applies users and password to get authentication through the server. - // * `RADIUS`: RADIUS authentication mode applies users and password to get authentication through the RADIUS server. - // * `LDAP`: LDAP authentication mode that applies users and passwords to get authentication through the LDAP server. - AuthenticationMode ClientVpnAuthenticationModeEnum `mandatory:"false" json:"authenticationMode,omitempty"` - - // The time ClientVpn 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"` - - RadiusConfig *RadiusConfigDetails `mandatory:"false" json:"radiusConfig"` - - LdapConfig *LdapConfigDetails `mandatory:"false" json:"ldapConfig"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m ClientVpn) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpn) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingClientVpnLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClientVpnLifecycleStateEnumStringValues(), ","))) - } - if _, ok := mappingClientVpnAddressingModeEnum[string(m.AddressingMode)]; !ok && m.AddressingMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AddressingMode: %s. Supported values are: %s.", m.AddressingMode, strings.Join(GetClientVpnAddressingModeEnumStringValues(), ","))) - } - if _, ok := mappingClientVpnAuthenticationModeEnum[string(m.AuthenticationMode)]; !ok && m.AuthenticationMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AuthenticationMode: %s. Supported values are: %s.", m.AuthenticationMode, strings.Join(GetClientVpnAuthenticationModeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ClientVpnLifecycleStateEnum Enum with underlying type: string -type ClientVpnLifecycleStateEnum string - -// Set of constants representing the allowable values for ClientVpnLifecycleStateEnum -const ( - ClientVpnLifecycleStateCreating ClientVpnLifecycleStateEnum = "CREATING" - ClientVpnLifecycleStateActive ClientVpnLifecycleStateEnum = "ACTIVE" - ClientVpnLifecycleStateInactive ClientVpnLifecycleStateEnum = "INACTIVE" - ClientVpnLifecycleStateFailed ClientVpnLifecycleStateEnum = "FAILED" - ClientVpnLifecycleStateDeleted ClientVpnLifecycleStateEnum = "DELETED" - ClientVpnLifecycleStateDeleting ClientVpnLifecycleStateEnum = "DELETING" - ClientVpnLifecycleStateUpdating ClientVpnLifecycleStateEnum = "UPDATING" -) - -var mappingClientVpnLifecycleStateEnum = map[string]ClientVpnLifecycleStateEnum{ - "CREATING": ClientVpnLifecycleStateCreating, - "ACTIVE": ClientVpnLifecycleStateActive, - "INACTIVE": ClientVpnLifecycleStateInactive, - "FAILED": ClientVpnLifecycleStateFailed, - "DELETED": ClientVpnLifecycleStateDeleted, - "DELETING": ClientVpnLifecycleStateDeleting, - "UPDATING": ClientVpnLifecycleStateUpdating, -} - -// GetClientVpnLifecycleStateEnumValues Enumerates the set of values for ClientVpnLifecycleStateEnum -func GetClientVpnLifecycleStateEnumValues() []ClientVpnLifecycleStateEnum { - values := make([]ClientVpnLifecycleStateEnum, 0) - for _, v := range mappingClientVpnLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetClientVpnLifecycleStateEnumStringValues Enumerates the set of values in String for ClientVpnLifecycleStateEnum -func GetClientVpnLifecycleStateEnumStringValues() []string { - return []string{ - "CREATING", - "ACTIVE", - "INACTIVE", - "FAILED", - "DELETED", - "DELETING", - "UPDATING", - } -} - -// ClientVpnAddressingModeEnum Enum with underlying type: string -type ClientVpnAddressingModeEnum string - -// Set of constants representing the allowable values for ClientVpnAddressingModeEnum -const ( - ClientVpnAddressingModeNat ClientVpnAddressingModeEnum = "NAT" - ClientVpnAddressingModeRouting ClientVpnAddressingModeEnum = "ROUTING" -) - -var mappingClientVpnAddressingModeEnum = map[string]ClientVpnAddressingModeEnum{ - "NAT": ClientVpnAddressingModeNat, - "ROUTING": ClientVpnAddressingModeRouting, -} - -// GetClientVpnAddressingModeEnumValues Enumerates the set of values for ClientVpnAddressingModeEnum -func GetClientVpnAddressingModeEnumValues() []ClientVpnAddressingModeEnum { - values := make([]ClientVpnAddressingModeEnum, 0) - for _, v := range mappingClientVpnAddressingModeEnum { - values = append(values, v) - } - return values -} - -// GetClientVpnAddressingModeEnumStringValues Enumerates the set of values in String for ClientVpnAddressingModeEnum -func GetClientVpnAddressingModeEnumStringValues() []string { - return []string{ - "NAT", - "ROUTING", - } -} - -// ClientVpnAuthenticationModeEnum Enum with underlying type: string -type ClientVpnAuthenticationModeEnum string - -// Set of constants representing the allowable values for ClientVpnAuthenticationModeEnum -const ( - ClientVpnAuthenticationModeLocal ClientVpnAuthenticationModeEnum = "LOCAL" - ClientVpnAuthenticationModeRadius ClientVpnAuthenticationModeEnum = "RADIUS" - ClientVpnAuthenticationModeLdap ClientVpnAuthenticationModeEnum = "LDAP" -) - -var mappingClientVpnAuthenticationModeEnum = map[string]ClientVpnAuthenticationModeEnum{ - "LOCAL": ClientVpnAuthenticationModeLocal, - "RADIUS": ClientVpnAuthenticationModeRadius, - "LDAP": ClientVpnAuthenticationModeLdap, -} - -// GetClientVpnAuthenticationModeEnumValues Enumerates the set of values for ClientVpnAuthenticationModeEnum -func GetClientVpnAuthenticationModeEnumValues() []ClientVpnAuthenticationModeEnum { - values := make([]ClientVpnAuthenticationModeEnum, 0) - for _, v := range mappingClientVpnAuthenticationModeEnum { - values = append(values, v) - } - return values -} - -// GetClientVpnAuthenticationModeEnumStringValues Enumerates the set of values in String for ClientVpnAuthenticationModeEnum -func GetClientVpnAuthenticationModeEnumStringValues() []string { - return []string{ - "LOCAL", - "RADIUS", - "LDAP", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_active_user.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_active_user.go deleted file mode 100644 index a8008abbcd0b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_active_user.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpnActiveUser An active user on an endpoint. -type ClientVpnActiveUser struct { - - // The common username of a user. - UserName *string `mandatory:"false" json:"userName"` - - // The originating IP address of a user. - RealIp *string `mandatory:"false" json:"realIp"` - - // The duration of the user's connection. - ConnectionDuration *string `mandatory:"false" json:"connectionDuration"` -} - -func (m ClientVpnActiveUser) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpnActiveUser) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_status.go deleted file mode 100644 index 17337daef746..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_status.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpnStatus The status of ClientVpn. -type ClientVpnStatus struct { - - // The number of current connections on given clientVpn. - CurrentConnections *int `mandatory:"true" json:"currentConnections"` - - // The list of active users. - ActiveUsers []ClientVpnActiveUser `mandatory:"true" json:"activeUsers"` - - // The current state of the ClientVPNendpoint. - LifecycleState ClientVpnStatusLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` -} - -func (m ClientVpnStatus) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpnStatus) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingClientVpnStatusLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClientVpnStatusLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ClientVpnStatusLifecycleStateEnum Enum with underlying type: string -type ClientVpnStatusLifecycleStateEnum string - -// Set of constants representing the allowable values for ClientVpnStatusLifecycleStateEnum -const ( - ClientVpnStatusLifecycleStateCreating ClientVpnStatusLifecycleStateEnum = "CREATING" - ClientVpnStatusLifecycleStateActive ClientVpnStatusLifecycleStateEnum = "ACTIVE" - ClientVpnStatusLifecycleStateInactive ClientVpnStatusLifecycleStateEnum = "INACTIVE" - ClientVpnStatusLifecycleStateFailed ClientVpnStatusLifecycleStateEnum = "FAILED" - ClientVpnStatusLifecycleStateDeleted ClientVpnStatusLifecycleStateEnum = "DELETED" - ClientVpnStatusLifecycleStateDeleting ClientVpnStatusLifecycleStateEnum = "DELETING" - ClientVpnStatusLifecycleStateUpdating ClientVpnStatusLifecycleStateEnum = "UPDATING" -) - -var mappingClientVpnStatusLifecycleStateEnum = map[string]ClientVpnStatusLifecycleStateEnum{ - "CREATING": ClientVpnStatusLifecycleStateCreating, - "ACTIVE": ClientVpnStatusLifecycleStateActive, - "INACTIVE": ClientVpnStatusLifecycleStateInactive, - "FAILED": ClientVpnStatusLifecycleStateFailed, - "DELETED": ClientVpnStatusLifecycleStateDeleted, - "DELETING": ClientVpnStatusLifecycleStateDeleting, - "UPDATING": ClientVpnStatusLifecycleStateUpdating, -} - -// GetClientVpnStatusLifecycleStateEnumValues Enumerates the set of values for ClientVpnStatusLifecycleStateEnum -func GetClientVpnStatusLifecycleStateEnumValues() []ClientVpnStatusLifecycleStateEnum { - values := make([]ClientVpnStatusLifecycleStateEnum, 0) - for _, v := range mappingClientVpnStatusLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetClientVpnStatusLifecycleStateEnumStringValues Enumerates the set of values in String for ClientVpnStatusLifecycleStateEnum -func GetClientVpnStatusLifecycleStateEnumStringValues() []string { - return []string{ - "CREATING", - "ACTIVE", - "INACTIVE", - "FAILED", - "DELETED", - "DELETING", - "UPDATING", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_summary.go deleted file mode 100644 index 842926770544..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_summary.go +++ /dev/null @@ -1,169 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpnSummary a summary of ClientVpn. -type ClientVpnSummary struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that user sent request. - CompartmentId *string `mandatory:"false" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of clientVPNEndpoint. - Id *string `mandatory:"false" json:"id"` - - // 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 limit that allows the maximum number of VPN concurrent connections. - MaxConnections *int `mandatory:"false" json:"maxConnections"` - - // The current state of the ClientVpn. - LifecycleState ClientVpnLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // A subnet for openVPN clients to access servers. - ClientSubnetCidr *string `mandatory:"false" json:"clientSubnetCidr"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attachedSubnet (VNIC) in customer tenancy. - SubnetId *string `mandatory:"false" json:"subnetId"` - - // The IP address in attached subnet. - IpAddressInAttachedSubnet *string `mandatory:"false" json:"ipAddressInAttachedSubnet"` - - // Whether re-route Internet traffic or not. - IsRerouteEnabled *bool `mandatory:"false" json:"isRerouteEnabled"` - - // The date and time the ClientVpn 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"` - - // Allowed values: - // * `NAT`: NAT mode supports the one-way access. In NAT mode, client can access the Internet from server endpoint - // but server endpoint cannot access the Internet from client. - // * `ROUTING`: ROUTING mode supports the two-way access. In ROUTING mode, client and server endpoint can access the - // Internet to each other. - AddressingMode ClientVpnSummaryAddressingModeEnum `mandatory:"false" json:"addressingMode,omitempty"` - - // Allowed values: - // * `LOCAL`: Local authentication mode that applies users and password to get authentication through the server. - // * `RADIUS`: RADIUS authentication mode applies users and password to get authentication through the RADIUS server. - // * `LDAP`: LDAP authentication mode that applies users and passwords to get authentication through the LDAP server. - AuthenticationMode ClientVpnSummaryAuthenticationModeEnum `mandatory:"false" json:"authenticationMode,omitempty"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m ClientVpnSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpnSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingClientVpnLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClientVpnLifecycleStateEnumStringValues(), ","))) - } - if _, ok := mappingClientVpnSummaryAddressingModeEnum[string(m.AddressingMode)]; !ok && m.AddressingMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AddressingMode: %s. Supported values are: %s.", m.AddressingMode, strings.Join(GetClientVpnSummaryAddressingModeEnumStringValues(), ","))) - } - if _, ok := mappingClientVpnSummaryAuthenticationModeEnum[string(m.AuthenticationMode)]; !ok && m.AuthenticationMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AuthenticationMode: %s. Supported values are: %s.", m.AuthenticationMode, strings.Join(GetClientVpnSummaryAuthenticationModeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ClientVpnSummaryAddressingModeEnum Enum with underlying type: string -type ClientVpnSummaryAddressingModeEnum string - -// Set of constants representing the allowable values for ClientVpnSummaryAddressingModeEnum -const ( - ClientVpnSummaryAddressingModeNat ClientVpnSummaryAddressingModeEnum = "NAT" - ClientVpnSummaryAddressingModeRouting ClientVpnSummaryAddressingModeEnum = "ROUTING" -) - -var mappingClientVpnSummaryAddressingModeEnum = map[string]ClientVpnSummaryAddressingModeEnum{ - "NAT": ClientVpnSummaryAddressingModeNat, - "ROUTING": ClientVpnSummaryAddressingModeRouting, -} - -// GetClientVpnSummaryAddressingModeEnumValues Enumerates the set of values for ClientVpnSummaryAddressingModeEnum -func GetClientVpnSummaryAddressingModeEnumValues() []ClientVpnSummaryAddressingModeEnum { - values := make([]ClientVpnSummaryAddressingModeEnum, 0) - for _, v := range mappingClientVpnSummaryAddressingModeEnum { - values = append(values, v) - } - return values -} - -// GetClientVpnSummaryAddressingModeEnumStringValues Enumerates the set of values in String for ClientVpnSummaryAddressingModeEnum -func GetClientVpnSummaryAddressingModeEnumStringValues() []string { - return []string{ - "NAT", - "ROUTING", - } -} - -// ClientVpnSummaryAuthenticationModeEnum Enum with underlying type: string -type ClientVpnSummaryAuthenticationModeEnum string - -// Set of constants representing the allowable values for ClientVpnSummaryAuthenticationModeEnum -const ( - ClientVpnSummaryAuthenticationModeLocal ClientVpnSummaryAuthenticationModeEnum = "LOCAL" - ClientVpnSummaryAuthenticationModeRadius ClientVpnSummaryAuthenticationModeEnum = "RADIUS" - ClientVpnSummaryAuthenticationModeLdap ClientVpnSummaryAuthenticationModeEnum = "LDAP" -) - -var mappingClientVpnSummaryAuthenticationModeEnum = map[string]ClientVpnSummaryAuthenticationModeEnum{ - "LOCAL": ClientVpnSummaryAuthenticationModeLocal, - "RADIUS": ClientVpnSummaryAuthenticationModeRadius, - "LDAP": ClientVpnSummaryAuthenticationModeLdap, -} - -// GetClientVpnSummaryAuthenticationModeEnumValues Enumerates the set of values for ClientVpnSummaryAuthenticationModeEnum -func GetClientVpnSummaryAuthenticationModeEnumValues() []ClientVpnSummaryAuthenticationModeEnum { - values := make([]ClientVpnSummaryAuthenticationModeEnum, 0) - for _, v := range mappingClientVpnSummaryAuthenticationModeEnum { - values = append(values, v) - } - return values -} - -// GetClientVpnSummaryAuthenticationModeEnumStringValues Enumerates the set of values in String for ClientVpnSummaryAuthenticationModeEnum -func GetClientVpnSummaryAuthenticationModeEnumStringValues() []string { - return []string{ - "LOCAL", - "RADIUS", - "LDAP", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_summary_collection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_summary_collection.go deleted file mode 100644 index 014b81c081c2..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_summary_collection.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpnSummaryCollection Result of list of ClientVpn. -type ClientVpnSummaryCollection struct { - - // List of ClientVpns. - Items []ClientVpnSummary `mandatory:"true" json:"items"` -} - -func (m ClientVpnSummaryCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpnSummaryCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user.go deleted file mode 100644 index c75e59353053..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpnUser The user of a certain clientVpn. -type ClientVpnUser struct { - - // The unique username of the user want to create. - UserName *string `mandatory:"true" json:"userName"` - - // The current state of the ClientVPNendpointUser. - LifecycleState ClientVpnUserLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // Whether to log in the user by cert-authentication only or not. - IsCertAuthOnly *bool `mandatory:"false" json:"isCertAuthOnly"` - - // The time ClientVpnUser 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 ClientVpnUser) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpnUser) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingClientVpnUserLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClientVpnUserLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ClientVpnUserLifecycleStateEnum Enum with underlying type: string -type ClientVpnUserLifecycleStateEnum string - -// Set of constants representing the allowable values for ClientVpnUserLifecycleStateEnum -const ( - ClientVpnUserLifecycleStateCreating ClientVpnUserLifecycleStateEnum = "CREATING" - ClientVpnUserLifecycleStateActive ClientVpnUserLifecycleStateEnum = "ACTIVE" - ClientVpnUserLifecycleStateInactive ClientVpnUserLifecycleStateEnum = "INACTIVE" - ClientVpnUserLifecycleStateFailed ClientVpnUserLifecycleStateEnum = "FAILED" - ClientVpnUserLifecycleStateDeleted ClientVpnUserLifecycleStateEnum = "DELETED" - ClientVpnUserLifecycleStateDeleting ClientVpnUserLifecycleStateEnum = "DELETING" - ClientVpnUserLifecycleStateUpdating ClientVpnUserLifecycleStateEnum = "UPDATING" -) - -var mappingClientVpnUserLifecycleStateEnum = map[string]ClientVpnUserLifecycleStateEnum{ - "CREATING": ClientVpnUserLifecycleStateCreating, - "ACTIVE": ClientVpnUserLifecycleStateActive, - "INACTIVE": ClientVpnUserLifecycleStateInactive, - "FAILED": ClientVpnUserLifecycleStateFailed, - "DELETED": ClientVpnUserLifecycleStateDeleted, - "DELETING": ClientVpnUserLifecycleStateDeleting, - "UPDATING": ClientVpnUserLifecycleStateUpdating, -} - -// GetClientVpnUserLifecycleStateEnumValues Enumerates the set of values for ClientVpnUserLifecycleStateEnum -func GetClientVpnUserLifecycleStateEnumValues() []ClientVpnUserLifecycleStateEnum { - values := make([]ClientVpnUserLifecycleStateEnum, 0) - for _, v := range mappingClientVpnUserLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetClientVpnUserLifecycleStateEnumStringValues Enumerates the set of values in String for ClientVpnUserLifecycleStateEnum -func GetClientVpnUserLifecycleStateEnumStringValues() []string { - return []string{ - "CREATING", - "ACTIVE", - "INACTIVE", - "FAILED", - "DELETED", - "DELETING", - "UPDATING", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user_summary.go deleted file mode 100644 index 5a895c2ddc1c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user_summary.go +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpnUserSummary a summary of clientVpn. -type ClientVpnUserSummary struct { - - // The unique username of the user want to create. - UserName *string `mandatory:"false" json:"userName"` - - // The current state of the ClientVpnUser. - LifecycleState ClientVpnUserLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // Whether to log in the user by cert-authentication only or not. - IsCertAuthOnly *bool `mandatory:"false" json:"isCertAuthOnly"` - - // The date and time the ClientVpnUser 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 ClientVpnUserSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpnUserSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingClientVpnUserLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClientVpnUserLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user_summary_collection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user_summary_collection.go deleted file mode 100644 index ab601843e233..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/client_vpn_user_summary_collection.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ClientVpnUserSummaryCollection Result of list of ClientVpnUser. -type ClientVpnUserSummaryCollection struct { - - // List of ClientVpnUsers. - Items []ClientVpnUserSummary `mandatory:"true" json:"items"` -} - -func (m ClientVpnUserSummaryCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ClientVpnUserSummaryCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/complete_promotion_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/complete_promotion_request_response.go deleted file mode 100644 index 4341f6a98c9a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/complete_promotion_request_response.go +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CompletePromotionRequest wrapper for the CompletePromotion operation -type CompletePromotionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` - - // 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 CompletePromotionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CompletePromotionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CompletePromotionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CompletePromotionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CompletePromotionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CompletePromotionResponse wrapper for the CompletePromotion operation -type CompletePromotionResponse 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 CompletePromotionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CompletePromotionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/complete_unpromotion_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/complete_unpromotion_request_response.go deleted file mode 100644 index 181139e3e966..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/complete_unpromotion_request_response.go +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CompleteUnpromotionRequest wrapper for the CompleteUnpromotion operation -type CompleteUnpromotionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` - - // 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 CompleteUnpromotionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CompleteUnpromotionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CompleteUnpromotionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CompleteUnpromotionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CompleteUnpromotionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CompleteUnpromotionResponse wrapper for the CompleteUnpromotion operation -type CompleteUnpromotionResponse 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 CompleteUnpromotionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CompleteUnpromotionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_connections_request_response.go deleted file mode 100644 index 69bd1b6605c3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_connections_request_response.go +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ConnectLocalPeeringConnectionsRequest wrapper for the ConnectLocalPeeringConnections operation -type ConnectLocalPeeringConnectionsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering connection. This feature is currently in preview and may change before public release. Do not use it for production workloads. - LocalPeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"localPeeringConnectionId"` - - // Details regarding the local peering connection to connect. - ConnectLocalPeeringConnectionsDetails `contributesTo:"body"` - - // A comma separated list of tenancy OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)s that might be accessed by this request. Only required - // for cross tenancy requests. May be `null` for requests that do not cross tenancy boundaries. - XCrossTenancyRequest *string `mandatory:"false" contributesTo:"header" name:"x-cross-tenancy-request"` - - // 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 ConnectLocalPeeringConnectionsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ConnectLocalPeeringConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ConnectLocalPeeringConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ConnectLocalPeeringConnectionsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ConnectLocalPeeringConnectionsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ConnectLocalPeeringConnectionsResponse wrapper for the ConnectLocalPeeringConnections operation -type ConnectLocalPeeringConnectionsResponse 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 ConnectLocalPeeringConnectionsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ConnectLocalPeeringConnectionsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_c3_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_c3_drg_request_response.go deleted file mode 100644 index d8baa562307c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_c3_drg_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateC3DrgRequest wrapper for the CreateC3Drg operation -type CreateC3DrgRequest struct { - - // Details for creating a DRG. - CreateDrgDetails `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 CreateC3DrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateC3DrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateC3DrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateC3DrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateC3DrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateC3DrgResponse wrapper for the CreateC3Drg operation -type CreateC3DrgResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Drg instance - Drg `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 CreateC3DrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateC3DrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_details.go deleted file mode 100644 index ecc6d6d8a3a1..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_details.go +++ /dev/null @@ -1,234 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateClientVpnDetails A request to create clientVpn. -type CreateClientVpnDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that user sent request. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attachedSubnet (VNIC) in customer tenancy. - SubnetId *string `mandatory:"true" json:"subnetId"` - - // A list of accessible subnets from this clientVpnEnpoint. - AccessibleSubnetCidrs []string `mandatory:"true" json:"accessibleSubnetCidrs"` - - DnsConfig *DnsConfigDetails `mandatory:"true" json:"dnsConfig"` - - // Whether re-route Internet traffic or not. - IsRerouteEnabled *bool `mandatory:"true" json:"isRerouteEnabled"` - - // 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 limit that allows the maximum number of VPN concurrent connections. - MaxConnections *int `mandatory:"false" json:"maxConnections"` - - // A subnet for openVPN clients to access servers. Default is 172.27.224.0/20 - ClientSubnetCidr *string `mandatory:"false" json:"clientSubnetCidr"` - - // Allowed values: - // * `NAT`: NAT mode supports the one-way access. In NAT mode, client can access the Internet from server endpoint - // but server endpoint cannot access the Internet from client. - // * `ROUTING`: ROUTING mode supports the two-way access. In ROUTING mode, client and server endpoint can access the - // Internet to each other. - AddressingMode CreateClientVpnDetailsAddressingModeEnum `mandatory:"false" json:"addressingMode,omitempty"` - - // Allowed values: - // * `LOCAL`: Local authentication mode that applies users and password to get authentication through the server. - // * `RADIUS`: RADIUS authentication mode applies users and password to get authentication through the RADIUS server. - // * `LDAP`: LDAP authentication mode that applies users and passwords to get authentication through the LDAP server. - AuthenticationMode CreateClientVpnDetailsAuthenticationModeEnum `mandatory:"false" json:"authenticationMode,omitempty"` - - RadiusConfig *RadiusConfigDetails `mandatory:"false" json:"radiusConfig"` - - LdapConfig *LdapConfigDetails `mandatory:"false" json:"ldapConfig"` - - SslCert SslCertDetails `mandatory:"false" json:"sslCert"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m CreateClientVpnDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateClientVpnDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingCreateClientVpnDetailsAddressingModeEnum[string(m.AddressingMode)]; !ok && m.AddressingMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AddressingMode: %s. Supported values are: %s.", m.AddressingMode, strings.Join(GetCreateClientVpnDetailsAddressingModeEnumStringValues(), ","))) - } - if _, ok := mappingCreateClientVpnDetailsAuthenticationModeEnum[string(m.AuthenticationMode)]; !ok && m.AuthenticationMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AuthenticationMode: %s. Supported values are: %s.", m.AuthenticationMode, strings.Join(GetCreateClientVpnDetailsAuthenticationModeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UnmarshalJSON unmarshals from json -func (m *CreateClientVpnDetails) UnmarshalJSON(data []byte) (e error) { - model := struct { - DisplayName *string `json:"displayName"` - MaxConnections *int `json:"maxConnections"` - ClientSubnetCidr *string `json:"clientSubnetCidr"` - AddressingMode CreateClientVpnDetailsAddressingModeEnum `json:"addressingMode"` - AuthenticationMode CreateClientVpnDetailsAuthenticationModeEnum `json:"authenticationMode"` - RadiusConfig *RadiusConfigDetails `json:"radiusConfig"` - LdapConfig *LdapConfigDetails `json:"ldapConfig"` - SslCert sslcertdetails `json:"sslCert"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - FreeformTags map[string]string `json:"freeformTags"` - CompartmentId *string `json:"compartmentId"` - SubnetId *string `json:"subnetId"` - AccessibleSubnetCidrs []string `json:"accessibleSubnetCidrs"` - DnsConfig *DnsConfigDetails `json:"dnsConfig"` - IsRerouteEnabled *bool `json:"isRerouteEnabled"` - }{} - - e = json.Unmarshal(data, &model) - if e != nil { - return - } - var nn interface{} - m.DisplayName = model.DisplayName - - m.MaxConnections = model.MaxConnections - - m.ClientSubnetCidr = model.ClientSubnetCidr - - m.AddressingMode = model.AddressingMode - - m.AuthenticationMode = model.AuthenticationMode - - m.RadiusConfig = model.RadiusConfig - - m.LdapConfig = model.LdapConfig - - nn, e = model.SslCert.UnmarshalPolymorphicJSON(model.SslCert.JsonData) - if e != nil { - return - } - if nn != nil { - m.SslCert = nn.(SslCertDetails) - } else { - m.SslCert = nil - } - - m.DefinedTags = model.DefinedTags - - m.FreeformTags = model.FreeformTags - - m.CompartmentId = model.CompartmentId - - m.SubnetId = model.SubnetId - - m.AccessibleSubnetCidrs = make([]string, len(model.AccessibleSubnetCidrs)) - for i, n := range model.AccessibleSubnetCidrs { - m.AccessibleSubnetCidrs[i] = n - } - - m.DnsConfig = model.DnsConfig - - m.IsRerouteEnabled = model.IsRerouteEnabled - - return -} - -// CreateClientVpnDetailsAddressingModeEnum Enum with underlying type: string -type CreateClientVpnDetailsAddressingModeEnum string - -// Set of constants representing the allowable values for CreateClientVpnDetailsAddressingModeEnum -const ( - CreateClientVpnDetailsAddressingModeNat CreateClientVpnDetailsAddressingModeEnum = "NAT" - CreateClientVpnDetailsAddressingModeRouting CreateClientVpnDetailsAddressingModeEnum = "ROUTING" -) - -var mappingCreateClientVpnDetailsAddressingModeEnum = map[string]CreateClientVpnDetailsAddressingModeEnum{ - "NAT": CreateClientVpnDetailsAddressingModeNat, - "ROUTING": CreateClientVpnDetailsAddressingModeRouting, -} - -// GetCreateClientVpnDetailsAddressingModeEnumValues Enumerates the set of values for CreateClientVpnDetailsAddressingModeEnum -func GetCreateClientVpnDetailsAddressingModeEnumValues() []CreateClientVpnDetailsAddressingModeEnum { - values := make([]CreateClientVpnDetailsAddressingModeEnum, 0) - for _, v := range mappingCreateClientVpnDetailsAddressingModeEnum { - values = append(values, v) - } - return values -} - -// GetCreateClientVpnDetailsAddressingModeEnumStringValues Enumerates the set of values in String for CreateClientVpnDetailsAddressingModeEnum -func GetCreateClientVpnDetailsAddressingModeEnumStringValues() []string { - return []string{ - "NAT", - "ROUTING", - } -} - -// CreateClientVpnDetailsAuthenticationModeEnum Enum with underlying type: string -type CreateClientVpnDetailsAuthenticationModeEnum string - -// Set of constants representing the allowable values for CreateClientVpnDetailsAuthenticationModeEnum -const ( - CreateClientVpnDetailsAuthenticationModeLocal CreateClientVpnDetailsAuthenticationModeEnum = "LOCAL" - CreateClientVpnDetailsAuthenticationModeRadius CreateClientVpnDetailsAuthenticationModeEnum = "RADIUS" - CreateClientVpnDetailsAuthenticationModeLdap CreateClientVpnDetailsAuthenticationModeEnum = "LDAP" -) - -var mappingCreateClientVpnDetailsAuthenticationModeEnum = map[string]CreateClientVpnDetailsAuthenticationModeEnum{ - "LOCAL": CreateClientVpnDetailsAuthenticationModeLocal, - "RADIUS": CreateClientVpnDetailsAuthenticationModeRadius, - "LDAP": CreateClientVpnDetailsAuthenticationModeLdap, -} - -// GetCreateClientVpnDetailsAuthenticationModeEnumValues Enumerates the set of values for CreateClientVpnDetailsAuthenticationModeEnum -func GetCreateClientVpnDetailsAuthenticationModeEnumValues() []CreateClientVpnDetailsAuthenticationModeEnum { - values := make([]CreateClientVpnDetailsAuthenticationModeEnum, 0) - for _, v := range mappingCreateClientVpnDetailsAuthenticationModeEnum { - values = append(values, v) - } - return values -} - -// GetCreateClientVpnDetailsAuthenticationModeEnumStringValues Enumerates the set of values in String for CreateClientVpnDetailsAuthenticationModeEnum -func GetCreateClientVpnDetailsAuthenticationModeEnumStringValues() []string { - return []string{ - "LOCAL", - "RADIUS", - "LDAP", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_request_response.go deleted file mode 100644 index 2fdf140254d9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateClientVpnRequest wrapper for the CreateClientVpn operation -type CreateClientVpnRequest struct { - - // Details for creating a `ClientVpn`. - CreateClientVpnDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateClientVpnRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateClientVpnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateClientVpnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateClientVpnRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateClientVpnRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateClientVpnResponse wrapper for the CreateClientVpn operation -type CreateClientVpnResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpn instance - ClientVpn `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 CreateClientVpnResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateClientVpnResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_user_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_user_details.go deleted file mode 100644 index 955950561344..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_user_details.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateClientVpnUserDetails The request to create clientVpnUser. -type CreateClientVpnUserDetails struct { - - // The username of the user want to create. - UserName *string `mandatory:"true" json:"userName"` - - // The password of the user want to create. - Password *string `mandatory:"false" json:"password"` - - // Whether to log in the user by certificate-authentication only or not. - IsCertAuthOnly *bool `mandatory:"false" json:"isCertAuthOnly"` -} - -func (m CreateClientVpnUserDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateClientVpnUserDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_user_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_user_request_response.go deleted file mode 100644 index 0f192d3a56f9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_client_vpn_user_request_response.go +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateClientVpnUserRequest wrapper for the CreateClientVpnUser operation -type CreateClientVpnUserRequest struct { - - // Details for creating a `ClientVpnUser`. - CreateClientVpnUserDetails `contributesTo:"body"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateClientVpnUserRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateClientVpnUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateClientVpnUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateClientVpnUserRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateClientVpnUserRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateClientVpnUserResponse wrapper for the CreateClientVpnUser operation -type CreateClientVpnUserResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpnUser instance - ClientVpnUser `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 CreateClientVpnUserResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateClientVpnUserResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dav_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dav_details.go deleted file mode 100644 index 66010a68e638..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dav_details.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateDavDetails Details to create a Direct Attached Vnic. -type CreateDavDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic's compartment. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // Index of NIC for Direct Attached Vnic. - NicIndex *int `mandatory:"true" json:"nicIndex"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // Substrate IP address of the remote endpoint. This is a required property if - // vcnxAttachmentIds property is not defined. - RemoteEndpointSubstrateIp *string `mandatory:"false" json:"remoteEndpointSubstrateIp"` - - // The label type for Direct Attached Vnic. This is used to determine the - // label forwarding to be used by the Direct Attached Vnic. - LabelType CreateDavDetailsLabelTypeEnum `mandatory:"false" json:"labelType,omitempty"` - - // List of VCNx Attachments to a DRG. This is a required property - // if remoteEndpointSubstrateIp property is not defined. - VcnxAttachmentIds []string `mandatory:"false" json:"vcnxAttachmentIds"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` -} - -func (m CreateDavDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateDavDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingCreateDavDetailsLabelTypeEnum[string(m.LabelType)]; !ok && m.LabelType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LabelType: %s. Supported values are: %s.", m.LabelType, strings.Join(GetCreateDavDetailsLabelTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateDavDetailsLabelTypeEnum Enum with underlying type: string -type CreateDavDetailsLabelTypeEnum string - -// Set of constants representing the allowable values for CreateDavDetailsLabelTypeEnum -const ( - CreateDavDetailsLabelTypeMpls CreateDavDetailsLabelTypeEnum = "MPLS" -) - -var mappingCreateDavDetailsLabelTypeEnum = map[string]CreateDavDetailsLabelTypeEnum{ - "MPLS": CreateDavDetailsLabelTypeMpls, -} - -// GetCreateDavDetailsLabelTypeEnumValues Enumerates the set of values for CreateDavDetailsLabelTypeEnum -func GetCreateDavDetailsLabelTypeEnumValues() []CreateDavDetailsLabelTypeEnum { - values := make([]CreateDavDetailsLabelTypeEnum, 0) - for _, v := range mappingCreateDavDetailsLabelTypeEnum { - values = append(values, v) - } - return values -} - -// GetCreateDavDetailsLabelTypeEnumStringValues Enumerates the set of values in String for CreateDavDetailsLabelTypeEnum -func GetCreateDavDetailsLabelTypeEnumStringValues() []string { - return []string{ - "MPLS", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dav_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dav_request_response.go deleted file mode 100644 index 4589e49e17e8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dav_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateDavRequest wrapper for the CreateDav operation -type CreateDavRequest struct { - - // Request to create a Direct Attached Vnic. - CreateDavDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateDavRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateDavRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateDavRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateDavRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateDavRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateDavResponse wrapper for the CreateDav operation -type CreateDavResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 CreateDavResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateDavResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_endpoint_service_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_endpoint_service_details.go deleted file mode 100644 index 85b710d2fa2a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_endpoint_service_details.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateEndpointServiceDetails Details for creating an endpoint service. -type CreateEndpointServiceDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the - // endpoint service. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // List of service IP addresses (in the service VCN) that handle requests to the endpoint service. - ServiceIps []EndpointServiceIpDetails `mandatory:"true" json:"serviceIps"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service VCN that the endpoint - // service belongs to. - VcnId *string `mandatory:"false" json:"vcnId"` - - // A description of the endpoint service. For Oracle services that use the "trusted" mode of the - // private endpoint service, customers never see this description. Avoid entering confidential information. - Description *string `mandatory:"false" json:"description"` - - // A friendly name for the endpoint service. Must be unique within the VCN. Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // Some services want to restrict access to the resources represented by an endpoint service so - // that only a single private endpoint in the customer VCN has access. - // For example, the endpoint service might represent a particular service resource (such as a - // particular database). The service might want to allow access to that particular resource - // from only a single private endpoint. - // Defaults to `false`. - // **Note:** If the value is `true`, the `endpointFqdn` attribute cannot have a value. For more - // information, see the discussion of DNS and FQDNs in - // PrivateEndpoint. - // Example: `true` - AreMultiplePrivateEndpointsPerVcnAllowed *bool `mandatory:"false" json:"areMultiplePrivateEndpointsPerVcnAllowed"` - - // Reserved for future use. - IsVcnMetadataEnabled *bool `mandatory:"false" json:"isVcnMetadataEnabled"` - - // The ports on the endpoint service IPs that are open for private endpoint traffic for this - // endpoint service. If you provide no ports, all open ports on the service IPs are accessible. - Ports []int `mandatory:"false" json:"ports"` - - // The default three-label FQDN to use for all private endpoints associated with this endpoint - // service. For important information about how this attribute is used, see the discussion of DNS - // and FQDNs in PrivateEndpoint. - // If `areMultiplePrivateEndpointsPerVcnAllowed` is `true`, `endpointFqdn` cannot have a value. - // Example: `xyz.oraclecloud.com` - EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"` - - // The Endpoint Service belong to a substrate or not - IsSubstrate *bool `mandatory:"false" json:"isSubstrate"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m CreateEndpointServiceDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateEndpointServiceDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_endpoint_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_endpoint_service_request_response.go deleted file mode 100644 index b86fd580afb0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_endpoint_service_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateEndpointServiceRequest wrapper for the CreateEndpointService operation -type CreateEndpointServiceRequest struct { - - // Details for creating an endpoint service. - CreateEndpointServiceDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateEndpointServiceRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateEndpointServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateEndpointServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateEndpointServiceRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateEndpointServiceRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateEndpointServiceResponse wrapper for the CreateEndpointService operation -type CreateEndpointServiceResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The EndpointService instance - EndpointService `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 CreateEndpointServiceResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateEndpointServiceResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_attachment_details.go deleted file mode 100644 index ae79d391ff8f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_attachment_details.go +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateFlowLogConfigAttachmentDetails The representation of CreateFlowLogConfigAttachmentDetails -type CreateFlowLogConfigAttachmentDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource to attach the - // flow log configuration to. Attaching the configuration enables flow logs for the resource. - TargetEntityId *string `mandatory:"true" json:"targetEntityId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration to attach. - FlowLogConfigId *string `mandatory:"true" json:"flowLogConfigId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` -} - -func (m CreateFlowLogConfigAttachmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateFlowLogConfigAttachmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_attachment_request_response.go deleted file mode 100644 index 26ed7df253c6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_attachment_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateFlowLogConfigAttachmentRequest wrapper for the CreateFlowLogConfigAttachment operation -type CreateFlowLogConfigAttachmentRequest struct { - - // Details for creating the flow log configuration attachment. - CreateFlowLogConfigAttachmentDetails `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 CreateFlowLogConfigAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateFlowLogConfigAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateFlowLogConfigAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateFlowLogConfigAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateFlowLogConfigAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateFlowLogConfigAttachmentResponse wrapper for the CreateFlowLogConfigAttachment operation -type CreateFlowLogConfigAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The FlowLogConfigAttachment instance - FlowLogConfigAttachment `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 CreateFlowLogConfigAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateFlowLogConfigAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_details.go deleted file mode 100644 index 0bdb32e95f1f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_details.go +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateFlowLogConfigDetails The representation of CreateFlowLogConfigDetails -type CreateFlowLogConfigDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the - // flow log configuration. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // Type or types of flow logs to store. `ALL` includes records for both accepted traffic and - // rejected traffic. - FlowLogType CreateFlowLogConfigDetailsFlowLogTypeEnum `mandatory:"true" json:"flowLogType"` - - Destination FlowLogDestination `mandatory:"true" json:"destination"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m CreateFlowLogConfigDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateFlowLogConfigDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingCreateFlowLogConfigDetailsFlowLogTypeEnum[string(m.FlowLogType)]; !ok && m.FlowLogType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FlowLogType: %s. Supported values are: %s.", m.FlowLogType, strings.Join(GetCreateFlowLogConfigDetailsFlowLogTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UnmarshalJSON unmarshals from json -func (m *CreateFlowLogConfigDetails) UnmarshalJSON(data []byte) (e error) { - model := struct { - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - DisplayName *string `json:"displayName"` - FreeformTags map[string]string `json:"freeformTags"` - CompartmentId *string `json:"compartmentId"` - FlowLogType CreateFlowLogConfigDetailsFlowLogTypeEnum `json:"flowLogType"` - Destination flowlogdestination `json:"destination"` - }{} - - e = json.Unmarshal(data, &model) - if e != nil { - return - } - var nn interface{} - m.DefinedTags = model.DefinedTags - - m.DisplayName = model.DisplayName - - m.FreeformTags = model.FreeformTags - - m.CompartmentId = model.CompartmentId - - m.FlowLogType = model.FlowLogType - - nn, e = model.Destination.UnmarshalPolymorphicJSON(model.Destination.JsonData) - if e != nil { - return - } - if nn != nil { - m.Destination = nn.(FlowLogDestination) - } else { - m.Destination = nil - } - - return -} - -// CreateFlowLogConfigDetailsFlowLogTypeEnum Enum with underlying type: string -type CreateFlowLogConfigDetailsFlowLogTypeEnum string - -// Set of constants representing the allowable values for CreateFlowLogConfigDetailsFlowLogTypeEnum -const ( - CreateFlowLogConfigDetailsFlowLogTypeAll CreateFlowLogConfigDetailsFlowLogTypeEnum = "ALL" -) - -var mappingCreateFlowLogConfigDetailsFlowLogTypeEnum = map[string]CreateFlowLogConfigDetailsFlowLogTypeEnum{ - "ALL": CreateFlowLogConfigDetailsFlowLogTypeAll, -} - -// GetCreateFlowLogConfigDetailsFlowLogTypeEnumValues Enumerates the set of values for CreateFlowLogConfigDetailsFlowLogTypeEnum -func GetCreateFlowLogConfigDetailsFlowLogTypeEnumValues() []CreateFlowLogConfigDetailsFlowLogTypeEnum { - values := make([]CreateFlowLogConfigDetailsFlowLogTypeEnum, 0) - for _, v := range mappingCreateFlowLogConfigDetailsFlowLogTypeEnum { - values = append(values, v) - } - return values -} - -// GetCreateFlowLogConfigDetailsFlowLogTypeEnumStringValues Enumerates the set of values in String for CreateFlowLogConfigDetailsFlowLogTypeEnum -func GetCreateFlowLogConfigDetailsFlowLogTypeEnumStringValues() []string { - return []string{ - "ALL", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_request_response.go deleted file mode 100644 index 1b0bfa69ec97..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_flow_log_config_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateFlowLogConfigRequest wrapper for the CreateFlowLogConfig operation -type CreateFlowLogConfigRequest struct { - - // Details of a flow log configuration to be created. - CreateFlowLogConfigDetails `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 CreateFlowLogConfigRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateFlowLogConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateFlowLogConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateFlowLogConfigRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateFlowLogConfigRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateFlowLogConfigResponse wrapper for the CreateFlowLogConfig operation -type CreateFlowLogConfigResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The FlowLogConfig instance - FlowLogConfig `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 CreateFlowLogConfigResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateFlowLogConfigResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_screenshot_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_screenshot_request_response.go deleted file mode 100644 index 7a56710a7a30..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_screenshot_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInstanceScreenshotRequest wrapper for the CreateInstanceScreenshot operation -type CreateInstanceScreenshotRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. - InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` - - // 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 CreateInstanceScreenshotRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInstanceScreenshotRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInstanceScreenshotRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInstanceScreenshotRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInstanceScreenshotRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInstanceScreenshotResponse wrapper for the CreateInstanceScreenshot operation -type CreateInstanceScreenshotResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InstanceScreenshot instance - InstanceScreenshot `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 CreateInstanceScreenshotResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInstanceScreenshotResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_dns_record_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_dns_record_details.go deleted file mode 100644 index 10d4c3556c66..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_dns_record_details.go +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateInternalDnsRecordDetails This structure is used when creating DnsRecord for internal clients. -type CreateInternalDnsRecordDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DnsRecord. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Internal Hosted Zone the DnsRecord belongs to. - InternalHostedZoneId *string `mandatory:"true" json:"internalHostedZoneId"` - - // Name of the DnsRecord. - // -*A:* Partially Qualified DNS Name that will be mapped to the IPv4 address - Name *string `mandatory:"true" json:"name"` - - // Type of Dns Record according to RFC 1035 (https://tools.ietf.org/html/rfc1035). - // Currently supported list of types are the following. - // -*A:* Type 1, a hostname to IPv4 address - Type CreateInternalDnsRecordDetailsTypeEnum `mandatory:"true" json:"type"` - - // Value for the DnsRecord. - // -*A:* One or more IPv4 addresses. Comma separated. - Value *string `mandatory:"true" json:"value"` - - // Time to live value in seconds for the DnsRecord, according to RFC 1035 (https://tools.ietf.org/html/rfc1035). - // Defaults to 86400. - Ttl *int `mandatory:"false" json:"ttl"` -} - -func (m CreateInternalDnsRecordDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateInternalDnsRecordDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingCreateInternalDnsRecordDetailsTypeEnum[string(m.Type)]; !ok && m.Type != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateInternalDnsRecordDetailsTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalDnsRecordDetailsTypeEnum Enum with underlying type: string -type CreateInternalDnsRecordDetailsTypeEnum string - -// Set of constants representing the allowable values for CreateInternalDnsRecordDetailsTypeEnum -const ( - CreateInternalDnsRecordDetailsTypeA CreateInternalDnsRecordDetailsTypeEnum = "A" -) - -var mappingCreateInternalDnsRecordDetailsTypeEnum = map[string]CreateInternalDnsRecordDetailsTypeEnum{ - "A": CreateInternalDnsRecordDetailsTypeA, -} - -// GetCreateInternalDnsRecordDetailsTypeEnumValues Enumerates the set of values for CreateInternalDnsRecordDetailsTypeEnum -func GetCreateInternalDnsRecordDetailsTypeEnumValues() []CreateInternalDnsRecordDetailsTypeEnum { - values := make([]CreateInternalDnsRecordDetailsTypeEnum, 0) - for _, v := range mappingCreateInternalDnsRecordDetailsTypeEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalDnsRecordDetailsTypeEnumStringValues Enumerates the set of values in String for CreateInternalDnsRecordDetailsTypeEnum -func GetCreateInternalDnsRecordDetailsTypeEnumStringValues() []string { - return []string{ - "A", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_dns_record_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_dns_record_request_response.go deleted file mode 100644 index 1c11ed977375..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_dns_record_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInternalDnsRecordRequest wrapper for the CreateInternalDnsRecord operation -type CreateInternalDnsRecordRequest struct { - - // Details for creating DnsRecord. - CreateInternalDnsRecordDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateInternalDnsRecordRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInternalDnsRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInternalDnsRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInternalDnsRecordRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInternalDnsRecordRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalDnsRecordResponse wrapper for the CreateInternalDnsRecord operation -type CreateInternalDnsRecordResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDnsRecord instance - InternalDnsRecord `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 CreateInternalDnsRecordResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInternalDnsRecordResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_attachment_details.go deleted file mode 100644 index 74d2fa20c2dd..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_attachment_details.go +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateInternalDrgAttachmentDetails The request to create a new InternalDrgAttachment. -type CreateInternalDrgAttachmentDetails struct { - - // The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" json:"drgId"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. - VcnId *string `mandatory:"true" json:"vcnId"` - - // NextHop target's MPLS label. - MplsLabel *string `mandatory:"true" json:"mplsLabel"` - - // The string in the form ASN:mplsLabel. - RouteTarget *string `mandatory:"true" json:"routeTarget"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // This is the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. - // If you don't specify a route table here, the DRG attachment is created without an associated route - // table. The Networking service does NOT automatically associate the attached VCN's default route table - // with the DRG attachment. - RouteTableId *string `mandatory:"false" json:"routeTableId"` -} - -func (m CreateInternalDrgAttachmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateInternalDrgAttachmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_attachment_request_response.go deleted file mode 100644 index 5d8975846b55..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_attachment_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInternalDrgAttachmentRequest wrapper for the CreateInternalDrgAttachment operation -type CreateInternalDrgAttachmentRequest struct { - - // Details for creating an `InternalDrgAttachment`. - CreateInternalDrgAttachmentDetails `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 CreateInternalDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInternalDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInternalDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInternalDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInternalDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalDrgAttachmentResponse wrapper for the CreateInternalDrgAttachment operation -type CreateInternalDrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDrgAttachment instance - InternalDrgAttachment `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 CreateInternalDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInternalDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_details.go deleted file mode 100644 index 1939c868be76..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_details.go +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateInternalDrgDetails The request to create a new InternalDrg. -type CreateInternalDrgDetails struct { - - // The DRG's Oracle ID (OCID). - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // Anycast IP of the El Paso fleet handling the ingress traffic. - IngressIP *string `mandatory:"true" json:"ingressIP"` - - // Anycast IP of the El Paso fleet handling the egress traffic. - EgressIP *string `mandatory:"true" json:"egressIP"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // Route data for the Drg. - RouteData *string `mandatory:"false" json:"routeData"` -} - -func (m CreateInternalDrgDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateInternalDrgDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_request_response.go deleted file mode 100644 index 28ffcf7eac06..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_drg_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInternalDrgRequest wrapper for the CreateInternalDrg operation -type CreateInternalDrgRequest struct { - - // Details for creating an InternalDRG. - CreateInternalDrgDetails `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 CreateInternalDrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInternalDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInternalDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInternalDrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInternalDrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalDrgResponse wrapper for the CreateInternalDrg operation -type CreateInternalDrgResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDrg instance - InternalDrg `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 CreateInternalDrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInternalDrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_generic_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_generic_gateway_details.go deleted file mode 100644 index 3be361ac167a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_generic_gateway_details.go +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateInternalGenericGatewayDetails Details to create an internal generic gateway. -type CreateInternalGenericGatewayDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the gateway's compartment. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // Information required to fill headers of packets to be sent to the gateway. - GatewayHeaderData *int64 `mandatory:"true" json:"gatewayHeaderData"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the real gateway that this generic gateway represents. - GatewayId *string `mandatory:"true" json:"gatewayId"` - - // The type of the gateway. - GatewayType CreateInternalGenericGatewayDetailsGatewayTypeEnum `mandatory:"true" json:"gatewayType"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the generic gateway belongs to. - VcnId *string `mandatory:"true" json:"vcnId"` - - // IP address of the gateway. - GatewayIpAddresses []string `mandatory:"false" json:"gatewayIpAddresses"` - - // Tuples, mapping AD and regional identifiers to the corresponding routing data - GatewayRouteMap []GatewayRouteData `mandatory:"false" json:"gatewayRouteMap"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table associated with the gateway - RouteTableId *string `mandatory:"false" json:"routeTableId"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m CreateInternalGenericGatewayDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateInternalGenericGatewayDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingCreateInternalGenericGatewayDetailsGatewayTypeEnum[string(m.GatewayType)]; !ok && m.GatewayType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for GatewayType: %s. Supported values are: %s.", m.GatewayType, strings.Join(GetCreateInternalGenericGatewayDetailsGatewayTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalGenericGatewayDetailsGatewayTypeEnum Enum with underlying type: string -type CreateInternalGenericGatewayDetailsGatewayTypeEnum string - -// Set of constants representing the allowable values for CreateInternalGenericGatewayDetailsGatewayTypeEnum -const ( - CreateInternalGenericGatewayDetailsGatewayTypeServicegateway CreateInternalGenericGatewayDetailsGatewayTypeEnum = "SERVICEGATEWAY" - CreateInternalGenericGatewayDetailsGatewayTypeNatgateway CreateInternalGenericGatewayDetailsGatewayTypeEnum = "NATGATEWAY" - CreateInternalGenericGatewayDetailsGatewayTypePrivateaccessgateway CreateInternalGenericGatewayDetailsGatewayTypeEnum = "PRIVATEACCESSGATEWAY" -) - -var mappingCreateInternalGenericGatewayDetailsGatewayTypeEnum = map[string]CreateInternalGenericGatewayDetailsGatewayTypeEnum{ - "SERVICEGATEWAY": CreateInternalGenericGatewayDetailsGatewayTypeServicegateway, - "NATGATEWAY": CreateInternalGenericGatewayDetailsGatewayTypeNatgateway, - "PRIVATEACCESSGATEWAY": CreateInternalGenericGatewayDetailsGatewayTypePrivateaccessgateway, -} - -// GetCreateInternalGenericGatewayDetailsGatewayTypeEnumValues Enumerates the set of values for CreateInternalGenericGatewayDetailsGatewayTypeEnum -func GetCreateInternalGenericGatewayDetailsGatewayTypeEnumValues() []CreateInternalGenericGatewayDetailsGatewayTypeEnum { - values := make([]CreateInternalGenericGatewayDetailsGatewayTypeEnum, 0) - for _, v := range mappingCreateInternalGenericGatewayDetailsGatewayTypeEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalGenericGatewayDetailsGatewayTypeEnumStringValues Enumerates the set of values in String for CreateInternalGenericGatewayDetailsGatewayTypeEnum -func GetCreateInternalGenericGatewayDetailsGatewayTypeEnumStringValues() []string { - return []string{ - "SERVICEGATEWAY", - "NATGATEWAY", - "PRIVATEACCESSGATEWAY", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_generic_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_generic_gateway_request_response.go deleted file mode 100644 index ce8030b0c4af..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_generic_gateway_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInternalGenericGatewayRequest wrapper for the CreateInternalGenericGateway operation -type CreateInternalGenericGatewayRequest struct { - - // Requesting to create an internal generic gateway. - CreateInternalGenericGatewayDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // This is the operation name used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzOperationName *string `mandatory:"false" contributesTo:"header" name:"internal-authz-operation-name"` - - // This is the resource kind used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzResourceKind *string `mandatory:"false" contributesTo:"header" name:"internal-authz-resource-kind"` - - // 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 CreateInternalGenericGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInternalGenericGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInternalGenericGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInternalGenericGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInternalGenericGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalGenericGatewayResponse wrapper for the CreateInternalGenericGateway operation -type CreateInternalGenericGatewayResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalGenericGateway instance - InternalGenericGateway `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 CreateInternalGenericGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInternalGenericGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_public_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_public_ip_details.go deleted file mode 100644 index 9ba4d4cb27a1..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_public_ip_details.go +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateInternalPublicIpDetails This structure is used when creating publicIps for internal clients. -type CreateInternalPublicIpDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the public IP. For ephemeral public IPs, - // you must set this to the private IP's - // compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // Defines when the public IP is deleted and released back to the Oracle Cloud - // Infrastructure public IP pool. For more information, see - // Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). - Lifetime CreateInternalPublicIpDetailsLifetimeEnum `mandatory:"true" json:"lifetime"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity to assign the public IP to. - AssignedEntityId *string `mandatory:"false" json:"assignedEntityId"` - - // 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/iaas/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/iaas/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 pool object created by the current tenancy - PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` - - // Only provided when no publicIpPoolId is specified. - InternalPoolName CreateInternalPublicIpDetailsInternalPoolNameEnum `mandatory:"false" json:"internalPoolName,omitempty"` -} - -func (m CreateInternalPublicIpDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateInternalPublicIpDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingCreateInternalPublicIpDetailsLifetimeEnum[string(m.Lifetime)]; !ok && m.Lifetime != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetCreateInternalPublicIpDetailsLifetimeEnumStringValues(), ","))) - } - - if _, ok := mappingCreateInternalPublicIpDetailsInternalPoolNameEnum[string(m.InternalPoolName)]; !ok && m.InternalPoolName != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for InternalPoolName: %s. Supported values are: %s.", m.InternalPoolName, strings.Join(GetCreateInternalPublicIpDetailsInternalPoolNameEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalPublicIpDetailsLifetimeEnum Enum with underlying type: string -type CreateInternalPublicIpDetailsLifetimeEnum string - -// Set of constants representing the allowable values for CreateInternalPublicIpDetailsLifetimeEnum -const ( - CreateInternalPublicIpDetailsLifetimeEphemeral CreateInternalPublicIpDetailsLifetimeEnum = "EPHEMERAL" - CreateInternalPublicIpDetailsLifetimeReserved CreateInternalPublicIpDetailsLifetimeEnum = "RESERVED" -) - -var mappingCreateInternalPublicIpDetailsLifetimeEnum = map[string]CreateInternalPublicIpDetailsLifetimeEnum{ - "EPHEMERAL": CreateInternalPublicIpDetailsLifetimeEphemeral, - "RESERVED": CreateInternalPublicIpDetailsLifetimeReserved, -} - -// GetCreateInternalPublicIpDetailsLifetimeEnumValues Enumerates the set of values for CreateInternalPublicIpDetailsLifetimeEnum -func GetCreateInternalPublicIpDetailsLifetimeEnumValues() []CreateInternalPublicIpDetailsLifetimeEnum { - values := make([]CreateInternalPublicIpDetailsLifetimeEnum, 0) - for _, v := range mappingCreateInternalPublicIpDetailsLifetimeEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalPublicIpDetailsLifetimeEnumStringValues Enumerates the set of values in String for CreateInternalPublicIpDetailsLifetimeEnum -func GetCreateInternalPublicIpDetailsLifetimeEnumStringValues() []string { - return []string{ - "EPHEMERAL", - "RESERVED", - } -} - -// CreateInternalPublicIpDetailsInternalPoolNameEnum Enum with underlying type: string -type CreateInternalPublicIpDetailsInternalPoolNameEnum string - -// Set of constants representing the allowable values for CreateInternalPublicIpDetailsInternalPoolNameEnum -const ( - CreateInternalPublicIpDetailsInternalPoolNameExternal CreateInternalPublicIpDetailsInternalPoolNameEnum = "EXTERNAL" - CreateInternalPublicIpDetailsInternalPoolNameSociEgress CreateInternalPublicIpDetailsInternalPoolNameEnum = "SOCI_EGRESS" -) - -var mappingCreateInternalPublicIpDetailsInternalPoolNameEnum = map[string]CreateInternalPublicIpDetailsInternalPoolNameEnum{ - "EXTERNAL": CreateInternalPublicIpDetailsInternalPoolNameExternal, - "SOCI_EGRESS": CreateInternalPublicIpDetailsInternalPoolNameSociEgress, -} - -// GetCreateInternalPublicIpDetailsInternalPoolNameEnumValues Enumerates the set of values for CreateInternalPublicIpDetailsInternalPoolNameEnum -func GetCreateInternalPublicIpDetailsInternalPoolNameEnumValues() []CreateInternalPublicIpDetailsInternalPoolNameEnum { - values := make([]CreateInternalPublicIpDetailsInternalPoolNameEnum, 0) - for _, v := range mappingCreateInternalPublicIpDetailsInternalPoolNameEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalPublicIpDetailsInternalPoolNameEnumStringValues Enumerates the set of values in String for CreateInternalPublicIpDetailsInternalPoolNameEnum -func GetCreateInternalPublicIpDetailsInternalPoolNameEnumStringValues() []string { - return []string{ - "EXTERNAL", - "SOCI_EGRESS", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_public_ip_request_response.go deleted file mode 100644 index 5b01fcaa1ea9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_public_ip_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInternalPublicIpRequest wrapper for the CreateInternalPublicIp operation -type CreateInternalPublicIpRequest struct { - - // Create internal public IP details. - CreateInternalPublicIpDetails `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"` - - // This is the operation name used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzOperationName *string `mandatory:"false" contributesTo:"header" name:"internal-authz-operation-name"` - - // This is the resource kind used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzResourceKind *string `mandatory:"false" contributesTo:"header" name:"internal-authz-resource-kind"` - - // 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 CreateInternalPublicIpRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInternalPublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInternalPublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInternalPublicIpRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInternalPublicIpRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalPublicIpResponse wrapper for the CreateInternalPublicIp operation -type CreateInternalPublicIpResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalPublicIp instance - InternalPublicIp `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 CreateInternalPublicIpResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInternalPublicIpResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_attachment_details.go deleted file mode 100644 index bb4ac47f201d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_attachment_details.go +++ /dev/null @@ -1,2763 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateInternalVnicAttachmentDetails Details for attaching a service VNIC to VNICaaS fleet. -type CreateInternalVnicAttachmentDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VNIC attachment. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // A private IP address of your choice to assign to the VNIC. Must be an - // available IP address within the subnet's CIDR. If you don't specify a - // value, Oracle automatically assigns a private IP address from the subnet. - // This is the VNIC's *primary* private IP address. The value appears in - // the Vnic object and also the - // PrivateIp object returned by - // ListPrivateIps and - // GetPrivateIp. - // Example: `10.0.3.3` - PrivateIp *string `mandatory:"false" json:"privateIp"` - - // The compute instance id - InstanceId *string `mandatory:"false" json:"instanceId"` - - // Id for a group of vnics sharing same resource pool, e.g. a group id could be a site/gateway id for - // Ambassador SVNICs under the same site/gateway. - GroupId *string `mandatory:"false" json:"groupId"` - - // The compute instance id of the resource pool to be used for the vnic - InstanceIdForResourcePool *string `mandatory:"false" json:"instanceIdForResourcePool"` - - // The availability domain of the VNIC attachment - InternalAvailabilityDomain *string `mandatory:"false" json:"internalAvailabilityDomain"` - - // The overlay MAC address of the instance - MacAddress *string `mandatory:"false" json:"macAddress"` - - // index of NIC that VNIC is attaching to (OS boot order) - NicIndex *int `mandatory:"false" json:"nicIndex"` - - // The tag used internally to identify the sending VNIC. It can be specified in scenarios where a specific - // tag needs to be assigned. Examples of such scenarios include reboot migration and VMware support. - VlanTag *int `mandatory:"false" json:"vlanTag"` - - // Shape of VNIC that is used to allocate resource in the data plane. - VnicShape CreateInternalVnicAttachmentDetailsVnicShapeEnum `mandatory:"false" json:"vnicShape,omitempty"` - - // The substrate IP address of the instance - SubstrateIp *string `mandatory:"false" json:"substrateIp"` - - // Indicates if vlanTag 0 can be assigned to this vnic or not. - IsSkipVlanTag0 *bool `mandatory:"false" json:"isSkipVlanTag0"` - - // Specifies the shard to attach the VNIC to - ShardId *string `mandatory:"false" json:"shardId"` - - // Property describing customer facing metrics - MetadataList []CfmMetadata `mandatory:"false" json:"metadataList"` - - // Identifier of how the target instance is going be launched. For example, launch from marketplace. - // STANDARD is the default type if not specified. - LaunchType CreateInternalVnicAttachmentDetailsLaunchTypeEnum `mandatory:"false" json:"launchType,omitempty"` -} - -func (m CreateInternalVnicAttachmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateInternalVnicAttachmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingCreateInternalVnicAttachmentDetailsVnicShapeEnum[string(m.VnicShape)]; !ok && m.VnicShape != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VnicShape: %s. Supported values are: %s.", m.VnicShape, strings.Join(GetCreateInternalVnicAttachmentDetailsVnicShapeEnumStringValues(), ","))) - } - if _, ok := mappingCreateInternalVnicAttachmentDetailsLaunchTypeEnum[string(m.LaunchType)]; !ok && m.LaunchType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LaunchType: %s. Supported values are: %s.", m.LaunchType, strings.Join(GetCreateInternalVnicAttachmentDetailsLaunchTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalVnicAttachmentDetailsVnicShapeEnum Enum with underlying type: string -type CreateInternalVnicAttachmentDetailsVnicShapeEnum string - -// Set of constants representing the allowable values for CreateInternalVnicAttachmentDetailsVnicShapeEnum -const ( - CreateInternalVnicAttachmentDetailsVnicShapeDynamic CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0040 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0060 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0060" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0060Psm CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0060_PSM" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0100 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0100" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0120 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0120" - CreateInternalVnicAttachmentDetailsVnicShapeFixed01202x CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0120_2X" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0200 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0200" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0240 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0240" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0480 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0480" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehost CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST" - CreateInternalVnicAttachmentDetailsVnicShapeDynamic25g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed004025g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed010025g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0100_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed020025g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0200_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed040025g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0400_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed080025g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0800_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed160025g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1600_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed240025g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2400_25G" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehost25g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST_25G" - CreateInternalVnicAttachmentDetailsVnicShapeDynamicE125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0040E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0070E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0070_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0140E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0140_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0280E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0280_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0560E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0560_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1120E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1120_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1680E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1680_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehostE125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeDynamicB125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0040B125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0060B125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0060_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0120B125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0120_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0240B125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0240_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0480B125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0480_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0960B125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0960_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehostB125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST_B1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeMicroVmFixed0048E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "MICRO_VM_FIXED0048_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeMicroLbFixed0001E125g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "MICRO_LB_FIXED0001_E1_25G" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFixed0200 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_FIXED0200" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFixed0400 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_FIXED0400" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFixed0700 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_FIXED0700" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasNlbApproved10g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_NLB_APPROVED_10G" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasNlbApproved25g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_NLB_APPROVED_25G" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasTelesis25g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_TELESIS_25G" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasTelesis10g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_TELESIS_10G" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasAmbassadorFixed0100 CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_AMBASSADOR_FIXED0100" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasPrivatedns CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_PRIVATEDNS" - CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFwaas CreateInternalVnicAttachmentDetailsVnicShapeEnum = "VNICAAS_FWAAS" - CreateInternalVnicAttachmentDetailsVnicShapeDynamicE350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0040E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed4000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED4000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehostE350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeDynamicE450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0040E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed4000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED4000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehostE450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeMicroVmFixed0050E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "MICRO_VM_FIXED0050_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0025E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0025_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0050E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0050_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0075E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0075_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0125E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0125_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0150E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0150_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0175E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0175_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0225E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0225_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0250E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0250_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0275E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0275_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0325E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0325_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0350E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0350_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0375E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0375_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0425E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0425_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0450E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0475E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0475_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0525E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0525_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0550E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0550_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0575E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0575_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0625E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0625_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0650E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0650_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0675E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0675_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0725E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0725_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0750E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0750_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0775E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0775_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0825E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0825_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0850E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0850_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0875E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0875_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0925E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0925_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0950E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0950_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0975E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0975_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1025E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1025_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1050E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1050_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1075E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1075_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1125E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1125_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1150E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1150_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1175E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1175_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1225E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1225_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1250E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1250_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1275E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1275_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1325E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1325_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1350E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1375E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1375_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1425E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1425_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1450E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1450_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1475E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1475_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1525E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1525_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1550E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1550_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1575E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1575_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1625E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1625_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1650E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1650_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1725E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1725_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1750E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1750_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1850E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1850_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1875E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1875_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1925E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1925_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1950E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1950_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2025E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2025_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2050E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2050_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2125E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2125_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2150E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2150_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2175E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2175_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2250E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2275E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2275_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2325E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2325_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2350E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2350_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2375E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2375_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2450E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2450_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2475E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2475_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2550E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2550_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2625E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2625_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2650E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2650_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2750E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2750_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2775E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2775_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2850E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2850_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2875E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2875_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2925E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2925_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2950E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2950_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2975E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2975_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3025E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3025_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3050E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3050_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3075E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3075_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3125E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3125_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3150E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3225E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3225_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3250E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3250_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3325E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3325_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3375E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3375_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3450E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3450_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3525E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3525_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3575E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3575_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3625E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3625_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3675E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3675_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3750E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3750_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3825E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3825_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3850E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3850_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3875E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3875_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3975E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3975_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4025E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4025_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4050E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4100E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4125E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4125_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4200E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4225E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4225_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4250E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4250_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4275E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4275_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4300E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4350E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4350_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4375E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4375_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4400E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4425E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4425_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4550E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4550_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4575E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4575_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4600E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4625E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4625_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4650E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4650_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4675E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4675_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4700E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4725E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4725_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4750E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4750_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4800E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4875E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4875_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4900E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4950E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed5000E350g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_E3_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0025E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0025_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0050E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0050_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0075E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0075_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0125E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0125_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0150E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0150_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0175E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0175_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0225E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0225_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0250E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0250_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0275E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0275_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0325E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0325_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0350E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0350_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0375E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0375_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0425E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0425_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0450E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0475E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0475_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0525E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0525_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0550E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0550_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0575E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0575_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0625E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0625_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0650E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0650_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0675E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0675_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0725E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0725_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0750E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0750_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0775E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0775_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0825E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0825_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0850E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0850_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0875E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0875_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0925E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0925_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0950E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0950_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0975E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0975_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1025E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1025_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1050E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1050_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1075E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1075_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1125E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1125_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1150E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1150_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1175E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1175_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1225E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1225_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1250E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1250_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1275E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1275_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1325E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1325_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1350E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1375E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1375_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1425E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1425_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1450E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1450_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1475E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1475_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1525E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1525_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1550E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1550_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1575E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1575_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1625E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1625_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1650E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1650_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1725E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1725_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1750E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1750_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1850E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1850_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1875E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1875_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1925E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1925_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1950E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1950_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2025E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2025_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2050E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2050_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2125E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2125_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2150E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2150_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2175E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2175_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2250E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2275E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2275_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2325E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2325_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2350E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2350_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2375E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2375_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2450E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2450_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2475E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2475_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2550E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2550_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2625E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2625_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2650E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2650_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2750E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2750_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2775E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2775_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2850E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2850_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2875E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2875_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2925E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2925_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2950E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2950_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2975E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2975_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3025E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3025_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3050E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3050_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3075E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3075_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3125E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3125_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3150E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3225E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3225_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3250E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3250_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3325E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3325_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3375E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3375_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3450E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3450_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3525E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3525_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3575E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3575_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3625E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3625_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3675E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3675_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3750E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3750_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3825E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3825_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3850E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3850_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3875E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3875_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3975E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3975_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4025E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4025_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4050E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4100E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4125E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4125_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4200E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4225E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4225_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4250E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4250_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4275E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4275_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4300E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4350E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4350_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4375E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4375_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4400E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4425E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4425_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4550E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4550_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4575E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4575_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4600E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4625E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4625_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4650E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4650_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4675E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4675_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4700E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4725E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4725_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4750E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4750_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4800E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4875E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4875_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4900E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4950E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed5000E450g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_E4_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0020A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0020_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0040A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0040_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0060A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0060_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0080A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0080_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0120A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0120_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0140A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0140_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0160A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0160_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0180A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0180_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0220A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0220_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0240A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0240_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0260A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0260_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0280A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0280_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0320A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0320_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0340A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0340_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0360A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0360_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0380A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0380_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0420A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0420_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0440A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0440_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0460A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0460_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0480A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0480_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0520A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0520_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0540A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0540_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0560A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0560_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0580A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0580_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0620A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0620_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0640A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0640_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0660A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0660_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0680A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0680_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0720A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0720_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0740A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0740_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0760A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0760_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0780A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0780_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0820A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0820_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0840A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0840_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0860A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0860_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0880A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0880_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0920A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0920_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0940A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0940_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0960A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0960_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0980A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0980_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1020A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1020_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1040A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1040_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1060A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1060_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1080A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1080_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1120A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1120_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1140A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1140_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1160A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1160_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1180A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1180_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1220A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1220_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1240A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1240_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1260A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1260_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1280A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1280_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1320A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1320_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1340A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1340_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1360A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1360_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1380A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1380_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1420A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1420_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1440A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1440_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1460A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1460_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1480A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1480_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1520A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1520_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1540A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1540_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1560A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1560_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1580A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1580_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1620A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1620_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1640A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1640_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1660A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1660_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1680A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1680_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1720A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1720_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1740A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1740_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1760A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1760_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1780A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1780_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1820A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1820_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1840A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1840_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1860A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1860_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1880A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1880_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1920A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1920_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1940A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1940_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1960A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1960_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1980A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1980_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2020A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2020_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2040A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2040_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2060A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2060_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2080A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2080_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2120A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2120_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2140A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2140_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2160A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2160_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2180A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2180_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2220A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2220_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2240A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2240_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2260A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2260_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2280A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2280_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2320A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2320_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2340A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2340_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2360A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2360_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2380A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2380_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2420A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2420_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2440A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2440_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2460A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2460_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2480A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2480_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2520A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2520_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2540A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2540_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2560A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2560_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2580A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2580_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2620A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2620_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2640A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2640_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2660A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2660_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2680A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2680_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2720A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2720_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2740A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2740_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2760A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2760_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2780A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2780_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2820A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2820_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2840A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2840_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2860A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2860_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2880A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2880_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2920A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2920_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2940A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2940_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2960A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2960_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2980A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2980_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3020A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3020_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3040A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3040_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3060A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3060_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3080A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3080_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3120A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3120_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3140A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3140_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3160A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3160_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3180A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3180_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3220A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3220_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3240A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3240_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3260A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3260_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3280A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3280_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3320A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3320_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3340A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3340_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3360A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3360_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3380A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3380_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3420A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3420_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3440A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3440_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3460A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3460_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3480A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3480_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3520A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3520_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3540A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3540_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3560A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3560_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3580A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3580_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3620A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3620_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3640A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3640_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3660A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3660_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3680A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3680_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3720A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3720_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3740A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3740_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3760A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3760_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3780A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3780_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3820A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3820_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3840A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3840_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3860A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3860_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3880A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3880_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3920A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3920_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3940A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3940_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3960A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3960_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3980A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3980_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4020A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4020_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4040A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4040_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4060A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4060_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4080A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4080_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4120A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4120_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4140A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4140_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4160A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4160_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4180A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4180_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4220A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4220_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4240A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4240_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4260A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4260_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4280A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4280_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4320A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4320_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4340A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4340_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4360A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4360_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4380A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4380_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4420A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4420_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4440A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4440_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4460A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4460_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4480A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4480_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4520A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4520_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4540A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4540_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4560A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4560_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4580A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4580_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4620A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4620_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4640A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4640_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4660A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4660_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4680A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4680_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4720A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4720_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4740A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4740_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4760A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4760_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4780A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4780_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4820A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4820_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4840A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4840_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4860A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4860_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4880A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4880_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4920A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4920_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4940A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4940_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4960A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4960_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4980A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4980_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed5000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0090X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0090_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0180X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0180_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0270X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0270_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0360X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0360_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0450X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0540X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0540_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0630X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0630_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0720X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0720_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0810X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0810_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0990X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0990_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1080X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1080_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1170X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1170_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1260X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1260_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1350X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1440X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1440_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1530X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1530_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1620X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1620_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1710X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1710_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1890X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1890_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1980X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1980_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2070X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2070_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2160X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2160_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2250X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2340X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2340_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2430X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2430_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2520X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2520_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2610X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2610_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2790X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2790_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2880X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2880_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2970X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2970_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3060X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3060_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3150X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3240X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3240_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3330X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3330_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3420X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3420_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3510X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3510_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3690X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3690_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3780X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3780_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3870X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3870_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3960X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3960_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4050X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4140X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4140_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4230X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4230_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4320X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4320_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4410X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4410_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4590X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4590_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4680X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4680_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4770X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4770_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4860X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4860_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4950X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeDynamicA150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0040A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3100A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3100_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3200A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3200_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3300A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3300_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3400A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3400_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3500A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3500_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3600A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3600_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3700A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3700_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3800A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3800_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3900A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3900_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed4000A150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED4000_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehostA150g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST_A1_50G" - CreateInternalVnicAttachmentDetailsVnicShapeDynamicX950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "DYNAMIC_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0040X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0040_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0400X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0400_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed0800X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED0800_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1200X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1200_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed1600X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED1600_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2000X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2000_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2400X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2400_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed2800X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED2800_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3200X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3200_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed3600X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED3600_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeFixed4000X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "FIXED4000_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0100X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0100_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0200X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0200_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0300X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0300_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0400X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0400_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0500X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0500_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0600X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0600_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0700X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0700_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0800X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0800_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0900X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED0900_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1000X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1000_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1100X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1100_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1200X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1200_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1300X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1300_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1400X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1400_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1500X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1500_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1600X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1600_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1700X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1700_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1800X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1800_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1900X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED1900_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2000X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2000_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2100X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2100_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2200X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2200_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2300X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2300_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2400X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2400_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2500X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2500_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2600X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2600_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2700X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2700_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2800X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2800_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2900X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED2900_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3000X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3000_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3100X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3100_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3200X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3200_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3300X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3300_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3400X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3400_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3500X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3500_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3600X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3600_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3700X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3700_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3800X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3800_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3900X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED3900_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed4000X950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "STANDARD_VM_FIXED4000_X9_50G" - CreateInternalVnicAttachmentDetailsVnicShapeEntirehostX950g CreateInternalVnicAttachmentDetailsVnicShapeEnum = "ENTIREHOST_X9_50G" -) - -var mappingCreateInternalVnicAttachmentDetailsVnicShapeEnum = map[string]CreateInternalVnicAttachmentDetailsVnicShapeEnum{ - "DYNAMIC": CreateInternalVnicAttachmentDetailsVnicShapeDynamic, - "FIXED0040": CreateInternalVnicAttachmentDetailsVnicShapeFixed0040, - "FIXED0060": CreateInternalVnicAttachmentDetailsVnicShapeFixed0060, - "FIXED0060_PSM": CreateInternalVnicAttachmentDetailsVnicShapeFixed0060Psm, - "FIXED0100": CreateInternalVnicAttachmentDetailsVnicShapeFixed0100, - "FIXED0120": CreateInternalVnicAttachmentDetailsVnicShapeFixed0120, - "FIXED0120_2X": CreateInternalVnicAttachmentDetailsVnicShapeFixed01202x, - "FIXED0200": CreateInternalVnicAttachmentDetailsVnicShapeFixed0200, - "FIXED0240": CreateInternalVnicAttachmentDetailsVnicShapeFixed0240, - "FIXED0480": CreateInternalVnicAttachmentDetailsVnicShapeFixed0480, - "ENTIREHOST": CreateInternalVnicAttachmentDetailsVnicShapeEntirehost, - "DYNAMIC_25G": CreateInternalVnicAttachmentDetailsVnicShapeDynamic25g, - "FIXED0040_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed004025g, - "FIXED0100_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed010025g, - "FIXED0200_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed020025g, - "FIXED0400_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed040025g, - "FIXED0800_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed080025g, - "FIXED1600_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed160025g, - "FIXED2400_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed240025g, - "ENTIREHOST_25G": CreateInternalVnicAttachmentDetailsVnicShapeEntirehost25g, - "DYNAMIC_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeDynamicE125g, - "FIXED0040_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0040E125g, - "FIXED0070_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0070E125g, - "FIXED0140_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0140E125g, - "FIXED0280_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0280E125g, - "FIXED0560_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0560E125g, - "FIXED1120_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1120E125g, - "FIXED1680_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1680E125g, - "ENTIREHOST_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeEntirehostE125g, - "DYNAMIC_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeDynamicB125g, - "FIXED0040_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0040B125g, - "FIXED0060_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0060B125g, - "FIXED0120_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0120B125g, - "FIXED0240_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0240B125g, - "FIXED0480_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0480B125g, - "FIXED0960_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0960B125g, - "ENTIREHOST_B1_25G": CreateInternalVnicAttachmentDetailsVnicShapeEntirehostB125g, - "MICRO_VM_FIXED0048_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeMicroVmFixed0048E125g, - "MICRO_LB_FIXED0001_E1_25G": CreateInternalVnicAttachmentDetailsVnicShapeMicroLbFixed0001E125g, - "VNICAAS_FIXED0200": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFixed0200, - "VNICAAS_FIXED0400": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFixed0400, - "VNICAAS_FIXED0700": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFixed0700, - "VNICAAS_NLB_APPROVED_10G": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasNlbApproved10g, - "VNICAAS_NLB_APPROVED_25G": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasNlbApproved25g, - "VNICAAS_TELESIS_25G": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasTelesis25g, - "VNICAAS_TELESIS_10G": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasTelesis10g, - "VNICAAS_AMBASSADOR_FIXED0100": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasAmbassadorFixed0100, - "VNICAAS_PRIVATEDNS": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasPrivatedns, - "VNICAAS_FWAAS": CreateInternalVnicAttachmentDetailsVnicShapeVnicaasFwaas, - "DYNAMIC_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeDynamicE350g, - "FIXED0040_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0040E350g, - "FIXED0100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0100E350g, - "FIXED0200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0200E350g, - "FIXED0300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0300E350g, - "FIXED0400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0400E350g, - "FIXED0500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0500E350g, - "FIXED0600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0600E350g, - "FIXED0700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0700E350g, - "FIXED0800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0800E350g, - "FIXED0900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0900E350g, - "FIXED1000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1000E350g, - "FIXED1100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1100E350g, - "FIXED1200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1200E350g, - "FIXED1300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1300E350g, - "FIXED1400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1400E350g, - "FIXED1500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1500E350g, - "FIXED1600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1600E350g, - "FIXED1700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1700E350g, - "FIXED1800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1800E350g, - "FIXED1900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1900E350g, - "FIXED2000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2000E350g, - "FIXED2100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2100E350g, - "FIXED2200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2200E350g, - "FIXED2300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2300E350g, - "FIXED2400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2400E350g, - "FIXED2500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2500E350g, - "FIXED2600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2600E350g, - "FIXED2700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2700E350g, - "FIXED2800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2800E350g, - "FIXED2900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2900E350g, - "FIXED3000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3000E350g, - "FIXED3100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3100E350g, - "FIXED3200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3200E350g, - "FIXED3300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3300E350g, - "FIXED3400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3400E350g, - "FIXED3500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3500E350g, - "FIXED3600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3600E350g, - "FIXED3700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3700E350g, - "FIXED3800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3800E350g, - "FIXED3900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3900E350g, - "FIXED4000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed4000E350g, - "ENTIREHOST_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeEntirehostE350g, - "DYNAMIC_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeDynamicE450g, - "FIXED0040_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0040E450g, - "FIXED0100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0100E450g, - "FIXED0200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0200E450g, - "FIXED0300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0300E450g, - "FIXED0400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0400E450g, - "FIXED0500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0500E450g, - "FIXED0600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0600E450g, - "FIXED0700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0700E450g, - "FIXED0800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0800E450g, - "FIXED0900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0900E450g, - "FIXED1000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1000E450g, - "FIXED1100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1100E450g, - "FIXED1200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1200E450g, - "FIXED1300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1300E450g, - "FIXED1400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1400E450g, - "FIXED1500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1500E450g, - "FIXED1600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1600E450g, - "FIXED1700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1700E450g, - "FIXED1800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1800E450g, - "FIXED1900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1900E450g, - "FIXED2000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2000E450g, - "FIXED2100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2100E450g, - "FIXED2200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2200E450g, - "FIXED2300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2300E450g, - "FIXED2400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2400E450g, - "FIXED2500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2500E450g, - "FIXED2600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2600E450g, - "FIXED2700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2700E450g, - "FIXED2800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2800E450g, - "FIXED2900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2900E450g, - "FIXED3000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3000E450g, - "FIXED3100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3100E450g, - "FIXED3200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3200E450g, - "FIXED3300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3300E450g, - "FIXED3400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3400E450g, - "FIXED3500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3500E450g, - "FIXED3600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3600E450g, - "FIXED3700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3700E450g, - "FIXED3800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3800E450g, - "FIXED3900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3900E450g, - "FIXED4000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed4000E450g, - "ENTIREHOST_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeEntirehostE450g, - "MICRO_VM_FIXED0050_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeMicroVmFixed0050E350g, - "SUBCORE_VM_FIXED0025_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0025E350g, - "SUBCORE_VM_FIXED0050_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0050E350g, - "SUBCORE_VM_FIXED0075_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0075E350g, - "SUBCORE_VM_FIXED0100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0100E350g, - "SUBCORE_VM_FIXED0125_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0125E350g, - "SUBCORE_VM_FIXED0150_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0150E350g, - "SUBCORE_VM_FIXED0175_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0175E350g, - "SUBCORE_VM_FIXED0200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0200E350g, - "SUBCORE_VM_FIXED0225_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0225E350g, - "SUBCORE_VM_FIXED0250_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0250E350g, - "SUBCORE_VM_FIXED0275_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0275E350g, - "SUBCORE_VM_FIXED0300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0300E350g, - "SUBCORE_VM_FIXED0325_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0325E350g, - "SUBCORE_VM_FIXED0350_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0350E350g, - "SUBCORE_VM_FIXED0375_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0375E350g, - "SUBCORE_VM_FIXED0400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0400E350g, - "SUBCORE_VM_FIXED0425_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0425E350g, - "SUBCORE_VM_FIXED0450_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0450E350g, - "SUBCORE_VM_FIXED0475_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0475E350g, - "SUBCORE_VM_FIXED0500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0500E350g, - "SUBCORE_VM_FIXED0525_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0525E350g, - "SUBCORE_VM_FIXED0550_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0550E350g, - "SUBCORE_VM_FIXED0575_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0575E350g, - "SUBCORE_VM_FIXED0600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0600E350g, - "SUBCORE_VM_FIXED0625_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0625E350g, - "SUBCORE_VM_FIXED0650_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0650E350g, - "SUBCORE_VM_FIXED0675_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0675E350g, - "SUBCORE_VM_FIXED0700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0700E350g, - "SUBCORE_VM_FIXED0725_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0725E350g, - "SUBCORE_VM_FIXED0750_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0750E350g, - "SUBCORE_VM_FIXED0775_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0775E350g, - "SUBCORE_VM_FIXED0800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0800E350g, - "SUBCORE_VM_FIXED0825_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0825E350g, - "SUBCORE_VM_FIXED0850_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0850E350g, - "SUBCORE_VM_FIXED0875_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0875E350g, - "SUBCORE_VM_FIXED0900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900E350g, - "SUBCORE_VM_FIXED0925_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0925E350g, - "SUBCORE_VM_FIXED0950_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0950E350g, - "SUBCORE_VM_FIXED0975_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0975E350g, - "SUBCORE_VM_FIXED1000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1000E350g, - "SUBCORE_VM_FIXED1025_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1025E350g, - "SUBCORE_VM_FIXED1050_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1050E350g, - "SUBCORE_VM_FIXED1075_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1075E350g, - "SUBCORE_VM_FIXED1100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1100E350g, - "SUBCORE_VM_FIXED1125_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1125E350g, - "SUBCORE_VM_FIXED1150_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1150E350g, - "SUBCORE_VM_FIXED1175_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1175E350g, - "SUBCORE_VM_FIXED1200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1200E350g, - "SUBCORE_VM_FIXED1225_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1225E350g, - "SUBCORE_VM_FIXED1250_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1250E350g, - "SUBCORE_VM_FIXED1275_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1275E350g, - "SUBCORE_VM_FIXED1300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1300E350g, - "SUBCORE_VM_FIXED1325_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1325E350g, - "SUBCORE_VM_FIXED1350_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1350E350g, - "SUBCORE_VM_FIXED1375_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1375E350g, - "SUBCORE_VM_FIXED1400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1400E350g, - "SUBCORE_VM_FIXED1425_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1425E350g, - "SUBCORE_VM_FIXED1450_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1450E350g, - "SUBCORE_VM_FIXED1475_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1475E350g, - "SUBCORE_VM_FIXED1500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1500E350g, - "SUBCORE_VM_FIXED1525_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1525E350g, - "SUBCORE_VM_FIXED1550_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1550E350g, - "SUBCORE_VM_FIXED1575_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1575E350g, - "SUBCORE_VM_FIXED1600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1600E350g, - "SUBCORE_VM_FIXED1625_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1625E350g, - "SUBCORE_VM_FIXED1650_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1650E350g, - "SUBCORE_VM_FIXED1700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1700E350g, - "SUBCORE_VM_FIXED1725_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1725E350g, - "SUBCORE_VM_FIXED1750_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1750E350g, - "SUBCORE_VM_FIXED1800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800E350g, - "SUBCORE_VM_FIXED1850_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1850E350g, - "SUBCORE_VM_FIXED1875_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1875E350g, - "SUBCORE_VM_FIXED1900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1900E350g, - "SUBCORE_VM_FIXED1925_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1925E350g, - "SUBCORE_VM_FIXED1950_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1950E350g, - "SUBCORE_VM_FIXED2000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2000E350g, - "SUBCORE_VM_FIXED2025_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2025E350g, - "SUBCORE_VM_FIXED2050_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2050E350g, - "SUBCORE_VM_FIXED2100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2100E350g, - "SUBCORE_VM_FIXED2125_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2125E350g, - "SUBCORE_VM_FIXED2150_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2150E350g, - "SUBCORE_VM_FIXED2175_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2175E350g, - "SUBCORE_VM_FIXED2200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2200E350g, - "SUBCORE_VM_FIXED2250_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2250E350g, - "SUBCORE_VM_FIXED2275_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2275E350g, - "SUBCORE_VM_FIXED2300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2300E350g, - "SUBCORE_VM_FIXED2325_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2325E350g, - "SUBCORE_VM_FIXED2350_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2350E350g, - "SUBCORE_VM_FIXED2375_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2375E350g, - "SUBCORE_VM_FIXED2400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2400E350g, - "SUBCORE_VM_FIXED2450_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2450E350g, - "SUBCORE_VM_FIXED2475_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2475E350g, - "SUBCORE_VM_FIXED2500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2500E350g, - "SUBCORE_VM_FIXED2550_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2550E350g, - "SUBCORE_VM_FIXED2600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2600E350g, - "SUBCORE_VM_FIXED2625_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2625E350g, - "SUBCORE_VM_FIXED2650_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2650E350g, - "SUBCORE_VM_FIXED2700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700E350g, - "SUBCORE_VM_FIXED2750_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2750E350g, - "SUBCORE_VM_FIXED2775_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2775E350g, - "SUBCORE_VM_FIXED2800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2800E350g, - "SUBCORE_VM_FIXED2850_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2850E350g, - "SUBCORE_VM_FIXED2875_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2875E350g, - "SUBCORE_VM_FIXED2900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2900E350g, - "SUBCORE_VM_FIXED2925_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2925E350g, - "SUBCORE_VM_FIXED2950_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2950E350g, - "SUBCORE_VM_FIXED2975_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2975E350g, - "SUBCORE_VM_FIXED3000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3000E350g, - "SUBCORE_VM_FIXED3025_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3025E350g, - "SUBCORE_VM_FIXED3050_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3050E350g, - "SUBCORE_VM_FIXED3075_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3075E350g, - "SUBCORE_VM_FIXED3100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3100E350g, - "SUBCORE_VM_FIXED3125_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3125E350g, - "SUBCORE_VM_FIXED3150_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3150E350g, - "SUBCORE_VM_FIXED3200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3200E350g, - "SUBCORE_VM_FIXED3225_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3225E350g, - "SUBCORE_VM_FIXED3250_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3250E350g, - "SUBCORE_VM_FIXED3300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3300E350g, - "SUBCORE_VM_FIXED3325_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3325E350g, - "SUBCORE_VM_FIXED3375_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3375E350g, - "SUBCORE_VM_FIXED3400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3400E350g, - "SUBCORE_VM_FIXED3450_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3450E350g, - "SUBCORE_VM_FIXED3500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3500E350g, - "SUBCORE_VM_FIXED3525_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3525E350g, - "SUBCORE_VM_FIXED3575_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3575E350g, - "SUBCORE_VM_FIXED3600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600E350g, - "SUBCORE_VM_FIXED3625_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3625E350g, - "SUBCORE_VM_FIXED3675_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3675E350g, - "SUBCORE_VM_FIXED3700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3700E350g, - "SUBCORE_VM_FIXED3750_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3750E350g, - "SUBCORE_VM_FIXED3800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3800E350g, - "SUBCORE_VM_FIXED3825_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3825E350g, - "SUBCORE_VM_FIXED3850_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3850E350g, - "SUBCORE_VM_FIXED3875_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3875E350g, - "SUBCORE_VM_FIXED3900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3900E350g, - "SUBCORE_VM_FIXED3975_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3975E350g, - "SUBCORE_VM_FIXED4000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4000E350g, - "SUBCORE_VM_FIXED4025_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4025E350g, - "SUBCORE_VM_FIXED4050_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4050E350g, - "SUBCORE_VM_FIXED4100_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4100E350g, - "SUBCORE_VM_FIXED4125_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4125E350g, - "SUBCORE_VM_FIXED4200_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4200E350g, - "SUBCORE_VM_FIXED4225_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4225E350g, - "SUBCORE_VM_FIXED4250_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4250E350g, - "SUBCORE_VM_FIXED4275_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4275E350g, - "SUBCORE_VM_FIXED4300_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4300E350g, - "SUBCORE_VM_FIXED4350_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4350E350g, - "SUBCORE_VM_FIXED4375_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4375E350g, - "SUBCORE_VM_FIXED4400_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4400E350g, - "SUBCORE_VM_FIXED4425_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4425E350g, - "SUBCORE_VM_FIXED4500_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500E350g, - "SUBCORE_VM_FIXED4550_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4550E350g, - "SUBCORE_VM_FIXED4575_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4575E350g, - "SUBCORE_VM_FIXED4600_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4600E350g, - "SUBCORE_VM_FIXED4625_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4625E350g, - "SUBCORE_VM_FIXED4650_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4650E350g, - "SUBCORE_VM_FIXED4675_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4675E350g, - "SUBCORE_VM_FIXED4700_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4700E350g, - "SUBCORE_VM_FIXED4725_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4725E350g, - "SUBCORE_VM_FIXED4750_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4750E350g, - "SUBCORE_VM_FIXED4800_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4800E350g, - "SUBCORE_VM_FIXED4875_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4875E350g, - "SUBCORE_VM_FIXED4900_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4900E350g, - "SUBCORE_VM_FIXED4950_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4950E350g, - "SUBCORE_VM_FIXED5000_E3_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed5000E350g, - "SUBCORE_VM_FIXED0025_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0025E450g, - "SUBCORE_VM_FIXED0050_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0050E450g, - "SUBCORE_VM_FIXED0075_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0075E450g, - "SUBCORE_VM_FIXED0100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0100E450g, - "SUBCORE_VM_FIXED0125_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0125E450g, - "SUBCORE_VM_FIXED0150_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0150E450g, - "SUBCORE_VM_FIXED0175_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0175E450g, - "SUBCORE_VM_FIXED0200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0200E450g, - "SUBCORE_VM_FIXED0225_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0225E450g, - "SUBCORE_VM_FIXED0250_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0250E450g, - "SUBCORE_VM_FIXED0275_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0275E450g, - "SUBCORE_VM_FIXED0300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0300E450g, - "SUBCORE_VM_FIXED0325_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0325E450g, - "SUBCORE_VM_FIXED0350_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0350E450g, - "SUBCORE_VM_FIXED0375_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0375E450g, - "SUBCORE_VM_FIXED0400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0400E450g, - "SUBCORE_VM_FIXED0425_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0425E450g, - "SUBCORE_VM_FIXED0450_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0450E450g, - "SUBCORE_VM_FIXED0475_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0475E450g, - "SUBCORE_VM_FIXED0500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0500E450g, - "SUBCORE_VM_FIXED0525_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0525E450g, - "SUBCORE_VM_FIXED0550_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0550E450g, - "SUBCORE_VM_FIXED0575_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0575E450g, - "SUBCORE_VM_FIXED0600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0600E450g, - "SUBCORE_VM_FIXED0625_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0625E450g, - "SUBCORE_VM_FIXED0650_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0650E450g, - "SUBCORE_VM_FIXED0675_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0675E450g, - "SUBCORE_VM_FIXED0700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0700E450g, - "SUBCORE_VM_FIXED0725_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0725E450g, - "SUBCORE_VM_FIXED0750_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0750E450g, - "SUBCORE_VM_FIXED0775_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0775E450g, - "SUBCORE_VM_FIXED0800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0800E450g, - "SUBCORE_VM_FIXED0825_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0825E450g, - "SUBCORE_VM_FIXED0850_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0850E450g, - "SUBCORE_VM_FIXED0875_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0875E450g, - "SUBCORE_VM_FIXED0900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900E450g, - "SUBCORE_VM_FIXED0925_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0925E450g, - "SUBCORE_VM_FIXED0950_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0950E450g, - "SUBCORE_VM_FIXED0975_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0975E450g, - "SUBCORE_VM_FIXED1000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1000E450g, - "SUBCORE_VM_FIXED1025_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1025E450g, - "SUBCORE_VM_FIXED1050_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1050E450g, - "SUBCORE_VM_FIXED1075_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1075E450g, - "SUBCORE_VM_FIXED1100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1100E450g, - "SUBCORE_VM_FIXED1125_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1125E450g, - "SUBCORE_VM_FIXED1150_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1150E450g, - "SUBCORE_VM_FIXED1175_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1175E450g, - "SUBCORE_VM_FIXED1200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1200E450g, - "SUBCORE_VM_FIXED1225_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1225E450g, - "SUBCORE_VM_FIXED1250_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1250E450g, - "SUBCORE_VM_FIXED1275_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1275E450g, - "SUBCORE_VM_FIXED1300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1300E450g, - "SUBCORE_VM_FIXED1325_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1325E450g, - "SUBCORE_VM_FIXED1350_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1350E450g, - "SUBCORE_VM_FIXED1375_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1375E450g, - "SUBCORE_VM_FIXED1400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1400E450g, - "SUBCORE_VM_FIXED1425_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1425E450g, - "SUBCORE_VM_FIXED1450_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1450E450g, - "SUBCORE_VM_FIXED1475_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1475E450g, - "SUBCORE_VM_FIXED1500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1500E450g, - "SUBCORE_VM_FIXED1525_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1525E450g, - "SUBCORE_VM_FIXED1550_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1550E450g, - "SUBCORE_VM_FIXED1575_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1575E450g, - "SUBCORE_VM_FIXED1600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1600E450g, - "SUBCORE_VM_FIXED1625_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1625E450g, - "SUBCORE_VM_FIXED1650_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1650E450g, - "SUBCORE_VM_FIXED1700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1700E450g, - "SUBCORE_VM_FIXED1725_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1725E450g, - "SUBCORE_VM_FIXED1750_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1750E450g, - "SUBCORE_VM_FIXED1800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800E450g, - "SUBCORE_VM_FIXED1850_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1850E450g, - "SUBCORE_VM_FIXED1875_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1875E450g, - "SUBCORE_VM_FIXED1900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1900E450g, - "SUBCORE_VM_FIXED1925_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1925E450g, - "SUBCORE_VM_FIXED1950_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1950E450g, - "SUBCORE_VM_FIXED2000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2000E450g, - "SUBCORE_VM_FIXED2025_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2025E450g, - "SUBCORE_VM_FIXED2050_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2050E450g, - "SUBCORE_VM_FIXED2100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2100E450g, - "SUBCORE_VM_FIXED2125_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2125E450g, - "SUBCORE_VM_FIXED2150_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2150E450g, - "SUBCORE_VM_FIXED2175_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2175E450g, - "SUBCORE_VM_FIXED2200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2200E450g, - "SUBCORE_VM_FIXED2250_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2250E450g, - "SUBCORE_VM_FIXED2275_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2275E450g, - "SUBCORE_VM_FIXED2300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2300E450g, - "SUBCORE_VM_FIXED2325_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2325E450g, - "SUBCORE_VM_FIXED2350_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2350E450g, - "SUBCORE_VM_FIXED2375_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2375E450g, - "SUBCORE_VM_FIXED2400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2400E450g, - "SUBCORE_VM_FIXED2450_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2450E450g, - "SUBCORE_VM_FIXED2475_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2475E450g, - "SUBCORE_VM_FIXED2500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2500E450g, - "SUBCORE_VM_FIXED2550_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2550E450g, - "SUBCORE_VM_FIXED2600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2600E450g, - "SUBCORE_VM_FIXED2625_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2625E450g, - "SUBCORE_VM_FIXED2650_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2650E450g, - "SUBCORE_VM_FIXED2700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700E450g, - "SUBCORE_VM_FIXED2750_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2750E450g, - "SUBCORE_VM_FIXED2775_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2775E450g, - "SUBCORE_VM_FIXED2800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2800E450g, - "SUBCORE_VM_FIXED2850_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2850E450g, - "SUBCORE_VM_FIXED2875_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2875E450g, - "SUBCORE_VM_FIXED2900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2900E450g, - "SUBCORE_VM_FIXED2925_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2925E450g, - "SUBCORE_VM_FIXED2950_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2950E450g, - "SUBCORE_VM_FIXED2975_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2975E450g, - "SUBCORE_VM_FIXED3000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3000E450g, - "SUBCORE_VM_FIXED3025_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3025E450g, - "SUBCORE_VM_FIXED3050_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3050E450g, - "SUBCORE_VM_FIXED3075_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3075E450g, - "SUBCORE_VM_FIXED3100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3100E450g, - "SUBCORE_VM_FIXED3125_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3125E450g, - "SUBCORE_VM_FIXED3150_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3150E450g, - "SUBCORE_VM_FIXED3200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3200E450g, - "SUBCORE_VM_FIXED3225_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3225E450g, - "SUBCORE_VM_FIXED3250_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3250E450g, - "SUBCORE_VM_FIXED3300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3300E450g, - "SUBCORE_VM_FIXED3325_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3325E450g, - "SUBCORE_VM_FIXED3375_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3375E450g, - "SUBCORE_VM_FIXED3400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3400E450g, - "SUBCORE_VM_FIXED3450_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3450E450g, - "SUBCORE_VM_FIXED3500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3500E450g, - "SUBCORE_VM_FIXED3525_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3525E450g, - "SUBCORE_VM_FIXED3575_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3575E450g, - "SUBCORE_VM_FIXED3600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600E450g, - "SUBCORE_VM_FIXED3625_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3625E450g, - "SUBCORE_VM_FIXED3675_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3675E450g, - "SUBCORE_VM_FIXED3700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3700E450g, - "SUBCORE_VM_FIXED3750_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3750E450g, - "SUBCORE_VM_FIXED3800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3800E450g, - "SUBCORE_VM_FIXED3825_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3825E450g, - "SUBCORE_VM_FIXED3850_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3850E450g, - "SUBCORE_VM_FIXED3875_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3875E450g, - "SUBCORE_VM_FIXED3900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3900E450g, - "SUBCORE_VM_FIXED3975_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3975E450g, - "SUBCORE_VM_FIXED4000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4000E450g, - "SUBCORE_VM_FIXED4025_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4025E450g, - "SUBCORE_VM_FIXED4050_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4050E450g, - "SUBCORE_VM_FIXED4100_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4100E450g, - "SUBCORE_VM_FIXED4125_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4125E450g, - "SUBCORE_VM_FIXED4200_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4200E450g, - "SUBCORE_VM_FIXED4225_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4225E450g, - "SUBCORE_VM_FIXED4250_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4250E450g, - "SUBCORE_VM_FIXED4275_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4275E450g, - "SUBCORE_VM_FIXED4300_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4300E450g, - "SUBCORE_VM_FIXED4350_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4350E450g, - "SUBCORE_VM_FIXED4375_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4375E450g, - "SUBCORE_VM_FIXED4400_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4400E450g, - "SUBCORE_VM_FIXED4425_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4425E450g, - "SUBCORE_VM_FIXED4500_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500E450g, - "SUBCORE_VM_FIXED4550_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4550E450g, - "SUBCORE_VM_FIXED4575_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4575E450g, - "SUBCORE_VM_FIXED4600_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4600E450g, - "SUBCORE_VM_FIXED4625_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4625E450g, - "SUBCORE_VM_FIXED4650_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4650E450g, - "SUBCORE_VM_FIXED4675_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4675E450g, - "SUBCORE_VM_FIXED4700_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4700E450g, - "SUBCORE_VM_FIXED4725_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4725E450g, - "SUBCORE_VM_FIXED4750_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4750E450g, - "SUBCORE_VM_FIXED4800_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4800E450g, - "SUBCORE_VM_FIXED4875_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4875E450g, - "SUBCORE_VM_FIXED4900_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4900E450g, - "SUBCORE_VM_FIXED4950_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4950E450g, - "SUBCORE_VM_FIXED5000_E4_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed5000E450g, - "SUBCORE_VM_FIXED0020_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0020A150g, - "SUBCORE_VM_FIXED0040_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0040A150g, - "SUBCORE_VM_FIXED0060_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0060A150g, - "SUBCORE_VM_FIXED0080_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0080A150g, - "SUBCORE_VM_FIXED0100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0100A150g, - "SUBCORE_VM_FIXED0120_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0120A150g, - "SUBCORE_VM_FIXED0140_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0140A150g, - "SUBCORE_VM_FIXED0160_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0160A150g, - "SUBCORE_VM_FIXED0180_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0180A150g, - "SUBCORE_VM_FIXED0200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0200A150g, - "SUBCORE_VM_FIXED0220_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0220A150g, - "SUBCORE_VM_FIXED0240_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0240A150g, - "SUBCORE_VM_FIXED0260_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0260A150g, - "SUBCORE_VM_FIXED0280_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0280A150g, - "SUBCORE_VM_FIXED0300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0300A150g, - "SUBCORE_VM_FIXED0320_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0320A150g, - "SUBCORE_VM_FIXED0340_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0340A150g, - "SUBCORE_VM_FIXED0360_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0360A150g, - "SUBCORE_VM_FIXED0380_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0380A150g, - "SUBCORE_VM_FIXED0400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0400A150g, - "SUBCORE_VM_FIXED0420_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0420A150g, - "SUBCORE_VM_FIXED0440_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0440A150g, - "SUBCORE_VM_FIXED0460_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0460A150g, - "SUBCORE_VM_FIXED0480_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0480A150g, - "SUBCORE_VM_FIXED0500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0500A150g, - "SUBCORE_VM_FIXED0520_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0520A150g, - "SUBCORE_VM_FIXED0540_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0540A150g, - "SUBCORE_VM_FIXED0560_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0560A150g, - "SUBCORE_VM_FIXED0580_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0580A150g, - "SUBCORE_VM_FIXED0600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0600A150g, - "SUBCORE_VM_FIXED0620_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0620A150g, - "SUBCORE_VM_FIXED0640_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0640A150g, - "SUBCORE_VM_FIXED0660_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0660A150g, - "SUBCORE_VM_FIXED0680_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0680A150g, - "SUBCORE_VM_FIXED0700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0700A150g, - "SUBCORE_VM_FIXED0720_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0720A150g, - "SUBCORE_VM_FIXED0740_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0740A150g, - "SUBCORE_VM_FIXED0760_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0760A150g, - "SUBCORE_VM_FIXED0780_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0780A150g, - "SUBCORE_VM_FIXED0800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0800A150g, - "SUBCORE_VM_FIXED0820_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0820A150g, - "SUBCORE_VM_FIXED0840_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0840A150g, - "SUBCORE_VM_FIXED0860_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0860A150g, - "SUBCORE_VM_FIXED0880_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0880A150g, - "SUBCORE_VM_FIXED0900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900A150g, - "SUBCORE_VM_FIXED0920_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0920A150g, - "SUBCORE_VM_FIXED0940_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0940A150g, - "SUBCORE_VM_FIXED0960_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0960A150g, - "SUBCORE_VM_FIXED0980_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0980A150g, - "SUBCORE_VM_FIXED1000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1000A150g, - "SUBCORE_VM_FIXED1020_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1020A150g, - "SUBCORE_VM_FIXED1040_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1040A150g, - "SUBCORE_VM_FIXED1060_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1060A150g, - "SUBCORE_VM_FIXED1080_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1080A150g, - "SUBCORE_VM_FIXED1100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1100A150g, - "SUBCORE_VM_FIXED1120_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1120A150g, - "SUBCORE_VM_FIXED1140_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1140A150g, - "SUBCORE_VM_FIXED1160_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1160A150g, - "SUBCORE_VM_FIXED1180_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1180A150g, - "SUBCORE_VM_FIXED1200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1200A150g, - "SUBCORE_VM_FIXED1220_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1220A150g, - "SUBCORE_VM_FIXED1240_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1240A150g, - "SUBCORE_VM_FIXED1260_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1260A150g, - "SUBCORE_VM_FIXED1280_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1280A150g, - "SUBCORE_VM_FIXED1300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1300A150g, - "SUBCORE_VM_FIXED1320_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1320A150g, - "SUBCORE_VM_FIXED1340_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1340A150g, - "SUBCORE_VM_FIXED1360_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1360A150g, - "SUBCORE_VM_FIXED1380_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1380A150g, - "SUBCORE_VM_FIXED1400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1400A150g, - "SUBCORE_VM_FIXED1420_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1420A150g, - "SUBCORE_VM_FIXED1440_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1440A150g, - "SUBCORE_VM_FIXED1460_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1460A150g, - "SUBCORE_VM_FIXED1480_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1480A150g, - "SUBCORE_VM_FIXED1500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1500A150g, - "SUBCORE_VM_FIXED1520_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1520A150g, - "SUBCORE_VM_FIXED1540_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1540A150g, - "SUBCORE_VM_FIXED1560_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1560A150g, - "SUBCORE_VM_FIXED1580_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1580A150g, - "SUBCORE_VM_FIXED1600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1600A150g, - "SUBCORE_VM_FIXED1620_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1620A150g, - "SUBCORE_VM_FIXED1640_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1640A150g, - "SUBCORE_VM_FIXED1660_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1660A150g, - "SUBCORE_VM_FIXED1680_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1680A150g, - "SUBCORE_VM_FIXED1700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1700A150g, - "SUBCORE_VM_FIXED1720_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1720A150g, - "SUBCORE_VM_FIXED1740_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1740A150g, - "SUBCORE_VM_FIXED1760_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1760A150g, - "SUBCORE_VM_FIXED1780_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1780A150g, - "SUBCORE_VM_FIXED1800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800A150g, - "SUBCORE_VM_FIXED1820_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1820A150g, - "SUBCORE_VM_FIXED1840_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1840A150g, - "SUBCORE_VM_FIXED1860_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1860A150g, - "SUBCORE_VM_FIXED1880_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1880A150g, - "SUBCORE_VM_FIXED1900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1900A150g, - "SUBCORE_VM_FIXED1920_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1920A150g, - "SUBCORE_VM_FIXED1940_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1940A150g, - "SUBCORE_VM_FIXED1960_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1960A150g, - "SUBCORE_VM_FIXED1980_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1980A150g, - "SUBCORE_VM_FIXED2000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2000A150g, - "SUBCORE_VM_FIXED2020_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2020A150g, - "SUBCORE_VM_FIXED2040_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2040A150g, - "SUBCORE_VM_FIXED2060_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2060A150g, - "SUBCORE_VM_FIXED2080_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2080A150g, - "SUBCORE_VM_FIXED2100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2100A150g, - "SUBCORE_VM_FIXED2120_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2120A150g, - "SUBCORE_VM_FIXED2140_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2140A150g, - "SUBCORE_VM_FIXED2160_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2160A150g, - "SUBCORE_VM_FIXED2180_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2180A150g, - "SUBCORE_VM_FIXED2200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2200A150g, - "SUBCORE_VM_FIXED2220_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2220A150g, - "SUBCORE_VM_FIXED2240_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2240A150g, - "SUBCORE_VM_FIXED2260_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2260A150g, - "SUBCORE_VM_FIXED2280_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2280A150g, - "SUBCORE_VM_FIXED2300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2300A150g, - "SUBCORE_VM_FIXED2320_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2320A150g, - "SUBCORE_VM_FIXED2340_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2340A150g, - "SUBCORE_VM_FIXED2360_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2360A150g, - "SUBCORE_VM_FIXED2380_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2380A150g, - "SUBCORE_VM_FIXED2400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2400A150g, - "SUBCORE_VM_FIXED2420_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2420A150g, - "SUBCORE_VM_FIXED2440_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2440A150g, - "SUBCORE_VM_FIXED2460_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2460A150g, - "SUBCORE_VM_FIXED2480_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2480A150g, - "SUBCORE_VM_FIXED2500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2500A150g, - "SUBCORE_VM_FIXED2520_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2520A150g, - "SUBCORE_VM_FIXED2540_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2540A150g, - "SUBCORE_VM_FIXED2560_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2560A150g, - "SUBCORE_VM_FIXED2580_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2580A150g, - "SUBCORE_VM_FIXED2600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2600A150g, - "SUBCORE_VM_FIXED2620_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2620A150g, - "SUBCORE_VM_FIXED2640_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2640A150g, - "SUBCORE_VM_FIXED2660_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2660A150g, - "SUBCORE_VM_FIXED2680_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2680A150g, - "SUBCORE_VM_FIXED2700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700A150g, - "SUBCORE_VM_FIXED2720_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2720A150g, - "SUBCORE_VM_FIXED2740_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2740A150g, - "SUBCORE_VM_FIXED2760_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2760A150g, - "SUBCORE_VM_FIXED2780_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2780A150g, - "SUBCORE_VM_FIXED2800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2800A150g, - "SUBCORE_VM_FIXED2820_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2820A150g, - "SUBCORE_VM_FIXED2840_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2840A150g, - "SUBCORE_VM_FIXED2860_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2860A150g, - "SUBCORE_VM_FIXED2880_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2880A150g, - "SUBCORE_VM_FIXED2900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2900A150g, - "SUBCORE_VM_FIXED2920_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2920A150g, - "SUBCORE_VM_FIXED2940_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2940A150g, - "SUBCORE_VM_FIXED2960_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2960A150g, - "SUBCORE_VM_FIXED2980_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2980A150g, - "SUBCORE_VM_FIXED3000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3000A150g, - "SUBCORE_VM_FIXED3020_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3020A150g, - "SUBCORE_VM_FIXED3040_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3040A150g, - "SUBCORE_VM_FIXED3060_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3060A150g, - "SUBCORE_VM_FIXED3080_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3080A150g, - "SUBCORE_VM_FIXED3100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3100A150g, - "SUBCORE_VM_FIXED3120_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3120A150g, - "SUBCORE_VM_FIXED3140_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3140A150g, - "SUBCORE_VM_FIXED3160_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3160A150g, - "SUBCORE_VM_FIXED3180_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3180A150g, - "SUBCORE_VM_FIXED3200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3200A150g, - "SUBCORE_VM_FIXED3220_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3220A150g, - "SUBCORE_VM_FIXED3240_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3240A150g, - "SUBCORE_VM_FIXED3260_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3260A150g, - "SUBCORE_VM_FIXED3280_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3280A150g, - "SUBCORE_VM_FIXED3300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3300A150g, - "SUBCORE_VM_FIXED3320_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3320A150g, - "SUBCORE_VM_FIXED3340_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3340A150g, - "SUBCORE_VM_FIXED3360_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3360A150g, - "SUBCORE_VM_FIXED3380_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3380A150g, - "SUBCORE_VM_FIXED3400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3400A150g, - "SUBCORE_VM_FIXED3420_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3420A150g, - "SUBCORE_VM_FIXED3440_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3440A150g, - "SUBCORE_VM_FIXED3460_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3460A150g, - "SUBCORE_VM_FIXED3480_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3480A150g, - "SUBCORE_VM_FIXED3500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3500A150g, - "SUBCORE_VM_FIXED3520_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3520A150g, - "SUBCORE_VM_FIXED3540_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3540A150g, - "SUBCORE_VM_FIXED3560_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3560A150g, - "SUBCORE_VM_FIXED3580_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3580A150g, - "SUBCORE_VM_FIXED3600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600A150g, - "SUBCORE_VM_FIXED3620_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3620A150g, - "SUBCORE_VM_FIXED3640_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3640A150g, - "SUBCORE_VM_FIXED3660_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3660A150g, - "SUBCORE_VM_FIXED3680_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3680A150g, - "SUBCORE_VM_FIXED3700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3700A150g, - "SUBCORE_VM_FIXED3720_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3720A150g, - "SUBCORE_VM_FIXED3740_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3740A150g, - "SUBCORE_VM_FIXED3760_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3760A150g, - "SUBCORE_VM_FIXED3780_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3780A150g, - "SUBCORE_VM_FIXED3800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3800A150g, - "SUBCORE_VM_FIXED3820_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3820A150g, - "SUBCORE_VM_FIXED3840_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3840A150g, - "SUBCORE_VM_FIXED3860_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3860A150g, - "SUBCORE_VM_FIXED3880_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3880A150g, - "SUBCORE_VM_FIXED3900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3900A150g, - "SUBCORE_VM_FIXED3920_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3920A150g, - "SUBCORE_VM_FIXED3940_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3940A150g, - "SUBCORE_VM_FIXED3960_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3960A150g, - "SUBCORE_VM_FIXED3980_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3980A150g, - "SUBCORE_VM_FIXED4000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4000A150g, - "SUBCORE_VM_FIXED4020_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4020A150g, - "SUBCORE_VM_FIXED4040_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4040A150g, - "SUBCORE_VM_FIXED4060_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4060A150g, - "SUBCORE_VM_FIXED4080_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4080A150g, - "SUBCORE_VM_FIXED4100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4100A150g, - "SUBCORE_VM_FIXED4120_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4120A150g, - "SUBCORE_VM_FIXED4140_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4140A150g, - "SUBCORE_VM_FIXED4160_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4160A150g, - "SUBCORE_VM_FIXED4180_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4180A150g, - "SUBCORE_VM_FIXED4200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4200A150g, - "SUBCORE_VM_FIXED4220_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4220A150g, - "SUBCORE_VM_FIXED4240_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4240A150g, - "SUBCORE_VM_FIXED4260_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4260A150g, - "SUBCORE_VM_FIXED4280_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4280A150g, - "SUBCORE_VM_FIXED4300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4300A150g, - "SUBCORE_VM_FIXED4320_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4320A150g, - "SUBCORE_VM_FIXED4340_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4340A150g, - "SUBCORE_VM_FIXED4360_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4360A150g, - "SUBCORE_VM_FIXED4380_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4380A150g, - "SUBCORE_VM_FIXED4400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4400A150g, - "SUBCORE_VM_FIXED4420_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4420A150g, - "SUBCORE_VM_FIXED4440_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4440A150g, - "SUBCORE_VM_FIXED4460_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4460A150g, - "SUBCORE_VM_FIXED4480_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4480A150g, - "SUBCORE_VM_FIXED4500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500A150g, - "SUBCORE_VM_FIXED4520_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4520A150g, - "SUBCORE_VM_FIXED4540_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4540A150g, - "SUBCORE_VM_FIXED4560_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4560A150g, - "SUBCORE_VM_FIXED4580_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4580A150g, - "SUBCORE_VM_FIXED4600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4600A150g, - "SUBCORE_VM_FIXED4620_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4620A150g, - "SUBCORE_VM_FIXED4640_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4640A150g, - "SUBCORE_VM_FIXED4660_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4660A150g, - "SUBCORE_VM_FIXED4680_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4680A150g, - "SUBCORE_VM_FIXED4700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4700A150g, - "SUBCORE_VM_FIXED4720_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4720A150g, - "SUBCORE_VM_FIXED4740_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4740A150g, - "SUBCORE_VM_FIXED4760_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4760A150g, - "SUBCORE_VM_FIXED4780_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4780A150g, - "SUBCORE_VM_FIXED4800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4800A150g, - "SUBCORE_VM_FIXED4820_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4820A150g, - "SUBCORE_VM_FIXED4840_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4840A150g, - "SUBCORE_VM_FIXED4860_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4860A150g, - "SUBCORE_VM_FIXED4880_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4880A150g, - "SUBCORE_VM_FIXED4900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4900A150g, - "SUBCORE_VM_FIXED4920_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4920A150g, - "SUBCORE_VM_FIXED4940_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4940A150g, - "SUBCORE_VM_FIXED4960_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4960A150g, - "SUBCORE_VM_FIXED4980_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4980A150g, - "SUBCORE_VM_FIXED5000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed5000A150g, - "SUBCORE_VM_FIXED0090_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0090X950g, - "SUBCORE_VM_FIXED0180_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0180X950g, - "SUBCORE_VM_FIXED0270_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0270X950g, - "SUBCORE_VM_FIXED0360_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0360X950g, - "SUBCORE_VM_FIXED0450_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0450X950g, - "SUBCORE_VM_FIXED0540_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0540X950g, - "SUBCORE_VM_FIXED0630_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0630X950g, - "SUBCORE_VM_FIXED0720_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0720X950g, - "SUBCORE_VM_FIXED0810_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0810X950g, - "SUBCORE_VM_FIXED0900_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0900X950g, - "SUBCORE_VM_FIXED0990_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed0990X950g, - "SUBCORE_VM_FIXED1080_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1080X950g, - "SUBCORE_VM_FIXED1170_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1170X950g, - "SUBCORE_VM_FIXED1260_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1260X950g, - "SUBCORE_VM_FIXED1350_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1350X950g, - "SUBCORE_VM_FIXED1440_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1440X950g, - "SUBCORE_VM_FIXED1530_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1530X950g, - "SUBCORE_VM_FIXED1620_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1620X950g, - "SUBCORE_VM_FIXED1710_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1710X950g, - "SUBCORE_VM_FIXED1800_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1800X950g, - "SUBCORE_VM_FIXED1890_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1890X950g, - "SUBCORE_VM_FIXED1980_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed1980X950g, - "SUBCORE_VM_FIXED2070_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2070X950g, - "SUBCORE_VM_FIXED2160_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2160X950g, - "SUBCORE_VM_FIXED2250_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2250X950g, - "SUBCORE_VM_FIXED2340_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2340X950g, - "SUBCORE_VM_FIXED2430_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2430X950g, - "SUBCORE_VM_FIXED2520_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2520X950g, - "SUBCORE_VM_FIXED2610_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2610X950g, - "SUBCORE_VM_FIXED2700_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2700X950g, - "SUBCORE_VM_FIXED2790_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2790X950g, - "SUBCORE_VM_FIXED2880_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2880X950g, - "SUBCORE_VM_FIXED2970_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed2970X950g, - "SUBCORE_VM_FIXED3060_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3060X950g, - "SUBCORE_VM_FIXED3150_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3150X950g, - "SUBCORE_VM_FIXED3240_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3240X950g, - "SUBCORE_VM_FIXED3330_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3330X950g, - "SUBCORE_VM_FIXED3420_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3420X950g, - "SUBCORE_VM_FIXED3510_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3510X950g, - "SUBCORE_VM_FIXED3600_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3600X950g, - "SUBCORE_VM_FIXED3690_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3690X950g, - "SUBCORE_VM_FIXED3780_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3780X950g, - "SUBCORE_VM_FIXED3870_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3870X950g, - "SUBCORE_VM_FIXED3960_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed3960X950g, - "SUBCORE_VM_FIXED4050_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4050X950g, - "SUBCORE_VM_FIXED4140_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4140X950g, - "SUBCORE_VM_FIXED4230_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4230X950g, - "SUBCORE_VM_FIXED4320_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4320X950g, - "SUBCORE_VM_FIXED4410_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4410X950g, - "SUBCORE_VM_FIXED4500_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4500X950g, - "SUBCORE_VM_FIXED4590_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4590X950g, - "SUBCORE_VM_FIXED4680_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4680X950g, - "SUBCORE_VM_FIXED4770_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4770X950g, - "SUBCORE_VM_FIXED4860_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4860X950g, - "SUBCORE_VM_FIXED4950_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeSubcoreVmFixed4950X950g, - "DYNAMIC_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeDynamicA150g, - "FIXED0040_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0040A150g, - "FIXED0100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0100A150g, - "FIXED0200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0200A150g, - "FIXED0300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0300A150g, - "FIXED0400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0400A150g, - "FIXED0500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0500A150g, - "FIXED0600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0600A150g, - "FIXED0700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0700A150g, - "FIXED0800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0800A150g, - "FIXED0900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0900A150g, - "FIXED1000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1000A150g, - "FIXED1100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1100A150g, - "FIXED1200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1200A150g, - "FIXED1300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1300A150g, - "FIXED1400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1400A150g, - "FIXED1500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1500A150g, - "FIXED1600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1600A150g, - "FIXED1700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1700A150g, - "FIXED1800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1800A150g, - "FIXED1900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1900A150g, - "FIXED2000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2000A150g, - "FIXED2100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2100A150g, - "FIXED2200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2200A150g, - "FIXED2300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2300A150g, - "FIXED2400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2400A150g, - "FIXED2500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2500A150g, - "FIXED2600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2600A150g, - "FIXED2700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2700A150g, - "FIXED2800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2800A150g, - "FIXED2900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2900A150g, - "FIXED3000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3000A150g, - "FIXED3100_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3100A150g, - "FIXED3200_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3200A150g, - "FIXED3300_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3300A150g, - "FIXED3400_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3400A150g, - "FIXED3500_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3500A150g, - "FIXED3600_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3600A150g, - "FIXED3700_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3700A150g, - "FIXED3800_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3800A150g, - "FIXED3900_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3900A150g, - "FIXED4000_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed4000A150g, - "ENTIREHOST_A1_50G": CreateInternalVnicAttachmentDetailsVnicShapeEntirehostA150g, - "DYNAMIC_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeDynamicX950g, - "FIXED0040_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0040X950g, - "FIXED0400_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0400X950g, - "FIXED0800_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed0800X950g, - "FIXED1200_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1200X950g, - "FIXED1600_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed1600X950g, - "FIXED2000_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2000X950g, - "FIXED2400_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2400X950g, - "FIXED2800_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed2800X950g, - "FIXED3200_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3200X950g, - "FIXED3600_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed3600X950g, - "FIXED4000_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeFixed4000X950g, - "STANDARD_VM_FIXED0100_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0100X950g, - "STANDARD_VM_FIXED0200_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0200X950g, - "STANDARD_VM_FIXED0300_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0300X950g, - "STANDARD_VM_FIXED0400_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0400X950g, - "STANDARD_VM_FIXED0500_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0500X950g, - "STANDARD_VM_FIXED0600_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0600X950g, - "STANDARD_VM_FIXED0700_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0700X950g, - "STANDARD_VM_FIXED0800_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0800X950g, - "STANDARD_VM_FIXED0900_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed0900X950g, - "STANDARD_VM_FIXED1000_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1000X950g, - "STANDARD_VM_FIXED1100_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1100X950g, - "STANDARD_VM_FIXED1200_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1200X950g, - "STANDARD_VM_FIXED1300_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1300X950g, - "STANDARD_VM_FIXED1400_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1400X950g, - "STANDARD_VM_FIXED1500_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1500X950g, - "STANDARD_VM_FIXED1600_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1600X950g, - "STANDARD_VM_FIXED1700_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1700X950g, - "STANDARD_VM_FIXED1800_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1800X950g, - "STANDARD_VM_FIXED1900_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed1900X950g, - "STANDARD_VM_FIXED2000_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2000X950g, - "STANDARD_VM_FIXED2100_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2100X950g, - "STANDARD_VM_FIXED2200_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2200X950g, - "STANDARD_VM_FIXED2300_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2300X950g, - "STANDARD_VM_FIXED2400_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2400X950g, - "STANDARD_VM_FIXED2500_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2500X950g, - "STANDARD_VM_FIXED2600_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2600X950g, - "STANDARD_VM_FIXED2700_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2700X950g, - "STANDARD_VM_FIXED2800_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2800X950g, - "STANDARD_VM_FIXED2900_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed2900X950g, - "STANDARD_VM_FIXED3000_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3000X950g, - "STANDARD_VM_FIXED3100_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3100X950g, - "STANDARD_VM_FIXED3200_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3200X950g, - "STANDARD_VM_FIXED3300_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3300X950g, - "STANDARD_VM_FIXED3400_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3400X950g, - "STANDARD_VM_FIXED3500_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3500X950g, - "STANDARD_VM_FIXED3600_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3600X950g, - "STANDARD_VM_FIXED3700_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3700X950g, - "STANDARD_VM_FIXED3800_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3800X950g, - "STANDARD_VM_FIXED3900_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed3900X950g, - "STANDARD_VM_FIXED4000_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeStandardVmFixed4000X950g, - "ENTIREHOST_X9_50G": CreateInternalVnicAttachmentDetailsVnicShapeEntirehostX950g, -} - -// GetCreateInternalVnicAttachmentDetailsVnicShapeEnumValues Enumerates the set of values for CreateInternalVnicAttachmentDetailsVnicShapeEnum -func GetCreateInternalVnicAttachmentDetailsVnicShapeEnumValues() []CreateInternalVnicAttachmentDetailsVnicShapeEnum { - values := make([]CreateInternalVnicAttachmentDetailsVnicShapeEnum, 0) - for _, v := range mappingCreateInternalVnicAttachmentDetailsVnicShapeEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalVnicAttachmentDetailsVnicShapeEnumStringValues Enumerates the set of values in String for CreateInternalVnicAttachmentDetailsVnicShapeEnum -func GetCreateInternalVnicAttachmentDetailsVnicShapeEnumStringValues() []string { - return []string{ - "DYNAMIC", - "FIXED0040", - "FIXED0060", - "FIXED0060_PSM", - "FIXED0100", - "FIXED0120", - "FIXED0120_2X", - "FIXED0200", - "FIXED0240", - "FIXED0480", - "ENTIREHOST", - "DYNAMIC_25G", - "FIXED0040_25G", - "FIXED0100_25G", - "FIXED0200_25G", - "FIXED0400_25G", - "FIXED0800_25G", - "FIXED1600_25G", - "FIXED2400_25G", - "ENTIREHOST_25G", - "DYNAMIC_E1_25G", - "FIXED0040_E1_25G", - "FIXED0070_E1_25G", - "FIXED0140_E1_25G", - "FIXED0280_E1_25G", - "FIXED0560_E1_25G", - "FIXED1120_E1_25G", - "FIXED1680_E1_25G", - "ENTIREHOST_E1_25G", - "DYNAMIC_B1_25G", - "FIXED0040_B1_25G", - "FIXED0060_B1_25G", - "FIXED0120_B1_25G", - "FIXED0240_B1_25G", - "FIXED0480_B1_25G", - "FIXED0960_B1_25G", - "ENTIREHOST_B1_25G", - "MICRO_VM_FIXED0048_E1_25G", - "MICRO_LB_FIXED0001_E1_25G", - "VNICAAS_FIXED0200", - "VNICAAS_FIXED0400", - "VNICAAS_FIXED0700", - "VNICAAS_NLB_APPROVED_10G", - "VNICAAS_NLB_APPROVED_25G", - "VNICAAS_TELESIS_25G", - "VNICAAS_TELESIS_10G", - "VNICAAS_AMBASSADOR_FIXED0100", - "VNICAAS_PRIVATEDNS", - "VNICAAS_FWAAS", - "DYNAMIC_E3_50G", - "FIXED0040_E3_50G", - "FIXED0100_E3_50G", - "FIXED0200_E3_50G", - "FIXED0300_E3_50G", - "FIXED0400_E3_50G", - "FIXED0500_E3_50G", - "FIXED0600_E3_50G", - "FIXED0700_E3_50G", - "FIXED0800_E3_50G", - "FIXED0900_E3_50G", - "FIXED1000_E3_50G", - "FIXED1100_E3_50G", - "FIXED1200_E3_50G", - "FIXED1300_E3_50G", - "FIXED1400_E3_50G", - "FIXED1500_E3_50G", - "FIXED1600_E3_50G", - "FIXED1700_E3_50G", - "FIXED1800_E3_50G", - "FIXED1900_E3_50G", - "FIXED2000_E3_50G", - "FIXED2100_E3_50G", - "FIXED2200_E3_50G", - "FIXED2300_E3_50G", - "FIXED2400_E3_50G", - "FIXED2500_E3_50G", - "FIXED2600_E3_50G", - "FIXED2700_E3_50G", - "FIXED2800_E3_50G", - "FIXED2900_E3_50G", - "FIXED3000_E3_50G", - "FIXED3100_E3_50G", - "FIXED3200_E3_50G", - "FIXED3300_E3_50G", - "FIXED3400_E3_50G", - "FIXED3500_E3_50G", - "FIXED3600_E3_50G", - "FIXED3700_E3_50G", - "FIXED3800_E3_50G", - "FIXED3900_E3_50G", - "FIXED4000_E3_50G", - "ENTIREHOST_E3_50G", - "DYNAMIC_E4_50G", - "FIXED0040_E4_50G", - "FIXED0100_E4_50G", - "FIXED0200_E4_50G", - "FIXED0300_E4_50G", - "FIXED0400_E4_50G", - "FIXED0500_E4_50G", - "FIXED0600_E4_50G", - "FIXED0700_E4_50G", - "FIXED0800_E4_50G", - "FIXED0900_E4_50G", - "FIXED1000_E4_50G", - "FIXED1100_E4_50G", - "FIXED1200_E4_50G", - "FIXED1300_E4_50G", - "FIXED1400_E4_50G", - "FIXED1500_E4_50G", - "FIXED1600_E4_50G", - "FIXED1700_E4_50G", - "FIXED1800_E4_50G", - "FIXED1900_E4_50G", - "FIXED2000_E4_50G", - "FIXED2100_E4_50G", - "FIXED2200_E4_50G", - "FIXED2300_E4_50G", - "FIXED2400_E4_50G", - "FIXED2500_E4_50G", - "FIXED2600_E4_50G", - "FIXED2700_E4_50G", - "FIXED2800_E4_50G", - "FIXED2900_E4_50G", - "FIXED3000_E4_50G", - "FIXED3100_E4_50G", - "FIXED3200_E4_50G", - "FIXED3300_E4_50G", - "FIXED3400_E4_50G", - "FIXED3500_E4_50G", - "FIXED3600_E4_50G", - "FIXED3700_E4_50G", - "FIXED3800_E4_50G", - "FIXED3900_E4_50G", - "FIXED4000_E4_50G", - "ENTIREHOST_E4_50G", - "MICRO_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0025_E3_50G", - "SUBCORE_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0075_E3_50G", - "SUBCORE_VM_FIXED0100_E3_50G", - "SUBCORE_VM_FIXED0125_E3_50G", - "SUBCORE_VM_FIXED0150_E3_50G", - "SUBCORE_VM_FIXED0175_E3_50G", - "SUBCORE_VM_FIXED0200_E3_50G", - "SUBCORE_VM_FIXED0225_E3_50G", - "SUBCORE_VM_FIXED0250_E3_50G", - "SUBCORE_VM_FIXED0275_E3_50G", - "SUBCORE_VM_FIXED0300_E3_50G", - "SUBCORE_VM_FIXED0325_E3_50G", - "SUBCORE_VM_FIXED0350_E3_50G", - "SUBCORE_VM_FIXED0375_E3_50G", - "SUBCORE_VM_FIXED0400_E3_50G", - "SUBCORE_VM_FIXED0425_E3_50G", - "SUBCORE_VM_FIXED0450_E3_50G", - "SUBCORE_VM_FIXED0475_E3_50G", - "SUBCORE_VM_FIXED0500_E3_50G", - "SUBCORE_VM_FIXED0525_E3_50G", - "SUBCORE_VM_FIXED0550_E3_50G", - "SUBCORE_VM_FIXED0575_E3_50G", - "SUBCORE_VM_FIXED0600_E3_50G", - "SUBCORE_VM_FIXED0625_E3_50G", - "SUBCORE_VM_FIXED0650_E3_50G", - "SUBCORE_VM_FIXED0675_E3_50G", - "SUBCORE_VM_FIXED0700_E3_50G", - "SUBCORE_VM_FIXED0725_E3_50G", - "SUBCORE_VM_FIXED0750_E3_50G", - "SUBCORE_VM_FIXED0775_E3_50G", - "SUBCORE_VM_FIXED0800_E3_50G", - "SUBCORE_VM_FIXED0825_E3_50G", - "SUBCORE_VM_FIXED0850_E3_50G", - "SUBCORE_VM_FIXED0875_E3_50G", - "SUBCORE_VM_FIXED0900_E3_50G", - "SUBCORE_VM_FIXED0925_E3_50G", - "SUBCORE_VM_FIXED0950_E3_50G", - "SUBCORE_VM_FIXED0975_E3_50G", - "SUBCORE_VM_FIXED1000_E3_50G", - "SUBCORE_VM_FIXED1025_E3_50G", - "SUBCORE_VM_FIXED1050_E3_50G", - "SUBCORE_VM_FIXED1075_E3_50G", - "SUBCORE_VM_FIXED1100_E3_50G", - "SUBCORE_VM_FIXED1125_E3_50G", - "SUBCORE_VM_FIXED1150_E3_50G", - "SUBCORE_VM_FIXED1175_E3_50G", - "SUBCORE_VM_FIXED1200_E3_50G", - "SUBCORE_VM_FIXED1225_E3_50G", - "SUBCORE_VM_FIXED1250_E3_50G", - "SUBCORE_VM_FIXED1275_E3_50G", - "SUBCORE_VM_FIXED1300_E3_50G", - "SUBCORE_VM_FIXED1325_E3_50G", - "SUBCORE_VM_FIXED1350_E3_50G", - "SUBCORE_VM_FIXED1375_E3_50G", - "SUBCORE_VM_FIXED1400_E3_50G", - "SUBCORE_VM_FIXED1425_E3_50G", - "SUBCORE_VM_FIXED1450_E3_50G", - "SUBCORE_VM_FIXED1475_E3_50G", - "SUBCORE_VM_FIXED1500_E3_50G", - "SUBCORE_VM_FIXED1525_E3_50G", - "SUBCORE_VM_FIXED1550_E3_50G", - "SUBCORE_VM_FIXED1575_E3_50G", - "SUBCORE_VM_FIXED1600_E3_50G", - "SUBCORE_VM_FIXED1625_E3_50G", - "SUBCORE_VM_FIXED1650_E3_50G", - "SUBCORE_VM_FIXED1700_E3_50G", - "SUBCORE_VM_FIXED1725_E3_50G", - "SUBCORE_VM_FIXED1750_E3_50G", - "SUBCORE_VM_FIXED1800_E3_50G", - "SUBCORE_VM_FIXED1850_E3_50G", - "SUBCORE_VM_FIXED1875_E3_50G", - "SUBCORE_VM_FIXED1900_E3_50G", - "SUBCORE_VM_FIXED1925_E3_50G", - "SUBCORE_VM_FIXED1950_E3_50G", - "SUBCORE_VM_FIXED2000_E3_50G", - "SUBCORE_VM_FIXED2025_E3_50G", - "SUBCORE_VM_FIXED2050_E3_50G", - "SUBCORE_VM_FIXED2100_E3_50G", - "SUBCORE_VM_FIXED2125_E3_50G", - "SUBCORE_VM_FIXED2150_E3_50G", - "SUBCORE_VM_FIXED2175_E3_50G", - "SUBCORE_VM_FIXED2200_E3_50G", - "SUBCORE_VM_FIXED2250_E3_50G", - "SUBCORE_VM_FIXED2275_E3_50G", - "SUBCORE_VM_FIXED2300_E3_50G", - "SUBCORE_VM_FIXED2325_E3_50G", - "SUBCORE_VM_FIXED2350_E3_50G", - "SUBCORE_VM_FIXED2375_E3_50G", - "SUBCORE_VM_FIXED2400_E3_50G", - "SUBCORE_VM_FIXED2450_E3_50G", - "SUBCORE_VM_FIXED2475_E3_50G", - "SUBCORE_VM_FIXED2500_E3_50G", - "SUBCORE_VM_FIXED2550_E3_50G", - "SUBCORE_VM_FIXED2600_E3_50G", - "SUBCORE_VM_FIXED2625_E3_50G", - "SUBCORE_VM_FIXED2650_E3_50G", - "SUBCORE_VM_FIXED2700_E3_50G", - "SUBCORE_VM_FIXED2750_E3_50G", - "SUBCORE_VM_FIXED2775_E3_50G", - "SUBCORE_VM_FIXED2800_E3_50G", - "SUBCORE_VM_FIXED2850_E3_50G", - "SUBCORE_VM_FIXED2875_E3_50G", - "SUBCORE_VM_FIXED2900_E3_50G", - "SUBCORE_VM_FIXED2925_E3_50G", - "SUBCORE_VM_FIXED2950_E3_50G", - "SUBCORE_VM_FIXED2975_E3_50G", - "SUBCORE_VM_FIXED3000_E3_50G", - "SUBCORE_VM_FIXED3025_E3_50G", - "SUBCORE_VM_FIXED3050_E3_50G", - "SUBCORE_VM_FIXED3075_E3_50G", - "SUBCORE_VM_FIXED3100_E3_50G", - "SUBCORE_VM_FIXED3125_E3_50G", - "SUBCORE_VM_FIXED3150_E3_50G", - "SUBCORE_VM_FIXED3200_E3_50G", - "SUBCORE_VM_FIXED3225_E3_50G", - "SUBCORE_VM_FIXED3250_E3_50G", - "SUBCORE_VM_FIXED3300_E3_50G", - "SUBCORE_VM_FIXED3325_E3_50G", - "SUBCORE_VM_FIXED3375_E3_50G", - "SUBCORE_VM_FIXED3400_E3_50G", - "SUBCORE_VM_FIXED3450_E3_50G", - "SUBCORE_VM_FIXED3500_E3_50G", - "SUBCORE_VM_FIXED3525_E3_50G", - "SUBCORE_VM_FIXED3575_E3_50G", - "SUBCORE_VM_FIXED3600_E3_50G", - "SUBCORE_VM_FIXED3625_E3_50G", - "SUBCORE_VM_FIXED3675_E3_50G", - "SUBCORE_VM_FIXED3700_E3_50G", - "SUBCORE_VM_FIXED3750_E3_50G", - "SUBCORE_VM_FIXED3800_E3_50G", - "SUBCORE_VM_FIXED3825_E3_50G", - "SUBCORE_VM_FIXED3850_E3_50G", - "SUBCORE_VM_FIXED3875_E3_50G", - "SUBCORE_VM_FIXED3900_E3_50G", - "SUBCORE_VM_FIXED3975_E3_50G", - "SUBCORE_VM_FIXED4000_E3_50G", - "SUBCORE_VM_FIXED4025_E3_50G", - "SUBCORE_VM_FIXED4050_E3_50G", - "SUBCORE_VM_FIXED4100_E3_50G", - "SUBCORE_VM_FIXED4125_E3_50G", - "SUBCORE_VM_FIXED4200_E3_50G", - "SUBCORE_VM_FIXED4225_E3_50G", - "SUBCORE_VM_FIXED4250_E3_50G", - "SUBCORE_VM_FIXED4275_E3_50G", - "SUBCORE_VM_FIXED4300_E3_50G", - "SUBCORE_VM_FIXED4350_E3_50G", - "SUBCORE_VM_FIXED4375_E3_50G", - "SUBCORE_VM_FIXED4400_E3_50G", - "SUBCORE_VM_FIXED4425_E3_50G", - "SUBCORE_VM_FIXED4500_E3_50G", - "SUBCORE_VM_FIXED4550_E3_50G", - "SUBCORE_VM_FIXED4575_E3_50G", - "SUBCORE_VM_FIXED4600_E3_50G", - "SUBCORE_VM_FIXED4625_E3_50G", - "SUBCORE_VM_FIXED4650_E3_50G", - "SUBCORE_VM_FIXED4675_E3_50G", - "SUBCORE_VM_FIXED4700_E3_50G", - "SUBCORE_VM_FIXED4725_E3_50G", - "SUBCORE_VM_FIXED4750_E3_50G", - "SUBCORE_VM_FIXED4800_E3_50G", - "SUBCORE_VM_FIXED4875_E3_50G", - "SUBCORE_VM_FIXED4900_E3_50G", - "SUBCORE_VM_FIXED4950_E3_50G", - "SUBCORE_VM_FIXED5000_E3_50G", - "SUBCORE_VM_FIXED0025_E4_50G", - "SUBCORE_VM_FIXED0050_E4_50G", - "SUBCORE_VM_FIXED0075_E4_50G", - "SUBCORE_VM_FIXED0100_E4_50G", - "SUBCORE_VM_FIXED0125_E4_50G", - "SUBCORE_VM_FIXED0150_E4_50G", - "SUBCORE_VM_FIXED0175_E4_50G", - "SUBCORE_VM_FIXED0200_E4_50G", - "SUBCORE_VM_FIXED0225_E4_50G", - "SUBCORE_VM_FIXED0250_E4_50G", - "SUBCORE_VM_FIXED0275_E4_50G", - "SUBCORE_VM_FIXED0300_E4_50G", - "SUBCORE_VM_FIXED0325_E4_50G", - "SUBCORE_VM_FIXED0350_E4_50G", - "SUBCORE_VM_FIXED0375_E4_50G", - "SUBCORE_VM_FIXED0400_E4_50G", - "SUBCORE_VM_FIXED0425_E4_50G", - "SUBCORE_VM_FIXED0450_E4_50G", - "SUBCORE_VM_FIXED0475_E4_50G", - "SUBCORE_VM_FIXED0500_E4_50G", - "SUBCORE_VM_FIXED0525_E4_50G", - "SUBCORE_VM_FIXED0550_E4_50G", - "SUBCORE_VM_FIXED0575_E4_50G", - "SUBCORE_VM_FIXED0600_E4_50G", - "SUBCORE_VM_FIXED0625_E4_50G", - "SUBCORE_VM_FIXED0650_E4_50G", - "SUBCORE_VM_FIXED0675_E4_50G", - "SUBCORE_VM_FIXED0700_E4_50G", - "SUBCORE_VM_FIXED0725_E4_50G", - "SUBCORE_VM_FIXED0750_E4_50G", - "SUBCORE_VM_FIXED0775_E4_50G", - "SUBCORE_VM_FIXED0800_E4_50G", - "SUBCORE_VM_FIXED0825_E4_50G", - "SUBCORE_VM_FIXED0850_E4_50G", - "SUBCORE_VM_FIXED0875_E4_50G", - "SUBCORE_VM_FIXED0900_E4_50G", - "SUBCORE_VM_FIXED0925_E4_50G", - "SUBCORE_VM_FIXED0950_E4_50G", - "SUBCORE_VM_FIXED0975_E4_50G", - "SUBCORE_VM_FIXED1000_E4_50G", - "SUBCORE_VM_FIXED1025_E4_50G", - "SUBCORE_VM_FIXED1050_E4_50G", - "SUBCORE_VM_FIXED1075_E4_50G", - "SUBCORE_VM_FIXED1100_E4_50G", - "SUBCORE_VM_FIXED1125_E4_50G", - "SUBCORE_VM_FIXED1150_E4_50G", - "SUBCORE_VM_FIXED1175_E4_50G", - "SUBCORE_VM_FIXED1200_E4_50G", - "SUBCORE_VM_FIXED1225_E4_50G", - "SUBCORE_VM_FIXED1250_E4_50G", - "SUBCORE_VM_FIXED1275_E4_50G", - "SUBCORE_VM_FIXED1300_E4_50G", - "SUBCORE_VM_FIXED1325_E4_50G", - "SUBCORE_VM_FIXED1350_E4_50G", - "SUBCORE_VM_FIXED1375_E4_50G", - "SUBCORE_VM_FIXED1400_E4_50G", - "SUBCORE_VM_FIXED1425_E4_50G", - "SUBCORE_VM_FIXED1450_E4_50G", - "SUBCORE_VM_FIXED1475_E4_50G", - "SUBCORE_VM_FIXED1500_E4_50G", - "SUBCORE_VM_FIXED1525_E4_50G", - "SUBCORE_VM_FIXED1550_E4_50G", - "SUBCORE_VM_FIXED1575_E4_50G", - "SUBCORE_VM_FIXED1600_E4_50G", - "SUBCORE_VM_FIXED1625_E4_50G", - "SUBCORE_VM_FIXED1650_E4_50G", - "SUBCORE_VM_FIXED1700_E4_50G", - "SUBCORE_VM_FIXED1725_E4_50G", - "SUBCORE_VM_FIXED1750_E4_50G", - "SUBCORE_VM_FIXED1800_E4_50G", - "SUBCORE_VM_FIXED1850_E4_50G", - "SUBCORE_VM_FIXED1875_E4_50G", - "SUBCORE_VM_FIXED1900_E4_50G", - "SUBCORE_VM_FIXED1925_E4_50G", - "SUBCORE_VM_FIXED1950_E4_50G", - "SUBCORE_VM_FIXED2000_E4_50G", - "SUBCORE_VM_FIXED2025_E4_50G", - "SUBCORE_VM_FIXED2050_E4_50G", - "SUBCORE_VM_FIXED2100_E4_50G", - "SUBCORE_VM_FIXED2125_E4_50G", - "SUBCORE_VM_FIXED2150_E4_50G", - "SUBCORE_VM_FIXED2175_E4_50G", - "SUBCORE_VM_FIXED2200_E4_50G", - "SUBCORE_VM_FIXED2250_E4_50G", - "SUBCORE_VM_FIXED2275_E4_50G", - "SUBCORE_VM_FIXED2300_E4_50G", - "SUBCORE_VM_FIXED2325_E4_50G", - "SUBCORE_VM_FIXED2350_E4_50G", - "SUBCORE_VM_FIXED2375_E4_50G", - "SUBCORE_VM_FIXED2400_E4_50G", - "SUBCORE_VM_FIXED2450_E4_50G", - "SUBCORE_VM_FIXED2475_E4_50G", - "SUBCORE_VM_FIXED2500_E4_50G", - "SUBCORE_VM_FIXED2550_E4_50G", - "SUBCORE_VM_FIXED2600_E4_50G", - "SUBCORE_VM_FIXED2625_E4_50G", - "SUBCORE_VM_FIXED2650_E4_50G", - "SUBCORE_VM_FIXED2700_E4_50G", - "SUBCORE_VM_FIXED2750_E4_50G", - "SUBCORE_VM_FIXED2775_E4_50G", - "SUBCORE_VM_FIXED2800_E4_50G", - "SUBCORE_VM_FIXED2850_E4_50G", - "SUBCORE_VM_FIXED2875_E4_50G", - "SUBCORE_VM_FIXED2900_E4_50G", - "SUBCORE_VM_FIXED2925_E4_50G", - "SUBCORE_VM_FIXED2950_E4_50G", - "SUBCORE_VM_FIXED2975_E4_50G", - "SUBCORE_VM_FIXED3000_E4_50G", - "SUBCORE_VM_FIXED3025_E4_50G", - "SUBCORE_VM_FIXED3050_E4_50G", - "SUBCORE_VM_FIXED3075_E4_50G", - "SUBCORE_VM_FIXED3100_E4_50G", - "SUBCORE_VM_FIXED3125_E4_50G", - "SUBCORE_VM_FIXED3150_E4_50G", - "SUBCORE_VM_FIXED3200_E4_50G", - "SUBCORE_VM_FIXED3225_E4_50G", - "SUBCORE_VM_FIXED3250_E4_50G", - "SUBCORE_VM_FIXED3300_E4_50G", - "SUBCORE_VM_FIXED3325_E4_50G", - "SUBCORE_VM_FIXED3375_E4_50G", - "SUBCORE_VM_FIXED3400_E4_50G", - "SUBCORE_VM_FIXED3450_E4_50G", - "SUBCORE_VM_FIXED3500_E4_50G", - "SUBCORE_VM_FIXED3525_E4_50G", - "SUBCORE_VM_FIXED3575_E4_50G", - "SUBCORE_VM_FIXED3600_E4_50G", - "SUBCORE_VM_FIXED3625_E4_50G", - "SUBCORE_VM_FIXED3675_E4_50G", - "SUBCORE_VM_FIXED3700_E4_50G", - "SUBCORE_VM_FIXED3750_E4_50G", - "SUBCORE_VM_FIXED3800_E4_50G", - "SUBCORE_VM_FIXED3825_E4_50G", - "SUBCORE_VM_FIXED3850_E4_50G", - "SUBCORE_VM_FIXED3875_E4_50G", - "SUBCORE_VM_FIXED3900_E4_50G", - "SUBCORE_VM_FIXED3975_E4_50G", - "SUBCORE_VM_FIXED4000_E4_50G", - "SUBCORE_VM_FIXED4025_E4_50G", - "SUBCORE_VM_FIXED4050_E4_50G", - "SUBCORE_VM_FIXED4100_E4_50G", - "SUBCORE_VM_FIXED4125_E4_50G", - "SUBCORE_VM_FIXED4200_E4_50G", - "SUBCORE_VM_FIXED4225_E4_50G", - "SUBCORE_VM_FIXED4250_E4_50G", - "SUBCORE_VM_FIXED4275_E4_50G", - "SUBCORE_VM_FIXED4300_E4_50G", - "SUBCORE_VM_FIXED4350_E4_50G", - "SUBCORE_VM_FIXED4375_E4_50G", - "SUBCORE_VM_FIXED4400_E4_50G", - "SUBCORE_VM_FIXED4425_E4_50G", - "SUBCORE_VM_FIXED4500_E4_50G", - "SUBCORE_VM_FIXED4550_E4_50G", - "SUBCORE_VM_FIXED4575_E4_50G", - "SUBCORE_VM_FIXED4600_E4_50G", - "SUBCORE_VM_FIXED4625_E4_50G", - "SUBCORE_VM_FIXED4650_E4_50G", - "SUBCORE_VM_FIXED4675_E4_50G", - "SUBCORE_VM_FIXED4700_E4_50G", - "SUBCORE_VM_FIXED4725_E4_50G", - "SUBCORE_VM_FIXED4750_E4_50G", - "SUBCORE_VM_FIXED4800_E4_50G", - "SUBCORE_VM_FIXED4875_E4_50G", - "SUBCORE_VM_FIXED4900_E4_50G", - "SUBCORE_VM_FIXED4950_E4_50G", - "SUBCORE_VM_FIXED5000_E4_50G", - "SUBCORE_VM_FIXED0020_A1_50G", - "SUBCORE_VM_FIXED0040_A1_50G", - "SUBCORE_VM_FIXED0060_A1_50G", - "SUBCORE_VM_FIXED0080_A1_50G", - "SUBCORE_VM_FIXED0100_A1_50G", - "SUBCORE_VM_FIXED0120_A1_50G", - "SUBCORE_VM_FIXED0140_A1_50G", - "SUBCORE_VM_FIXED0160_A1_50G", - "SUBCORE_VM_FIXED0180_A1_50G", - "SUBCORE_VM_FIXED0200_A1_50G", - "SUBCORE_VM_FIXED0220_A1_50G", - "SUBCORE_VM_FIXED0240_A1_50G", - "SUBCORE_VM_FIXED0260_A1_50G", - "SUBCORE_VM_FIXED0280_A1_50G", - "SUBCORE_VM_FIXED0300_A1_50G", - "SUBCORE_VM_FIXED0320_A1_50G", - "SUBCORE_VM_FIXED0340_A1_50G", - "SUBCORE_VM_FIXED0360_A1_50G", - "SUBCORE_VM_FIXED0380_A1_50G", - "SUBCORE_VM_FIXED0400_A1_50G", - "SUBCORE_VM_FIXED0420_A1_50G", - "SUBCORE_VM_FIXED0440_A1_50G", - "SUBCORE_VM_FIXED0460_A1_50G", - "SUBCORE_VM_FIXED0480_A1_50G", - "SUBCORE_VM_FIXED0500_A1_50G", - "SUBCORE_VM_FIXED0520_A1_50G", - "SUBCORE_VM_FIXED0540_A1_50G", - "SUBCORE_VM_FIXED0560_A1_50G", - "SUBCORE_VM_FIXED0580_A1_50G", - "SUBCORE_VM_FIXED0600_A1_50G", - "SUBCORE_VM_FIXED0620_A1_50G", - "SUBCORE_VM_FIXED0640_A1_50G", - "SUBCORE_VM_FIXED0660_A1_50G", - "SUBCORE_VM_FIXED0680_A1_50G", - "SUBCORE_VM_FIXED0700_A1_50G", - "SUBCORE_VM_FIXED0720_A1_50G", - "SUBCORE_VM_FIXED0740_A1_50G", - "SUBCORE_VM_FIXED0760_A1_50G", - "SUBCORE_VM_FIXED0780_A1_50G", - "SUBCORE_VM_FIXED0800_A1_50G", - "SUBCORE_VM_FIXED0820_A1_50G", - "SUBCORE_VM_FIXED0840_A1_50G", - "SUBCORE_VM_FIXED0860_A1_50G", - "SUBCORE_VM_FIXED0880_A1_50G", - "SUBCORE_VM_FIXED0900_A1_50G", - "SUBCORE_VM_FIXED0920_A1_50G", - "SUBCORE_VM_FIXED0940_A1_50G", - "SUBCORE_VM_FIXED0960_A1_50G", - "SUBCORE_VM_FIXED0980_A1_50G", - "SUBCORE_VM_FIXED1000_A1_50G", - "SUBCORE_VM_FIXED1020_A1_50G", - "SUBCORE_VM_FIXED1040_A1_50G", - "SUBCORE_VM_FIXED1060_A1_50G", - "SUBCORE_VM_FIXED1080_A1_50G", - "SUBCORE_VM_FIXED1100_A1_50G", - "SUBCORE_VM_FIXED1120_A1_50G", - "SUBCORE_VM_FIXED1140_A1_50G", - "SUBCORE_VM_FIXED1160_A1_50G", - "SUBCORE_VM_FIXED1180_A1_50G", - "SUBCORE_VM_FIXED1200_A1_50G", - "SUBCORE_VM_FIXED1220_A1_50G", - "SUBCORE_VM_FIXED1240_A1_50G", - "SUBCORE_VM_FIXED1260_A1_50G", - "SUBCORE_VM_FIXED1280_A1_50G", - "SUBCORE_VM_FIXED1300_A1_50G", - "SUBCORE_VM_FIXED1320_A1_50G", - "SUBCORE_VM_FIXED1340_A1_50G", - "SUBCORE_VM_FIXED1360_A1_50G", - "SUBCORE_VM_FIXED1380_A1_50G", - "SUBCORE_VM_FIXED1400_A1_50G", - "SUBCORE_VM_FIXED1420_A1_50G", - "SUBCORE_VM_FIXED1440_A1_50G", - "SUBCORE_VM_FIXED1460_A1_50G", - "SUBCORE_VM_FIXED1480_A1_50G", - "SUBCORE_VM_FIXED1500_A1_50G", - "SUBCORE_VM_FIXED1520_A1_50G", - "SUBCORE_VM_FIXED1540_A1_50G", - "SUBCORE_VM_FIXED1560_A1_50G", - "SUBCORE_VM_FIXED1580_A1_50G", - "SUBCORE_VM_FIXED1600_A1_50G", - "SUBCORE_VM_FIXED1620_A1_50G", - "SUBCORE_VM_FIXED1640_A1_50G", - "SUBCORE_VM_FIXED1660_A1_50G", - "SUBCORE_VM_FIXED1680_A1_50G", - "SUBCORE_VM_FIXED1700_A1_50G", - "SUBCORE_VM_FIXED1720_A1_50G", - "SUBCORE_VM_FIXED1740_A1_50G", - "SUBCORE_VM_FIXED1760_A1_50G", - "SUBCORE_VM_FIXED1780_A1_50G", - "SUBCORE_VM_FIXED1800_A1_50G", - "SUBCORE_VM_FIXED1820_A1_50G", - "SUBCORE_VM_FIXED1840_A1_50G", - "SUBCORE_VM_FIXED1860_A1_50G", - "SUBCORE_VM_FIXED1880_A1_50G", - "SUBCORE_VM_FIXED1900_A1_50G", - "SUBCORE_VM_FIXED1920_A1_50G", - "SUBCORE_VM_FIXED1940_A1_50G", - "SUBCORE_VM_FIXED1960_A1_50G", - "SUBCORE_VM_FIXED1980_A1_50G", - "SUBCORE_VM_FIXED2000_A1_50G", - "SUBCORE_VM_FIXED2020_A1_50G", - "SUBCORE_VM_FIXED2040_A1_50G", - "SUBCORE_VM_FIXED2060_A1_50G", - "SUBCORE_VM_FIXED2080_A1_50G", - "SUBCORE_VM_FIXED2100_A1_50G", - "SUBCORE_VM_FIXED2120_A1_50G", - "SUBCORE_VM_FIXED2140_A1_50G", - "SUBCORE_VM_FIXED2160_A1_50G", - "SUBCORE_VM_FIXED2180_A1_50G", - "SUBCORE_VM_FIXED2200_A1_50G", - "SUBCORE_VM_FIXED2220_A1_50G", - "SUBCORE_VM_FIXED2240_A1_50G", - "SUBCORE_VM_FIXED2260_A1_50G", - "SUBCORE_VM_FIXED2280_A1_50G", - "SUBCORE_VM_FIXED2300_A1_50G", - "SUBCORE_VM_FIXED2320_A1_50G", - "SUBCORE_VM_FIXED2340_A1_50G", - "SUBCORE_VM_FIXED2360_A1_50G", - "SUBCORE_VM_FIXED2380_A1_50G", - "SUBCORE_VM_FIXED2400_A1_50G", - "SUBCORE_VM_FIXED2420_A1_50G", - "SUBCORE_VM_FIXED2440_A1_50G", - "SUBCORE_VM_FIXED2460_A1_50G", - "SUBCORE_VM_FIXED2480_A1_50G", - "SUBCORE_VM_FIXED2500_A1_50G", - "SUBCORE_VM_FIXED2520_A1_50G", - "SUBCORE_VM_FIXED2540_A1_50G", - "SUBCORE_VM_FIXED2560_A1_50G", - "SUBCORE_VM_FIXED2580_A1_50G", - "SUBCORE_VM_FIXED2600_A1_50G", - "SUBCORE_VM_FIXED2620_A1_50G", - "SUBCORE_VM_FIXED2640_A1_50G", - "SUBCORE_VM_FIXED2660_A1_50G", - "SUBCORE_VM_FIXED2680_A1_50G", - "SUBCORE_VM_FIXED2700_A1_50G", - "SUBCORE_VM_FIXED2720_A1_50G", - "SUBCORE_VM_FIXED2740_A1_50G", - "SUBCORE_VM_FIXED2760_A1_50G", - "SUBCORE_VM_FIXED2780_A1_50G", - "SUBCORE_VM_FIXED2800_A1_50G", - "SUBCORE_VM_FIXED2820_A1_50G", - "SUBCORE_VM_FIXED2840_A1_50G", - "SUBCORE_VM_FIXED2860_A1_50G", - "SUBCORE_VM_FIXED2880_A1_50G", - "SUBCORE_VM_FIXED2900_A1_50G", - "SUBCORE_VM_FIXED2920_A1_50G", - "SUBCORE_VM_FIXED2940_A1_50G", - "SUBCORE_VM_FIXED2960_A1_50G", - "SUBCORE_VM_FIXED2980_A1_50G", - "SUBCORE_VM_FIXED3000_A1_50G", - "SUBCORE_VM_FIXED3020_A1_50G", - "SUBCORE_VM_FIXED3040_A1_50G", - "SUBCORE_VM_FIXED3060_A1_50G", - "SUBCORE_VM_FIXED3080_A1_50G", - "SUBCORE_VM_FIXED3100_A1_50G", - "SUBCORE_VM_FIXED3120_A1_50G", - "SUBCORE_VM_FIXED3140_A1_50G", - "SUBCORE_VM_FIXED3160_A1_50G", - "SUBCORE_VM_FIXED3180_A1_50G", - "SUBCORE_VM_FIXED3200_A1_50G", - "SUBCORE_VM_FIXED3220_A1_50G", - "SUBCORE_VM_FIXED3240_A1_50G", - "SUBCORE_VM_FIXED3260_A1_50G", - "SUBCORE_VM_FIXED3280_A1_50G", - "SUBCORE_VM_FIXED3300_A1_50G", - "SUBCORE_VM_FIXED3320_A1_50G", - "SUBCORE_VM_FIXED3340_A1_50G", - "SUBCORE_VM_FIXED3360_A1_50G", - "SUBCORE_VM_FIXED3380_A1_50G", - "SUBCORE_VM_FIXED3400_A1_50G", - "SUBCORE_VM_FIXED3420_A1_50G", - "SUBCORE_VM_FIXED3440_A1_50G", - "SUBCORE_VM_FIXED3460_A1_50G", - "SUBCORE_VM_FIXED3480_A1_50G", - "SUBCORE_VM_FIXED3500_A1_50G", - "SUBCORE_VM_FIXED3520_A1_50G", - "SUBCORE_VM_FIXED3540_A1_50G", - "SUBCORE_VM_FIXED3560_A1_50G", - "SUBCORE_VM_FIXED3580_A1_50G", - "SUBCORE_VM_FIXED3600_A1_50G", - "SUBCORE_VM_FIXED3620_A1_50G", - "SUBCORE_VM_FIXED3640_A1_50G", - "SUBCORE_VM_FIXED3660_A1_50G", - "SUBCORE_VM_FIXED3680_A1_50G", - "SUBCORE_VM_FIXED3700_A1_50G", - "SUBCORE_VM_FIXED3720_A1_50G", - "SUBCORE_VM_FIXED3740_A1_50G", - "SUBCORE_VM_FIXED3760_A1_50G", - "SUBCORE_VM_FIXED3780_A1_50G", - "SUBCORE_VM_FIXED3800_A1_50G", - "SUBCORE_VM_FIXED3820_A1_50G", - "SUBCORE_VM_FIXED3840_A1_50G", - "SUBCORE_VM_FIXED3860_A1_50G", - "SUBCORE_VM_FIXED3880_A1_50G", - "SUBCORE_VM_FIXED3900_A1_50G", - "SUBCORE_VM_FIXED3920_A1_50G", - "SUBCORE_VM_FIXED3940_A1_50G", - "SUBCORE_VM_FIXED3960_A1_50G", - "SUBCORE_VM_FIXED3980_A1_50G", - "SUBCORE_VM_FIXED4000_A1_50G", - "SUBCORE_VM_FIXED4020_A1_50G", - "SUBCORE_VM_FIXED4040_A1_50G", - "SUBCORE_VM_FIXED4060_A1_50G", - "SUBCORE_VM_FIXED4080_A1_50G", - "SUBCORE_VM_FIXED4100_A1_50G", - "SUBCORE_VM_FIXED4120_A1_50G", - "SUBCORE_VM_FIXED4140_A1_50G", - "SUBCORE_VM_FIXED4160_A1_50G", - "SUBCORE_VM_FIXED4180_A1_50G", - "SUBCORE_VM_FIXED4200_A1_50G", - "SUBCORE_VM_FIXED4220_A1_50G", - "SUBCORE_VM_FIXED4240_A1_50G", - "SUBCORE_VM_FIXED4260_A1_50G", - "SUBCORE_VM_FIXED4280_A1_50G", - "SUBCORE_VM_FIXED4300_A1_50G", - "SUBCORE_VM_FIXED4320_A1_50G", - "SUBCORE_VM_FIXED4340_A1_50G", - "SUBCORE_VM_FIXED4360_A1_50G", - "SUBCORE_VM_FIXED4380_A1_50G", - "SUBCORE_VM_FIXED4400_A1_50G", - "SUBCORE_VM_FIXED4420_A1_50G", - "SUBCORE_VM_FIXED4440_A1_50G", - "SUBCORE_VM_FIXED4460_A1_50G", - "SUBCORE_VM_FIXED4480_A1_50G", - "SUBCORE_VM_FIXED4500_A1_50G", - "SUBCORE_VM_FIXED4520_A1_50G", - "SUBCORE_VM_FIXED4540_A1_50G", - "SUBCORE_VM_FIXED4560_A1_50G", - "SUBCORE_VM_FIXED4580_A1_50G", - "SUBCORE_VM_FIXED4600_A1_50G", - "SUBCORE_VM_FIXED4620_A1_50G", - "SUBCORE_VM_FIXED4640_A1_50G", - "SUBCORE_VM_FIXED4660_A1_50G", - "SUBCORE_VM_FIXED4680_A1_50G", - "SUBCORE_VM_FIXED4700_A1_50G", - "SUBCORE_VM_FIXED4720_A1_50G", - "SUBCORE_VM_FIXED4740_A1_50G", - "SUBCORE_VM_FIXED4760_A1_50G", - "SUBCORE_VM_FIXED4780_A1_50G", - "SUBCORE_VM_FIXED4800_A1_50G", - "SUBCORE_VM_FIXED4820_A1_50G", - "SUBCORE_VM_FIXED4840_A1_50G", - "SUBCORE_VM_FIXED4860_A1_50G", - "SUBCORE_VM_FIXED4880_A1_50G", - "SUBCORE_VM_FIXED4900_A1_50G", - "SUBCORE_VM_FIXED4920_A1_50G", - "SUBCORE_VM_FIXED4940_A1_50G", - "SUBCORE_VM_FIXED4960_A1_50G", - "SUBCORE_VM_FIXED4980_A1_50G", - "SUBCORE_VM_FIXED5000_A1_50G", - "SUBCORE_VM_FIXED0090_X9_50G", - "SUBCORE_VM_FIXED0180_X9_50G", - "SUBCORE_VM_FIXED0270_X9_50G", - "SUBCORE_VM_FIXED0360_X9_50G", - "SUBCORE_VM_FIXED0450_X9_50G", - "SUBCORE_VM_FIXED0540_X9_50G", - "SUBCORE_VM_FIXED0630_X9_50G", - "SUBCORE_VM_FIXED0720_X9_50G", - "SUBCORE_VM_FIXED0810_X9_50G", - "SUBCORE_VM_FIXED0900_X9_50G", - "SUBCORE_VM_FIXED0990_X9_50G", - "SUBCORE_VM_FIXED1080_X9_50G", - "SUBCORE_VM_FIXED1170_X9_50G", - "SUBCORE_VM_FIXED1260_X9_50G", - "SUBCORE_VM_FIXED1350_X9_50G", - "SUBCORE_VM_FIXED1440_X9_50G", - "SUBCORE_VM_FIXED1530_X9_50G", - "SUBCORE_VM_FIXED1620_X9_50G", - "SUBCORE_VM_FIXED1710_X9_50G", - "SUBCORE_VM_FIXED1800_X9_50G", - "SUBCORE_VM_FIXED1890_X9_50G", - "SUBCORE_VM_FIXED1980_X9_50G", - "SUBCORE_VM_FIXED2070_X9_50G", - "SUBCORE_VM_FIXED2160_X9_50G", - "SUBCORE_VM_FIXED2250_X9_50G", - "SUBCORE_VM_FIXED2340_X9_50G", - "SUBCORE_VM_FIXED2430_X9_50G", - "SUBCORE_VM_FIXED2520_X9_50G", - "SUBCORE_VM_FIXED2610_X9_50G", - "SUBCORE_VM_FIXED2700_X9_50G", - "SUBCORE_VM_FIXED2790_X9_50G", - "SUBCORE_VM_FIXED2880_X9_50G", - "SUBCORE_VM_FIXED2970_X9_50G", - "SUBCORE_VM_FIXED3060_X9_50G", - "SUBCORE_VM_FIXED3150_X9_50G", - "SUBCORE_VM_FIXED3240_X9_50G", - "SUBCORE_VM_FIXED3330_X9_50G", - "SUBCORE_VM_FIXED3420_X9_50G", - "SUBCORE_VM_FIXED3510_X9_50G", - "SUBCORE_VM_FIXED3600_X9_50G", - "SUBCORE_VM_FIXED3690_X9_50G", - "SUBCORE_VM_FIXED3780_X9_50G", - "SUBCORE_VM_FIXED3870_X9_50G", - "SUBCORE_VM_FIXED3960_X9_50G", - "SUBCORE_VM_FIXED4050_X9_50G", - "SUBCORE_VM_FIXED4140_X9_50G", - "SUBCORE_VM_FIXED4230_X9_50G", - "SUBCORE_VM_FIXED4320_X9_50G", - "SUBCORE_VM_FIXED4410_X9_50G", - "SUBCORE_VM_FIXED4500_X9_50G", - "SUBCORE_VM_FIXED4590_X9_50G", - "SUBCORE_VM_FIXED4680_X9_50G", - "SUBCORE_VM_FIXED4770_X9_50G", - "SUBCORE_VM_FIXED4860_X9_50G", - "SUBCORE_VM_FIXED4950_X9_50G", - "DYNAMIC_A1_50G", - "FIXED0040_A1_50G", - "FIXED0100_A1_50G", - "FIXED0200_A1_50G", - "FIXED0300_A1_50G", - "FIXED0400_A1_50G", - "FIXED0500_A1_50G", - "FIXED0600_A1_50G", - "FIXED0700_A1_50G", - "FIXED0800_A1_50G", - "FIXED0900_A1_50G", - "FIXED1000_A1_50G", - "FIXED1100_A1_50G", - "FIXED1200_A1_50G", - "FIXED1300_A1_50G", - "FIXED1400_A1_50G", - "FIXED1500_A1_50G", - "FIXED1600_A1_50G", - "FIXED1700_A1_50G", - "FIXED1800_A1_50G", - "FIXED1900_A1_50G", - "FIXED2000_A1_50G", - "FIXED2100_A1_50G", - "FIXED2200_A1_50G", - "FIXED2300_A1_50G", - "FIXED2400_A1_50G", - "FIXED2500_A1_50G", - "FIXED2600_A1_50G", - "FIXED2700_A1_50G", - "FIXED2800_A1_50G", - "FIXED2900_A1_50G", - "FIXED3000_A1_50G", - "FIXED3100_A1_50G", - "FIXED3200_A1_50G", - "FIXED3300_A1_50G", - "FIXED3400_A1_50G", - "FIXED3500_A1_50G", - "FIXED3600_A1_50G", - "FIXED3700_A1_50G", - "FIXED3800_A1_50G", - "FIXED3900_A1_50G", - "FIXED4000_A1_50G", - "ENTIREHOST_A1_50G", - "DYNAMIC_X9_50G", - "FIXED0040_X9_50G", - "FIXED0400_X9_50G", - "FIXED0800_X9_50G", - "FIXED1200_X9_50G", - "FIXED1600_X9_50G", - "FIXED2000_X9_50G", - "FIXED2400_X9_50G", - "FIXED2800_X9_50G", - "FIXED3200_X9_50G", - "FIXED3600_X9_50G", - "FIXED4000_X9_50G", - "STANDARD_VM_FIXED0100_X9_50G", - "STANDARD_VM_FIXED0200_X9_50G", - "STANDARD_VM_FIXED0300_X9_50G", - "STANDARD_VM_FIXED0400_X9_50G", - "STANDARD_VM_FIXED0500_X9_50G", - "STANDARD_VM_FIXED0600_X9_50G", - "STANDARD_VM_FIXED0700_X9_50G", - "STANDARD_VM_FIXED0800_X9_50G", - "STANDARD_VM_FIXED0900_X9_50G", - "STANDARD_VM_FIXED1000_X9_50G", - "STANDARD_VM_FIXED1100_X9_50G", - "STANDARD_VM_FIXED1200_X9_50G", - "STANDARD_VM_FIXED1300_X9_50G", - "STANDARD_VM_FIXED1400_X9_50G", - "STANDARD_VM_FIXED1500_X9_50G", - "STANDARD_VM_FIXED1600_X9_50G", - "STANDARD_VM_FIXED1700_X9_50G", - "STANDARD_VM_FIXED1800_X9_50G", - "STANDARD_VM_FIXED1900_X9_50G", - "STANDARD_VM_FIXED2000_X9_50G", - "STANDARD_VM_FIXED2100_X9_50G", - "STANDARD_VM_FIXED2200_X9_50G", - "STANDARD_VM_FIXED2300_X9_50G", - "STANDARD_VM_FIXED2400_X9_50G", - "STANDARD_VM_FIXED2500_X9_50G", - "STANDARD_VM_FIXED2600_X9_50G", - "STANDARD_VM_FIXED2700_X9_50G", - "STANDARD_VM_FIXED2800_X9_50G", - "STANDARD_VM_FIXED2900_X9_50G", - "STANDARD_VM_FIXED3000_X9_50G", - "STANDARD_VM_FIXED3100_X9_50G", - "STANDARD_VM_FIXED3200_X9_50G", - "STANDARD_VM_FIXED3300_X9_50G", - "STANDARD_VM_FIXED3400_X9_50G", - "STANDARD_VM_FIXED3500_X9_50G", - "STANDARD_VM_FIXED3600_X9_50G", - "STANDARD_VM_FIXED3700_X9_50G", - "STANDARD_VM_FIXED3800_X9_50G", - "STANDARD_VM_FIXED3900_X9_50G", - "STANDARD_VM_FIXED4000_X9_50G", - "ENTIREHOST_X9_50G", - } -} - -// CreateInternalVnicAttachmentDetailsLaunchTypeEnum Enum with underlying type: string -type CreateInternalVnicAttachmentDetailsLaunchTypeEnum string - -// Set of constants representing the allowable values for CreateInternalVnicAttachmentDetailsLaunchTypeEnum -const ( - CreateInternalVnicAttachmentDetailsLaunchTypeMarketplace CreateInternalVnicAttachmentDetailsLaunchTypeEnum = "MARKETPLACE" - CreateInternalVnicAttachmentDetailsLaunchTypeStandard CreateInternalVnicAttachmentDetailsLaunchTypeEnum = "STANDARD" -) - -var mappingCreateInternalVnicAttachmentDetailsLaunchTypeEnum = map[string]CreateInternalVnicAttachmentDetailsLaunchTypeEnum{ - "MARKETPLACE": CreateInternalVnicAttachmentDetailsLaunchTypeMarketplace, - "STANDARD": CreateInternalVnicAttachmentDetailsLaunchTypeStandard, -} - -// GetCreateInternalVnicAttachmentDetailsLaunchTypeEnumValues Enumerates the set of values for CreateInternalVnicAttachmentDetailsLaunchTypeEnum -func GetCreateInternalVnicAttachmentDetailsLaunchTypeEnumValues() []CreateInternalVnicAttachmentDetailsLaunchTypeEnum { - values := make([]CreateInternalVnicAttachmentDetailsLaunchTypeEnum, 0) - for _, v := range mappingCreateInternalVnicAttachmentDetailsLaunchTypeEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalVnicAttachmentDetailsLaunchTypeEnumStringValues Enumerates the set of values in String for CreateInternalVnicAttachmentDetailsLaunchTypeEnum -func GetCreateInternalVnicAttachmentDetailsLaunchTypeEnumStringValues() []string { - return []string{ - "MARKETPLACE", - "STANDARD", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_attachment_request_response.go deleted file mode 100644 index 58b48417f4b6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_attachment_request_response.go +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInternalVnicAttachmentRequest wrapper for the CreateInternalVnicAttachment operation -type CreateInternalVnicAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // VNIC attachment details. - CreateInternalVnicAttachmentDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - - // 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 CreateInternalVnicAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInternalVnicAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInternalVnicAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInternalVnicAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInternalVnicAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalVnicAttachmentResponse wrapper for the CreateInternalVnicAttachment operation -type CreateInternalVnicAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnicAttachment instance - InternalVnicAttachment `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 CreateInternalVnicAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInternalVnicAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_details.go deleted file mode 100644 index 8e538bc580ca..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_details.go +++ /dev/null @@ -1,2924 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateInternalVnicDetails This structure is used when creating vnic for internal clients. -// For more information about VNICs, see -// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). -type CreateInternalVnicDetails struct { - - // Whether the VNIC should be assigned a public IP address. Defaults to whether - // the subnet is public or private. If not set and the VNIC is being created - // in a private subnet (that is, where `prohibitPublicIpOnVnic` = true in the - // Subnet), then no public IP address is assigned. - // If not set and the subnet is public (`prohibitPublicIpOnVnic` = false), then - // a public IP address is assigned. If set to true and - // `prohibitPublicIpOnVnic` = true, an error is returned. - // **Note:** This public IP address is associated with the primary private IP - // on the VNIC. For more information, see - // IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). - // **Note:** There's a limit to the number of PublicIp - // a VNIC or instance can have. If you try to create a secondary VNIC - // with an assigned public IP for an instance that has already - // reached its public IP limit, an error is returned. For information - // about the public IP limits, see - // Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). - // Example: `false` - AssignPublicIp *bool `mandatory:"false" json:"assignPublicIp"` - - // The availability domain of the instance. - // Availability domain can not be provided if isServiceVnic is true, it is required otherwise. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - - // Not for general use! - // Contact sic_vcn_us_grp@oracle.com before setting this flag. - // Indicates that the Cavium should not enforce Internet ingress/egress throttling. - // Defaults to `false`, in which case we do enforce that throttling. - // At least one of subnetId OR the vlanId are required - BypassInternetThrottle *bool `mandatory:"false" json:"bypassInternetThrottle"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname - // portion of the primary private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). - // Must be unique across all VNICs in the subnet and comply with - // RFC 952 (https://tools.ietf.org/html/rfc952) and - // RFC 1123 (https://tools.ietf.org/html/rfc1123). - // The value appears in the Vnic object and also the - // PrivateIp object returned by - // ListPrivateIps and - // GetPrivateIp. - // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // When launching an instance, use this `hostnameLabel` instead - // of the deprecated `hostnameLabel` in - // LaunchInstanceDetails. - // If you provide both, the values must match. - // Example: `bminstance-1` - HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` - - // Indicates if the VNIC is associated with (and will be attached to) a BM instance. - IsBmVnic *bool `mandatory:"false" json:"isBmVnic"` - - // Indicates if the VNIC is bridge which means cavium will ARP for its MAC address. - IsBridgeVnic *bool `mandatory:"false" json:"isBridgeVnic"` - - // Indicates if this VNIC can issue GARP requests. False by default. - IsGarpEnabled *bool `mandatory:"false" json:"isGarpEnabled"` - - // Indicates if MAC learning is enabled for the VNIC. The default is `false`. - // When this flag is enabled, then VCN CP does not allocate MAC address, - // hence MAC address will be set as null as part of the VNIC that is returned. - IsMacLearningEnabled *bool `mandatory:"false" json:"isMacLearningEnabled"` - - // Indicates if the VNIC is managed by a internal partner team. And customer is not allowed - // the perform update/delete operations on it directly. - // Defaults to `False` - IsManaged *bool `mandatory:"false" json:"isManaged"` - - // Indicates if the VNIC is primary which means it cannot be detached. - IsPrimary *bool `mandatory:"false" json:"isPrimary"` - - // Indicates if the VNIC is a service vnic. - IsServiceVnic *bool `mandatory:"false" json:"isServiceVnic"` - - // Only provided when no publicIpPoolId is specified. - InternalPoolName CreateInternalVnicDetailsInternalPoolNameEnum `mandatory:"false" json:"internalPoolName,omitempty"` - - // The overlay MAC address of the instance - MacAddress *string `mandatory:"false" json:"macAddress"` - - // A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more - // information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // ID of the entity owning the VNIC. This is passed in the create vnic call. - // If none is passed and if there is an attachment then the attached instanceId is the ownerId. - OwnerId *string `mandatory:"false" json:"ownerId"` - - // A private IP address of your choice to assign to the VNIC. Must be an - // available IP address within the subnet's CIDR. If you don't specify a - // value, Oracle automatically assigns a private IP address from the subnet. - // This is the VNIC's *primary* private IP address. The value appears in - // the Vnic object and also the - // PrivateIp object returned by - // ListPrivateIps and - // GetPrivateIp. - // Example: `10.0.3.3` - PrivateIp *string `mandatory:"false" json:"privateIp"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool object created by the current tenancy - PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` - - // ID of the customer visible upstream resource that the VNIC is associated with. This property is - // exposed to customers as part of API to list members of a network security group. - // For example, if the VNIC is associated with a loadbalancer or dbsystem instance, then it needs - // to be set to corresponding customer visible loadbalancer or dbsystem instance OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - // Note that the partner team creating/managing the VNIC is owner of this metadata. - ResourceId *string `mandatory:"false" json:"resourceId"` - - // Type of the customer visible upstream resource that the VNIC is associated with. This property can be - // exposed to customers as part of API to list members of a network security group. - // For example, it can be set as, - // - `loadbalancer` if corresponding resourceId is a loadbalancer instance's OCID - // - `dbsystem` if corresponding resourceId is a dbsystem instance's OCID - // Note that the partner team creating/managing the VNIC is owner of this metadata. - ResourceType *string `mandatory:"false" json:"resourceType"` - - // Whether the source/destination check is disabled on the VNIC. - // Defaults to `false`, which means the check is performed. For information - // about why you would skip the source/destination check, see - // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). - // Example: `true` - SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC in. When launching an instance, - // use this `subnetId` instead of the deprecated `subnetId` in - // LaunchInstanceDetails. - // At least one of them is required; if you provide both, the values must match. - SubnetId *string `mandatory:"false" json:"subnetId"` - - // Usage of system tag keys. These predefined keys are scoped to namespaces. - // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` - SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN that the VNIC belongs to - VlanId *string `mandatory:"false" json:"vlanId"` - - // ID of the compartment - CompartmentId *string `mandatory:"false" json:"compartmentId"` - - // Indicates if generation of NAT IP should be skipped if the associated VNIC has this flag set to true. - IsNatIpAllocationDisabled *bool `mandatory:"false" json:"isNatIpAllocationDisabled"` - - // Indicates if private IP creation should be blocked for external customers. Default to false. - // For example, Exadata team can create private IP through internal api. External customers who call public api - // are prohibited to add private IP to Exadata node. - IsPrivateIpCreationBlocked *bool `mandatory:"false" json:"isPrivateIpCreationBlocked"` - - // Indicates if the VNIC should get a public IP. - HasPublicIp *bool `mandatory:"false" json:"hasPublicIp"` - - // Indicates if the VNIC is connected to VNIC as a Service. Defaults to `False`. - IsVnicServiceVnic *bool `mandatory:"false" json:"isVnicServiceVnic"` - - // MPLS label to be used with a VNIC connected to VNIC as a Service. Required if isVnicServiceVnic is `True`. - ServiceMplsLabel *int `mandatory:"false" json:"serviceMplsLabel"` - - // Type of service VNIC. Feature or use case that is creating this service VNIC. Used for forecasting, resource limits enforcement, and capacity management. - ServiceVnicType CreateInternalVnicDetailsServiceVnicTypeEnum `mandatory:"false" json:"serviceVnicType,omitempty"` - - // Shape of VNIC that will be used to allocate resource in the data plane once the VNIC is attached - VnicShape CreateInternalVnicDetailsVnicShapeEnum `mandatory:"false" json:"vnicShape,omitempty"` -} - -func (m CreateInternalVnicDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateInternalVnicDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingCreateInternalVnicDetailsInternalPoolNameEnum[string(m.InternalPoolName)]; !ok && m.InternalPoolName != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for InternalPoolName: %s. Supported values are: %s.", m.InternalPoolName, strings.Join(GetCreateInternalVnicDetailsInternalPoolNameEnumStringValues(), ","))) - } - if _, ok := mappingCreateInternalVnicDetailsServiceVnicTypeEnum[string(m.ServiceVnicType)]; !ok && m.ServiceVnicType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ServiceVnicType: %s. Supported values are: %s.", m.ServiceVnicType, strings.Join(GetCreateInternalVnicDetailsServiceVnicTypeEnumStringValues(), ","))) - } - if _, ok := mappingCreateInternalVnicDetailsVnicShapeEnum[string(m.VnicShape)]; !ok && m.VnicShape != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VnicShape: %s. Supported values are: %s.", m.VnicShape, strings.Join(GetCreateInternalVnicDetailsVnicShapeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalVnicDetailsInternalPoolNameEnum Enum with underlying type: string -type CreateInternalVnicDetailsInternalPoolNameEnum string - -// Set of constants representing the allowable values for CreateInternalVnicDetailsInternalPoolNameEnum -const ( - CreateInternalVnicDetailsInternalPoolNameExternal CreateInternalVnicDetailsInternalPoolNameEnum = "EXTERNAL" - CreateInternalVnicDetailsInternalPoolNameSociEgress CreateInternalVnicDetailsInternalPoolNameEnum = "SOCI_EGRESS" -) - -var mappingCreateInternalVnicDetailsInternalPoolNameEnum = map[string]CreateInternalVnicDetailsInternalPoolNameEnum{ - "EXTERNAL": CreateInternalVnicDetailsInternalPoolNameExternal, - "SOCI_EGRESS": CreateInternalVnicDetailsInternalPoolNameSociEgress, -} - -// GetCreateInternalVnicDetailsInternalPoolNameEnumValues Enumerates the set of values for CreateInternalVnicDetailsInternalPoolNameEnum -func GetCreateInternalVnicDetailsInternalPoolNameEnumValues() []CreateInternalVnicDetailsInternalPoolNameEnum { - values := make([]CreateInternalVnicDetailsInternalPoolNameEnum, 0) - for _, v := range mappingCreateInternalVnicDetailsInternalPoolNameEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalVnicDetailsInternalPoolNameEnumStringValues Enumerates the set of values in String for CreateInternalVnicDetailsInternalPoolNameEnum -func GetCreateInternalVnicDetailsInternalPoolNameEnumStringValues() []string { - return []string{ - "EXTERNAL", - "SOCI_EGRESS", - } -} - -// CreateInternalVnicDetailsServiceVnicTypeEnum Enum with underlying type: string -type CreateInternalVnicDetailsServiceVnicTypeEnum string - -// Set of constants representing the allowable values for CreateInternalVnicDetailsServiceVnicTypeEnum -const ( - CreateInternalVnicDetailsServiceVnicTypePrivateEndpoint CreateInternalVnicDetailsServiceVnicTypeEnum = "PRIVATE_ENDPOINT" - CreateInternalVnicDetailsServiceVnicTypeReverseConnectionEndpoint CreateInternalVnicDetailsServiceVnicTypeEnum = "REVERSE_CONNECTION_ENDPOINT" - CreateInternalVnicDetailsServiceVnicTypeRealVirtualRouter CreateInternalVnicDetailsServiceVnicTypeEnum = "REAL_VIRTUAL_ROUTER" - CreateInternalVnicDetailsServiceVnicTypePrivateDnsEndpoint CreateInternalVnicDetailsServiceVnicTypeEnum = "PRIVATE_DNS_ENDPOINT" -) - -var mappingCreateInternalVnicDetailsServiceVnicTypeEnum = map[string]CreateInternalVnicDetailsServiceVnicTypeEnum{ - "PRIVATE_ENDPOINT": CreateInternalVnicDetailsServiceVnicTypePrivateEndpoint, - "REVERSE_CONNECTION_ENDPOINT": CreateInternalVnicDetailsServiceVnicTypeReverseConnectionEndpoint, - "REAL_VIRTUAL_ROUTER": CreateInternalVnicDetailsServiceVnicTypeRealVirtualRouter, - "PRIVATE_DNS_ENDPOINT": CreateInternalVnicDetailsServiceVnicTypePrivateDnsEndpoint, -} - -// GetCreateInternalVnicDetailsServiceVnicTypeEnumValues Enumerates the set of values for CreateInternalVnicDetailsServiceVnicTypeEnum -func GetCreateInternalVnicDetailsServiceVnicTypeEnumValues() []CreateInternalVnicDetailsServiceVnicTypeEnum { - values := make([]CreateInternalVnicDetailsServiceVnicTypeEnum, 0) - for _, v := range mappingCreateInternalVnicDetailsServiceVnicTypeEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalVnicDetailsServiceVnicTypeEnumStringValues Enumerates the set of values in String for CreateInternalVnicDetailsServiceVnicTypeEnum -func GetCreateInternalVnicDetailsServiceVnicTypeEnumStringValues() []string { - return []string{ - "PRIVATE_ENDPOINT", - "REVERSE_CONNECTION_ENDPOINT", - "REAL_VIRTUAL_ROUTER", - "PRIVATE_DNS_ENDPOINT", - } -} - -// CreateInternalVnicDetailsVnicShapeEnum Enum with underlying type: string -type CreateInternalVnicDetailsVnicShapeEnum string - -// Set of constants representing the allowable values for CreateInternalVnicDetailsVnicShapeEnum -const ( - CreateInternalVnicDetailsVnicShapeDynamic CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC" - CreateInternalVnicDetailsVnicShapeFixed0040 CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040" - CreateInternalVnicDetailsVnicShapeFixed0060 CreateInternalVnicDetailsVnicShapeEnum = "FIXED0060" - CreateInternalVnicDetailsVnicShapeFixed0060Psm CreateInternalVnicDetailsVnicShapeEnum = "FIXED0060_PSM" - CreateInternalVnicDetailsVnicShapeFixed0100 CreateInternalVnicDetailsVnicShapeEnum = "FIXED0100" - CreateInternalVnicDetailsVnicShapeFixed0120 CreateInternalVnicDetailsVnicShapeEnum = "FIXED0120" - CreateInternalVnicDetailsVnicShapeFixed01202x CreateInternalVnicDetailsVnicShapeEnum = "FIXED0120_2X" - CreateInternalVnicDetailsVnicShapeFixed0200 CreateInternalVnicDetailsVnicShapeEnum = "FIXED0200" - CreateInternalVnicDetailsVnicShapeFixed0240 CreateInternalVnicDetailsVnicShapeEnum = "FIXED0240" - CreateInternalVnicDetailsVnicShapeFixed0480 CreateInternalVnicDetailsVnicShapeEnum = "FIXED0480" - CreateInternalVnicDetailsVnicShapeEntirehost CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST" - CreateInternalVnicDetailsVnicShapeDynamic25g CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC_25G" - CreateInternalVnicDetailsVnicShapeFixed004025g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040_25G" - CreateInternalVnicDetailsVnicShapeFixed010025g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0100_25G" - CreateInternalVnicDetailsVnicShapeFixed020025g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0200_25G" - CreateInternalVnicDetailsVnicShapeFixed040025g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0400_25G" - CreateInternalVnicDetailsVnicShapeFixed080025g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0800_25G" - CreateInternalVnicDetailsVnicShapeFixed160025g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1600_25G" - CreateInternalVnicDetailsVnicShapeFixed240025g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2400_25G" - CreateInternalVnicDetailsVnicShapeEntirehost25g CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST_25G" - CreateInternalVnicDetailsVnicShapeDynamicE125g CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC_E1_25G" - CreateInternalVnicDetailsVnicShapeFixed0040E125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040_E1_25G" - CreateInternalVnicDetailsVnicShapeFixed0070E125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0070_E1_25G" - CreateInternalVnicDetailsVnicShapeFixed0140E125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0140_E1_25G" - CreateInternalVnicDetailsVnicShapeFixed0280E125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0280_E1_25G" - CreateInternalVnicDetailsVnicShapeFixed0560E125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0560_E1_25G" - CreateInternalVnicDetailsVnicShapeFixed1120E125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1120_E1_25G" - CreateInternalVnicDetailsVnicShapeFixed1680E125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1680_E1_25G" - CreateInternalVnicDetailsVnicShapeEntirehostE125g CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST_E1_25G" - CreateInternalVnicDetailsVnicShapeDynamicB125g CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC_B1_25G" - CreateInternalVnicDetailsVnicShapeFixed0040B125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040_B1_25G" - CreateInternalVnicDetailsVnicShapeFixed0060B125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0060_B1_25G" - CreateInternalVnicDetailsVnicShapeFixed0120B125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0120_B1_25G" - CreateInternalVnicDetailsVnicShapeFixed0240B125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0240_B1_25G" - CreateInternalVnicDetailsVnicShapeFixed0480B125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0480_B1_25G" - CreateInternalVnicDetailsVnicShapeFixed0960B125g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0960_B1_25G" - CreateInternalVnicDetailsVnicShapeEntirehostB125g CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST_B1_25G" - CreateInternalVnicDetailsVnicShapeMicroVmFixed0048E125g CreateInternalVnicDetailsVnicShapeEnum = "MICRO_VM_FIXED0048_E1_25G" - CreateInternalVnicDetailsVnicShapeMicroLbFixed0001E125g CreateInternalVnicDetailsVnicShapeEnum = "MICRO_LB_FIXED0001_E1_25G" - CreateInternalVnicDetailsVnicShapeVnicaasFixed0200 CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_FIXED0200" - CreateInternalVnicDetailsVnicShapeVnicaasFixed0400 CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_FIXED0400" - CreateInternalVnicDetailsVnicShapeVnicaasFixed0700 CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_FIXED0700" - CreateInternalVnicDetailsVnicShapeVnicaasNlbApproved10g CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_NLB_APPROVED_10G" - CreateInternalVnicDetailsVnicShapeVnicaasNlbApproved25g CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_NLB_APPROVED_25G" - CreateInternalVnicDetailsVnicShapeVnicaasTelesis25g CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_TELESIS_25G" - CreateInternalVnicDetailsVnicShapeVnicaasTelesis10g CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_TELESIS_10G" - CreateInternalVnicDetailsVnicShapeVnicaasAmbassadorFixed0100 CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_AMBASSADOR_FIXED0100" - CreateInternalVnicDetailsVnicShapeVnicaasPrivatedns CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_PRIVATEDNS" - CreateInternalVnicDetailsVnicShapeVnicaasFwaas CreateInternalVnicDetailsVnicShapeEnum = "VNICAAS_FWAAS" - CreateInternalVnicDetailsVnicShapeDynamicE350g CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0040E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0100E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0100_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0200E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0200_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0300E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0300_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0400E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0400_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0500E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0500_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0600E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0600_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0700E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0700_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0800E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0800_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed0900E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0900_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1000E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1000_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1100E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1100_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1200E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1200_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1300E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1300_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1400E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1400_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1500E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1500_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1600E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1600_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1700E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1700_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1800E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1800_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed1900E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1900_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2000E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2000_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2100E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2100_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2200E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2200_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2300E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2300_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2400E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2400_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2500E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2500_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2600E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2600_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2700E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2700_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2800E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2800_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed2900E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2900_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3000E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3000_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3100E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3100_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3200E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3200_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3300E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3300_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3400E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3400_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3500E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3500_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3600E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3600_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3700E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3700_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3800E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3800_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed3900E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3900_E3_50G" - CreateInternalVnicDetailsVnicShapeFixed4000E350g CreateInternalVnicDetailsVnicShapeEnum = "FIXED4000_E3_50G" - CreateInternalVnicDetailsVnicShapeEntirehostE350g CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST_E3_50G" - CreateInternalVnicDetailsVnicShapeDynamicE450g CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0040E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0100E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0100_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0200E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0200_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0300E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0300_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0400E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0400_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0500E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0500_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0600E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0600_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0700E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0700_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0800E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0800_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed0900E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0900_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1000E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1000_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1100E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1100_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1200E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1200_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1300E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1300_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1400E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1400_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1500E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1500_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1600E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1600_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1700E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1700_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1800E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1800_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed1900E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1900_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2000E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2000_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2100E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2100_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2200E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2200_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2300E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2300_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2400E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2400_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2500E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2500_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2600E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2600_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2700E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2700_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2800E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2800_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed2900E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2900_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3000E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3000_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3100E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3100_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3200E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3200_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3300E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3300_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3400E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3400_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3500E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3500_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3600E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3600_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3700E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3700_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3800E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3800_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed3900E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3900_E4_50G" - CreateInternalVnicDetailsVnicShapeFixed4000E450g CreateInternalVnicDetailsVnicShapeEnum = "FIXED4000_E4_50G" - CreateInternalVnicDetailsVnicShapeEntirehostE450g CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST_E4_50G" - CreateInternalVnicDetailsVnicShapeMicroVmFixed0050E350g CreateInternalVnicDetailsVnicShapeEnum = "MICRO_VM_FIXED0050_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0025E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0025_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0050E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0050_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0075E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0075_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0100E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0125E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0125_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0150E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0150_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0175E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0175_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0200E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0225E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0225_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0250E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0250_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0275E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0275_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0300E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0325E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0325_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0350E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0350_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0375E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0375_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0400E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0425E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0425_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0450E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0475E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0475_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0500E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0525E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0525_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0550E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0550_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0575E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0575_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0600E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0625E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0625_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0650E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0650_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0675E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0675_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0700E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0725E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0725_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0750E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0750_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0775E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0775_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0800E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0825E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0825_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0850E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0850_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0875E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0875_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0925E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0925_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0950E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0950_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0975E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0975_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1000E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1025E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1025_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1050E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1050_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1075E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1075_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1100E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1125E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1125_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1150E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1150_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1175E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1175_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1200E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1225E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1225_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1250E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1250_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1275E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1275_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1300E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1325E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1325_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1350E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1375E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1375_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1400E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1425E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1425_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1450E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1450_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1475E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1475_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1500E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1525E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1525_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1550E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1550_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1575E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1575_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1600E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1625E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1625_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1650E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1650_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1700E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1725E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1725_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1750E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1750_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1850E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1850_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1875E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1875_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1900E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1925E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1925_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1950E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1950_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2000E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2025E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2025_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2050E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2050_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2100E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2125E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2125_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2150E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2150_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2175E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2175_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2200E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2250E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2275E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2275_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2300E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2325E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2325_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2350E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2350_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2375E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2375_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2400E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2450E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2450_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2475E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2475_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2500E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2550E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2550_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2600E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2625E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2625_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2650E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2650_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2750E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2750_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2775E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2775_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2800E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2850E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2850_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2875E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2875_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2900E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2925E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2925_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2950E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2950_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2975E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2975_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3000E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3025E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3025_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3050E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3050_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3075E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3075_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3100E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3125E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3125_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3150E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3200E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3225E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3225_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3250E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3250_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3300E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3325E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3325_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3375E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3375_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3400E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3450E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3450_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3500E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3525E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3525_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3575E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3575_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3625E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3625_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3675E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3675_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3700E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3750E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3750_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3800E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3825E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3825_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3850E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3850_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3875E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3875_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3900E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3975E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3975_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4000E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4025E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4025_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4050E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4100E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4125E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4125_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4200E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4225E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4225_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4250E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4250_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4275E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4275_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4300E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4350E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4350_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4375E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4375_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4400E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4425E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4425_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4550E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4550_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4575E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4575_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4600E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4625E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4625_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4650E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4650_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4675E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4675_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4700E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4725E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4725_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4750E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4750_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4800E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4875E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4875_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4900E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4950E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed5000E350g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_E3_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0025E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0025_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0050E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0050_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0075E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0075_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0100E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0125E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0125_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0150E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0150_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0175E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0175_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0200E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0225E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0225_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0250E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0250_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0275E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0275_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0300E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0325E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0325_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0350E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0350_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0375E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0375_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0400E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0425E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0425_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0450E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0475E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0475_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0500E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0525E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0525_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0550E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0550_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0575E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0575_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0600E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0625E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0625_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0650E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0650_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0675E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0675_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0700E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0725E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0725_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0750E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0750_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0775E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0775_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0800E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0825E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0825_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0850E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0850_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0875E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0875_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0925E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0925_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0950E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0950_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0975E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0975_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1000E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1025E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1025_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1050E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1050_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1075E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1075_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1100E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1125E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1125_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1150E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1150_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1175E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1175_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1200E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1225E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1225_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1250E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1250_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1275E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1275_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1300E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1325E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1325_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1350E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1375E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1375_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1400E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1425E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1425_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1450E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1450_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1475E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1475_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1500E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1525E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1525_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1550E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1550_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1575E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1575_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1600E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1625E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1625_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1650E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1650_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1700E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1725E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1725_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1750E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1750_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1850E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1850_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1875E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1875_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1900E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1925E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1925_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1950E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1950_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2000E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2025E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2025_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2050E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2050_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2100E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2125E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2125_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2150E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2150_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2175E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2175_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2200E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2250E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2275E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2275_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2300E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2325E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2325_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2350E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2350_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2375E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2375_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2400E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2450E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2450_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2475E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2475_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2500E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2550E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2550_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2600E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2625E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2625_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2650E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2650_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2750E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2750_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2775E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2775_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2800E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2850E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2850_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2875E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2875_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2900E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2925E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2925_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2950E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2950_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2975E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2975_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3000E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3025E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3025_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3050E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3050_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3075E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3075_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3100E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3125E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3125_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3150E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3200E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3225E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3225_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3250E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3250_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3300E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3325E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3325_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3375E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3375_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3400E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3450E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3450_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3500E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3525E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3525_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3575E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3575_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3625E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3625_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3675E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3675_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3700E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3750E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3750_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3800E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3825E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3825_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3850E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3850_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3875E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3875_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3900E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3975E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3975_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4000E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4025E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4025_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4050E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4100E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4125E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4125_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4200E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4225E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4225_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4250E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4250_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4275E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4275_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4300E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4350E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4350_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4375E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4375_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4400E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4425E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4425_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4550E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4550_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4575E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4575_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4600E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4625E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4625_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4650E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4650_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4675E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4675_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4700E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4725E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4725_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4750E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4750_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4800E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4875E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4875_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4900E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4950E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed5000E450g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_E4_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0020A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0020_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0040A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0040_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0060A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0060_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0080A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0080_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0100A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0120A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0120_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0140A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0140_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0160A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0160_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0180A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0180_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0200A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0220A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0220_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0240A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0240_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0260A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0260_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0280A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0280_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0300A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0320A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0320_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0340A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0340_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0360A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0360_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0380A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0380_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0400A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0420A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0420_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0440A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0440_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0460A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0460_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0480A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0480_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0500A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0520A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0520_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0540A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0540_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0560A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0560_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0580A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0580_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0600A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0620A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0620_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0640A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0640_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0660A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0660_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0680A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0680_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0700A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0720A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0720_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0740A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0740_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0760A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0760_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0780A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0780_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0800A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0820A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0820_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0840A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0840_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0860A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0860_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0880A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0880_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0920A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0920_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0940A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0940_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0960A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0960_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0980A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0980_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1000A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1020A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1020_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1040A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1040_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1060A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1060_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1080A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1080_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1100A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1120A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1120_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1140A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1140_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1160A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1160_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1180A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1180_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1200A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1220A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1220_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1240A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1240_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1260A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1260_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1280A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1280_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1300A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1320A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1320_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1340A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1340_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1360A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1360_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1380A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1380_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1400A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1420A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1420_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1440A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1440_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1460A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1460_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1480A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1480_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1500A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1520A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1520_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1540A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1540_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1560A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1560_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1580A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1580_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1600A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1620A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1620_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1640A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1640_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1660A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1660_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1680A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1680_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1700A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1720A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1720_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1740A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1740_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1760A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1760_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1780A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1780_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1820A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1820_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1840A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1840_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1860A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1860_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1880A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1880_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1900A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1920A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1920_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1940A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1940_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1960A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1960_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1980A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1980_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2000A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2020A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2020_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2040A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2040_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2060A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2060_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2080A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2080_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2100A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2120A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2120_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2140A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2140_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2160A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2160_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2180A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2180_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2200A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2220A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2220_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2240A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2240_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2260A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2260_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2280A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2280_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2300A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2320A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2320_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2340A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2340_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2360A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2360_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2380A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2380_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2400A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2420A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2420_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2440A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2440_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2460A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2460_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2480A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2480_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2500A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2520A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2520_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2540A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2540_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2560A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2560_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2580A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2580_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2600A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2620A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2620_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2640A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2640_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2660A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2660_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2680A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2680_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2720A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2720_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2740A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2740_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2760A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2760_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2780A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2780_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2800A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2820A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2820_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2840A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2840_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2860A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2860_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2880A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2880_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2900A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2920A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2920_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2940A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2940_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2960A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2960_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2980A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2980_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3000A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3020A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3020_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3040A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3040_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3060A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3060_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3080A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3080_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3100A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3120A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3120_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3140A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3140_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3160A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3160_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3180A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3180_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3200A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3220A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3220_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3240A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3240_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3260A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3260_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3280A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3280_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3300A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3320A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3320_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3340A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3340_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3360A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3360_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3380A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3380_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3400A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3420A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3420_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3440A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3440_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3460A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3460_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3480A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3480_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3500A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3520A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3520_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3540A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3540_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3560A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3560_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3580A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3580_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3620A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3620_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3640A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3640_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3660A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3660_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3680A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3680_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3700A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3720A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3720_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3740A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3740_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3760A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3760_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3780A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3780_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3800A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3820A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3820_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3840A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3840_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3860A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3860_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3880A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3880_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3900A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3920A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3920_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3940A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3940_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3960A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3960_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3980A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3980_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4000A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4020A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4020_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4040A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4040_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4060A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4060_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4080A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4080_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4100A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4120A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4120_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4140A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4140_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4160A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4160_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4180A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4180_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4200A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4220A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4220_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4240A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4240_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4260A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4260_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4280A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4280_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4300A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4320A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4320_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4340A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4340_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4360A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4360_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4380A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4380_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4400A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4420A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4420_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4440A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4440_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4460A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4460_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4480A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4480_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4520A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4520_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4540A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4540_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4560A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4560_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4580A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4580_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4600A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4620A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4620_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4640A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4640_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4660A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4660_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4680A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4680_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4700A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4720A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4720_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4740A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4740_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4760A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4760_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4780A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4780_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4800A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4820A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4820_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4840A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4840_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4860A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4860_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4880A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4880_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4900A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4920A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4920_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4940A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4940_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4960A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4960_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4980A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4980_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed5000A150g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_A1_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0090X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0090_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0180X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0180_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0270X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0270_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0360X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0360_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0450X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0540X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0540_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0630X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0630_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0720X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0720_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0810X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0810_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0990X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0990_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1080X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1080_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1170X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1170_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1260X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1260_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1350X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1440X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1440_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1530X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1530_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1620X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1620_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1710X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1710_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1890X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1890_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1980X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1980_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2070X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2070_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2160X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2160_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2250X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2340X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2340_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2430X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2430_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2520X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2520_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2610X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2610_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2790X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2790_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2880X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2880_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2970X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2970_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3060X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3060_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3150X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3240X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3240_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3330X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3330_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3420X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3420_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3510X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3510_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3690X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3690_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3780X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3780_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3870X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3870_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3960X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3960_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4050X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4140X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4140_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4230X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4230_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4320X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4320_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4410X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4410_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4590X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4590_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4680X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4680_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4770X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4770_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4860X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4860_X9_50G" - CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4950X950g CreateInternalVnicDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_X9_50G" - CreateInternalVnicDetailsVnicShapeDynamicA150g CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0040A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0100A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0100_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0200A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0200_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0300A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0300_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0400A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0400_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0500A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0500_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0600A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0600_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0700A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0700_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0800A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0800_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed0900A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0900_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1000A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1000_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1100A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1100_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1200A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1200_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1300A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1300_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1400A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1400_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1500A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1500_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1600A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1600_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1700A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1700_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1800A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1800_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed1900A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1900_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2000A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2000_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2100A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2100_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2200A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2200_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2300A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2300_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2400A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2400_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2500A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2500_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2600A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2600_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2700A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2700_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2800A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2800_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed2900A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2900_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3000A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3000_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3100A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3100_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3200A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3200_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3300A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3300_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3400A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3400_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3500A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3500_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3600A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3600_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3700A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3700_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3800A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3800_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed3900A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3900_A1_50G" - CreateInternalVnicDetailsVnicShapeFixed4000A150g CreateInternalVnicDetailsVnicShapeEnum = "FIXED4000_A1_50G" - CreateInternalVnicDetailsVnicShapeEntirehostA150g CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST_A1_50G" - CreateInternalVnicDetailsVnicShapeDynamicX950g CreateInternalVnicDetailsVnicShapeEnum = "DYNAMIC_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed0040X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0040_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed0400X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0400_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed0800X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED0800_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed1200X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1200_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed1600X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED1600_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed2000X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2000_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed2400X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2400_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed2800X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED2800_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed3200X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3200_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed3600X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED3600_X9_50G" - CreateInternalVnicDetailsVnicShapeFixed4000X950g CreateInternalVnicDetailsVnicShapeEnum = "FIXED4000_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0100X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0100_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0200X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0200_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0300X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0300_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0400X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0400_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0500X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0500_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0600X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0600_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0700X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0700_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0800X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0800_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed0900X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED0900_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1000X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1000_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1100X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1100_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1200X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1200_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1300X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1300_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1400X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1400_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1500X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1500_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1600X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1600_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1700X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1700_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1800X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1800_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed1900X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED1900_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2000X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2000_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2100X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2100_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2200X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2200_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2300X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2300_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2400X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2400_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2500X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2500_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2600X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2600_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2700X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2700_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2800X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2800_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed2900X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED2900_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3000X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3000_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3100X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3100_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3200X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3200_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3300X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3300_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3400X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3400_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3500X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3500_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3600X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3600_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3700X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3700_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3800X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3800_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed3900X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED3900_X9_50G" - CreateInternalVnicDetailsVnicShapeStandardVmFixed4000X950g CreateInternalVnicDetailsVnicShapeEnum = "STANDARD_VM_FIXED4000_X9_50G" - CreateInternalVnicDetailsVnicShapeEntirehostX950g CreateInternalVnicDetailsVnicShapeEnum = "ENTIREHOST_X9_50G" -) - -var mappingCreateInternalVnicDetailsVnicShapeEnum = map[string]CreateInternalVnicDetailsVnicShapeEnum{ - "DYNAMIC": CreateInternalVnicDetailsVnicShapeDynamic, - "FIXED0040": CreateInternalVnicDetailsVnicShapeFixed0040, - "FIXED0060": CreateInternalVnicDetailsVnicShapeFixed0060, - "FIXED0060_PSM": CreateInternalVnicDetailsVnicShapeFixed0060Psm, - "FIXED0100": CreateInternalVnicDetailsVnicShapeFixed0100, - "FIXED0120": CreateInternalVnicDetailsVnicShapeFixed0120, - "FIXED0120_2X": CreateInternalVnicDetailsVnicShapeFixed01202x, - "FIXED0200": CreateInternalVnicDetailsVnicShapeFixed0200, - "FIXED0240": CreateInternalVnicDetailsVnicShapeFixed0240, - "FIXED0480": CreateInternalVnicDetailsVnicShapeFixed0480, - "ENTIREHOST": CreateInternalVnicDetailsVnicShapeEntirehost, - "DYNAMIC_25G": CreateInternalVnicDetailsVnicShapeDynamic25g, - "FIXED0040_25G": CreateInternalVnicDetailsVnicShapeFixed004025g, - "FIXED0100_25G": CreateInternalVnicDetailsVnicShapeFixed010025g, - "FIXED0200_25G": CreateInternalVnicDetailsVnicShapeFixed020025g, - "FIXED0400_25G": CreateInternalVnicDetailsVnicShapeFixed040025g, - "FIXED0800_25G": CreateInternalVnicDetailsVnicShapeFixed080025g, - "FIXED1600_25G": CreateInternalVnicDetailsVnicShapeFixed160025g, - "FIXED2400_25G": CreateInternalVnicDetailsVnicShapeFixed240025g, - "ENTIREHOST_25G": CreateInternalVnicDetailsVnicShapeEntirehost25g, - "DYNAMIC_E1_25G": CreateInternalVnicDetailsVnicShapeDynamicE125g, - "FIXED0040_E1_25G": CreateInternalVnicDetailsVnicShapeFixed0040E125g, - "FIXED0070_E1_25G": CreateInternalVnicDetailsVnicShapeFixed0070E125g, - "FIXED0140_E1_25G": CreateInternalVnicDetailsVnicShapeFixed0140E125g, - "FIXED0280_E1_25G": CreateInternalVnicDetailsVnicShapeFixed0280E125g, - "FIXED0560_E1_25G": CreateInternalVnicDetailsVnicShapeFixed0560E125g, - "FIXED1120_E1_25G": CreateInternalVnicDetailsVnicShapeFixed1120E125g, - "FIXED1680_E1_25G": CreateInternalVnicDetailsVnicShapeFixed1680E125g, - "ENTIREHOST_E1_25G": CreateInternalVnicDetailsVnicShapeEntirehostE125g, - "DYNAMIC_B1_25G": CreateInternalVnicDetailsVnicShapeDynamicB125g, - "FIXED0040_B1_25G": CreateInternalVnicDetailsVnicShapeFixed0040B125g, - "FIXED0060_B1_25G": CreateInternalVnicDetailsVnicShapeFixed0060B125g, - "FIXED0120_B1_25G": CreateInternalVnicDetailsVnicShapeFixed0120B125g, - "FIXED0240_B1_25G": CreateInternalVnicDetailsVnicShapeFixed0240B125g, - "FIXED0480_B1_25G": CreateInternalVnicDetailsVnicShapeFixed0480B125g, - "FIXED0960_B1_25G": CreateInternalVnicDetailsVnicShapeFixed0960B125g, - "ENTIREHOST_B1_25G": CreateInternalVnicDetailsVnicShapeEntirehostB125g, - "MICRO_VM_FIXED0048_E1_25G": CreateInternalVnicDetailsVnicShapeMicroVmFixed0048E125g, - "MICRO_LB_FIXED0001_E1_25G": CreateInternalVnicDetailsVnicShapeMicroLbFixed0001E125g, - "VNICAAS_FIXED0200": CreateInternalVnicDetailsVnicShapeVnicaasFixed0200, - "VNICAAS_FIXED0400": CreateInternalVnicDetailsVnicShapeVnicaasFixed0400, - "VNICAAS_FIXED0700": CreateInternalVnicDetailsVnicShapeVnicaasFixed0700, - "VNICAAS_NLB_APPROVED_10G": CreateInternalVnicDetailsVnicShapeVnicaasNlbApproved10g, - "VNICAAS_NLB_APPROVED_25G": CreateInternalVnicDetailsVnicShapeVnicaasNlbApproved25g, - "VNICAAS_TELESIS_25G": CreateInternalVnicDetailsVnicShapeVnicaasTelesis25g, - "VNICAAS_TELESIS_10G": CreateInternalVnicDetailsVnicShapeVnicaasTelesis10g, - "VNICAAS_AMBASSADOR_FIXED0100": CreateInternalVnicDetailsVnicShapeVnicaasAmbassadorFixed0100, - "VNICAAS_PRIVATEDNS": CreateInternalVnicDetailsVnicShapeVnicaasPrivatedns, - "VNICAAS_FWAAS": CreateInternalVnicDetailsVnicShapeVnicaasFwaas, - "DYNAMIC_E3_50G": CreateInternalVnicDetailsVnicShapeDynamicE350g, - "FIXED0040_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0040E350g, - "FIXED0100_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0100E350g, - "FIXED0200_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0200E350g, - "FIXED0300_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0300E350g, - "FIXED0400_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0400E350g, - "FIXED0500_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0500E350g, - "FIXED0600_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0600E350g, - "FIXED0700_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0700E350g, - "FIXED0800_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0800E350g, - "FIXED0900_E3_50G": CreateInternalVnicDetailsVnicShapeFixed0900E350g, - "FIXED1000_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1000E350g, - "FIXED1100_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1100E350g, - "FIXED1200_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1200E350g, - "FIXED1300_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1300E350g, - "FIXED1400_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1400E350g, - "FIXED1500_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1500E350g, - "FIXED1600_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1600E350g, - "FIXED1700_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1700E350g, - "FIXED1800_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1800E350g, - "FIXED1900_E3_50G": CreateInternalVnicDetailsVnicShapeFixed1900E350g, - "FIXED2000_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2000E350g, - "FIXED2100_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2100E350g, - "FIXED2200_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2200E350g, - "FIXED2300_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2300E350g, - "FIXED2400_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2400E350g, - "FIXED2500_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2500E350g, - "FIXED2600_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2600E350g, - "FIXED2700_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2700E350g, - "FIXED2800_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2800E350g, - "FIXED2900_E3_50G": CreateInternalVnicDetailsVnicShapeFixed2900E350g, - "FIXED3000_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3000E350g, - "FIXED3100_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3100E350g, - "FIXED3200_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3200E350g, - "FIXED3300_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3300E350g, - "FIXED3400_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3400E350g, - "FIXED3500_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3500E350g, - "FIXED3600_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3600E350g, - "FIXED3700_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3700E350g, - "FIXED3800_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3800E350g, - "FIXED3900_E3_50G": CreateInternalVnicDetailsVnicShapeFixed3900E350g, - "FIXED4000_E3_50G": CreateInternalVnicDetailsVnicShapeFixed4000E350g, - "ENTIREHOST_E3_50G": CreateInternalVnicDetailsVnicShapeEntirehostE350g, - "DYNAMIC_E4_50G": CreateInternalVnicDetailsVnicShapeDynamicE450g, - "FIXED0040_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0040E450g, - "FIXED0100_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0100E450g, - "FIXED0200_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0200E450g, - "FIXED0300_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0300E450g, - "FIXED0400_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0400E450g, - "FIXED0500_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0500E450g, - "FIXED0600_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0600E450g, - "FIXED0700_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0700E450g, - "FIXED0800_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0800E450g, - "FIXED0900_E4_50G": CreateInternalVnicDetailsVnicShapeFixed0900E450g, - "FIXED1000_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1000E450g, - "FIXED1100_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1100E450g, - "FIXED1200_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1200E450g, - "FIXED1300_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1300E450g, - "FIXED1400_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1400E450g, - "FIXED1500_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1500E450g, - "FIXED1600_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1600E450g, - "FIXED1700_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1700E450g, - "FIXED1800_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1800E450g, - "FIXED1900_E4_50G": CreateInternalVnicDetailsVnicShapeFixed1900E450g, - "FIXED2000_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2000E450g, - "FIXED2100_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2100E450g, - "FIXED2200_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2200E450g, - "FIXED2300_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2300E450g, - "FIXED2400_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2400E450g, - "FIXED2500_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2500E450g, - "FIXED2600_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2600E450g, - "FIXED2700_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2700E450g, - "FIXED2800_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2800E450g, - "FIXED2900_E4_50G": CreateInternalVnicDetailsVnicShapeFixed2900E450g, - "FIXED3000_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3000E450g, - "FIXED3100_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3100E450g, - "FIXED3200_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3200E450g, - "FIXED3300_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3300E450g, - "FIXED3400_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3400E450g, - "FIXED3500_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3500E450g, - "FIXED3600_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3600E450g, - "FIXED3700_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3700E450g, - "FIXED3800_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3800E450g, - "FIXED3900_E4_50G": CreateInternalVnicDetailsVnicShapeFixed3900E450g, - "FIXED4000_E4_50G": CreateInternalVnicDetailsVnicShapeFixed4000E450g, - "ENTIREHOST_E4_50G": CreateInternalVnicDetailsVnicShapeEntirehostE450g, - "MICRO_VM_FIXED0050_E3_50G": CreateInternalVnicDetailsVnicShapeMicroVmFixed0050E350g, - "SUBCORE_VM_FIXED0025_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0025E350g, - "SUBCORE_VM_FIXED0050_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0050E350g, - "SUBCORE_VM_FIXED0075_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0075E350g, - "SUBCORE_VM_FIXED0100_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0100E350g, - "SUBCORE_VM_FIXED0125_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0125E350g, - "SUBCORE_VM_FIXED0150_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0150E350g, - "SUBCORE_VM_FIXED0175_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0175E350g, - "SUBCORE_VM_FIXED0200_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0200E350g, - "SUBCORE_VM_FIXED0225_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0225E350g, - "SUBCORE_VM_FIXED0250_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0250E350g, - "SUBCORE_VM_FIXED0275_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0275E350g, - "SUBCORE_VM_FIXED0300_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0300E350g, - "SUBCORE_VM_FIXED0325_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0325E350g, - "SUBCORE_VM_FIXED0350_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0350E350g, - "SUBCORE_VM_FIXED0375_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0375E350g, - "SUBCORE_VM_FIXED0400_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0400E350g, - "SUBCORE_VM_FIXED0425_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0425E350g, - "SUBCORE_VM_FIXED0450_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0450E350g, - "SUBCORE_VM_FIXED0475_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0475E350g, - "SUBCORE_VM_FIXED0500_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0500E350g, - "SUBCORE_VM_FIXED0525_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0525E350g, - "SUBCORE_VM_FIXED0550_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0550E350g, - "SUBCORE_VM_FIXED0575_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0575E350g, - "SUBCORE_VM_FIXED0600_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0600E350g, - "SUBCORE_VM_FIXED0625_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0625E350g, - "SUBCORE_VM_FIXED0650_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0650E350g, - "SUBCORE_VM_FIXED0675_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0675E350g, - "SUBCORE_VM_FIXED0700_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0700E350g, - "SUBCORE_VM_FIXED0725_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0725E350g, - "SUBCORE_VM_FIXED0750_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0750E350g, - "SUBCORE_VM_FIXED0775_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0775E350g, - "SUBCORE_VM_FIXED0800_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0800E350g, - "SUBCORE_VM_FIXED0825_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0825E350g, - "SUBCORE_VM_FIXED0850_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0850E350g, - "SUBCORE_VM_FIXED0875_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0875E350g, - "SUBCORE_VM_FIXED0900_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900E350g, - "SUBCORE_VM_FIXED0925_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0925E350g, - "SUBCORE_VM_FIXED0950_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0950E350g, - "SUBCORE_VM_FIXED0975_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0975E350g, - "SUBCORE_VM_FIXED1000_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1000E350g, - "SUBCORE_VM_FIXED1025_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1025E350g, - "SUBCORE_VM_FIXED1050_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1050E350g, - "SUBCORE_VM_FIXED1075_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1075E350g, - "SUBCORE_VM_FIXED1100_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1100E350g, - "SUBCORE_VM_FIXED1125_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1125E350g, - "SUBCORE_VM_FIXED1150_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1150E350g, - "SUBCORE_VM_FIXED1175_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1175E350g, - "SUBCORE_VM_FIXED1200_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1200E350g, - "SUBCORE_VM_FIXED1225_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1225E350g, - "SUBCORE_VM_FIXED1250_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1250E350g, - "SUBCORE_VM_FIXED1275_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1275E350g, - "SUBCORE_VM_FIXED1300_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1300E350g, - "SUBCORE_VM_FIXED1325_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1325E350g, - "SUBCORE_VM_FIXED1350_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1350E350g, - "SUBCORE_VM_FIXED1375_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1375E350g, - "SUBCORE_VM_FIXED1400_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1400E350g, - "SUBCORE_VM_FIXED1425_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1425E350g, - "SUBCORE_VM_FIXED1450_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1450E350g, - "SUBCORE_VM_FIXED1475_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1475E350g, - "SUBCORE_VM_FIXED1500_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1500E350g, - "SUBCORE_VM_FIXED1525_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1525E350g, - "SUBCORE_VM_FIXED1550_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1550E350g, - "SUBCORE_VM_FIXED1575_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1575E350g, - "SUBCORE_VM_FIXED1600_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1600E350g, - "SUBCORE_VM_FIXED1625_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1625E350g, - "SUBCORE_VM_FIXED1650_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1650E350g, - "SUBCORE_VM_FIXED1700_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1700E350g, - "SUBCORE_VM_FIXED1725_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1725E350g, - "SUBCORE_VM_FIXED1750_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1750E350g, - "SUBCORE_VM_FIXED1800_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800E350g, - "SUBCORE_VM_FIXED1850_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1850E350g, - "SUBCORE_VM_FIXED1875_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1875E350g, - "SUBCORE_VM_FIXED1900_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1900E350g, - "SUBCORE_VM_FIXED1925_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1925E350g, - "SUBCORE_VM_FIXED1950_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1950E350g, - "SUBCORE_VM_FIXED2000_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2000E350g, - "SUBCORE_VM_FIXED2025_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2025E350g, - "SUBCORE_VM_FIXED2050_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2050E350g, - "SUBCORE_VM_FIXED2100_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2100E350g, - "SUBCORE_VM_FIXED2125_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2125E350g, - "SUBCORE_VM_FIXED2150_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2150E350g, - "SUBCORE_VM_FIXED2175_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2175E350g, - "SUBCORE_VM_FIXED2200_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2200E350g, - "SUBCORE_VM_FIXED2250_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2250E350g, - "SUBCORE_VM_FIXED2275_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2275E350g, - "SUBCORE_VM_FIXED2300_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2300E350g, - "SUBCORE_VM_FIXED2325_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2325E350g, - "SUBCORE_VM_FIXED2350_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2350E350g, - "SUBCORE_VM_FIXED2375_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2375E350g, - "SUBCORE_VM_FIXED2400_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2400E350g, - "SUBCORE_VM_FIXED2450_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2450E350g, - "SUBCORE_VM_FIXED2475_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2475E350g, - "SUBCORE_VM_FIXED2500_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2500E350g, - "SUBCORE_VM_FIXED2550_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2550E350g, - "SUBCORE_VM_FIXED2600_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2600E350g, - "SUBCORE_VM_FIXED2625_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2625E350g, - "SUBCORE_VM_FIXED2650_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2650E350g, - "SUBCORE_VM_FIXED2700_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700E350g, - "SUBCORE_VM_FIXED2750_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2750E350g, - "SUBCORE_VM_FIXED2775_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2775E350g, - "SUBCORE_VM_FIXED2800_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2800E350g, - "SUBCORE_VM_FIXED2850_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2850E350g, - "SUBCORE_VM_FIXED2875_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2875E350g, - "SUBCORE_VM_FIXED2900_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2900E350g, - "SUBCORE_VM_FIXED2925_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2925E350g, - "SUBCORE_VM_FIXED2950_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2950E350g, - "SUBCORE_VM_FIXED2975_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2975E350g, - "SUBCORE_VM_FIXED3000_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3000E350g, - "SUBCORE_VM_FIXED3025_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3025E350g, - "SUBCORE_VM_FIXED3050_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3050E350g, - "SUBCORE_VM_FIXED3075_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3075E350g, - "SUBCORE_VM_FIXED3100_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3100E350g, - "SUBCORE_VM_FIXED3125_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3125E350g, - "SUBCORE_VM_FIXED3150_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3150E350g, - "SUBCORE_VM_FIXED3200_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3200E350g, - "SUBCORE_VM_FIXED3225_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3225E350g, - "SUBCORE_VM_FIXED3250_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3250E350g, - "SUBCORE_VM_FIXED3300_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3300E350g, - "SUBCORE_VM_FIXED3325_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3325E350g, - "SUBCORE_VM_FIXED3375_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3375E350g, - "SUBCORE_VM_FIXED3400_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3400E350g, - "SUBCORE_VM_FIXED3450_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3450E350g, - "SUBCORE_VM_FIXED3500_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3500E350g, - "SUBCORE_VM_FIXED3525_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3525E350g, - "SUBCORE_VM_FIXED3575_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3575E350g, - "SUBCORE_VM_FIXED3600_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600E350g, - "SUBCORE_VM_FIXED3625_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3625E350g, - "SUBCORE_VM_FIXED3675_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3675E350g, - "SUBCORE_VM_FIXED3700_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3700E350g, - "SUBCORE_VM_FIXED3750_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3750E350g, - "SUBCORE_VM_FIXED3800_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3800E350g, - "SUBCORE_VM_FIXED3825_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3825E350g, - "SUBCORE_VM_FIXED3850_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3850E350g, - "SUBCORE_VM_FIXED3875_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3875E350g, - "SUBCORE_VM_FIXED3900_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3900E350g, - "SUBCORE_VM_FIXED3975_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3975E350g, - "SUBCORE_VM_FIXED4000_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4000E350g, - "SUBCORE_VM_FIXED4025_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4025E350g, - "SUBCORE_VM_FIXED4050_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4050E350g, - "SUBCORE_VM_FIXED4100_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4100E350g, - "SUBCORE_VM_FIXED4125_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4125E350g, - "SUBCORE_VM_FIXED4200_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4200E350g, - "SUBCORE_VM_FIXED4225_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4225E350g, - "SUBCORE_VM_FIXED4250_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4250E350g, - "SUBCORE_VM_FIXED4275_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4275E350g, - "SUBCORE_VM_FIXED4300_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4300E350g, - "SUBCORE_VM_FIXED4350_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4350E350g, - "SUBCORE_VM_FIXED4375_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4375E350g, - "SUBCORE_VM_FIXED4400_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4400E350g, - "SUBCORE_VM_FIXED4425_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4425E350g, - "SUBCORE_VM_FIXED4500_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500E350g, - "SUBCORE_VM_FIXED4550_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4550E350g, - "SUBCORE_VM_FIXED4575_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4575E350g, - "SUBCORE_VM_FIXED4600_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4600E350g, - "SUBCORE_VM_FIXED4625_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4625E350g, - "SUBCORE_VM_FIXED4650_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4650E350g, - "SUBCORE_VM_FIXED4675_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4675E350g, - "SUBCORE_VM_FIXED4700_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4700E350g, - "SUBCORE_VM_FIXED4725_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4725E350g, - "SUBCORE_VM_FIXED4750_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4750E350g, - "SUBCORE_VM_FIXED4800_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4800E350g, - "SUBCORE_VM_FIXED4875_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4875E350g, - "SUBCORE_VM_FIXED4900_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4900E350g, - "SUBCORE_VM_FIXED4950_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4950E350g, - "SUBCORE_VM_FIXED5000_E3_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed5000E350g, - "SUBCORE_VM_FIXED0025_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0025E450g, - "SUBCORE_VM_FIXED0050_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0050E450g, - "SUBCORE_VM_FIXED0075_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0075E450g, - "SUBCORE_VM_FIXED0100_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0100E450g, - "SUBCORE_VM_FIXED0125_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0125E450g, - "SUBCORE_VM_FIXED0150_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0150E450g, - "SUBCORE_VM_FIXED0175_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0175E450g, - "SUBCORE_VM_FIXED0200_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0200E450g, - "SUBCORE_VM_FIXED0225_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0225E450g, - "SUBCORE_VM_FIXED0250_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0250E450g, - "SUBCORE_VM_FIXED0275_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0275E450g, - "SUBCORE_VM_FIXED0300_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0300E450g, - "SUBCORE_VM_FIXED0325_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0325E450g, - "SUBCORE_VM_FIXED0350_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0350E450g, - "SUBCORE_VM_FIXED0375_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0375E450g, - "SUBCORE_VM_FIXED0400_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0400E450g, - "SUBCORE_VM_FIXED0425_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0425E450g, - "SUBCORE_VM_FIXED0450_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0450E450g, - "SUBCORE_VM_FIXED0475_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0475E450g, - "SUBCORE_VM_FIXED0500_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0500E450g, - "SUBCORE_VM_FIXED0525_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0525E450g, - "SUBCORE_VM_FIXED0550_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0550E450g, - "SUBCORE_VM_FIXED0575_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0575E450g, - "SUBCORE_VM_FIXED0600_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0600E450g, - "SUBCORE_VM_FIXED0625_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0625E450g, - "SUBCORE_VM_FIXED0650_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0650E450g, - "SUBCORE_VM_FIXED0675_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0675E450g, - "SUBCORE_VM_FIXED0700_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0700E450g, - "SUBCORE_VM_FIXED0725_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0725E450g, - "SUBCORE_VM_FIXED0750_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0750E450g, - "SUBCORE_VM_FIXED0775_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0775E450g, - "SUBCORE_VM_FIXED0800_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0800E450g, - "SUBCORE_VM_FIXED0825_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0825E450g, - "SUBCORE_VM_FIXED0850_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0850E450g, - "SUBCORE_VM_FIXED0875_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0875E450g, - "SUBCORE_VM_FIXED0900_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900E450g, - "SUBCORE_VM_FIXED0925_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0925E450g, - "SUBCORE_VM_FIXED0950_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0950E450g, - "SUBCORE_VM_FIXED0975_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0975E450g, - "SUBCORE_VM_FIXED1000_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1000E450g, - "SUBCORE_VM_FIXED1025_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1025E450g, - "SUBCORE_VM_FIXED1050_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1050E450g, - "SUBCORE_VM_FIXED1075_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1075E450g, - "SUBCORE_VM_FIXED1100_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1100E450g, - "SUBCORE_VM_FIXED1125_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1125E450g, - "SUBCORE_VM_FIXED1150_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1150E450g, - "SUBCORE_VM_FIXED1175_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1175E450g, - "SUBCORE_VM_FIXED1200_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1200E450g, - "SUBCORE_VM_FIXED1225_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1225E450g, - "SUBCORE_VM_FIXED1250_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1250E450g, - "SUBCORE_VM_FIXED1275_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1275E450g, - "SUBCORE_VM_FIXED1300_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1300E450g, - "SUBCORE_VM_FIXED1325_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1325E450g, - "SUBCORE_VM_FIXED1350_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1350E450g, - "SUBCORE_VM_FIXED1375_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1375E450g, - "SUBCORE_VM_FIXED1400_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1400E450g, - "SUBCORE_VM_FIXED1425_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1425E450g, - "SUBCORE_VM_FIXED1450_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1450E450g, - "SUBCORE_VM_FIXED1475_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1475E450g, - "SUBCORE_VM_FIXED1500_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1500E450g, - "SUBCORE_VM_FIXED1525_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1525E450g, - "SUBCORE_VM_FIXED1550_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1550E450g, - "SUBCORE_VM_FIXED1575_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1575E450g, - "SUBCORE_VM_FIXED1600_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1600E450g, - "SUBCORE_VM_FIXED1625_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1625E450g, - "SUBCORE_VM_FIXED1650_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1650E450g, - "SUBCORE_VM_FIXED1700_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1700E450g, - "SUBCORE_VM_FIXED1725_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1725E450g, - "SUBCORE_VM_FIXED1750_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1750E450g, - "SUBCORE_VM_FIXED1800_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800E450g, - "SUBCORE_VM_FIXED1850_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1850E450g, - "SUBCORE_VM_FIXED1875_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1875E450g, - "SUBCORE_VM_FIXED1900_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1900E450g, - "SUBCORE_VM_FIXED1925_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1925E450g, - "SUBCORE_VM_FIXED1950_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1950E450g, - "SUBCORE_VM_FIXED2000_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2000E450g, - "SUBCORE_VM_FIXED2025_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2025E450g, - "SUBCORE_VM_FIXED2050_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2050E450g, - "SUBCORE_VM_FIXED2100_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2100E450g, - "SUBCORE_VM_FIXED2125_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2125E450g, - "SUBCORE_VM_FIXED2150_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2150E450g, - "SUBCORE_VM_FIXED2175_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2175E450g, - "SUBCORE_VM_FIXED2200_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2200E450g, - "SUBCORE_VM_FIXED2250_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2250E450g, - "SUBCORE_VM_FIXED2275_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2275E450g, - "SUBCORE_VM_FIXED2300_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2300E450g, - "SUBCORE_VM_FIXED2325_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2325E450g, - "SUBCORE_VM_FIXED2350_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2350E450g, - "SUBCORE_VM_FIXED2375_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2375E450g, - "SUBCORE_VM_FIXED2400_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2400E450g, - "SUBCORE_VM_FIXED2450_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2450E450g, - "SUBCORE_VM_FIXED2475_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2475E450g, - "SUBCORE_VM_FIXED2500_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2500E450g, - "SUBCORE_VM_FIXED2550_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2550E450g, - "SUBCORE_VM_FIXED2600_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2600E450g, - "SUBCORE_VM_FIXED2625_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2625E450g, - "SUBCORE_VM_FIXED2650_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2650E450g, - "SUBCORE_VM_FIXED2700_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700E450g, - "SUBCORE_VM_FIXED2750_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2750E450g, - "SUBCORE_VM_FIXED2775_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2775E450g, - "SUBCORE_VM_FIXED2800_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2800E450g, - "SUBCORE_VM_FIXED2850_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2850E450g, - "SUBCORE_VM_FIXED2875_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2875E450g, - "SUBCORE_VM_FIXED2900_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2900E450g, - "SUBCORE_VM_FIXED2925_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2925E450g, - "SUBCORE_VM_FIXED2950_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2950E450g, - "SUBCORE_VM_FIXED2975_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2975E450g, - "SUBCORE_VM_FIXED3000_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3000E450g, - "SUBCORE_VM_FIXED3025_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3025E450g, - "SUBCORE_VM_FIXED3050_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3050E450g, - "SUBCORE_VM_FIXED3075_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3075E450g, - "SUBCORE_VM_FIXED3100_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3100E450g, - "SUBCORE_VM_FIXED3125_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3125E450g, - "SUBCORE_VM_FIXED3150_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3150E450g, - "SUBCORE_VM_FIXED3200_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3200E450g, - "SUBCORE_VM_FIXED3225_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3225E450g, - "SUBCORE_VM_FIXED3250_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3250E450g, - "SUBCORE_VM_FIXED3300_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3300E450g, - "SUBCORE_VM_FIXED3325_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3325E450g, - "SUBCORE_VM_FIXED3375_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3375E450g, - "SUBCORE_VM_FIXED3400_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3400E450g, - "SUBCORE_VM_FIXED3450_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3450E450g, - "SUBCORE_VM_FIXED3500_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3500E450g, - "SUBCORE_VM_FIXED3525_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3525E450g, - "SUBCORE_VM_FIXED3575_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3575E450g, - "SUBCORE_VM_FIXED3600_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600E450g, - "SUBCORE_VM_FIXED3625_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3625E450g, - "SUBCORE_VM_FIXED3675_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3675E450g, - "SUBCORE_VM_FIXED3700_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3700E450g, - "SUBCORE_VM_FIXED3750_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3750E450g, - "SUBCORE_VM_FIXED3800_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3800E450g, - "SUBCORE_VM_FIXED3825_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3825E450g, - "SUBCORE_VM_FIXED3850_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3850E450g, - "SUBCORE_VM_FIXED3875_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3875E450g, - "SUBCORE_VM_FIXED3900_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3900E450g, - "SUBCORE_VM_FIXED3975_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3975E450g, - "SUBCORE_VM_FIXED4000_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4000E450g, - "SUBCORE_VM_FIXED4025_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4025E450g, - "SUBCORE_VM_FIXED4050_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4050E450g, - "SUBCORE_VM_FIXED4100_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4100E450g, - "SUBCORE_VM_FIXED4125_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4125E450g, - "SUBCORE_VM_FIXED4200_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4200E450g, - "SUBCORE_VM_FIXED4225_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4225E450g, - "SUBCORE_VM_FIXED4250_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4250E450g, - "SUBCORE_VM_FIXED4275_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4275E450g, - "SUBCORE_VM_FIXED4300_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4300E450g, - "SUBCORE_VM_FIXED4350_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4350E450g, - "SUBCORE_VM_FIXED4375_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4375E450g, - "SUBCORE_VM_FIXED4400_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4400E450g, - "SUBCORE_VM_FIXED4425_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4425E450g, - "SUBCORE_VM_FIXED4500_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500E450g, - "SUBCORE_VM_FIXED4550_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4550E450g, - "SUBCORE_VM_FIXED4575_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4575E450g, - "SUBCORE_VM_FIXED4600_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4600E450g, - "SUBCORE_VM_FIXED4625_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4625E450g, - "SUBCORE_VM_FIXED4650_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4650E450g, - "SUBCORE_VM_FIXED4675_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4675E450g, - "SUBCORE_VM_FIXED4700_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4700E450g, - "SUBCORE_VM_FIXED4725_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4725E450g, - "SUBCORE_VM_FIXED4750_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4750E450g, - "SUBCORE_VM_FIXED4800_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4800E450g, - "SUBCORE_VM_FIXED4875_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4875E450g, - "SUBCORE_VM_FIXED4900_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4900E450g, - "SUBCORE_VM_FIXED4950_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4950E450g, - "SUBCORE_VM_FIXED5000_E4_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed5000E450g, - "SUBCORE_VM_FIXED0020_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0020A150g, - "SUBCORE_VM_FIXED0040_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0040A150g, - "SUBCORE_VM_FIXED0060_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0060A150g, - "SUBCORE_VM_FIXED0080_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0080A150g, - "SUBCORE_VM_FIXED0100_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0100A150g, - "SUBCORE_VM_FIXED0120_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0120A150g, - "SUBCORE_VM_FIXED0140_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0140A150g, - "SUBCORE_VM_FIXED0160_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0160A150g, - "SUBCORE_VM_FIXED0180_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0180A150g, - "SUBCORE_VM_FIXED0200_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0200A150g, - "SUBCORE_VM_FIXED0220_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0220A150g, - "SUBCORE_VM_FIXED0240_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0240A150g, - "SUBCORE_VM_FIXED0260_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0260A150g, - "SUBCORE_VM_FIXED0280_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0280A150g, - "SUBCORE_VM_FIXED0300_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0300A150g, - "SUBCORE_VM_FIXED0320_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0320A150g, - "SUBCORE_VM_FIXED0340_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0340A150g, - "SUBCORE_VM_FIXED0360_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0360A150g, - "SUBCORE_VM_FIXED0380_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0380A150g, - "SUBCORE_VM_FIXED0400_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0400A150g, - "SUBCORE_VM_FIXED0420_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0420A150g, - "SUBCORE_VM_FIXED0440_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0440A150g, - "SUBCORE_VM_FIXED0460_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0460A150g, - "SUBCORE_VM_FIXED0480_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0480A150g, - "SUBCORE_VM_FIXED0500_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0500A150g, - "SUBCORE_VM_FIXED0520_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0520A150g, - "SUBCORE_VM_FIXED0540_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0540A150g, - "SUBCORE_VM_FIXED0560_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0560A150g, - "SUBCORE_VM_FIXED0580_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0580A150g, - "SUBCORE_VM_FIXED0600_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0600A150g, - "SUBCORE_VM_FIXED0620_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0620A150g, - "SUBCORE_VM_FIXED0640_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0640A150g, - "SUBCORE_VM_FIXED0660_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0660A150g, - "SUBCORE_VM_FIXED0680_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0680A150g, - "SUBCORE_VM_FIXED0700_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0700A150g, - "SUBCORE_VM_FIXED0720_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0720A150g, - "SUBCORE_VM_FIXED0740_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0740A150g, - "SUBCORE_VM_FIXED0760_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0760A150g, - "SUBCORE_VM_FIXED0780_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0780A150g, - "SUBCORE_VM_FIXED0800_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0800A150g, - "SUBCORE_VM_FIXED0820_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0820A150g, - "SUBCORE_VM_FIXED0840_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0840A150g, - "SUBCORE_VM_FIXED0860_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0860A150g, - "SUBCORE_VM_FIXED0880_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0880A150g, - "SUBCORE_VM_FIXED0900_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900A150g, - "SUBCORE_VM_FIXED0920_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0920A150g, - "SUBCORE_VM_FIXED0940_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0940A150g, - "SUBCORE_VM_FIXED0960_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0960A150g, - "SUBCORE_VM_FIXED0980_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0980A150g, - "SUBCORE_VM_FIXED1000_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1000A150g, - "SUBCORE_VM_FIXED1020_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1020A150g, - "SUBCORE_VM_FIXED1040_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1040A150g, - "SUBCORE_VM_FIXED1060_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1060A150g, - "SUBCORE_VM_FIXED1080_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1080A150g, - "SUBCORE_VM_FIXED1100_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1100A150g, - "SUBCORE_VM_FIXED1120_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1120A150g, - "SUBCORE_VM_FIXED1140_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1140A150g, - "SUBCORE_VM_FIXED1160_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1160A150g, - "SUBCORE_VM_FIXED1180_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1180A150g, - "SUBCORE_VM_FIXED1200_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1200A150g, - "SUBCORE_VM_FIXED1220_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1220A150g, - "SUBCORE_VM_FIXED1240_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1240A150g, - "SUBCORE_VM_FIXED1260_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1260A150g, - "SUBCORE_VM_FIXED1280_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1280A150g, - "SUBCORE_VM_FIXED1300_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1300A150g, - "SUBCORE_VM_FIXED1320_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1320A150g, - "SUBCORE_VM_FIXED1340_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1340A150g, - "SUBCORE_VM_FIXED1360_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1360A150g, - "SUBCORE_VM_FIXED1380_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1380A150g, - "SUBCORE_VM_FIXED1400_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1400A150g, - "SUBCORE_VM_FIXED1420_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1420A150g, - "SUBCORE_VM_FIXED1440_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1440A150g, - "SUBCORE_VM_FIXED1460_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1460A150g, - "SUBCORE_VM_FIXED1480_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1480A150g, - "SUBCORE_VM_FIXED1500_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1500A150g, - "SUBCORE_VM_FIXED1520_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1520A150g, - "SUBCORE_VM_FIXED1540_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1540A150g, - "SUBCORE_VM_FIXED1560_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1560A150g, - "SUBCORE_VM_FIXED1580_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1580A150g, - "SUBCORE_VM_FIXED1600_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1600A150g, - "SUBCORE_VM_FIXED1620_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1620A150g, - "SUBCORE_VM_FIXED1640_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1640A150g, - "SUBCORE_VM_FIXED1660_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1660A150g, - "SUBCORE_VM_FIXED1680_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1680A150g, - "SUBCORE_VM_FIXED1700_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1700A150g, - "SUBCORE_VM_FIXED1720_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1720A150g, - "SUBCORE_VM_FIXED1740_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1740A150g, - "SUBCORE_VM_FIXED1760_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1760A150g, - "SUBCORE_VM_FIXED1780_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1780A150g, - "SUBCORE_VM_FIXED1800_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800A150g, - "SUBCORE_VM_FIXED1820_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1820A150g, - "SUBCORE_VM_FIXED1840_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1840A150g, - "SUBCORE_VM_FIXED1860_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1860A150g, - "SUBCORE_VM_FIXED1880_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1880A150g, - "SUBCORE_VM_FIXED1900_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1900A150g, - "SUBCORE_VM_FIXED1920_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1920A150g, - "SUBCORE_VM_FIXED1940_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1940A150g, - "SUBCORE_VM_FIXED1960_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1960A150g, - "SUBCORE_VM_FIXED1980_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1980A150g, - "SUBCORE_VM_FIXED2000_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2000A150g, - "SUBCORE_VM_FIXED2020_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2020A150g, - "SUBCORE_VM_FIXED2040_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2040A150g, - "SUBCORE_VM_FIXED2060_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2060A150g, - "SUBCORE_VM_FIXED2080_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2080A150g, - "SUBCORE_VM_FIXED2100_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2100A150g, - "SUBCORE_VM_FIXED2120_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2120A150g, - "SUBCORE_VM_FIXED2140_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2140A150g, - "SUBCORE_VM_FIXED2160_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2160A150g, - "SUBCORE_VM_FIXED2180_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2180A150g, - "SUBCORE_VM_FIXED2200_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2200A150g, - "SUBCORE_VM_FIXED2220_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2220A150g, - "SUBCORE_VM_FIXED2240_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2240A150g, - "SUBCORE_VM_FIXED2260_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2260A150g, - "SUBCORE_VM_FIXED2280_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2280A150g, - "SUBCORE_VM_FIXED2300_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2300A150g, - "SUBCORE_VM_FIXED2320_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2320A150g, - "SUBCORE_VM_FIXED2340_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2340A150g, - "SUBCORE_VM_FIXED2360_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2360A150g, - "SUBCORE_VM_FIXED2380_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2380A150g, - "SUBCORE_VM_FIXED2400_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2400A150g, - "SUBCORE_VM_FIXED2420_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2420A150g, - "SUBCORE_VM_FIXED2440_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2440A150g, - "SUBCORE_VM_FIXED2460_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2460A150g, - "SUBCORE_VM_FIXED2480_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2480A150g, - "SUBCORE_VM_FIXED2500_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2500A150g, - "SUBCORE_VM_FIXED2520_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2520A150g, - "SUBCORE_VM_FIXED2540_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2540A150g, - "SUBCORE_VM_FIXED2560_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2560A150g, - "SUBCORE_VM_FIXED2580_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2580A150g, - "SUBCORE_VM_FIXED2600_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2600A150g, - "SUBCORE_VM_FIXED2620_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2620A150g, - "SUBCORE_VM_FIXED2640_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2640A150g, - "SUBCORE_VM_FIXED2660_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2660A150g, - "SUBCORE_VM_FIXED2680_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2680A150g, - "SUBCORE_VM_FIXED2700_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700A150g, - "SUBCORE_VM_FIXED2720_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2720A150g, - "SUBCORE_VM_FIXED2740_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2740A150g, - "SUBCORE_VM_FIXED2760_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2760A150g, - "SUBCORE_VM_FIXED2780_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2780A150g, - "SUBCORE_VM_FIXED2800_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2800A150g, - "SUBCORE_VM_FIXED2820_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2820A150g, - "SUBCORE_VM_FIXED2840_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2840A150g, - "SUBCORE_VM_FIXED2860_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2860A150g, - "SUBCORE_VM_FIXED2880_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2880A150g, - "SUBCORE_VM_FIXED2900_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2900A150g, - "SUBCORE_VM_FIXED2920_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2920A150g, - "SUBCORE_VM_FIXED2940_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2940A150g, - "SUBCORE_VM_FIXED2960_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2960A150g, - "SUBCORE_VM_FIXED2980_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2980A150g, - "SUBCORE_VM_FIXED3000_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3000A150g, - "SUBCORE_VM_FIXED3020_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3020A150g, - "SUBCORE_VM_FIXED3040_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3040A150g, - "SUBCORE_VM_FIXED3060_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3060A150g, - "SUBCORE_VM_FIXED3080_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3080A150g, - "SUBCORE_VM_FIXED3100_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3100A150g, - "SUBCORE_VM_FIXED3120_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3120A150g, - "SUBCORE_VM_FIXED3140_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3140A150g, - "SUBCORE_VM_FIXED3160_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3160A150g, - "SUBCORE_VM_FIXED3180_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3180A150g, - "SUBCORE_VM_FIXED3200_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3200A150g, - "SUBCORE_VM_FIXED3220_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3220A150g, - "SUBCORE_VM_FIXED3240_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3240A150g, - "SUBCORE_VM_FIXED3260_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3260A150g, - "SUBCORE_VM_FIXED3280_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3280A150g, - "SUBCORE_VM_FIXED3300_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3300A150g, - "SUBCORE_VM_FIXED3320_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3320A150g, - "SUBCORE_VM_FIXED3340_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3340A150g, - "SUBCORE_VM_FIXED3360_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3360A150g, - "SUBCORE_VM_FIXED3380_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3380A150g, - "SUBCORE_VM_FIXED3400_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3400A150g, - "SUBCORE_VM_FIXED3420_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3420A150g, - "SUBCORE_VM_FIXED3440_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3440A150g, - "SUBCORE_VM_FIXED3460_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3460A150g, - "SUBCORE_VM_FIXED3480_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3480A150g, - "SUBCORE_VM_FIXED3500_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3500A150g, - "SUBCORE_VM_FIXED3520_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3520A150g, - "SUBCORE_VM_FIXED3540_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3540A150g, - "SUBCORE_VM_FIXED3560_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3560A150g, - "SUBCORE_VM_FIXED3580_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3580A150g, - "SUBCORE_VM_FIXED3600_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600A150g, - "SUBCORE_VM_FIXED3620_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3620A150g, - "SUBCORE_VM_FIXED3640_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3640A150g, - "SUBCORE_VM_FIXED3660_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3660A150g, - "SUBCORE_VM_FIXED3680_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3680A150g, - "SUBCORE_VM_FIXED3700_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3700A150g, - "SUBCORE_VM_FIXED3720_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3720A150g, - "SUBCORE_VM_FIXED3740_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3740A150g, - "SUBCORE_VM_FIXED3760_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3760A150g, - "SUBCORE_VM_FIXED3780_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3780A150g, - "SUBCORE_VM_FIXED3800_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3800A150g, - "SUBCORE_VM_FIXED3820_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3820A150g, - "SUBCORE_VM_FIXED3840_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3840A150g, - "SUBCORE_VM_FIXED3860_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3860A150g, - "SUBCORE_VM_FIXED3880_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3880A150g, - "SUBCORE_VM_FIXED3900_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3900A150g, - "SUBCORE_VM_FIXED3920_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3920A150g, - "SUBCORE_VM_FIXED3940_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3940A150g, - "SUBCORE_VM_FIXED3960_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3960A150g, - "SUBCORE_VM_FIXED3980_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3980A150g, - "SUBCORE_VM_FIXED4000_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4000A150g, - "SUBCORE_VM_FIXED4020_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4020A150g, - "SUBCORE_VM_FIXED4040_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4040A150g, - "SUBCORE_VM_FIXED4060_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4060A150g, - "SUBCORE_VM_FIXED4080_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4080A150g, - "SUBCORE_VM_FIXED4100_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4100A150g, - "SUBCORE_VM_FIXED4120_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4120A150g, - "SUBCORE_VM_FIXED4140_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4140A150g, - "SUBCORE_VM_FIXED4160_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4160A150g, - "SUBCORE_VM_FIXED4180_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4180A150g, - "SUBCORE_VM_FIXED4200_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4200A150g, - "SUBCORE_VM_FIXED4220_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4220A150g, - "SUBCORE_VM_FIXED4240_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4240A150g, - "SUBCORE_VM_FIXED4260_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4260A150g, - "SUBCORE_VM_FIXED4280_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4280A150g, - "SUBCORE_VM_FIXED4300_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4300A150g, - "SUBCORE_VM_FIXED4320_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4320A150g, - "SUBCORE_VM_FIXED4340_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4340A150g, - "SUBCORE_VM_FIXED4360_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4360A150g, - "SUBCORE_VM_FIXED4380_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4380A150g, - "SUBCORE_VM_FIXED4400_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4400A150g, - "SUBCORE_VM_FIXED4420_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4420A150g, - "SUBCORE_VM_FIXED4440_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4440A150g, - "SUBCORE_VM_FIXED4460_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4460A150g, - "SUBCORE_VM_FIXED4480_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4480A150g, - "SUBCORE_VM_FIXED4500_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500A150g, - "SUBCORE_VM_FIXED4520_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4520A150g, - "SUBCORE_VM_FIXED4540_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4540A150g, - "SUBCORE_VM_FIXED4560_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4560A150g, - "SUBCORE_VM_FIXED4580_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4580A150g, - "SUBCORE_VM_FIXED4600_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4600A150g, - "SUBCORE_VM_FIXED4620_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4620A150g, - "SUBCORE_VM_FIXED4640_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4640A150g, - "SUBCORE_VM_FIXED4660_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4660A150g, - "SUBCORE_VM_FIXED4680_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4680A150g, - "SUBCORE_VM_FIXED4700_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4700A150g, - "SUBCORE_VM_FIXED4720_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4720A150g, - "SUBCORE_VM_FIXED4740_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4740A150g, - "SUBCORE_VM_FIXED4760_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4760A150g, - "SUBCORE_VM_FIXED4780_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4780A150g, - "SUBCORE_VM_FIXED4800_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4800A150g, - "SUBCORE_VM_FIXED4820_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4820A150g, - "SUBCORE_VM_FIXED4840_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4840A150g, - "SUBCORE_VM_FIXED4860_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4860A150g, - "SUBCORE_VM_FIXED4880_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4880A150g, - "SUBCORE_VM_FIXED4900_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4900A150g, - "SUBCORE_VM_FIXED4920_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4920A150g, - "SUBCORE_VM_FIXED4940_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4940A150g, - "SUBCORE_VM_FIXED4960_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4960A150g, - "SUBCORE_VM_FIXED4980_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4980A150g, - "SUBCORE_VM_FIXED5000_A1_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed5000A150g, - "SUBCORE_VM_FIXED0090_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0090X950g, - "SUBCORE_VM_FIXED0180_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0180X950g, - "SUBCORE_VM_FIXED0270_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0270X950g, - "SUBCORE_VM_FIXED0360_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0360X950g, - "SUBCORE_VM_FIXED0450_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0450X950g, - "SUBCORE_VM_FIXED0540_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0540X950g, - "SUBCORE_VM_FIXED0630_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0630X950g, - "SUBCORE_VM_FIXED0720_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0720X950g, - "SUBCORE_VM_FIXED0810_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0810X950g, - "SUBCORE_VM_FIXED0900_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0900X950g, - "SUBCORE_VM_FIXED0990_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed0990X950g, - "SUBCORE_VM_FIXED1080_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1080X950g, - "SUBCORE_VM_FIXED1170_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1170X950g, - "SUBCORE_VM_FIXED1260_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1260X950g, - "SUBCORE_VM_FIXED1350_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1350X950g, - "SUBCORE_VM_FIXED1440_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1440X950g, - "SUBCORE_VM_FIXED1530_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1530X950g, - "SUBCORE_VM_FIXED1620_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1620X950g, - "SUBCORE_VM_FIXED1710_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1710X950g, - "SUBCORE_VM_FIXED1800_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1800X950g, - "SUBCORE_VM_FIXED1890_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1890X950g, - "SUBCORE_VM_FIXED1980_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed1980X950g, - "SUBCORE_VM_FIXED2070_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2070X950g, - "SUBCORE_VM_FIXED2160_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2160X950g, - "SUBCORE_VM_FIXED2250_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2250X950g, - "SUBCORE_VM_FIXED2340_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2340X950g, - "SUBCORE_VM_FIXED2430_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2430X950g, - "SUBCORE_VM_FIXED2520_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2520X950g, - "SUBCORE_VM_FIXED2610_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2610X950g, - "SUBCORE_VM_FIXED2700_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2700X950g, - "SUBCORE_VM_FIXED2790_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2790X950g, - "SUBCORE_VM_FIXED2880_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2880X950g, - "SUBCORE_VM_FIXED2970_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed2970X950g, - "SUBCORE_VM_FIXED3060_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3060X950g, - "SUBCORE_VM_FIXED3150_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3150X950g, - "SUBCORE_VM_FIXED3240_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3240X950g, - "SUBCORE_VM_FIXED3330_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3330X950g, - "SUBCORE_VM_FIXED3420_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3420X950g, - "SUBCORE_VM_FIXED3510_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3510X950g, - "SUBCORE_VM_FIXED3600_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3600X950g, - "SUBCORE_VM_FIXED3690_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3690X950g, - "SUBCORE_VM_FIXED3780_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3780X950g, - "SUBCORE_VM_FIXED3870_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3870X950g, - "SUBCORE_VM_FIXED3960_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed3960X950g, - "SUBCORE_VM_FIXED4050_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4050X950g, - "SUBCORE_VM_FIXED4140_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4140X950g, - "SUBCORE_VM_FIXED4230_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4230X950g, - "SUBCORE_VM_FIXED4320_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4320X950g, - "SUBCORE_VM_FIXED4410_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4410X950g, - "SUBCORE_VM_FIXED4500_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4500X950g, - "SUBCORE_VM_FIXED4590_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4590X950g, - "SUBCORE_VM_FIXED4680_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4680X950g, - "SUBCORE_VM_FIXED4770_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4770X950g, - "SUBCORE_VM_FIXED4860_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4860X950g, - "SUBCORE_VM_FIXED4950_X9_50G": CreateInternalVnicDetailsVnicShapeSubcoreVmFixed4950X950g, - "DYNAMIC_A1_50G": CreateInternalVnicDetailsVnicShapeDynamicA150g, - "FIXED0040_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0040A150g, - "FIXED0100_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0100A150g, - "FIXED0200_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0200A150g, - "FIXED0300_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0300A150g, - "FIXED0400_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0400A150g, - "FIXED0500_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0500A150g, - "FIXED0600_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0600A150g, - "FIXED0700_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0700A150g, - "FIXED0800_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0800A150g, - "FIXED0900_A1_50G": CreateInternalVnicDetailsVnicShapeFixed0900A150g, - "FIXED1000_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1000A150g, - "FIXED1100_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1100A150g, - "FIXED1200_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1200A150g, - "FIXED1300_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1300A150g, - "FIXED1400_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1400A150g, - "FIXED1500_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1500A150g, - "FIXED1600_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1600A150g, - "FIXED1700_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1700A150g, - "FIXED1800_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1800A150g, - "FIXED1900_A1_50G": CreateInternalVnicDetailsVnicShapeFixed1900A150g, - "FIXED2000_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2000A150g, - "FIXED2100_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2100A150g, - "FIXED2200_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2200A150g, - "FIXED2300_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2300A150g, - "FIXED2400_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2400A150g, - "FIXED2500_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2500A150g, - "FIXED2600_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2600A150g, - "FIXED2700_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2700A150g, - "FIXED2800_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2800A150g, - "FIXED2900_A1_50G": CreateInternalVnicDetailsVnicShapeFixed2900A150g, - "FIXED3000_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3000A150g, - "FIXED3100_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3100A150g, - "FIXED3200_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3200A150g, - "FIXED3300_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3300A150g, - "FIXED3400_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3400A150g, - "FIXED3500_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3500A150g, - "FIXED3600_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3600A150g, - "FIXED3700_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3700A150g, - "FIXED3800_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3800A150g, - "FIXED3900_A1_50G": CreateInternalVnicDetailsVnicShapeFixed3900A150g, - "FIXED4000_A1_50G": CreateInternalVnicDetailsVnicShapeFixed4000A150g, - "ENTIREHOST_A1_50G": CreateInternalVnicDetailsVnicShapeEntirehostA150g, - "DYNAMIC_X9_50G": CreateInternalVnicDetailsVnicShapeDynamicX950g, - "FIXED0040_X9_50G": CreateInternalVnicDetailsVnicShapeFixed0040X950g, - "FIXED0400_X9_50G": CreateInternalVnicDetailsVnicShapeFixed0400X950g, - "FIXED0800_X9_50G": CreateInternalVnicDetailsVnicShapeFixed0800X950g, - "FIXED1200_X9_50G": CreateInternalVnicDetailsVnicShapeFixed1200X950g, - "FIXED1600_X9_50G": CreateInternalVnicDetailsVnicShapeFixed1600X950g, - "FIXED2000_X9_50G": CreateInternalVnicDetailsVnicShapeFixed2000X950g, - "FIXED2400_X9_50G": CreateInternalVnicDetailsVnicShapeFixed2400X950g, - "FIXED2800_X9_50G": CreateInternalVnicDetailsVnicShapeFixed2800X950g, - "FIXED3200_X9_50G": CreateInternalVnicDetailsVnicShapeFixed3200X950g, - "FIXED3600_X9_50G": CreateInternalVnicDetailsVnicShapeFixed3600X950g, - "FIXED4000_X9_50G": CreateInternalVnicDetailsVnicShapeFixed4000X950g, - "STANDARD_VM_FIXED0100_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0100X950g, - "STANDARD_VM_FIXED0200_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0200X950g, - "STANDARD_VM_FIXED0300_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0300X950g, - "STANDARD_VM_FIXED0400_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0400X950g, - "STANDARD_VM_FIXED0500_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0500X950g, - "STANDARD_VM_FIXED0600_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0600X950g, - "STANDARD_VM_FIXED0700_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0700X950g, - "STANDARD_VM_FIXED0800_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0800X950g, - "STANDARD_VM_FIXED0900_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed0900X950g, - "STANDARD_VM_FIXED1000_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1000X950g, - "STANDARD_VM_FIXED1100_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1100X950g, - "STANDARD_VM_FIXED1200_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1200X950g, - "STANDARD_VM_FIXED1300_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1300X950g, - "STANDARD_VM_FIXED1400_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1400X950g, - "STANDARD_VM_FIXED1500_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1500X950g, - "STANDARD_VM_FIXED1600_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1600X950g, - "STANDARD_VM_FIXED1700_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1700X950g, - "STANDARD_VM_FIXED1800_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1800X950g, - "STANDARD_VM_FIXED1900_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed1900X950g, - "STANDARD_VM_FIXED2000_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2000X950g, - "STANDARD_VM_FIXED2100_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2100X950g, - "STANDARD_VM_FIXED2200_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2200X950g, - "STANDARD_VM_FIXED2300_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2300X950g, - "STANDARD_VM_FIXED2400_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2400X950g, - "STANDARD_VM_FIXED2500_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2500X950g, - "STANDARD_VM_FIXED2600_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2600X950g, - "STANDARD_VM_FIXED2700_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2700X950g, - "STANDARD_VM_FIXED2800_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2800X950g, - "STANDARD_VM_FIXED2900_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed2900X950g, - "STANDARD_VM_FIXED3000_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3000X950g, - "STANDARD_VM_FIXED3100_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3100X950g, - "STANDARD_VM_FIXED3200_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3200X950g, - "STANDARD_VM_FIXED3300_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3300X950g, - "STANDARD_VM_FIXED3400_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3400X950g, - "STANDARD_VM_FIXED3500_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3500X950g, - "STANDARD_VM_FIXED3600_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3600X950g, - "STANDARD_VM_FIXED3700_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3700X950g, - "STANDARD_VM_FIXED3800_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3800X950g, - "STANDARD_VM_FIXED3900_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed3900X950g, - "STANDARD_VM_FIXED4000_X9_50G": CreateInternalVnicDetailsVnicShapeStandardVmFixed4000X950g, - "ENTIREHOST_X9_50G": CreateInternalVnicDetailsVnicShapeEntirehostX950g, -} - -// GetCreateInternalVnicDetailsVnicShapeEnumValues Enumerates the set of values for CreateInternalVnicDetailsVnicShapeEnum -func GetCreateInternalVnicDetailsVnicShapeEnumValues() []CreateInternalVnicDetailsVnicShapeEnum { - values := make([]CreateInternalVnicDetailsVnicShapeEnum, 0) - for _, v := range mappingCreateInternalVnicDetailsVnicShapeEnum { - values = append(values, v) - } - return values -} - -// GetCreateInternalVnicDetailsVnicShapeEnumStringValues Enumerates the set of values in String for CreateInternalVnicDetailsVnicShapeEnum -func GetCreateInternalVnicDetailsVnicShapeEnumStringValues() []string { - return []string{ - "DYNAMIC", - "FIXED0040", - "FIXED0060", - "FIXED0060_PSM", - "FIXED0100", - "FIXED0120", - "FIXED0120_2X", - "FIXED0200", - "FIXED0240", - "FIXED0480", - "ENTIREHOST", - "DYNAMIC_25G", - "FIXED0040_25G", - "FIXED0100_25G", - "FIXED0200_25G", - "FIXED0400_25G", - "FIXED0800_25G", - "FIXED1600_25G", - "FIXED2400_25G", - "ENTIREHOST_25G", - "DYNAMIC_E1_25G", - "FIXED0040_E1_25G", - "FIXED0070_E1_25G", - "FIXED0140_E1_25G", - "FIXED0280_E1_25G", - "FIXED0560_E1_25G", - "FIXED1120_E1_25G", - "FIXED1680_E1_25G", - "ENTIREHOST_E1_25G", - "DYNAMIC_B1_25G", - "FIXED0040_B1_25G", - "FIXED0060_B1_25G", - "FIXED0120_B1_25G", - "FIXED0240_B1_25G", - "FIXED0480_B1_25G", - "FIXED0960_B1_25G", - "ENTIREHOST_B1_25G", - "MICRO_VM_FIXED0048_E1_25G", - "MICRO_LB_FIXED0001_E1_25G", - "VNICAAS_FIXED0200", - "VNICAAS_FIXED0400", - "VNICAAS_FIXED0700", - "VNICAAS_NLB_APPROVED_10G", - "VNICAAS_NLB_APPROVED_25G", - "VNICAAS_TELESIS_25G", - "VNICAAS_TELESIS_10G", - "VNICAAS_AMBASSADOR_FIXED0100", - "VNICAAS_PRIVATEDNS", - "VNICAAS_FWAAS", - "DYNAMIC_E3_50G", - "FIXED0040_E3_50G", - "FIXED0100_E3_50G", - "FIXED0200_E3_50G", - "FIXED0300_E3_50G", - "FIXED0400_E3_50G", - "FIXED0500_E3_50G", - "FIXED0600_E3_50G", - "FIXED0700_E3_50G", - "FIXED0800_E3_50G", - "FIXED0900_E3_50G", - "FIXED1000_E3_50G", - "FIXED1100_E3_50G", - "FIXED1200_E3_50G", - "FIXED1300_E3_50G", - "FIXED1400_E3_50G", - "FIXED1500_E3_50G", - "FIXED1600_E3_50G", - "FIXED1700_E3_50G", - "FIXED1800_E3_50G", - "FIXED1900_E3_50G", - "FIXED2000_E3_50G", - "FIXED2100_E3_50G", - "FIXED2200_E3_50G", - "FIXED2300_E3_50G", - "FIXED2400_E3_50G", - "FIXED2500_E3_50G", - "FIXED2600_E3_50G", - "FIXED2700_E3_50G", - "FIXED2800_E3_50G", - "FIXED2900_E3_50G", - "FIXED3000_E3_50G", - "FIXED3100_E3_50G", - "FIXED3200_E3_50G", - "FIXED3300_E3_50G", - "FIXED3400_E3_50G", - "FIXED3500_E3_50G", - "FIXED3600_E3_50G", - "FIXED3700_E3_50G", - "FIXED3800_E3_50G", - "FIXED3900_E3_50G", - "FIXED4000_E3_50G", - "ENTIREHOST_E3_50G", - "DYNAMIC_E4_50G", - "FIXED0040_E4_50G", - "FIXED0100_E4_50G", - "FIXED0200_E4_50G", - "FIXED0300_E4_50G", - "FIXED0400_E4_50G", - "FIXED0500_E4_50G", - "FIXED0600_E4_50G", - "FIXED0700_E4_50G", - "FIXED0800_E4_50G", - "FIXED0900_E4_50G", - "FIXED1000_E4_50G", - "FIXED1100_E4_50G", - "FIXED1200_E4_50G", - "FIXED1300_E4_50G", - "FIXED1400_E4_50G", - "FIXED1500_E4_50G", - "FIXED1600_E4_50G", - "FIXED1700_E4_50G", - "FIXED1800_E4_50G", - "FIXED1900_E4_50G", - "FIXED2000_E4_50G", - "FIXED2100_E4_50G", - "FIXED2200_E4_50G", - "FIXED2300_E4_50G", - "FIXED2400_E4_50G", - "FIXED2500_E4_50G", - "FIXED2600_E4_50G", - "FIXED2700_E4_50G", - "FIXED2800_E4_50G", - "FIXED2900_E4_50G", - "FIXED3000_E4_50G", - "FIXED3100_E4_50G", - "FIXED3200_E4_50G", - "FIXED3300_E4_50G", - "FIXED3400_E4_50G", - "FIXED3500_E4_50G", - "FIXED3600_E4_50G", - "FIXED3700_E4_50G", - "FIXED3800_E4_50G", - "FIXED3900_E4_50G", - "FIXED4000_E4_50G", - "ENTIREHOST_E4_50G", - "MICRO_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0025_E3_50G", - "SUBCORE_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0075_E3_50G", - "SUBCORE_VM_FIXED0100_E3_50G", - "SUBCORE_VM_FIXED0125_E3_50G", - "SUBCORE_VM_FIXED0150_E3_50G", - "SUBCORE_VM_FIXED0175_E3_50G", - "SUBCORE_VM_FIXED0200_E3_50G", - "SUBCORE_VM_FIXED0225_E3_50G", - "SUBCORE_VM_FIXED0250_E3_50G", - "SUBCORE_VM_FIXED0275_E3_50G", - "SUBCORE_VM_FIXED0300_E3_50G", - "SUBCORE_VM_FIXED0325_E3_50G", - "SUBCORE_VM_FIXED0350_E3_50G", - "SUBCORE_VM_FIXED0375_E3_50G", - "SUBCORE_VM_FIXED0400_E3_50G", - "SUBCORE_VM_FIXED0425_E3_50G", - "SUBCORE_VM_FIXED0450_E3_50G", - "SUBCORE_VM_FIXED0475_E3_50G", - "SUBCORE_VM_FIXED0500_E3_50G", - "SUBCORE_VM_FIXED0525_E3_50G", - "SUBCORE_VM_FIXED0550_E3_50G", - "SUBCORE_VM_FIXED0575_E3_50G", - "SUBCORE_VM_FIXED0600_E3_50G", - "SUBCORE_VM_FIXED0625_E3_50G", - "SUBCORE_VM_FIXED0650_E3_50G", - "SUBCORE_VM_FIXED0675_E3_50G", - "SUBCORE_VM_FIXED0700_E3_50G", - "SUBCORE_VM_FIXED0725_E3_50G", - "SUBCORE_VM_FIXED0750_E3_50G", - "SUBCORE_VM_FIXED0775_E3_50G", - "SUBCORE_VM_FIXED0800_E3_50G", - "SUBCORE_VM_FIXED0825_E3_50G", - "SUBCORE_VM_FIXED0850_E3_50G", - "SUBCORE_VM_FIXED0875_E3_50G", - "SUBCORE_VM_FIXED0900_E3_50G", - "SUBCORE_VM_FIXED0925_E3_50G", - "SUBCORE_VM_FIXED0950_E3_50G", - "SUBCORE_VM_FIXED0975_E3_50G", - "SUBCORE_VM_FIXED1000_E3_50G", - "SUBCORE_VM_FIXED1025_E3_50G", - "SUBCORE_VM_FIXED1050_E3_50G", - "SUBCORE_VM_FIXED1075_E3_50G", - "SUBCORE_VM_FIXED1100_E3_50G", - "SUBCORE_VM_FIXED1125_E3_50G", - "SUBCORE_VM_FIXED1150_E3_50G", - "SUBCORE_VM_FIXED1175_E3_50G", - "SUBCORE_VM_FIXED1200_E3_50G", - "SUBCORE_VM_FIXED1225_E3_50G", - "SUBCORE_VM_FIXED1250_E3_50G", - "SUBCORE_VM_FIXED1275_E3_50G", - "SUBCORE_VM_FIXED1300_E3_50G", - "SUBCORE_VM_FIXED1325_E3_50G", - "SUBCORE_VM_FIXED1350_E3_50G", - "SUBCORE_VM_FIXED1375_E3_50G", - "SUBCORE_VM_FIXED1400_E3_50G", - "SUBCORE_VM_FIXED1425_E3_50G", - "SUBCORE_VM_FIXED1450_E3_50G", - "SUBCORE_VM_FIXED1475_E3_50G", - "SUBCORE_VM_FIXED1500_E3_50G", - "SUBCORE_VM_FIXED1525_E3_50G", - "SUBCORE_VM_FIXED1550_E3_50G", - "SUBCORE_VM_FIXED1575_E3_50G", - "SUBCORE_VM_FIXED1600_E3_50G", - "SUBCORE_VM_FIXED1625_E3_50G", - "SUBCORE_VM_FIXED1650_E3_50G", - "SUBCORE_VM_FIXED1700_E3_50G", - "SUBCORE_VM_FIXED1725_E3_50G", - "SUBCORE_VM_FIXED1750_E3_50G", - "SUBCORE_VM_FIXED1800_E3_50G", - "SUBCORE_VM_FIXED1850_E3_50G", - "SUBCORE_VM_FIXED1875_E3_50G", - "SUBCORE_VM_FIXED1900_E3_50G", - "SUBCORE_VM_FIXED1925_E3_50G", - "SUBCORE_VM_FIXED1950_E3_50G", - "SUBCORE_VM_FIXED2000_E3_50G", - "SUBCORE_VM_FIXED2025_E3_50G", - "SUBCORE_VM_FIXED2050_E3_50G", - "SUBCORE_VM_FIXED2100_E3_50G", - "SUBCORE_VM_FIXED2125_E3_50G", - "SUBCORE_VM_FIXED2150_E3_50G", - "SUBCORE_VM_FIXED2175_E3_50G", - "SUBCORE_VM_FIXED2200_E3_50G", - "SUBCORE_VM_FIXED2250_E3_50G", - "SUBCORE_VM_FIXED2275_E3_50G", - "SUBCORE_VM_FIXED2300_E3_50G", - "SUBCORE_VM_FIXED2325_E3_50G", - "SUBCORE_VM_FIXED2350_E3_50G", - "SUBCORE_VM_FIXED2375_E3_50G", - "SUBCORE_VM_FIXED2400_E3_50G", - "SUBCORE_VM_FIXED2450_E3_50G", - "SUBCORE_VM_FIXED2475_E3_50G", - "SUBCORE_VM_FIXED2500_E3_50G", - "SUBCORE_VM_FIXED2550_E3_50G", - "SUBCORE_VM_FIXED2600_E3_50G", - "SUBCORE_VM_FIXED2625_E3_50G", - "SUBCORE_VM_FIXED2650_E3_50G", - "SUBCORE_VM_FIXED2700_E3_50G", - "SUBCORE_VM_FIXED2750_E3_50G", - "SUBCORE_VM_FIXED2775_E3_50G", - "SUBCORE_VM_FIXED2800_E3_50G", - "SUBCORE_VM_FIXED2850_E3_50G", - "SUBCORE_VM_FIXED2875_E3_50G", - "SUBCORE_VM_FIXED2900_E3_50G", - "SUBCORE_VM_FIXED2925_E3_50G", - "SUBCORE_VM_FIXED2950_E3_50G", - "SUBCORE_VM_FIXED2975_E3_50G", - "SUBCORE_VM_FIXED3000_E3_50G", - "SUBCORE_VM_FIXED3025_E3_50G", - "SUBCORE_VM_FIXED3050_E3_50G", - "SUBCORE_VM_FIXED3075_E3_50G", - "SUBCORE_VM_FIXED3100_E3_50G", - "SUBCORE_VM_FIXED3125_E3_50G", - "SUBCORE_VM_FIXED3150_E3_50G", - "SUBCORE_VM_FIXED3200_E3_50G", - "SUBCORE_VM_FIXED3225_E3_50G", - "SUBCORE_VM_FIXED3250_E3_50G", - "SUBCORE_VM_FIXED3300_E3_50G", - "SUBCORE_VM_FIXED3325_E3_50G", - "SUBCORE_VM_FIXED3375_E3_50G", - "SUBCORE_VM_FIXED3400_E3_50G", - "SUBCORE_VM_FIXED3450_E3_50G", - "SUBCORE_VM_FIXED3500_E3_50G", - "SUBCORE_VM_FIXED3525_E3_50G", - "SUBCORE_VM_FIXED3575_E3_50G", - "SUBCORE_VM_FIXED3600_E3_50G", - "SUBCORE_VM_FIXED3625_E3_50G", - "SUBCORE_VM_FIXED3675_E3_50G", - "SUBCORE_VM_FIXED3700_E3_50G", - "SUBCORE_VM_FIXED3750_E3_50G", - "SUBCORE_VM_FIXED3800_E3_50G", - "SUBCORE_VM_FIXED3825_E3_50G", - "SUBCORE_VM_FIXED3850_E3_50G", - "SUBCORE_VM_FIXED3875_E3_50G", - "SUBCORE_VM_FIXED3900_E3_50G", - "SUBCORE_VM_FIXED3975_E3_50G", - "SUBCORE_VM_FIXED4000_E3_50G", - "SUBCORE_VM_FIXED4025_E3_50G", - "SUBCORE_VM_FIXED4050_E3_50G", - "SUBCORE_VM_FIXED4100_E3_50G", - "SUBCORE_VM_FIXED4125_E3_50G", - "SUBCORE_VM_FIXED4200_E3_50G", - "SUBCORE_VM_FIXED4225_E3_50G", - "SUBCORE_VM_FIXED4250_E3_50G", - "SUBCORE_VM_FIXED4275_E3_50G", - "SUBCORE_VM_FIXED4300_E3_50G", - "SUBCORE_VM_FIXED4350_E3_50G", - "SUBCORE_VM_FIXED4375_E3_50G", - "SUBCORE_VM_FIXED4400_E3_50G", - "SUBCORE_VM_FIXED4425_E3_50G", - "SUBCORE_VM_FIXED4500_E3_50G", - "SUBCORE_VM_FIXED4550_E3_50G", - "SUBCORE_VM_FIXED4575_E3_50G", - "SUBCORE_VM_FIXED4600_E3_50G", - "SUBCORE_VM_FIXED4625_E3_50G", - "SUBCORE_VM_FIXED4650_E3_50G", - "SUBCORE_VM_FIXED4675_E3_50G", - "SUBCORE_VM_FIXED4700_E3_50G", - "SUBCORE_VM_FIXED4725_E3_50G", - "SUBCORE_VM_FIXED4750_E3_50G", - "SUBCORE_VM_FIXED4800_E3_50G", - "SUBCORE_VM_FIXED4875_E3_50G", - "SUBCORE_VM_FIXED4900_E3_50G", - "SUBCORE_VM_FIXED4950_E3_50G", - "SUBCORE_VM_FIXED5000_E3_50G", - "SUBCORE_VM_FIXED0025_E4_50G", - "SUBCORE_VM_FIXED0050_E4_50G", - "SUBCORE_VM_FIXED0075_E4_50G", - "SUBCORE_VM_FIXED0100_E4_50G", - "SUBCORE_VM_FIXED0125_E4_50G", - "SUBCORE_VM_FIXED0150_E4_50G", - "SUBCORE_VM_FIXED0175_E4_50G", - "SUBCORE_VM_FIXED0200_E4_50G", - "SUBCORE_VM_FIXED0225_E4_50G", - "SUBCORE_VM_FIXED0250_E4_50G", - "SUBCORE_VM_FIXED0275_E4_50G", - "SUBCORE_VM_FIXED0300_E4_50G", - "SUBCORE_VM_FIXED0325_E4_50G", - "SUBCORE_VM_FIXED0350_E4_50G", - "SUBCORE_VM_FIXED0375_E4_50G", - "SUBCORE_VM_FIXED0400_E4_50G", - "SUBCORE_VM_FIXED0425_E4_50G", - "SUBCORE_VM_FIXED0450_E4_50G", - "SUBCORE_VM_FIXED0475_E4_50G", - "SUBCORE_VM_FIXED0500_E4_50G", - "SUBCORE_VM_FIXED0525_E4_50G", - "SUBCORE_VM_FIXED0550_E4_50G", - "SUBCORE_VM_FIXED0575_E4_50G", - "SUBCORE_VM_FIXED0600_E4_50G", - "SUBCORE_VM_FIXED0625_E4_50G", - "SUBCORE_VM_FIXED0650_E4_50G", - "SUBCORE_VM_FIXED0675_E4_50G", - "SUBCORE_VM_FIXED0700_E4_50G", - "SUBCORE_VM_FIXED0725_E4_50G", - "SUBCORE_VM_FIXED0750_E4_50G", - "SUBCORE_VM_FIXED0775_E4_50G", - "SUBCORE_VM_FIXED0800_E4_50G", - "SUBCORE_VM_FIXED0825_E4_50G", - "SUBCORE_VM_FIXED0850_E4_50G", - "SUBCORE_VM_FIXED0875_E4_50G", - "SUBCORE_VM_FIXED0900_E4_50G", - "SUBCORE_VM_FIXED0925_E4_50G", - "SUBCORE_VM_FIXED0950_E4_50G", - "SUBCORE_VM_FIXED0975_E4_50G", - "SUBCORE_VM_FIXED1000_E4_50G", - "SUBCORE_VM_FIXED1025_E4_50G", - "SUBCORE_VM_FIXED1050_E4_50G", - "SUBCORE_VM_FIXED1075_E4_50G", - "SUBCORE_VM_FIXED1100_E4_50G", - "SUBCORE_VM_FIXED1125_E4_50G", - "SUBCORE_VM_FIXED1150_E4_50G", - "SUBCORE_VM_FIXED1175_E4_50G", - "SUBCORE_VM_FIXED1200_E4_50G", - "SUBCORE_VM_FIXED1225_E4_50G", - "SUBCORE_VM_FIXED1250_E4_50G", - "SUBCORE_VM_FIXED1275_E4_50G", - "SUBCORE_VM_FIXED1300_E4_50G", - "SUBCORE_VM_FIXED1325_E4_50G", - "SUBCORE_VM_FIXED1350_E4_50G", - "SUBCORE_VM_FIXED1375_E4_50G", - "SUBCORE_VM_FIXED1400_E4_50G", - "SUBCORE_VM_FIXED1425_E4_50G", - "SUBCORE_VM_FIXED1450_E4_50G", - "SUBCORE_VM_FIXED1475_E4_50G", - "SUBCORE_VM_FIXED1500_E4_50G", - "SUBCORE_VM_FIXED1525_E4_50G", - "SUBCORE_VM_FIXED1550_E4_50G", - "SUBCORE_VM_FIXED1575_E4_50G", - "SUBCORE_VM_FIXED1600_E4_50G", - "SUBCORE_VM_FIXED1625_E4_50G", - "SUBCORE_VM_FIXED1650_E4_50G", - "SUBCORE_VM_FIXED1700_E4_50G", - "SUBCORE_VM_FIXED1725_E4_50G", - "SUBCORE_VM_FIXED1750_E4_50G", - "SUBCORE_VM_FIXED1800_E4_50G", - "SUBCORE_VM_FIXED1850_E4_50G", - "SUBCORE_VM_FIXED1875_E4_50G", - "SUBCORE_VM_FIXED1900_E4_50G", - "SUBCORE_VM_FIXED1925_E4_50G", - "SUBCORE_VM_FIXED1950_E4_50G", - "SUBCORE_VM_FIXED2000_E4_50G", - "SUBCORE_VM_FIXED2025_E4_50G", - "SUBCORE_VM_FIXED2050_E4_50G", - "SUBCORE_VM_FIXED2100_E4_50G", - "SUBCORE_VM_FIXED2125_E4_50G", - "SUBCORE_VM_FIXED2150_E4_50G", - "SUBCORE_VM_FIXED2175_E4_50G", - "SUBCORE_VM_FIXED2200_E4_50G", - "SUBCORE_VM_FIXED2250_E4_50G", - "SUBCORE_VM_FIXED2275_E4_50G", - "SUBCORE_VM_FIXED2300_E4_50G", - "SUBCORE_VM_FIXED2325_E4_50G", - "SUBCORE_VM_FIXED2350_E4_50G", - "SUBCORE_VM_FIXED2375_E4_50G", - "SUBCORE_VM_FIXED2400_E4_50G", - "SUBCORE_VM_FIXED2450_E4_50G", - "SUBCORE_VM_FIXED2475_E4_50G", - "SUBCORE_VM_FIXED2500_E4_50G", - "SUBCORE_VM_FIXED2550_E4_50G", - "SUBCORE_VM_FIXED2600_E4_50G", - "SUBCORE_VM_FIXED2625_E4_50G", - "SUBCORE_VM_FIXED2650_E4_50G", - "SUBCORE_VM_FIXED2700_E4_50G", - "SUBCORE_VM_FIXED2750_E4_50G", - "SUBCORE_VM_FIXED2775_E4_50G", - "SUBCORE_VM_FIXED2800_E4_50G", - "SUBCORE_VM_FIXED2850_E4_50G", - "SUBCORE_VM_FIXED2875_E4_50G", - "SUBCORE_VM_FIXED2900_E4_50G", - "SUBCORE_VM_FIXED2925_E4_50G", - "SUBCORE_VM_FIXED2950_E4_50G", - "SUBCORE_VM_FIXED2975_E4_50G", - "SUBCORE_VM_FIXED3000_E4_50G", - "SUBCORE_VM_FIXED3025_E4_50G", - "SUBCORE_VM_FIXED3050_E4_50G", - "SUBCORE_VM_FIXED3075_E4_50G", - "SUBCORE_VM_FIXED3100_E4_50G", - "SUBCORE_VM_FIXED3125_E4_50G", - "SUBCORE_VM_FIXED3150_E4_50G", - "SUBCORE_VM_FIXED3200_E4_50G", - "SUBCORE_VM_FIXED3225_E4_50G", - "SUBCORE_VM_FIXED3250_E4_50G", - "SUBCORE_VM_FIXED3300_E4_50G", - "SUBCORE_VM_FIXED3325_E4_50G", - "SUBCORE_VM_FIXED3375_E4_50G", - "SUBCORE_VM_FIXED3400_E4_50G", - "SUBCORE_VM_FIXED3450_E4_50G", - "SUBCORE_VM_FIXED3500_E4_50G", - "SUBCORE_VM_FIXED3525_E4_50G", - "SUBCORE_VM_FIXED3575_E4_50G", - "SUBCORE_VM_FIXED3600_E4_50G", - "SUBCORE_VM_FIXED3625_E4_50G", - "SUBCORE_VM_FIXED3675_E4_50G", - "SUBCORE_VM_FIXED3700_E4_50G", - "SUBCORE_VM_FIXED3750_E4_50G", - "SUBCORE_VM_FIXED3800_E4_50G", - "SUBCORE_VM_FIXED3825_E4_50G", - "SUBCORE_VM_FIXED3850_E4_50G", - "SUBCORE_VM_FIXED3875_E4_50G", - "SUBCORE_VM_FIXED3900_E4_50G", - "SUBCORE_VM_FIXED3975_E4_50G", - "SUBCORE_VM_FIXED4000_E4_50G", - "SUBCORE_VM_FIXED4025_E4_50G", - "SUBCORE_VM_FIXED4050_E4_50G", - "SUBCORE_VM_FIXED4100_E4_50G", - "SUBCORE_VM_FIXED4125_E4_50G", - "SUBCORE_VM_FIXED4200_E4_50G", - "SUBCORE_VM_FIXED4225_E4_50G", - "SUBCORE_VM_FIXED4250_E4_50G", - "SUBCORE_VM_FIXED4275_E4_50G", - "SUBCORE_VM_FIXED4300_E4_50G", - "SUBCORE_VM_FIXED4350_E4_50G", - "SUBCORE_VM_FIXED4375_E4_50G", - "SUBCORE_VM_FIXED4400_E4_50G", - "SUBCORE_VM_FIXED4425_E4_50G", - "SUBCORE_VM_FIXED4500_E4_50G", - "SUBCORE_VM_FIXED4550_E4_50G", - "SUBCORE_VM_FIXED4575_E4_50G", - "SUBCORE_VM_FIXED4600_E4_50G", - "SUBCORE_VM_FIXED4625_E4_50G", - "SUBCORE_VM_FIXED4650_E4_50G", - "SUBCORE_VM_FIXED4675_E4_50G", - "SUBCORE_VM_FIXED4700_E4_50G", - "SUBCORE_VM_FIXED4725_E4_50G", - "SUBCORE_VM_FIXED4750_E4_50G", - "SUBCORE_VM_FIXED4800_E4_50G", - "SUBCORE_VM_FIXED4875_E4_50G", - "SUBCORE_VM_FIXED4900_E4_50G", - "SUBCORE_VM_FIXED4950_E4_50G", - "SUBCORE_VM_FIXED5000_E4_50G", - "SUBCORE_VM_FIXED0020_A1_50G", - "SUBCORE_VM_FIXED0040_A1_50G", - "SUBCORE_VM_FIXED0060_A1_50G", - "SUBCORE_VM_FIXED0080_A1_50G", - "SUBCORE_VM_FIXED0100_A1_50G", - "SUBCORE_VM_FIXED0120_A1_50G", - "SUBCORE_VM_FIXED0140_A1_50G", - "SUBCORE_VM_FIXED0160_A1_50G", - "SUBCORE_VM_FIXED0180_A1_50G", - "SUBCORE_VM_FIXED0200_A1_50G", - "SUBCORE_VM_FIXED0220_A1_50G", - "SUBCORE_VM_FIXED0240_A1_50G", - "SUBCORE_VM_FIXED0260_A1_50G", - "SUBCORE_VM_FIXED0280_A1_50G", - "SUBCORE_VM_FIXED0300_A1_50G", - "SUBCORE_VM_FIXED0320_A1_50G", - "SUBCORE_VM_FIXED0340_A1_50G", - "SUBCORE_VM_FIXED0360_A1_50G", - "SUBCORE_VM_FIXED0380_A1_50G", - "SUBCORE_VM_FIXED0400_A1_50G", - "SUBCORE_VM_FIXED0420_A1_50G", - "SUBCORE_VM_FIXED0440_A1_50G", - "SUBCORE_VM_FIXED0460_A1_50G", - "SUBCORE_VM_FIXED0480_A1_50G", - "SUBCORE_VM_FIXED0500_A1_50G", - "SUBCORE_VM_FIXED0520_A1_50G", - "SUBCORE_VM_FIXED0540_A1_50G", - "SUBCORE_VM_FIXED0560_A1_50G", - "SUBCORE_VM_FIXED0580_A1_50G", - "SUBCORE_VM_FIXED0600_A1_50G", - "SUBCORE_VM_FIXED0620_A1_50G", - "SUBCORE_VM_FIXED0640_A1_50G", - "SUBCORE_VM_FIXED0660_A1_50G", - "SUBCORE_VM_FIXED0680_A1_50G", - "SUBCORE_VM_FIXED0700_A1_50G", - "SUBCORE_VM_FIXED0720_A1_50G", - "SUBCORE_VM_FIXED0740_A1_50G", - "SUBCORE_VM_FIXED0760_A1_50G", - "SUBCORE_VM_FIXED0780_A1_50G", - "SUBCORE_VM_FIXED0800_A1_50G", - "SUBCORE_VM_FIXED0820_A1_50G", - "SUBCORE_VM_FIXED0840_A1_50G", - "SUBCORE_VM_FIXED0860_A1_50G", - "SUBCORE_VM_FIXED0880_A1_50G", - "SUBCORE_VM_FIXED0900_A1_50G", - "SUBCORE_VM_FIXED0920_A1_50G", - "SUBCORE_VM_FIXED0940_A1_50G", - "SUBCORE_VM_FIXED0960_A1_50G", - "SUBCORE_VM_FIXED0980_A1_50G", - "SUBCORE_VM_FIXED1000_A1_50G", - "SUBCORE_VM_FIXED1020_A1_50G", - "SUBCORE_VM_FIXED1040_A1_50G", - "SUBCORE_VM_FIXED1060_A1_50G", - "SUBCORE_VM_FIXED1080_A1_50G", - "SUBCORE_VM_FIXED1100_A1_50G", - "SUBCORE_VM_FIXED1120_A1_50G", - "SUBCORE_VM_FIXED1140_A1_50G", - "SUBCORE_VM_FIXED1160_A1_50G", - "SUBCORE_VM_FIXED1180_A1_50G", - "SUBCORE_VM_FIXED1200_A1_50G", - "SUBCORE_VM_FIXED1220_A1_50G", - "SUBCORE_VM_FIXED1240_A1_50G", - "SUBCORE_VM_FIXED1260_A1_50G", - "SUBCORE_VM_FIXED1280_A1_50G", - "SUBCORE_VM_FIXED1300_A1_50G", - "SUBCORE_VM_FIXED1320_A1_50G", - "SUBCORE_VM_FIXED1340_A1_50G", - "SUBCORE_VM_FIXED1360_A1_50G", - "SUBCORE_VM_FIXED1380_A1_50G", - "SUBCORE_VM_FIXED1400_A1_50G", - "SUBCORE_VM_FIXED1420_A1_50G", - "SUBCORE_VM_FIXED1440_A1_50G", - "SUBCORE_VM_FIXED1460_A1_50G", - "SUBCORE_VM_FIXED1480_A1_50G", - "SUBCORE_VM_FIXED1500_A1_50G", - "SUBCORE_VM_FIXED1520_A1_50G", - "SUBCORE_VM_FIXED1540_A1_50G", - "SUBCORE_VM_FIXED1560_A1_50G", - "SUBCORE_VM_FIXED1580_A1_50G", - "SUBCORE_VM_FIXED1600_A1_50G", - "SUBCORE_VM_FIXED1620_A1_50G", - "SUBCORE_VM_FIXED1640_A1_50G", - "SUBCORE_VM_FIXED1660_A1_50G", - "SUBCORE_VM_FIXED1680_A1_50G", - "SUBCORE_VM_FIXED1700_A1_50G", - "SUBCORE_VM_FIXED1720_A1_50G", - "SUBCORE_VM_FIXED1740_A1_50G", - "SUBCORE_VM_FIXED1760_A1_50G", - "SUBCORE_VM_FIXED1780_A1_50G", - "SUBCORE_VM_FIXED1800_A1_50G", - "SUBCORE_VM_FIXED1820_A1_50G", - "SUBCORE_VM_FIXED1840_A1_50G", - "SUBCORE_VM_FIXED1860_A1_50G", - "SUBCORE_VM_FIXED1880_A1_50G", - "SUBCORE_VM_FIXED1900_A1_50G", - "SUBCORE_VM_FIXED1920_A1_50G", - "SUBCORE_VM_FIXED1940_A1_50G", - "SUBCORE_VM_FIXED1960_A1_50G", - "SUBCORE_VM_FIXED1980_A1_50G", - "SUBCORE_VM_FIXED2000_A1_50G", - "SUBCORE_VM_FIXED2020_A1_50G", - "SUBCORE_VM_FIXED2040_A1_50G", - "SUBCORE_VM_FIXED2060_A1_50G", - "SUBCORE_VM_FIXED2080_A1_50G", - "SUBCORE_VM_FIXED2100_A1_50G", - "SUBCORE_VM_FIXED2120_A1_50G", - "SUBCORE_VM_FIXED2140_A1_50G", - "SUBCORE_VM_FIXED2160_A1_50G", - "SUBCORE_VM_FIXED2180_A1_50G", - "SUBCORE_VM_FIXED2200_A1_50G", - "SUBCORE_VM_FIXED2220_A1_50G", - "SUBCORE_VM_FIXED2240_A1_50G", - "SUBCORE_VM_FIXED2260_A1_50G", - "SUBCORE_VM_FIXED2280_A1_50G", - "SUBCORE_VM_FIXED2300_A1_50G", - "SUBCORE_VM_FIXED2320_A1_50G", - "SUBCORE_VM_FIXED2340_A1_50G", - "SUBCORE_VM_FIXED2360_A1_50G", - "SUBCORE_VM_FIXED2380_A1_50G", - "SUBCORE_VM_FIXED2400_A1_50G", - "SUBCORE_VM_FIXED2420_A1_50G", - "SUBCORE_VM_FIXED2440_A1_50G", - "SUBCORE_VM_FIXED2460_A1_50G", - "SUBCORE_VM_FIXED2480_A1_50G", - "SUBCORE_VM_FIXED2500_A1_50G", - "SUBCORE_VM_FIXED2520_A1_50G", - "SUBCORE_VM_FIXED2540_A1_50G", - "SUBCORE_VM_FIXED2560_A1_50G", - "SUBCORE_VM_FIXED2580_A1_50G", - "SUBCORE_VM_FIXED2600_A1_50G", - "SUBCORE_VM_FIXED2620_A1_50G", - "SUBCORE_VM_FIXED2640_A1_50G", - "SUBCORE_VM_FIXED2660_A1_50G", - "SUBCORE_VM_FIXED2680_A1_50G", - "SUBCORE_VM_FIXED2700_A1_50G", - "SUBCORE_VM_FIXED2720_A1_50G", - "SUBCORE_VM_FIXED2740_A1_50G", - "SUBCORE_VM_FIXED2760_A1_50G", - "SUBCORE_VM_FIXED2780_A1_50G", - "SUBCORE_VM_FIXED2800_A1_50G", - "SUBCORE_VM_FIXED2820_A1_50G", - "SUBCORE_VM_FIXED2840_A1_50G", - "SUBCORE_VM_FIXED2860_A1_50G", - "SUBCORE_VM_FIXED2880_A1_50G", - "SUBCORE_VM_FIXED2900_A1_50G", - "SUBCORE_VM_FIXED2920_A1_50G", - "SUBCORE_VM_FIXED2940_A1_50G", - "SUBCORE_VM_FIXED2960_A1_50G", - "SUBCORE_VM_FIXED2980_A1_50G", - "SUBCORE_VM_FIXED3000_A1_50G", - "SUBCORE_VM_FIXED3020_A1_50G", - "SUBCORE_VM_FIXED3040_A1_50G", - "SUBCORE_VM_FIXED3060_A1_50G", - "SUBCORE_VM_FIXED3080_A1_50G", - "SUBCORE_VM_FIXED3100_A1_50G", - "SUBCORE_VM_FIXED3120_A1_50G", - "SUBCORE_VM_FIXED3140_A1_50G", - "SUBCORE_VM_FIXED3160_A1_50G", - "SUBCORE_VM_FIXED3180_A1_50G", - "SUBCORE_VM_FIXED3200_A1_50G", - "SUBCORE_VM_FIXED3220_A1_50G", - "SUBCORE_VM_FIXED3240_A1_50G", - "SUBCORE_VM_FIXED3260_A1_50G", - "SUBCORE_VM_FIXED3280_A1_50G", - "SUBCORE_VM_FIXED3300_A1_50G", - "SUBCORE_VM_FIXED3320_A1_50G", - "SUBCORE_VM_FIXED3340_A1_50G", - "SUBCORE_VM_FIXED3360_A1_50G", - "SUBCORE_VM_FIXED3380_A1_50G", - "SUBCORE_VM_FIXED3400_A1_50G", - "SUBCORE_VM_FIXED3420_A1_50G", - "SUBCORE_VM_FIXED3440_A1_50G", - "SUBCORE_VM_FIXED3460_A1_50G", - "SUBCORE_VM_FIXED3480_A1_50G", - "SUBCORE_VM_FIXED3500_A1_50G", - "SUBCORE_VM_FIXED3520_A1_50G", - "SUBCORE_VM_FIXED3540_A1_50G", - "SUBCORE_VM_FIXED3560_A1_50G", - "SUBCORE_VM_FIXED3580_A1_50G", - "SUBCORE_VM_FIXED3600_A1_50G", - "SUBCORE_VM_FIXED3620_A1_50G", - "SUBCORE_VM_FIXED3640_A1_50G", - "SUBCORE_VM_FIXED3660_A1_50G", - "SUBCORE_VM_FIXED3680_A1_50G", - "SUBCORE_VM_FIXED3700_A1_50G", - "SUBCORE_VM_FIXED3720_A1_50G", - "SUBCORE_VM_FIXED3740_A1_50G", - "SUBCORE_VM_FIXED3760_A1_50G", - "SUBCORE_VM_FIXED3780_A1_50G", - "SUBCORE_VM_FIXED3800_A1_50G", - "SUBCORE_VM_FIXED3820_A1_50G", - "SUBCORE_VM_FIXED3840_A1_50G", - "SUBCORE_VM_FIXED3860_A1_50G", - "SUBCORE_VM_FIXED3880_A1_50G", - "SUBCORE_VM_FIXED3900_A1_50G", - "SUBCORE_VM_FIXED3920_A1_50G", - "SUBCORE_VM_FIXED3940_A1_50G", - "SUBCORE_VM_FIXED3960_A1_50G", - "SUBCORE_VM_FIXED3980_A1_50G", - "SUBCORE_VM_FIXED4000_A1_50G", - "SUBCORE_VM_FIXED4020_A1_50G", - "SUBCORE_VM_FIXED4040_A1_50G", - "SUBCORE_VM_FIXED4060_A1_50G", - "SUBCORE_VM_FIXED4080_A1_50G", - "SUBCORE_VM_FIXED4100_A1_50G", - "SUBCORE_VM_FIXED4120_A1_50G", - "SUBCORE_VM_FIXED4140_A1_50G", - "SUBCORE_VM_FIXED4160_A1_50G", - "SUBCORE_VM_FIXED4180_A1_50G", - "SUBCORE_VM_FIXED4200_A1_50G", - "SUBCORE_VM_FIXED4220_A1_50G", - "SUBCORE_VM_FIXED4240_A1_50G", - "SUBCORE_VM_FIXED4260_A1_50G", - "SUBCORE_VM_FIXED4280_A1_50G", - "SUBCORE_VM_FIXED4300_A1_50G", - "SUBCORE_VM_FIXED4320_A1_50G", - "SUBCORE_VM_FIXED4340_A1_50G", - "SUBCORE_VM_FIXED4360_A1_50G", - "SUBCORE_VM_FIXED4380_A1_50G", - "SUBCORE_VM_FIXED4400_A1_50G", - "SUBCORE_VM_FIXED4420_A1_50G", - "SUBCORE_VM_FIXED4440_A1_50G", - "SUBCORE_VM_FIXED4460_A1_50G", - "SUBCORE_VM_FIXED4480_A1_50G", - "SUBCORE_VM_FIXED4500_A1_50G", - "SUBCORE_VM_FIXED4520_A1_50G", - "SUBCORE_VM_FIXED4540_A1_50G", - "SUBCORE_VM_FIXED4560_A1_50G", - "SUBCORE_VM_FIXED4580_A1_50G", - "SUBCORE_VM_FIXED4600_A1_50G", - "SUBCORE_VM_FIXED4620_A1_50G", - "SUBCORE_VM_FIXED4640_A1_50G", - "SUBCORE_VM_FIXED4660_A1_50G", - "SUBCORE_VM_FIXED4680_A1_50G", - "SUBCORE_VM_FIXED4700_A1_50G", - "SUBCORE_VM_FIXED4720_A1_50G", - "SUBCORE_VM_FIXED4740_A1_50G", - "SUBCORE_VM_FIXED4760_A1_50G", - "SUBCORE_VM_FIXED4780_A1_50G", - "SUBCORE_VM_FIXED4800_A1_50G", - "SUBCORE_VM_FIXED4820_A1_50G", - "SUBCORE_VM_FIXED4840_A1_50G", - "SUBCORE_VM_FIXED4860_A1_50G", - "SUBCORE_VM_FIXED4880_A1_50G", - "SUBCORE_VM_FIXED4900_A1_50G", - "SUBCORE_VM_FIXED4920_A1_50G", - "SUBCORE_VM_FIXED4940_A1_50G", - "SUBCORE_VM_FIXED4960_A1_50G", - "SUBCORE_VM_FIXED4980_A1_50G", - "SUBCORE_VM_FIXED5000_A1_50G", - "SUBCORE_VM_FIXED0090_X9_50G", - "SUBCORE_VM_FIXED0180_X9_50G", - "SUBCORE_VM_FIXED0270_X9_50G", - "SUBCORE_VM_FIXED0360_X9_50G", - "SUBCORE_VM_FIXED0450_X9_50G", - "SUBCORE_VM_FIXED0540_X9_50G", - "SUBCORE_VM_FIXED0630_X9_50G", - "SUBCORE_VM_FIXED0720_X9_50G", - "SUBCORE_VM_FIXED0810_X9_50G", - "SUBCORE_VM_FIXED0900_X9_50G", - "SUBCORE_VM_FIXED0990_X9_50G", - "SUBCORE_VM_FIXED1080_X9_50G", - "SUBCORE_VM_FIXED1170_X9_50G", - "SUBCORE_VM_FIXED1260_X9_50G", - "SUBCORE_VM_FIXED1350_X9_50G", - "SUBCORE_VM_FIXED1440_X9_50G", - "SUBCORE_VM_FIXED1530_X9_50G", - "SUBCORE_VM_FIXED1620_X9_50G", - "SUBCORE_VM_FIXED1710_X9_50G", - "SUBCORE_VM_FIXED1800_X9_50G", - "SUBCORE_VM_FIXED1890_X9_50G", - "SUBCORE_VM_FIXED1980_X9_50G", - "SUBCORE_VM_FIXED2070_X9_50G", - "SUBCORE_VM_FIXED2160_X9_50G", - "SUBCORE_VM_FIXED2250_X9_50G", - "SUBCORE_VM_FIXED2340_X9_50G", - "SUBCORE_VM_FIXED2430_X9_50G", - "SUBCORE_VM_FIXED2520_X9_50G", - "SUBCORE_VM_FIXED2610_X9_50G", - "SUBCORE_VM_FIXED2700_X9_50G", - "SUBCORE_VM_FIXED2790_X9_50G", - "SUBCORE_VM_FIXED2880_X9_50G", - "SUBCORE_VM_FIXED2970_X9_50G", - "SUBCORE_VM_FIXED3060_X9_50G", - "SUBCORE_VM_FIXED3150_X9_50G", - "SUBCORE_VM_FIXED3240_X9_50G", - "SUBCORE_VM_FIXED3330_X9_50G", - "SUBCORE_VM_FIXED3420_X9_50G", - "SUBCORE_VM_FIXED3510_X9_50G", - "SUBCORE_VM_FIXED3600_X9_50G", - "SUBCORE_VM_FIXED3690_X9_50G", - "SUBCORE_VM_FIXED3780_X9_50G", - "SUBCORE_VM_FIXED3870_X9_50G", - "SUBCORE_VM_FIXED3960_X9_50G", - "SUBCORE_VM_FIXED4050_X9_50G", - "SUBCORE_VM_FIXED4140_X9_50G", - "SUBCORE_VM_FIXED4230_X9_50G", - "SUBCORE_VM_FIXED4320_X9_50G", - "SUBCORE_VM_FIXED4410_X9_50G", - "SUBCORE_VM_FIXED4500_X9_50G", - "SUBCORE_VM_FIXED4590_X9_50G", - "SUBCORE_VM_FIXED4680_X9_50G", - "SUBCORE_VM_FIXED4770_X9_50G", - "SUBCORE_VM_FIXED4860_X9_50G", - "SUBCORE_VM_FIXED4950_X9_50G", - "DYNAMIC_A1_50G", - "FIXED0040_A1_50G", - "FIXED0100_A1_50G", - "FIXED0200_A1_50G", - "FIXED0300_A1_50G", - "FIXED0400_A1_50G", - "FIXED0500_A1_50G", - "FIXED0600_A1_50G", - "FIXED0700_A1_50G", - "FIXED0800_A1_50G", - "FIXED0900_A1_50G", - "FIXED1000_A1_50G", - "FIXED1100_A1_50G", - "FIXED1200_A1_50G", - "FIXED1300_A1_50G", - "FIXED1400_A1_50G", - "FIXED1500_A1_50G", - "FIXED1600_A1_50G", - "FIXED1700_A1_50G", - "FIXED1800_A1_50G", - "FIXED1900_A1_50G", - "FIXED2000_A1_50G", - "FIXED2100_A1_50G", - "FIXED2200_A1_50G", - "FIXED2300_A1_50G", - "FIXED2400_A1_50G", - "FIXED2500_A1_50G", - "FIXED2600_A1_50G", - "FIXED2700_A1_50G", - "FIXED2800_A1_50G", - "FIXED2900_A1_50G", - "FIXED3000_A1_50G", - "FIXED3100_A1_50G", - "FIXED3200_A1_50G", - "FIXED3300_A1_50G", - "FIXED3400_A1_50G", - "FIXED3500_A1_50G", - "FIXED3600_A1_50G", - "FIXED3700_A1_50G", - "FIXED3800_A1_50G", - "FIXED3900_A1_50G", - "FIXED4000_A1_50G", - "ENTIREHOST_A1_50G", - "DYNAMIC_X9_50G", - "FIXED0040_X9_50G", - "FIXED0400_X9_50G", - "FIXED0800_X9_50G", - "FIXED1200_X9_50G", - "FIXED1600_X9_50G", - "FIXED2000_X9_50G", - "FIXED2400_X9_50G", - "FIXED2800_X9_50G", - "FIXED3200_X9_50G", - "FIXED3600_X9_50G", - "FIXED4000_X9_50G", - "STANDARD_VM_FIXED0100_X9_50G", - "STANDARD_VM_FIXED0200_X9_50G", - "STANDARD_VM_FIXED0300_X9_50G", - "STANDARD_VM_FIXED0400_X9_50G", - "STANDARD_VM_FIXED0500_X9_50G", - "STANDARD_VM_FIXED0600_X9_50G", - "STANDARD_VM_FIXED0700_X9_50G", - "STANDARD_VM_FIXED0800_X9_50G", - "STANDARD_VM_FIXED0900_X9_50G", - "STANDARD_VM_FIXED1000_X9_50G", - "STANDARD_VM_FIXED1100_X9_50G", - "STANDARD_VM_FIXED1200_X9_50G", - "STANDARD_VM_FIXED1300_X9_50G", - "STANDARD_VM_FIXED1400_X9_50G", - "STANDARD_VM_FIXED1500_X9_50G", - "STANDARD_VM_FIXED1600_X9_50G", - "STANDARD_VM_FIXED1700_X9_50G", - "STANDARD_VM_FIXED1800_X9_50G", - "STANDARD_VM_FIXED1900_X9_50G", - "STANDARD_VM_FIXED2000_X9_50G", - "STANDARD_VM_FIXED2100_X9_50G", - "STANDARD_VM_FIXED2200_X9_50G", - "STANDARD_VM_FIXED2300_X9_50G", - "STANDARD_VM_FIXED2400_X9_50G", - "STANDARD_VM_FIXED2500_X9_50G", - "STANDARD_VM_FIXED2600_X9_50G", - "STANDARD_VM_FIXED2700_X9_50G", - "STANDARD_VM_FIXED2800_X9_50G", - "STANDARD_VM_FIXED2900_X9_50G", - "STANDARD_VM_FIXED3000_X9_50G", - "STANDARD_VM_FIXED3100_X9_50G", - "STANDARD_VM_FIXED3200_X9_50G", - "STANDARD_VM_FIXED3300_X9_50G", - "STANDARD_VM_FIXED3400_X9_50G", - "STANDARD_VM_FIXED3500_X9_50G", - "STANDARD_VM_FIXED3600_X9_50G", - "STANDARD_VM_FIXED3700_X9_50G", - "STANDARD_VM_FIXED3800_X9_50G", - "STANDARD_VM_FIXED3900_X9_50G", - "STANDARD_VM_FIXED4000_X9_50G", - "ENTIREHOST_X9_50G", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_request_response.go deleted file mode 100644 index 20102a7e03d2..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internal_vnic_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateInternalVnicRequest wrapper for the CreateInternalVnic operation -type CreateInternalVnicRequest struct { - - // VNIC details. - CreateInternalVnicDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - - // 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 CreateInternalVnicRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateInternalVnicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateInternalVnicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateInternalVnicRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateInternalVnicRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateInternalVnicResponse wrapper for the CreateInternalVnic operation -type CreateInternalVnicResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnic instance - InternalVnic `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 CreateInternalVnicResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateInternalVnicResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_connection_request_response.go deleted file mode 100644 index 2e411d721523..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_connection_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateLocalPeeringConnectionRequest wrapper for the CreateLocalPeeringConnection operation -type CreateLocalPeeringConnectionRequest struct { - - // Details for creating a new local peering connection. - CreateLocalPeeringConnectionDetails `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 CreateLocalPeeringConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateLocalPeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateLocalPeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateLocalPeeringConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateLocalPeeringConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateLocalPeeringConnectionResponse wrapper for the CreateLocalPeeringConnection operation -type CreateLocalPeeringConnectionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The LocalPeeringConnection instance - LocalPeeringConnection `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 CreateLocalPeeringConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateLocalPeeringConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_nat_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_nat_gateway_details.go deleted file mode 100644 index 364f85b6f611..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_nat_gateway_details.go +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateNatGatewayDetails The representation of CreateNatGatewayDetails -type CreateNatGatewayDetails struct { - - // 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/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 - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // 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"` - - // The name of the Oracle managed public IP Pool from which the IP address associated with the NAT gateway is allocated. - InternalPublicIpPoolName CreateNatGatewayDetailsInternalPublicIpPoolNameEnum `mandatory:"false" json:"internalPublicIpPoolName,omitempty"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. - // If you don't specify a route table here, the NAT gateway is created without an associated route - // table. The Networking service does NOT automatically associate the attached VCN's default route table - // with the NAT gateway. - RouteTableId *string `mandatory:"false" json:"routeTableId"` -} - -func (m CreateNatGatewayDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateNatGatewayDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingCreateNatGatewayDetailsInternalPublicIpPoolNameEnum[string(m.InternalPublicIpPoolName)]; !ok && m.InternalPublicIpPoolName != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for InternalPublicIpPoolName: %s. Supported values are: %s.", m.InternalPublicIpPoolName, strings.Join(GetCreateNatGatewayDetailsInternalPublicIpPoolNameEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateNatGatewayDetailsInternalPublicIpPoolNameEnum Enum with underlying type: string -type CreateNatGatewayDetailsInternalPublicIpPoolNameEnum string - -// Set of constants representing the allowable values for CreateNatGatewayDetailsInternalPublicIpPoolNameEnum -const ( - CreateNatGatewayDetailsInternalPublicIpPoolNameExternal CreateNatGatewayDetailsInternalPublicIpPoolNameEnum = "EXTERNAL" - CreateNatGatewayDetailsInternalPublicIpPoolNameSociEgress CreateNatGatewayDetailsInternalPublicIpPoolNameEnum = "SOCI_EGRESS" -) - -var mappingCreateNatGatewayDetailsInternalPublicIpPoolNameEnum = map[string]CreateNatGatewayDetailsInternalPublicIpPoolNameEnum{ - "EXTERNAL": CreateNatGatewayDetailsInternalPublicIpPoolNameExternal, - "SOCI_EGRESS": CreateNatGatewayDetailsInternalPublicIpPoolNameSociEgress, -} - -// GetCreateNatGatewayDetailsInternalPublicIpPoolNameEnumValues Enumerates the set of values for CreateNatGatewayDetailsInternalPublicIpPoolNameEnum -func GetCreateNatGatewayDetailsInternalPublicIpPoolNameEnumValues() []CreateNatGatewayDetailsInternalPublicIpPoolNameEnum { - values := make([]CreateNatGatewayDetailsInternalPublicIpPoolNameEnum, 0) - for _, v := range mappingCreateNatGatewayDetailsInternalPublicIpPoolNameEnum { - values = append(values, v) - } - return values -} - -// GetCreateNatGatewayDetailsInternalPublicIpPoolNameEnumStringValues Enumerates the set of values in String for CreateNatGatewayDetailsInternalPublicIpPoolNameEnum -func GetCreateNatGatewayDetailsInternalPublicIpPoolNameEnumStringValues() []string { - return []string{ - "EXTERNAL", - "SOCI_EGRESS", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_access_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_access_gateway_request_response.go deleted file mode 100644 index 1c957eb0c126..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_access_gateway_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreatePrivateAccessGatewayRequest wrapper for the CreatePrivateAccessGateway operation -type CreatePrivateAccessGatewayRequest struct { - - // Details for creating a private access gateway (PAG). - CreatePrivateAccessGatewayDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreatePrivateAccessGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreatePrivateAccessGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreatePrivateAccessGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreatePrivateAccessGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreatePrivateAccessGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreatePrivateAccessGatewayResponse wrapper for the CreatePrivateAccessGateway operation -type CreatePrivateAccessGatewayResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateAccessGateway instance - PrivateAccessGateway `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 CreatePrivateAccessGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreatePrivateAccessGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_endpoint_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_endpoint_details.go deleted file mode 100644 index 6e20d0e87716..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_endpoint_details.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreatePrivateEndpointDetails Details to create a private endpoint. -type CreatePrivateEndpointDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the - // private endpoint. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint service that will be - // associated with the private endpoint. - EndpointServiceId *string `mandatory:"true" json:"endpointServiceId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's - // subnet where the private endpoint VNIC will reside. - SubnetId *string `mandatory:"true" json:"subnetId"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // 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 description of this private endpoint. - Description *string `mandatory:"false" json:"description"` - - // The three-label FQDN to use for the private endpoint. The customer VCN's DNS records are - // updated with this FQDN. - // For important information about how this attribute is used, see the discussion - // of DNS and FQDNs in PrivateEndpoint. - // Example: `xyz.oraclecloud.com` - EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"` - - // A list of additional FQDNs that you can provide along with endpointFqdn. These FQDNs are added to the - // customer VCN's DNS record. For more information, see the discussion of DNS and FQDNs in - // PrivateEndpoint. - AdditionalFqdns []string `mandatory:"false" json:"additionalFqdns"` - - // A list of the OCIDs of the network security groups (NSGs) to add the private endpoint's VNIC to. - // For more information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // The private IP address to assign to this private endpoint. If you provide a value, - // it must be an available IP address in the customer's subnet. If it's not available, an error - // is returned. - // If you do not provide a value, an available IP address in the subnet is automatically chosen. - PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"` -} - -func (m CreatePrivateEndpointDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreatePrivateEndpointDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_endpoint_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_endpoint_request_response.go deleted file mode 100644 index d9fe231d0c5c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_endpoint_request_response.go +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreatePrivateEndpointRequest wrapper for the CreatePrivateEndpoint operation -type CreatePrivateEndpointRequest struct { - - // Details for creating a private endpoint. - CreatePrivateEndpointDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - - // Indicates that this request is a dry-run for Private Endpoint ReverseConnections. - // If set to true, nothing will be created, but only the validation will be performed. - IsReverseConnectionDryRun *bool `mandatory:"false" contributesTo:"query" name:"isReverseConnectionDryRun"` - - // 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 CreatePrivateEndpointRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreatePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreatePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreatePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreatePrivateEndpointRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreatePrivateEndpointResponse wrapper for the CreatePrivateEndpoint operation -type CreatePrivateEndpointResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateEndpoint instance - PrivateEndpoint `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 CreatePrivateEndpointResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreatePrivateEndpointResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_next_hop_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_next_hop_details.go deleted file mode 100644 index f5167434f5f2..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_next_hop_details.go +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreatePrivateIpNextHopDetails The data to create private IP's nextHop configuration. -type CreatePrivateIpNextHopDetails struct { - - // Details of nextHop targets. - Targets []PrivateIpNextHopTarget `mandatory:"true" json:"targets"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // VNICaaS will flow-hash traffic that matches the service protocol and port. - ServiceProtocolPorts []PrivateIpNextHopProtocolPort `mandatory:"false" json:"serviceProtocolPorts"` -} - -func (m CreatePrivateIpNextHopDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreatePrivateIpNextHopDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_next_hop_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_next_hop_request_response.go deleted file mode 100644 index 29f7eaf77652..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_next_hop_request_response.go +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreatePrivateIpNextHopRequest wrapper for the CreatePrivateIpNextHop operation -type CreatePrivateIpNextHopRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP. - PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` - - // Private IP nextHop configuration details. - CreatePrivateIpNextHopDetails `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 CreatePrivateIpNextHopRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreatePrivateIpNextHopRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreatePrivateIpNextHopRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreatePrivateIpNextHopRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreatePrivateIpNextHopRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreatePrivateIpNextHopResponse wrapper for the CreatePrivateIpNextHop operation -type CreatePrivateIpNextHopResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateIpNextHop instance - PrivateIpNextHop `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 CreatePrivateIpNextHopResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreatePrivateIpNextHopResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_scan_proxy_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_scan_proxy_details.go deleted file mode 100644 index f5aea4de9d0d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_scan_proxy_details.go +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateScanProxyDetails Details for adding a RAC's scan listener information. -type CreateScanProxyDetails struct { - - // Type indicating whether Scan listener is specified by its FQDN or list of IPs - ScanListenerType ScanProxyScanListenerTypeEnum `mandatory:"true" json:"scanListenerType"` - - // The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN - // listeners. - ScanListenerInfo []ScanListenerInfo `mandatory:"true" json:"scanListenerInfo"` - - // The protocol to be used for communication between client, scanProxy and RAC's scan - // listeners - Protocol ScanProxyProtocolEnum `mandatory:"false" json:"protocol,omitempty"` - - ScanListenerWallet *WalletInfo `mandatory:"false" json:"scanListenerWallet"` -} - -func (m CreateScanProxyDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateScanProxyDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingScanProxyScanListenerTypeEnum[string(m.ScanListenerType)]; !ok && m.ScanListenerType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ScanListenerType: %s. Supported values are: %s.", m.ScanListenerType, strings.Join(GetScanProxyScanListenerTypeEnumStringValues(), ","))) - } - - if _, ok := mappingScanProxyProtocolEnum[string(m.Protocol)]; !ok && m.Protocol != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetScanProxyProtocolEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_drg_attachment_request_response.go deleted file mode 100644 index 9f510e120c7d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_drg_attachment_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateVcnDrgAttachmentRequest wrapper for the CreateVcnDrgAttachment operation -type CreateVcnDrgAttachmentRequest struct { - - // Details for creating a `DrgAttachment`. - CreateDrgAttachmentDetails `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 CreateVcnDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateVcnDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateVcnDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateVcnDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateVcnDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateVcnDrgAttachmentResponse wrapper for the CreateVcnDrgAttachment operation -type CreateVcnDrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachment instance - DrgAttachment `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 CreateVcnDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateVcnDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_drg_request_response.go deleted file mode 100644 index cbbfded8b072..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_drg_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateVcnDrgRequest wrapper for the CreateVcnDrg operation -type CreateVcnDrgRequest struct { - - // Details for creating a DRG. - CreateDrgDetails `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 CreateVcnDrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateVcnDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateVcnDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateVcnDrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateVcnDrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateVcnDrgResponse wrapper for the CreateVcnDrg operation -type CreateVcnDrgResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Drg instance - Drg `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 CreateVcnDrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateVcnDrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_worker_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_worker_details.go deleted file mode 100644 index 067c2d816565..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_worker_details.go +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// CreateVnicWorkerDetails The data to create vnicWorker. -type CreateVnicWorkerDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VNIC worker. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated service VNIC. - ServiceVnicId *string `mandatory:"true" json:"serviceVnicId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // List of vnicWorker IP OCIDs. - WorkerIps []string `mandatory:"false" json:"workerIps"` - - // The instance where vnicWorker needs to be attached. - WorkerInstanceId *string `mandatory:"false" json:"workerInstanceId"` - - // Which physical network interface card (NIC) the VNIC worker uses. Defaults to 0. - // Certain bare metal instance shapes have two active physical NICs (0 and 1). If - // you add a VNIC worker to one of these instances, you can specify which NIC - // the VNIC worker will use. Note that it is required for NIC to have at least a single - // VNIC attached before attaching a VNIC worker. - WorkerNicIndex *int `mandatory:"false" json:"workerNicIndex"` - - // Specifies whether the vnicworker is enabled for forwarding traffic at creation - IsEnabled *bool `mandatory:"false" json:"isEnabled"` -} - -func (m CreateVnicWorkerDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateVnicWorkerDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_worker_request_response.go deleted file mode 100644 index 0723d7315ea5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_worker_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// CreateVnicWorkerRequest wrapper for the CreateVnicWorker operation -type CreateVnicWorkerRequest struct { - - // VnicWorker details. - CreateVnicWorkerDetails `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 CreateVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateVnicWorkerResponse wrapper for the CreateVnicWorker operation -type CreateVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 CreateVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dav.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dav.go deleted file mode 100644 index d1d05d849471..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dav.go +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// Dav A Direct Attached Vnic. -type Dav struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic's compartment. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The current state of the Direct Attached Vnic. - LifecycleState DavLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // Index of NIC for Direct Attached Vnic. - NicIndex *int `mandatory:"true" json:"nicIndex"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance. - InstanceId *string `mandatory:"false" json:"instanceId"` - - // The MAC address for the DAV. This will be a newly allocated MAC address - // and not the one used by the instance. - MacAddress *string `mandatory:"false" json:"macAddress"` - - // The substrate IP of DAV and primary VNIC attached to the instance. - // This field will be null in case the DAV is not attached. - SubstrateIp *string `mandatory:"false" json:"substrateIp"` - - // The allocated slot id for the Dav. - SlotId *int `mandatory:"false" json:"slotId"` - - // The VLAN Tag assigned to Direct Attached Vnic. - VlanTag *int `mandatory:"false" json:"vlanTag"` - - // The MAC address of the Virtual Router. - VirtualRouterMac *string `mandatory:"false" json:"virtualRouterMac"` - - // Substrate IP address of the remote endpoint. - RemoteEndpointSubstrateIp *string `mandatory:"false" json:"remoteEndpointSubstrateIp"` - - // List of VCNx Attachments to a DRG. - VcnxAttachmentIds []string `mandatory:"false" json:"vcnxAttachmentIds"` - - // The label type for Direct Attached Vnic. This is used to determine the - // label forwarding to be used by the Direct Attached Vnic. - LabelType DavLabelTypeEnum `mandatory:"false" json:"labelType,omitempty"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` -} - -func (m Dav) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m Dav) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingDavLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDavLifecycleStateEnumStringValues(), ","))) - } - - if _, ok := mappingDavLabelTypeEnum[string(m.LabelType)]; !ok && m.LabelType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LabelType: %s. Supported values are: %s.", m.LabelType, strings.Join(GetDavLabelTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DavLifecycleStateEnum Enum with underlying type: string -type DavLifecycleStateEnum string - -// Set of constants representing the allowable values for DavLifecycleStateEnum -const ( - DavLifecycleStateProvisioning DavLifecycleStateEnum = "PROVISIONING" - DavLifecycleStateUpdating DavLifecycleStateEnum = "UPDATING" - DavLifecycleStateAvailable DavLifecycleStateEnum = "AVAILABLE" - DavLifecycleStateTerminating DavLifecycleStateEnum = "TERMINATING" - DavLifecycleStateTerminated DavLifecycleStateEnum = "TERMINATED" -) - -var mappingDavLifecycleStateEnum = map[string]DavLifecycleStateEnum{ - "PROVISIONING": DavLifecycleStateProvisioning, - "UPDATING": DavLifecycleStateUpdating, - "AVAILABLE": DavLifecycleStateAvailable, - "TERMINATING": DavLifecycleStateTerminating, - "TERMINATED": DavLifecycleStateTerminated, -} - -// GetDavLifecycleStateEnumValues Enumerates the set of values for DavLifecycleStateEnum -func GetDavLifecycleStateEnumValues() []DavLifecycleStateEnum { - values := make([]DavLifecycleStateEnum, 0) - for _, v := range mappingDavLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetDavLifecycleStateEnumStringValues Enumerates the set of values in String for DavLifecycleStateEnum -func GetDavLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "UPDATING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} - -// DavLabelTypeEnum Enum with underlying type: string -type DavLabelTypeEnum string - -// Set of constants representing the allowable values for DavLabelTypeEnum -const ( - DavLabelTypeMpls DavLabelTypeEnum = "MPLS" -) - -var mappingDavLabelTypeEnum = map[string]DavLabelTypeEnum{ - "MPLS": DavLabelTypeMpls, -} - -// GetDavLabelTypeEnumValues Enumerates the set of values for DavLabelTypeEnum -func GetDavLabelTypeEnumValues() []DavLabelTypeEnum { - values := make([]DavLabelTypeEnum, 0) - for _, v := range mappingDavLabelTypeEnum { - values = append(values, v) - } - return values -} - -// GetDavLabelTypeEnumStringValues Enumerates the set of values in String for DavLabelTypeEnum -func GetDavLabelTypeEnumStringValues() []string { - return []string{ - "MPLS", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_c3_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_c3_drg_attachment_request_response.go deleted file mode 100644 index b0807a4b2211..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_c3_drg_attachment_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteC3DrgAttachmentRequest wrapper for the DeleteC3DrgAttachment operation -type DeleteC3DrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteC3DrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteC3DrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteC3DrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteC3DrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteC3DrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteC3DrgAttachmentResponse wrapper for the DeleteC3DrgAttachment operation -type DeleteC3DrgAttachmentResponse 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 DeleteC3DrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteC3DrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_c3_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_c3_drg_request_response.go deleted file mode 100644 index 960f76ecec7f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_c3_drg_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteC3DrgRequest wrapper for the DeleteC3Drg operation -type DeleteC3DrgRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteC3DrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteC3DrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteC3DrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteC3DrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteC3DrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteC3DrgResponse wrapper for the DeleteC3Drg operation -type DeleteC3DrgResponse 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 DeleteC3DrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteC3DrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_client_vpn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_client_vpn_request_response.go deleted file mode 100644 index e947c5a797db..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_client_vpn_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteClientVpnRequest wrapper for the DeleteClientVpn operation -type DeleteClientVpnRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteClientVpnRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteClientVpnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteClientVpnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteClientVpnRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteClientVpnRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteClientVpnResponse wrapper for the DeleteClientVpn operation -type DeleteClientVpnResponse 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 DeleteClientVpnResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteClientVpnResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_client_vpn_user_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_client_vpn_user_request_response.go deleted file mode 100644 index 86ac1d61f9d0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_client_vpn_user_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteClientVpnUserRequest wrapper for the DeleteClientVpnUser operation -type DeleteClientVpnUserRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // The username of the ClientVpnUser. - UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteClientVpnUserRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteClientVpnUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteClientVpnUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteClientVpnUserRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteClientVpnUserRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteClientVpnUserResponse wrapper for the DeleteClientVpnUser operation -type DeleteClientVpnUserResponse 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 DeleteClientVpnUserResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteClientVpnUserResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dav_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dav_request_response.go deleted file mode 100644 index 9ca4accaf072..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dav_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteDavRequest wrapper for the DeleteDav operation -type DeleteDavRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic. - DavId *string `mandatory:"true" contributesTo:"path" name:"davId"` - - // 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 DeleteDavRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteDavRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteDavRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteDavRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteDavRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteDavResponse wrapper for the DeleteDav operation -type DeleteDavResponse 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 DeleteDavResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteDavResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_flow_log_config_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_flow_log_config_attachment_request_response.go deleted file mode 100644 index c476fa016f61..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_flow_log_config_attachment_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteFlowLogConfigAttachmentRequest wrapper for the DeleteFlowLogConfigAttachment operation -type DeleteFlowLogConfigAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration attachment. - FlowLogConfigAttachmentId *string `mandatory:"true" contributesTo:"path" name:"flowLogConfigAttachmentId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteFlowLogConfigAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteFlowLogConfigAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteFlowLogConfigAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteFlowLogConfigAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteFlowLogConfigAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteFlowLogConfigAttachmentResponse wrapper for the DeleteFlowLogConfigAttachment operation -type DeleteFlowLogConfigAttachmentResponse 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 DeleteFlowLogConfigAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteFlowLogConfigAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_flow_log_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_flow_log_config_request_response.go deleted file mode 100644 index 6b131a9fb4cc..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_flow_log_config_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteFlowLogConfigRequest wrapper for the DeleteFlowLogConfig operation -type DeleteFlowLogConfigRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration. - FlowLogConfigId *string `mandatory:"true" contributesTo:"path" name:"flowLogConfigId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteFlowLogConfigRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteFlowLogConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteFlowLogConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteFlowLogConfigRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteFlowLogConfigRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteFlowLogConfigResponse wrapper for the DeleteFlowLogConfig operation -type DeleteFlowLogConfigResponse 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 DeleteFlowLogConfigResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteFlowLogConfigResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_dns_record_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_dns_record_request_response.go deleted file mode 100644 index 9bcfc05ba06b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_dns_record_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteInternalDnsRecordRequest wrapper for the DeleteInternalDnsRecord operation -type DeleteInternalDnsRecordRequest struct { - - // The Dns Record's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - InternalDnsRecordId *string `mandatory:"true" contributesTo:"path" name:"internalDnsRecordId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteInternalDnsRecordRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteInternalDnsRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteInternalDnsRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteInternalDnsRecordRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteInternalDnsRecordRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteInternalDnsRecordResponse wrapper for the DeleteInternalDnsRecord operation -type DeleteInternalDnsRecordResponse 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 DeleteInternalDnsRecordResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteInternalDnsRecordResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_drg_attachment_request_response.go deleted file mode 100644 index 7fde709104c3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_drg_attachment_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteInternalDrgAttachmentRequest wrapper for the DeleteInternalDrgAttachment operation -type DeleteInternalDrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - InternalDrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"internalDrgAttachmentId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteInternalDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteInternalDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteInternalDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteInternalDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteInternalDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteInternalDrgAttachmentResponse wrapper for the DeleteInternalDrgAttachment operation -type DeleteInternalDrgAttachmentResponse 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 DeleteInternalDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteInternalDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_drg_request_response.go deleted file mode 100644 index fa26dc272a47..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_drg_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteInternalDrgRequest wrapper for the DeleteInternalDrg operation -type DeleteInternalDrgRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - InternalDrgId *string `mandatory:"true" contributesTo:"path" name:"internalDrgId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteInternalDrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteInternalDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteInternalDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteInternalDrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteInternalDrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteInternalDrgResponse wrapper for the DeleteInternalDrg operation -type DeleteInternalDrgResponse 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 DeleteInternalDrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteInternalDrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_generic_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_generic_gateway_request_response.go deleted file mode 100644 index 15d71993d321..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_generic_gateway_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteInternalGenericGatewayRequest wrapper for the DeleteInternalGenericGateway operation -type DeleteInternalGenericGatewayRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the generic gateway. - InternalGenericGatewayId *string `mandatory:"true" contributesTo:"path" name:"internalGenericGatewayId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // This is the operation name used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzOperationName *string `mandatory:"false" contributesTo:"header" name:"internal-authz-operation-name"` - - // This is the resource kind used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzResourceKind *string `mandatory:"false" contributesTo:"header" name:"internal-authz-resource-kind"` - - // 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 DeleteInternalGenericGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteInternalGenericGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteInternalGenericGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteInternalGenericGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteInternalGenericGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteInternalGenericGatewayResponse wrapper for the DeleteInternalGenericGateway operation -type DeleteInternalGenericGatewayResponse 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 DeleteInternalGenericGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteInternalGenericGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_public_ip_request_response.go deleted file mode 100644 index 9b7d29fe8d37..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_public_ip_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteInternalPublicIpRequest wrapper for the DeleteInternalPublicIp operation -type DeleteInternalPublicIpRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal public IP. - InternalPublicIpId *string `mandatory:"true" contributesTo:"path" name:"internalPublicIpId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteInternalPublicIpRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteInternalPublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteInternalPublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteInternalPublicIpRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteInternalPublicIpRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteInternalPublicIpResponse wrapper for the DeleteInternalPublicIp operation -type DeleteInternalPublicIpResponse 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 DeleteInternalPublicIpResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteInternalPublicIpResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_vnic_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_vnic_attachment_request_response.go deleted file mode 100644 index 2961386d2232..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_vnic_attachment_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteInternalVnicAttachmentRequest wrapper for the DeleteInternalVnicAttachment operation -type DeleteInternalVnicAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteInternalVnicAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteInternalVnicAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteInternalVnicAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteInternalVnicAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteInternalVnicAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteInternalVnicAttachmentResponse wrapper for the DeleteInternalVnicAttachment operation -type DeleteInternalVnicAttachmentResponse 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 DeleteInternalVnicAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteInternalVnicAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_vnic_request_response.go deleted file mode 100644 index 18438b7e64ee..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internal_vnic_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteInternalVnicRequest wrapper for the DeleteInternalVnic operation -type DeleteInternalVnicRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteInternalVnicRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteInternalVnicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteInternalVnicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteInternalVnicRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteInternalVnicRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteInternalVnicResponse wrapper for the DeleteInternalVnic operation -type DeleteInternalVnicResponse 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 DeleteInternalVnicResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteInternalVnicResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_local_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_local_peering_connection_request_response.go deleted file mode 100644 index c3186bd5ee4d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_local_peering_connection_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteLocalPeeringConnectionRequest wrapper for the DeleteLocalPeeringConnection operation -type DeleteLocalPeeringConnectionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering connection. This feature is currently in preview and may change before public release. Do not use it for production workloads. - LocalPeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"localPeeringConnectionId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteLocalPeeringConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteLocalPeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteLocalPeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteLocalPeeringConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteLocalPeeringConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteLocalPeeringConnectionResponse wrapper for the DeleteLocalPeeringConnection operation -type DeleteLocalPeeringConnectionResponse 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 DeleteLocalPeeringConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteLocalPeeringConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_access_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_access_gateway_request_response.go deleted file mode 100644 index 3be6265f6073..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_access_gateway_request_response.go +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeletePrivateAccessGatewayRequest wrapper for the DeletePrivateAccessGateway operation -type DeletePrivateAccessGatewayRequest struct { - - // The private access gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateAccessGatewayId *string `mandatory:"true" contributesTo:"path" name:"privateAccessGatewayId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeletePrivateAccessGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeletePrivateAccessGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeletePrivateAccessGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeletePrivateAccessGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeletePrivateAccessGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeletePrivateAccessGatewayResponse wrapper for the DeletePrivateAccessGateway operation -type DeletePrivateAccessGatewayResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 DeletePrivateAccessGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeletePrivateAccessGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_endpoint_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_endpoint_request_response.go deleted file mode 100644 index fb62e4b6521d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_endpoint_request_response.go +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeletePrivateEndpointRequest wrapper for the DeletePrivateEndpoint operation -type DeletePrivateEndpointRequest struct { - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Indicates whether Private Endpoint operation is being triggered in Management mode. - IsManagementMode *bool `mandatory:"false" contributesTo:"query" name:"isManagementMode"` - - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - - // 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 DeletePrivateEndpointRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeletePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeletePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeletePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeletePrivateEndpointRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeletePrivateEndpointResponse wrapper for the DeletePrivateEndpoint operation -type DeletePrivateEndpointResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 DeletePrivateEndpointResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeletePrivateEndpointResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_ip_next_hop_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_ip_next_hop_request_response.go deleted file mode 100644 index 58c3c0cc563b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_ip_next_hop_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeletePrivateIpNextHopRequest wrapper for the DeletePrivateIpNextHop operation -type DeletePrivateIpNextHopRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeletePrivateIpNextHopRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeletePrivateIpNextHopRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeletePrivateIpNextHopRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeletePrivateIpNextHopRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeletePrivateIpNextHopRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeletePrivateIpNextHopResponse wrapper for the DeletePrivateIpNextHop operation -type DeletePrivateIpNextHopResponse 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 DeletePrivateIpNextHopResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeletePrivateIpNextHopResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_reverse_connection_nat_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_reverse_connection_nat_ip_request_response.go deleted file mode 100644 index de16cf1395ad..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_reverse_connection_nat_ip_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteReverseConnectionNatIpRequest wrapper for the DeleteReverseConnectionNatIp operation -type DeleteReverseConnectionNatIpRequest struct { - - // The customer's IP address that corresponds to the reverse connection NAT IP address. - ReverseConnectionCustomerIp *string `mandatory:"true" contributesTo:"path" name:"reverseConnectionCustomerIp"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // 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 DeleteReverseConnectionNatIpRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteReverseConnectionNatIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteReverseConnectionNatIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteReverseConnectionNatIpRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteReverseConnectionNatIpRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteReverseConnectionNatIpResponse wrapper for the DeleteReverseConnectionNatIp operation -type DeleteReverseConnectionNatIpResponse 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 DeleteReverseConnectionNatIpResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteReverseConnectionNatIpResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_scan_proxy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_scan_proxy_request_response.go deleted file mode 100644 index 8fa5fba03dad..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_scan_proxy_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteScanProxyRequest wrapper for the DeleteScanProxy operation -type DeleteScanProxyRequest struct { - - // A unique ID that identifies a scanProxy within a privateEndpoint. - ScanProxyId *string `mandatory:"true" contributesTo:"path" name:"scanProxyId"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteScanProxyRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteScanProxyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteScanProxyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteScanProxyRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteScanProxyRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteScanProxyResponse wrapper for the DeleteScanProxy operation -type DeleteScanProxyResponse 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 DeleteScanProxyResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteScanProxyResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_drg_attachment_request_response.go deleted file mode 100644 index a102dbd78cd4..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_drg_attachment_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteVcnDrgAttachmentRequest wrapper for the DeleteVcnDrgAttachment operation -type DeleteVcnDrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteVcnDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteVcnDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteVcnDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteVcnDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteVcnDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteVcnDrgAttachmentResponse wrapper for the DeleteVcnDrgAttachment operation -type DeleteVcnDrgAttachmentResponse 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 DeleteVcnDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteVcnDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vnic_worker_request_response.go deleted file mode 100644 index 12ac6f8feca6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vnic_worker_request_response.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DeleteVnicWorkerRequest wrapper for the DeleteVnicWorker operation -type DeleteVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DeleteVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteVnicWorkerResponse wrapper for the DeleteVnicWorker operation -type DeleteVnicWorkerResponse 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 DeleteVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_dav_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_dav_request_response.go deleted file mode 100644 index 32e181e33144..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_dav_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DetachDavRequest wrapper for the DetachDav operation -type DetachDavRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic. - DavId *string `mandatory:"true" contributesTo:"path" name:"davId"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // 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 DetachDavRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DetachDavRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DetachDavRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DetachDavRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DetachDavRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DetachDavResponse wrapper for the DetachDav operation -type DetachDavResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Dav instance - Dav `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 DetachDavResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DetachDavResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_destination_smart_nic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_destination_smart_nic_details.go deleted file mode 100644 index 0d50f2c85da6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_destination_smart_nic_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DetachVnicFromDestinationSmartNicDetails This structure is used when detaching VNIC from destination smartNIC. -type DetachVnicFromDestinationSmartNicDetails struct { - - // Migration session ID associated with the VNIC getting live migrated - MigrationSessionId *string `mandatory:"true" json:"migrationSessionId"` -} - -func (m DetachVnicFromDestinationSmartNicDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DetachVnicFromDestinationSmartNicDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_destination_smart_nic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_destination_smart_nic_request_response.go deleted file mode 100644 index 65ab5314b345..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_destination_smart_nic_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DetachVnicFromDestinationSmartNicRequest wrapper for the DetachVnicFromDestinationSmartNic operation -type DetachVnicFromDestinationSmartNicRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // Request to detach internal VNIC from destination smart NIC for live migration - DetachVnicFromDestinationSmartNicDetails `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 DetachVnicFromDestinationSmartNicRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DetachVnicFromDestinationSmartNicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DetachVnicFromDestinationSmartNicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DetachVnicFromDestinationSmartNicRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DetachVnicFromDestinationSmartNicRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DetachVnicFromDestinationSmartNicResponse wrapper for the DetachVnicFromDestinationSmartNic operation -type DetachVnicFromDestinationSmartNicResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnicAttachment instance - InternalVnicAttachment `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 DetachVnicFromDestinationSmartNicResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DetachVnicFromDestinationSmartNicResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_source_smart_nic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_source_smart_nic_details.go deleted file mode 100644 index 71c50fb58a63..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_source_smart_nic_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DetachVnicFromSourceSmartNicDetails This structure is used when detaching VNIC from source smartNIC. -type DetachVnicFromSourceSmartNicDetails struct { - - // Migration session ID associated with the VNIC getting live migrated - MigrationSessionId *string `mandatory:"true" json:"migrationSessionId"` -} - -func (m DetachVnicFromSourceSmartNicDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DetachVnicFromSourceSmartNicDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_source_smart_nic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_source_smart_nic_request_response.go deleted file mode 100644 index 088262620f43..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_from_source_smart_nic_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DetachVnicFromSourceSmartNicRequest wrapper for the DetachVnicFromSourceSmartNic operation -type DetachVnicFromSourceSmartNicRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // Request to detach internal VNIC from source smart NIC for live migration - DetachVnicFromSourceSmartNicDetails `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 DetachVnicFromSourceSmartNicRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DetachVnicFromSourceSmartNicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DetachVnicFromSourceSmartNicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DetachVnicFromSourceSmartNicRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DetachVnicFromSourceSmartNicRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DetachVnicFromSourceSmartNicResponse wrapper for the DetachVnicFromSourceSmartNic operation -type DetachVnicFromSourceSmartNicResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnicAttachment instance - InternalVnicAttachment `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 DetachVnicFromSourceSmartNicResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DetachVnicFromSourceSmartNicResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_worker_request_response.go deleted file mode 100644 index af95b0af9db7..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_worker_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DetachVnicWorkerRequest wrapper for the DetachVnicWorker operation -type DetachVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DetachVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DetachVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DetachVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DetachVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DetachVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DetachVnicWorkerResponse wrapper for the DetachVnicWorker operation -type DetachVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 DetachVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DetachVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/disable_reverse_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/disable_reverse_connections_request_response.go deleted file mode 100644 index 8bab6f040f47..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/disable_reverse_connections_request_response.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DisableReverseConnectionsRequest wrapper for the DisableReverseConnections operation -type DisableReverseConnectionsRequest struct { - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Indicates whether Private Endpoint operation is being triggered in Management mode. - IsManagementMode *bool `mandatory:"false" contributesTo:"query" name:"isManagementMode"` - - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - - // 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 DisableReverseConnectionsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DisableReverseConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DisableReverseConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DisableReverseConnectionsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DisableReverseConnectionsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DisableReverseConnectionsResponse wrapper for the DisableReverseConnections operation -type DisableReverseConnectionsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateEndpoint instance - PrivateEndpoint `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 DisableReverseConnectionsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DisableReverseConnectionsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/disable_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/disable_vnic_worker_request_response.go deleted file mode 100644 index 953c3fa32be3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/disable_vnic_worker_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DisableVnicWorkerRequest wrapper for the DisableVnicWorker operation -type DisableVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DisableVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DisableVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DisableVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DisableVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DisableVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DisableVnicWorkerResponse wrapper for the DisableVnicWorker operation -type DisableVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 DisableVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DisableVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dns_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dns_config_details.go deleted file mode 100644 index 8f11b5e0d10b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dns_config_details.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DnsConfigDetails The config of DNS server for ClientVPN in detail. -type DnsConfigDetails struct { - - // Whether to override assigned DNS server to private DNS server. - IsOverrideDns *bool `mandatory:"false" json:"isOverrideDns"` - - // List of IP address of DNS - DnsServers []string `mandatory:"false" json:"dnsServers"` -} - -func (m DnsConfigDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DnsConfigDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drain_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drain_vnic_worker_request_response.go deleted file mode 100644 index 4ea8624e4f1e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drain_vnic_worker_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DrainVnicWorkerRequest wrapper for the DrainVnicWorker operation -type DrainVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 DrainVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DrainVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DrainVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DrainVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DrainVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DrainVnicWorkerResponse wrapper for the DrainVnicWorker operation -type DrainVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 DrainVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DrainVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attached_network.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attached_network.go deleted file mode 100644 index 0f4a6f0beb03..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attached_network.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DrgAttachedNetwork The info on attached network of a DRG. -type DrgAttachedNetwork struct { - - // The display name of resource - DisplayName *string `mandatory:"false" json:"displayName"` - - // The compartment id of resource - CompartmentId *string `mandatory:"false" json:"compartmentId"` - - // The state of resource - State *string `mandatory:"false" json:"state"` -} - -func (m DrgAttachedNetwork) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DrgAttachedNetwork) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attached_network_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attached_network_info.go deleted file mode 100644 index 1afdae25dfe9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attached_network_info.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DrgAttachedNetworkInfo The attached networks of a DRG. -type DrgAttachedNetworkInfo struct { - - // The `drgId` of the DRG. - DrgId *string `mandatory:"true" json:"drgId"` - - // The remote peering connections on the DRG - RemotePeeringConnections []DrgAttachedNetwork `mandatory:"false" json:"remotePeeringConnections"` - - // The ipsec connections on the DRG - IpsecConnections []DrgAttachedNetwork `mandatory:"false" json:"ipsecConnections"` - - // The virtual circuits on the DRG - VirtualCircuitConnections []DrgAttachedNetwork `mandatory:"false" json:"virtualCircuitConnections"` -} - -func (m DrgAttachedNetworkInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DrgAttachedNetworkInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration.go deleted file mode 100644 index 26731ab3d679..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DrgMigration Response from Drg Migration API -type DrgMigration struct { - - // The count of succesfully migrated DRGS from the batch. - SuccessCount *int `mandatory:"true" json:"successCount"` - - // The count of failed during DRGS during migration from the batch. - FailureCount *int `mandatory:"false" json:"failureCount"` - - // The OCIDs of the drgs which were successfully migrated. - SuccessfulDrgIds []string `mandatory:"false" json:"successfulDrgIds"` - - // The OCIDs of the drgs which were failed during migration. - FailedDrgIds []string `mandatory:"false" json:"failedDrgIds"` -} - -func (m DrgMigration) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DrgMigration) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_count_region.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_count_region.go deleted file mode 100644 index 19fd60690cff..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_count_region.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DrgMigrationCountRegion Response from get migration count by region API -type DrgMigrationCountRegion struct { - - // The count of total v1 drgs. - TotalCount *int `mandatory:"true" json:"totalCount"` - - // The count of succesfully migrated Drgs. - MigratedCount *int `mandatory:"true" json:"migratedCount"` - - // The name of the region to contain the DRG. - RegionId *string `mandatory:"false" json:"regionId"` -} - -func (m DrgMigrationCountRegion) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DrgMigrationCountRegion) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_count_tenancy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_count_tenancy.go deleted file mode 100644 index 7f5f0a1a8088..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_count_tenancy.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DrgMigrationCountTenancy Response from get migration count by region API -type DrgMigrationCountTenancy struct { - - // The count of total v1 drgs. - TotalCount *int `mandatory:"true" json:"totalCount"` - - // The count of succesfully migrated Drgs. - MigratedCount *int `mandatory:"true" json:"migratedCount"` - - // The name of the tenancy to contain the DRG. - TenancyId *string `mandatory:"true" json:"tenancyId"` -} - -func (m DrgMigrationCountTenancy) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DrgMigrationCountTenancy) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_request_response.go deleted file mode 100644 index 53e7e4e18d6f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// DrgMigrationRequest wrapper for the DrgMigration operation -type DrgMigrationRequest struct { - - // Details for migrating batch of drgs. - DrgMigrationDetails `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 DrgMigrationRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DrgMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DrgMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DrgMigrationRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DrgMigrationRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DrgMigrationResponse wrapper for the DrgMigration operation -type DrgMigrationResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgMigration instance - DrgMigration `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 DrgMigrationResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DrgMigrationResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_upgrade_state.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_upgrade_state.go deleted file mode 100644 index bbf48f425242..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_upgrade_state.go +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// DrgUpgradeState A dynamic routing gateway (DRG) can be in different states during upgrade - Classical, Migrated, Upgraded(Transit-Hub) -type DrgUpgradeState struct { - - // The type of the DRG. - State DrgUpgradeStateStateEnum `mandatory:"false" json:"state,omitempty"` -} - -func (m DrgUpgradeState) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DrgUpgradeState) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingDrgUpgradeStateStateEnum[string(m.State)]; !ok && m.State != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for State: %s. Supported values are: %s.", m.State, strings.Join(GetDrgUpgradeStateStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DrgUpgradeStateStateEnum Enum with underlying type: string -type DrgUpgradeStateStateEnum string - -// Set of constants representing the allowable values for DrgUpgradeStateStateEnum -const ( - DrgUpgradeStateStateClassical DrgUpgradeStateStateEnum = "CLASSICAL" - DrgUpgradeStateStateMigrated DrgUpgradeStateStateEnum = "MIGRATED" - DrgUpgradeStateStateUpgraded DrgUpgradeStateStateEnum = "UPGRADED" -) - -var mappingDrgUpgradeStateStateEnum = map[string]DrgUpgradeStateStateEnum{ - "CLASSICAL": DrgUpgradeStateStateClassical, - "MIGRATED": DrgUpgradeStateStateMigrated, - "UPGRADED": DrgUpgradeStateStateUpgraded, -} - -// GetDrgUpgradeStateStateEnumValues Enumerates the set of values for DrgUpgradeStateStateEnum -func GetDrgUpgradeStateStateEnumValues() []DrgUpgradeStateStateEnum { - values := make([]DrgUpgradeStateStateEnum, 0) - for _, v := range mappingDrgUpgradeStateStateEnum { - values = append(values, v) - } - return values -} - -// GetDrgUpgradeStateStateEnumStringValues Enumerates the set of values in String for DrgUpgradeStateStateEnum -func GetDrgUpgradeStateStateEnumStringValues() []string { - return []string{ - "CLASSICAL", - "MIGRATED", - "UPGRADED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_reverse_connections_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_reverse_connections_details.go deleted file mode 100644 index 95771e70c823..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_reverse_connections_details.go +++ /dev/null @@ -1,219 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// EnableReverseConnectionsDetails Details for enabling reverse connections for a private endpoint. -type EnableReverseConnectionsDetails struct { - - // A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets - // traveling from the service's VCN to the customer's VCN. If no list is specified or - // an empty list is provided, an IP address will be chosen from the customer subnet's CIDR. - ReverseConnectionsSourceIps []ReverseConnectionsSourceIpDetails `mandatory:"false" json:"reverseConnectionsSourceIps"` - - // Whether a proxy should be configured for the reverse connection. If the service - // does not intend to use any proxy, set this to `false`. - // Example: `false` - IsProxyEnabled *bool `mandatory:"false" json:"isProxyEnabled"` - - // List of proxies to be spawned for this reverse connection. All proxy types specified in - // this list will be spawned and they will use the proxyIp(below) as the address. - // If not specified, the field will default back to a list with DNS proxy only. - ProxyType []EnableReverseConnectionsDetailsProxyTypeEnum `mandatory:"false" json:"proxyType,omitempty"` - - // The IP address in the service VCN to be used to reach the reverse connection proxy - // services DNS & SCAN proxy. If no value is provided, an available IP address will - // be chosen from the service subnet's CIDR. - ProxyIp *string `mandatory:"false" json:"proxyIp"` - - // The IP address in the service VCN to be used to reach the DNS proxy that resolves the - // customer FQDN for reverse connections. If no value is provided, an available IP address will - // be chosen from the service subnet's CIDR. - // This field will be deprecated in favor of proxyIp in future. - DnsProxyIp *string `mandatory:"false" json:"dnsProxyIp"` - - // The context in which the DNS proxy will resolve the DNS queries. The default is `SERVICE`. - // For example: if the service does not know the specific DNS zones for the customer VCNs, set - // this to `CUSTOMER`, and set `excludedDnsZones` to the list of DNS zones in your service - // provider VCN. - // Allowed values: - // * `SERVICE`: All DNS queries will be resolved within the service VCN's DNS context, - // unless the FQDN belongs to one of zones in the `excludedDnsZones` list. - // * `CUSTOMER`: All DNS queries will be resolved within the customer VCN's DNS context, - // unless the FQDN belongs to one of zones in the `excludedDnsZones` list. - DefaultDnsResolutionContext EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum `mandatory:"false" json:"defaultDnsResolutionContext,omitempty"` - - // List of DNS zones to exclude from the default DNS resolution context. - ExcludedDnsZones []string `mandatory:"false" json:"excludedDnsZones"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service's subnet where - // the DNS proxy endpoint will be created. - ServiceSubnetId *string `mandatory:"false" json:"serviceSubnetId"` - - // A list of the OCIDs of the network security groups that the reverse connection's VNIC belongs to. - // For more information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // Number of customer endpoints that the service provider expects to establish connections to using this RCE. The default is 0. - // When non-zero value is specified, reverse connection configuration will be allocated with a list of CIDRs, from - // which NAT IP addresses will be allocated. These list of CIDRs will not be shared by other reverse - // connection enabled private endpoints. - // When zero is specified, reverse connection configuration will get NAT IP addresses from common pool of CIDRs, - // which will be shared with other reverse connection enabled private endpoints. - // If the private endpoint was enabled with reverse connection with 0 already, the field is not updatable. - // The size may not be updated with smaller number than previously specified value, but may be increased. - CustomerEndpointsSize *int `mandatory:"false" json:"customerEndpointsSize"` - - // Layer 4 transport protocol to be used when resolving DNS queries within the default DNS resolution context. - DefaultDnsContextTransport EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum `mandatory:"false" json:"defaultDnsContextTransport,omitempty"` - - // List of CIDRs that this reverse connection configuration will allocate the NAT IP addresses from. - // CIDRs on this list should not be shared by other reverse connection enabled private endpoints. - // When not specified, if the customerEndpointSize is non null, reverse connection configuration will get - // NAT IP addresses from the dedicated pool of CIDRs, else will get specified from the common pool of CIDRs. - // This field cannot be specified if the customerEndpointsSize field is non null and vice versa. - ReverseConnectionNatIpCidrs []string `mandatory:"false" json:"reverseConnectionNatIpCidrs"` - - // Whether the reverse connection should be configured with single Ip. If the service - // does not intend to use single Ip for both forward and reverse connection, set this to `false`. - // Example: `false` - IsSingleIpEnabled *bool `mandatory:"false" json:"isSingleIpEnabled"` -} - -func (m EnableReverseConnectionsDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m EnableReverseConnectionsDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - for _, val := range m.ProxyType { - if _, ok := mappingEnableReverseConnectionsDetailsProxyTypeEnum[string(val)]; !ok && val != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ProxyType: %s. Supported values are: %s.", val, strings.Join(GetEnableReverseConnectionsDetailsProxyTypeEnumStringValues(), ","))) - } - } - - if _, ok := mappingEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum[string(m.DefaultDnsResolutionContext)]; !ok && m.DefaultDnsResolutionContext != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DefaultDnsResolutionContext: %s. Supported values are: %s.", m.DefaultDnsResolutionContext, strings.Join(GetEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnumStringValues(), ","))) - } - if _, ok := mappingEnableReverseConnectionsDetailsDefaultDnsContextTransportEnum[string(m.DefaultDnsContextTransport)]; !ok && m.DefaultDnsContextTransport != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DefaultDnsContextTransport: %s. Supported values are: %s.", m.DefaultDnsContextTransport, strings.Join(GetEnableReverseConnectionsDetailsDefaultDnsContextTransportEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// EnableReverseConnectionsDetailsProxyTypeEnum Enum with underlying type: string -type EnableReverseConnectionsDetailsProxyTypeEnum string - -// Set of constants representing the allowable values for EnableReverseConnectionsDetailsProxyTypeEnum -const ( - EnableReverseConnectionsDetailsProxyTypeDns EnableReverseConnectionsDetailsProxyTypeEnum = "DNS" - EnableReverseConnectionsDetailsProxyTypeScan EnableReverseConnectionsDetailsProxyTypeEnum = "SCAN" -) - -var mappingEnableReverseConnectionsDetailsProxyTypeEnum = map[string]EnableReverseConnectionsDetailsProxyTypeEnum{ - "DNS": EnableReverseConnectionsDetailsProxyTypeDns, - "SCAN": EnableReverseConnectionsDetailsProxyTypeScan, -} - -// GetEnableReverseConnectionsDetailsProxyTypeEnumValues Enumerates the set of values for EnableReverseConnectionsDetailsProxyTypeEnum -func GetEnableReverseConnectionsDetailsProxyTypeEnumValues() []EnableReverseConnectionsDetailsProxyTypeEnum { - values := make([]EnableReverseConnectionsDetailsProxyTypeEnum, 0) - for _, v := range mappingEnableReverseConnectionsDetailsProxyTypeEnum { - values = append(values, v) - } - return values -} - -// GetEnableReverseConnectionsDetailsProxyTypeEnumStringValues Enumerates the set of values in String for EnableReverseConnectionsDetailsProxyTypeEnum -func GetEnableReverseConnectionsDetailsProxyTypeEnumStringValues() []string { - return []string{ - "DNS", - "SCAN", - } -} - -// EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum Enum with underlying type: string -type EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum string - -// Set of constants representing the allowable values for EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum -const ( - EnableReverseConnectionsDetailsDefaultDnsResolutionContextService EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum = "SERVICE" - EnableReverseConnectionsDetailsDefaultDnsResolutionContextCustomer EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum = "CUSTOMER" -) - -var mappingEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum = map[string]EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum{ - "SERVICE": EnableReverseConnectionsDetailsDefaultDnsResolutionContextService, - "CUSTOMER": EnableReverseConnectionsDetailsDefaultDnsResolutionContextCustomer, -} - -// GetEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnumValues Enumerates the set of values for EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum -func GetEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnumValues() []EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum { - values := make([]EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum, 0) - for _, v := range mappingEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum { - values = append(values, v) - } - return values -} - -// GetEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnumStringValues Enumerates the set of values in String for EnableReverseConnectionsDetailsDefaultDnsResolutionContextEnum -func GetEnableReverseConnectionsDetailsDefaultDnsResolutionContextEnumStringValues() []string { - return []string{ - "SERVICE", - "CUSTOMER", - } -} - -// EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum Enum with underlying type: string -type EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum string - -// Set of constants representing the allowable values for EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum -const ( - EnableReverseConnectionsDetailsDefaultDnsContextTransportTcp EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum = "TCP" - EnableReverseConnectionsDetailsDefaultDnsContextTransportUdp EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum = "UDP" -) - -var mappingEnableReverseConnectionsDetailsDefaultDnsContextTransportEnum = map[string]EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum{ - "TCP": EnableReverseConnectionsDetailsDefaultDnsContextTransportTcp, - "UDP": EnableReverseConnectionsDetailsDefaultDnsContextTransportUdp, -} - -// GetEnableReverseConnectionsDetailsDefaultDnsContextTransportEnumValues Enumerates the set of values for EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum -func GetEnableReverseConnectionsDetailsDefaultDnsContextTransportEnumValues() []EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum { - values := make([]EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum, 0) - for _, v := range mappingEnableReverseConnectionsDetailsDefaultDnsContextTransportEnum { - values = append(values, v) - } - return values -} - -// GetEnableReverseConnectionsDetailsDefaultDnsContextTransportEnumStringValues Enumerates the set of values in String for EnableReverseConnectionsDetailsDefaultDnsContextTransportEnum -func GetEnableReverseConnectionsDetailsDefaultDnsContextTransportEnumStringValues() []string { - return []string{ - "TCP", - "UDP", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_reverse_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_reverse_connections_request_response.go deleted file mode 100644 index 4c08e34e5641..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_reverse_connections_request_response.go +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// EnableReverseConnectionsRequest wrapper for the EnableReverseConnections operation -type EnableReverseConnectionsRequest struct { - - // Details for supporting reverse connections for the private endpoint. - EnableReverseConnectionsDetails `contributesTo:"body"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // 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"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - - // 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 EnableReverseConnectionsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request EnableReverseConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request EnableReverseConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request EnableReverseConnectionsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request EnableReverseConnectionsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// EnableReverseConnectionsResponse wrapper for the EnableReverseConnections operation -type EnableReverseConnectionsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateEndpoint instance - PrivateEndpoint `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 EnableReverseConnectionsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response EnableReverseConnectionsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_vnic_worker_request_response.go deleted file mode 100644 index c7cd07e7a5ee..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enable_vnic_worker_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// EnableVnicWorkerRequest wrapper for the EnableVnicWorker operation -type EnableVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 EnableVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request EnableVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request EnableVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request EnableVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request EnableVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// EnableVnicWorkerResponse wrapper for the EnableVnicWorker operation -type EnableVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 EnableVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response EnableVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service.go deleted file mode 100644 index e863b845f2be..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service.go +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// EndpointService Required for Oracle services that offer customers private endpoints for private access to the -// service. -// An endpoint service is an object that resides in the Oracle service's VCN and represents the IP addresses -// for accessing the service. An endpoint service can be associated with one or more private -// endpoints, which reside in customer VCNs (see PrivateEndpoint). -// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, -// talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). -type EndpointService struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint service. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the - // endpoint service. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // List of service IP addresses (in the service VCN) that handle requests to the endpoint service. - ServiceIps []EndpointServiceIpDetails `mandatory:"true" json:"serviceIps"` - - // The ports on the endpoint service IPs that are open for private endpoint traffic for this - // endpoint service. If you provide no ports, all open ports on the service IPs are accessible. - Ports []int `mandatory:"true" json:"ports"` - - // The three-label FQDN to use for all private endpoints associated with this endpoint - // service. This attribute's value cannot be changed. - // For important information about how this attribute is used, see the discussion - // of DNS and FQDNs in PrivateEndpoint. - // Example: `xyz.oraclecloud.com` - EndpointFqdn *string `mandatory:"true" json:"endpointFqdn"` - - // The date and time the endpoint service 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 endpoint service's current lifecycle state. - LifecycleState EndpointServiceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service VCN that the endpoint - // service belongs to. - VcnId *string `mandatory:"false" json:"vcnId"` - - // A description of the endpoint service. For Oracle services that use the "trusted" mode of the - // private endpoint service, customers never see this description. - Description *string `mandatory:"false" json:"description"` - - // A friendly name for the endpoint service. Must be unique within the VCN. Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // Some Oracle services want to restrict access to the resources represented by an endpoint service so - // that only a single private endpoint in the customer VCN has access. - // For example, the endpoint service might represent a particular service resource (such as a - // particular database). The service might want to allow access to that particular resource - // from only a single private endpoint. - // Defaults to `false`. - // Example: `true` - AreMultiplePrivateEndpointsPerVcnAllowed *bool `mandatory:"false" json:"areMultiplePrivateEndpointsPerVcnAllowed"` - - // Reserved for future use. - IsVcnMetadataEnabled *bool `mandatory:"false" json:"isVcnMetadataEnabled"` - - // ES from substrate or not - IsSubstrate *bool `mandatory:"false" json:"isSubstrate"` - - // RCE substrate anycast IP - ReverseConnectionAnycastIp *string `mandatory:"false" json:"reverseConnectionAnycastIp"` - - // MPLS label that identifies the substrate endpoint service - ReverseConnectionMplsLabel *int `mandatory:"false" json:"reverseConnectionMplsLabel"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m EndpointService) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m EndpointService) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingEndpointServiceLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetEndpointServiceLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// EndpointServiceLifecycleStateEnum Enum with underlying type: string -type EndpointServiceLifecycleStateEnum string - -// Set of constants representing the allowable values for EndpointServiceLifecycleStateEnum -const ( - EndpointServiceLifecycleStateProvisioning EndpointServiceLifecycleStateEnum = "PROVISIONING" - EndpointServiceLifecycleStateAvailable EndpointServiceLifecycleStateEnum = "AVAILABLE" - EndpointServiceLifecycleStateTerminating EndpointServiceLifecycleStateEnum = "TERMINATING" - EndpointServiceLifecycleStateTerminated EndpointServiceLifecycleStateEnum = "TERMINATED" - EndpointServiceLifecycleStateUpdating EndpointServiceLifecycleStateEnum = "UPDATING" - EndpointServiceLifecycleStateFailed EndpointServiceLifecycleStateEnum = "FAILED" -) - -var mappingEndpointServiceLifecycleStateEnum = map[string]EndpointServiceLifecycleStateEnum{ - "PROVISIONING": EndpointServiceLifecycleStateProvisioning, - "AVAILABLE": EndpointServiceLifecycleStateAvailable, - "TERMINATING": EndpointServiceLifecycleStateTerminating, - "TERMINATED": EndpointServiceLifecycleStateTerminated, - "UPDATING": EndpointServiceLifecycleStateUpdating, - "FAILED": EndpointServiceLifecycleStateFailed, -} - -// GetEndpointServiceLifecycleStateEnumValues Enumerates the set of values for EndpointServiceLifecycleStateEnum -func GetEndpointServiceLifecycleStateEnumValues() []EndpointServiceLifecycleStateEnum { - values := make([]EndpointServiceLifecycleStateEnum, 0) - for _, v := range mappingEndpointServiceLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetEndpointServiceLifecycleStateEnumStringValues Enumerates the set of values in String for EndpointServiceLifecycleStateEnum -func GetEndpointServiceLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - "UPDATING", - "FAILED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_next_hop.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_next_hop.go deleted file mode 100644 index f31929fe5910..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_next_hop.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// EndpointServiceNextHop Information of a particular service's next hop -type EndpointServiceNextHop struct { - - // An IP address that handles requests to the endpoint service. - ServiceIp *string `mandatory:"true" json:"serviceIp"` - - // An Internal IP address that handles requests to the substrate anycast of endpoint service. - NextHopIp *string `mandatory:"true" json:"nextHopIp"` - - // MPLS label that identifies the substrate endpoint service - NextHopSlotId *int `mandatory:"true" json:"nextHopSlotId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint service. - EndpointServiceId *string `mandatory:"false" json:"endpointServiceId"` -} - -func (m EndpointServiceNextHop) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m EndpointServiceNextHop) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_summary.go deleted file mode 100644 index 0d2894fe77f7..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_summary.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// EndpointServiceSummary A summary of endpoint service information. This object is returned when listing endpoint -// services. -type EndpointServiceSummary struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint service. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service VCN that the endpoint - // service belongs to. - VcnId *string `mandatory:"true" json:"vcnId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"true" json:"displayName"` -} - -func (m EndpointServiceSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m EndpointServiceSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/floating_ip_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/floating_ip_info.go deleted file mode 100644 index bd97a20f9447..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/floating_ip_info.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// FloatingIpInfo Detail info about floating IP. -type FloatingIpInfo struct { - - // ID of the floating IP - Id *string `mandatory:"true" json:"id"` - - // The IP address of the floating IP - IpAddress *string `mandatory:"true" json:"ipAddress"` - - // HostName for the primary IP. Only the hostname label, not the FQDN. - HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` - - // The Network Address Translated IP to communicate with internal services - NatIpAddress *string `mandatory:"false" json:"natIpAddress"` -} - -func (m FloatingIpInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m FloatingIpInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_config.go deleted file mode 100644 index a9e8dddde6cd..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_config.go +++ /dev/null @@ -1,209 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// FlowLogConfig *Flow logs* record information about traffic that is either allowed or rejected by the -// SecurityList that control traffic in and out of a -// Vnic. -// A *flow log configuration* (`FlowLogConfig`) contains information about where to store flow -// logs (an Object Storage bucket in your tenancy), and the type of logs to store. -// **Important:** For logs to be placed in the Object Storage bucket listed in the configuration, -// an administrator must create an IAM policy in your tenancy that lets the Networking service -// put objects in that bucket. Otherwise, no flow logs can be written to the bucket. -// Here's the required policy (which consists of three separate statements): -// `define tenancy VcnFlowLogs as ocid1.tenancy.oc1..<unique_ID>` -// `define dynamic-group FlowLogsDynamicGroup as ocid1.dynamicgroup.oc1..<unique_ID>` -// `admit dynamic-group FlowLogsDynamicGroup of tenancy VcnFlowLogs to manage objects in tenancy where target.bucket.name='yourbucketname'` -// To enable flow logs for a subnet: after creating a flow -// log configuration, attach the flow log configuration to that subnet. See -// FlowLogConfigAttachment and -// CreateFlowLogConfigAttachment. -type FlowLogConfig struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the flow - // log configuration. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"true" json:"displayName"` - - // The flow log configuration's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id *string `mandatory:"true" json:"id"` - - // The flow log configuration's current state. - LifecycleState FlowLogConfigLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // Type or types of flow logs to store. `ALL` includes records for both accepted traffic and - // rejected traffic. - FlowLogType FlowLogConfigFlowLogTypeEnum `mandatory:"true" json:"flowLogType"` - - Destination FlowLogDestination `mandatory:"true" json:"destination"` - - // The date and time the flow log configuration was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m FlowLogConfig) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m FlowLogConfig) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingFlowLogConfigLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetFlowLogConfigLifecycleStateEnumStringValues(), ","))) - } - if _, ok := mappingFlowLogConfigFlowLogTypeEnum[string(m.FlowLogType)]; !ok && m.FlowLogType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FlowLogType: %s. Supported values are: %s.", m.FlowLogType, strings.Join(GetFlowLogConfigFlowLogTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UnmarshalJSON unmarshals from json -func (m *FlowLogConfig) UnmarshalJSON(data []byte) (e error) { - model := struct { - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - FreeformTags map[string]string `json:"freeformTags"` - CompartmentId *string `json:"compartmentId"` - DisplayName *string `json:"displayName"` - Id *string `json:"id"` - LifecycleState FlowLogConfigLifecycleStateEnum `json:"lifecycleState"` - FlowLogType FlowLogConfigFlowLogTypeEnum `json:"flowLogType"` - Destination flowlogdestination `json:"destination"` - TimeCreated *common.SDKTime `json:"timeCreated"` - }{} - - e = json.Unmarshal(data, &model) - if e != nil { - return - } - var nn interface{} - m.DefinedTags = model.DefinedTags - - m.FreeformTags = model.FreeformTags - - m.CompartmentId = model.CompartmentId - - m.DisplayName = model.DisplayName - - m.Id = model.Id - - m.LifecycleState = model.LifecycleState - - m.FlowLogType = model.FlowLogType - - nn, e = model.Destination.UnmarshalPolymorphicJSON(model.Destination.JsonData) - if e != nil { - return - } - if nn != nil { - m.Destination = nn.(FlowLogDestination) - } else { - m.Destination = nil - } - - m.TimeCreated = model.TimeCreated - - return -} - -// FlowLogConfigLifecycleStateEnum Enum with underlying type: string -type FlowLogConfigLifecycleStateEnum string - -// Set of constants representing the allowable values for FlowLogConfigLifecycleStateEnum -const ( - FlowLogConfigLifecycleStateProvisioning FlowLogConfigLifecycleStateEnum = "PROVISIONING" - FlowLogConfigLifecycleStateAvailable FlowLogConfigLifecycleStateEnum = "AVAILABLE" - FlowLogConfigLifecycleStateTerminating FlowLogConfigLifecycleStateEnum = "TERMINATING" - FlowLogConfigLifecycleStateTerminated FlowLogConfigLifecycleStateEnum = "TERMINATED" -) - -var mappingFlowLogConfigLifecycleStateEnum = map[string]FlowLogConfigLifecycleStateEnum{ - "PROVISIONING": FlowLogConfigLifecycleStateProvisioning, - "AVAILABLE": FlowLogConfigLifecycleStateAvailable, - "TERMINATING": FlowLogConfigLifecycleStateTerminating, - "TERMINATED": FlowLogConfigLifecycleStateTerminated, -} - -// GetFlowLogConfigLifecycleStateEnumValues Enumerates the set of values for FlowLogConfigLifecycleStateEnum -func GetFlowLogConfigLifecycleStateEnumValues() []FlowLogConfigLifecycleStateEnum { - values := make([]FlowLogConfigLifecycleStateEnum, 0) - for _, v := range mappingFlowLogConfigLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetFlowLogConfigLifecycleStateEnumStringValues Enumerates the set of values in String for FlowLogConfigLifecycleStateEnum -func GetFlowLogConfigLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} - -// FlowLogConfigFlowLogTypeEnum Enum with underlying type: string -type FlowLogConfigFlowLogTypeEnum string - -// Set of constants representing the allowable values for FlowLogConfigFlowLogTypeEnum -const ( - FlowLogConfigFlowLogTypeAll FlowLogConfigFlowLogTypeEnum = "ALL" -) - -var mappingFlowLogConfigFlowLogTypeEnum = map[string]FlowLogConfigFlowLogTypeEnum{ - "ALL": FlowLogConfigFlowLogTypeAll, -} - -// GetFlowLogConfigFlowLogTypeEnumValues Enumerates the set of values for FlowLogConfigFlowLogTypeEnum -func GetFlowLogConfigFlowLogTypeEnumValues() []FlowLogConfigFlowLogTypeEnum { - values := make([]FlowLogConfigFlowLogTypeEnum, 0) - for _, v := range mappingFlowLogConfigFlowLogTypeEnum { - values = append(values, v) - } - return values -} - -// GetFlowLogConfigFlowLogTypeEnumStringValues Enumerates the set of values in String for FlowLogConfigFlowLogTypeEnum -func GetFlowLogConfigFlowLogTypeEnumStringValues() []string { - return []string{ - "ALL", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_config_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_config_attachment.go deleted file mode 100644 index 522d0aa62b3d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_config_attachment.go +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// FlowLogConfigAttachment Represents an attachment between a flow log configuration and a resource such as a subnet. By -// creating a `FlowLogConfigAttachment`, you turn on flow logs for the attached resource. See -// CreateFlowLogConfigAttachment. -type FlowLogConfigAttachment struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the - // flow log configuration attachment. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"true" json:"displayName"` - - // The flow log configuration attachment's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Id *string `mandatory:"true" json:"id"` - - // The flow log configuration attachment's current state. - LifecycleState FlowLogConfigAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that the flow log - // configuration is attached to. - TargetEntityId *string `mandatory:"true" json:"targetEntityId"` - - // The type of resource that the flow log configuration is attached to. - TargetEntityType FlowLogConfigAttachmentTargetEntityTypeEnum `mandatory:"true" json:"targetEntityType"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration that - // is attached to the resource. - FlowLogConfigId *string `mandatory:"true" json:"flowLogConfigId"` - - // The date and time the flow log configuration 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:"true" json:"timeCreated"` -} - -func (m FlowLogConfigAttachment) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m FlowLogConfigAttachment) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingFlowLogConfigAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetFlowLogConfigAttachmentLifecycleStateEnumStringValues(), ","))) - } - if _, ok := mappingFlowLogConfigAttachmentTargetEntityTypeEnum[string(m.TargetEntityType)]; !ok && m.TargetEntityType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetEntityType: %s. Supported values are: %s.", m.TargetEntityType, strings.Join(GetFlowLogConfigAttachmentTargetEntityTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// FlowLogConfigAttachmentLifecycleStateEnum Enum with underlying type: string -type FlowLogConfigAttachmentLifecycleStateEnum string - -// Set of constants representing the allowable values for FlowLogConfigAttachmentLifecycleStateEnum -const ( - FlowLogConfigAttachmentLifecycleStateProvisioning FlowLogConfigAttachmentLifecycleStateEnum = "PROVISIONING" - FlowLogConfigAttachmentLifecycleStateAvailable FlowLogConfigAttachmentLifecycleStateEnum = "AVAILABLE" - FlowLogConfigAttachmentLifecycleStateTerminating FlowLogConfigAttachmentLifecycleStateEnum = "TERMINATING" - FlowLogConfigAttachmentLifecycleStateTerminated FlowLogConfigAttachmentLifecycleStateEnum = "TERMINATED" -) - -var mappingFlowLogConfigAttachmentLifecycleStateEnum = map[string]FlowLogConfigAttachmentLifecycleStateEnum{ - "PROVISIONING": FlowLogConfigAttachmentLifecycleStateProvisioning, - "AVAILABLE": FlowLogConfigAttachmentLifecycleStateAvailable, - "TERMINATING": FlowLogConfigAttachmentLifecycleStateTerminating, - "TERMINATED": FlowLogConfigAttachmentLifecycleStateTerminated, -} - -// GetFlowLogConfigAttachmentLifecycleStateEnumValues Enumerates the set of values for FlowLogConfigAttachmentLifecycleStateEnum -func GetFlowLogConfigAttachmentLifecycleStateEnumValues() []FlowLogConfigAttachmentLifecycleStateEnum { - values := make([]FlowLogConfigAttachmentLifecycleStateEnum, 0) - for _, v := range mappingFlowLogConfigAttachmentLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetFlowLogConfigAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for FlowLogConfigAttachmentLifecycleStateEnum -func GetFlowLogConfigAttachmentLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} - -// FlowLogConfigAttachmentTargetEntityTypeEnum Enum with underlying type: string -type FlowLogConfigAttachmentTargetEntityTypeEnum string - -// Set of constants representing the allowable values for FlowLogConfigAttachmentTargetEntityTypeEnum -const ( - FlowLogConfigAttachmentTargetEntityTypeSubnet FlowLogConfigAttachmentTargetEntityTypeEnum = "SUBNET" -) - -var mappingFlowLogConfigAttachmentTargetEntityTypeEnum = map[string]FlowLogConfigAttachmentTargetEntityTypeEnum{ - "SUBNET": FlowLogConfigAttachmentTargetEntityTypeSubnet, -} - -// GetFlowLogConfigAttachmentTargetEntityTypeEnumValues Enumerates the set of values for FlowLogConfigAttachmentTargetEntityTypeEnum -func GetFlowLogConfigAttachmentTargetEntityTypeEnumValues() []FlowLogConfigAttachmentTargetEntityTypeEnum { - values := make([]FlowLogConfigAttachmentTargetEntityTypeEnum, 0) - for _, v := range mappingFlowLogConfigAttachmentTargetEntityTypeEnum { - values = append(values, v) - } - return values -} - -// GetFlowLogConfigAttachmentTargetEntityTypeEnumStringValues Enumerates the set of values in String for FlowLogConfigAttachmentTargetEntityTypeEnum -func GetFlowLogConfigAttachmentTargetEntityTypeEnumStringValues() []string { - return []string{ - "SUBNET", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_destination.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_destination.go deleted file mode 100644 index d632be0acf20..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_destination.go +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// FlowLogDestination Where to store the flow logs. -type FlowLogDestination interface { -} - -type flowlogdestination struct { - JsonData []byte - DestinationType string `json:"destinationType"` -} - -// UnmarshalJSON unmarshals json -func (m *flowlogdestination) UnmarshalJSON(data []byte) error { - m.JsonData = data - type Unmarshalerflowlogdestination flowlogdestination - s := struct { - Model Unmarshalerflowlogdestination - }{} - err := json.Unmarshal(data, &s.Model) - if err != nil { - return err - } - m.DestinationType = s.Model.DestinationType - - return err -} - -// UnmarshalPolymorphicJSON unmarshals polymorphic json -func (m *flowlogdestination) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { - - if data == nil || string(data) == "null" { - return nil, nil - } - - var err error - switch m.DestinationType { - case "OBJECT_STORAGE": - mm := FlowLogObjectStorageDestination{} - err = json.Unmarshal(data, &mm) - return mm, err - default: - return *m, nil - } -} - -func (m flowlogdestination) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m flowlogdestination) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// FlowLogDestinationDestinationTypeEnum Enum with underlying type: string -type FlowLogDestinationDestinationTypeEnum string - -// Set of constants representing the allowable values for FlowLogDestinationDestinationTypeEnum -const ( - FlowLogDestinationDestinationTypeObjectStorage FlowLogDestinationDestinationTypeEnum = "OBJECT_STORAGE" -) - -var mappingFlowLogDestinationDestinationTypeEnum = map[string]FlowLogDestinationDestinationTypeEnum{ - "OBJECT_STORAGE": FlowLogDestinationDestinationTypeObjectStorage, -} - -// GetFlowLogDestinationDestinationTypeEnumValues Enumerates the set of values for FlowLogDestinationDestinationTypeEnum -func GetFlowLogDestinationDestinationTypeEnumValues() []FlowLogDestinationDestinationTypeEnum { - values := make([]FlowLogDestinationDestinationTypeEnum, 0) - for _, v := range mappingFlowLogDestinationDestinationTypeEnum { - values = append(values, v) - } - return values -} - -// GetFlowLogDestinationDestinationTypeEnumStringValues Enumerates the set of values in String for FlowLogDestinationDestinationTypeEnum -func GetFlowLogDestinationDestinationTypeEnumStringValues() []string { - return []string{ - "OBJECT_STORAGE", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_object_storage_destination.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_object_storage_destination.go deleted file mode 100644 index 2f8e6276c4a1..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/flow_log_object_storage_destination.go +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// FlowLogObjectStorageDestination Information to identify the Object Storage bucket where the flow logs will be stored. -type FlowLogObjectStorageDestination struct { - - // The Object Storage bucket name. - BucketName *string `mandatory:"false" json:"bucketName"` - - // The Object Storage namespace. - NamespaceName *string `mandatory:"false" json:"namespaceName"` -} - -func (m FlowLogObjectStorageDestination) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m FlowLogObjectStorageDestination) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m FlowLogObjectStorageDestination) MarshalJSON() (buff []byte, e error) { - type MarshalTypeFlowLogObjectStorageDestination FlowLogObjectStorageDestination - s := struct { - DiscriminatorParam string `json:"destinationType"` - MarshalTypeFlowLogObjectStorageDestination - }{ - "OBJECT_STORAGE", - (MarshalTypeFlowLogObjectStorageDestination)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/gateway_route_data.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/gateway_route_data.go deleted file mode 100644 index 0bde49a5d91f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/gateway_route_data.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// GatewayRouteData Maps Region identifier and/or AD(s) to corresponding VIPs. Region identifier is required. Passed through as-is to El Paso. -// Region identifier is expected to be name of Region enum. -type GatewayRouteData struct { - AdLabel *string `mandatory:"true" json:"adLabel"` - - GatewayVip *string `mandatory:"true" json:"gatewayVip"` -} - -func (m GatewayRouteData) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m GatewayRouteData) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/generate_local_peering_token_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/generate_local_peering_token_request_response.go deleted file mode 100644 index 42b0d0f4f7eb..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/generate_local_peering_token_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GenerateLocalPeeringTokenRequest wrapper for the GenerateLocalPeeringToken operation -type GenerateLocalPeeringTokenRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering connection. This feature is currently in preview and may change before public release. Do not use it for production workloads. - LocalPeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"localPeeringConnectionId"` - - // 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 GenerateLocalPeeringTokenRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GenerateLocalPeeringTokenRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GenerateLocalPeeringTokenRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GenerateLocalPeeringTokenRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GenerateLocalPeeringTokenRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GenerateLocalPeeringTokenResponse wrapper for the GenerateLocalPeeringToken operation -type GenerateLocalPeeringTokenResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The LocalPeeringTokenDetails instance - LocalPeeringTokenDetails `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"` -} - -func (response GenerateLocalPeeringTokenResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GenerateLocalPeeringTokenResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_c3_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_c3_drg_attachment_request_response.go deleted file mode 100644 index 1510c1cdd87f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_c3_drg_attachment_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetC3DrgAttachmentRequest wrapper for the GetC3DrgAttachment operation -type GetC3DrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` - - // 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 GetC3DrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetC3DrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetC3DrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetC3DrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetC3DrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetC3DrgAttachmentResponse wrapper for the GetC3DrgAttachment operation -type GetC3DrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachment instance - DrgAttachment `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 GetC3DrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetC3DrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_profile_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_profile_request_response.go deleted file mode 100644 index 9d17156ee785..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_profile_request_response.go +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "io" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetClientVpnProfileRequest wrapper for the GetClientVpnProfile operation -type GetClientVpnProfileRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // 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 GetClientVpnProfileRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetClientVpnProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetClientVpnProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetClientVpnProfileRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetClientVpnProfileRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetClientVpnProfileResponse wrapper for the GetClientVpnProfile operation -type GetClientVpnProfileResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The io.ReadCloser instance - Content io.ReadCloser `presentIn:"body" encoding:"binary"` - - // 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 GetClientVpnProfileResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetClientVpnProfileResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_request_response.go deleted file mode 100644 index 9d678ae4154b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetClientVpnRequest wrapper for the GetClientVpn operation -type GetClientVpnRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // 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 GetClientVpnRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetClientVpnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetClientVpnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetClientVpnRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetClientVpnRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetClientVpnResponse wrapper for the GetClientVpn operation -type GetClientVpnResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpn instance - ClientVpn `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 GetClientVpnResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetClientVpnResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_status_request_response.go deleted file mode 100644 index 299e3e236979..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_status_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetClientVpnStatusRequest wrapper for the GetClientVpnStatus operation -type GetClientVpnStatusRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // 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 GetClientVpnStatusRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetClientVpnStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetClientVpnStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetClientVpnStatusRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetClientVpnStatusRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetClientVpnStatusResponse wrapper for the GetClientVpnStatus operation -type GetClientVpnStatusResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpnStatus instance - ClientVpnStatus `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"` -} - -func (response GetClientVpnStatusResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetClientVpnStatusResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_user_profile_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_user_profile_request_response.go deleted file mode 100644 index 13c6611de0b7..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_user_profile_request_response.go +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "io" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetClientVpnUserProfileRequest wrapper for the GetClientVpnUserProfile operation -type GetClientVpnUserProfileRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // The username of the ClientVpnUser. - UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` - - // 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 GetClientVpnUserProfileRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetClientVpnUserProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetClientVpnUserProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetClientVpnUserProfileRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetClientVpnUserProfileRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetClientVpnUserProfileResponse wrapper for the GetClientVpnUserProfile operation -type GetClientVpnUserProfileResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The io.ReadCloser instance - Content io.ReadCloser `presentIn:"body" encoding:"binary"` - - // 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 GetClientVpnUserProfileResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetClientVpnUserProfileResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_user_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_user_request_response.go deleted file mode 100644 index 0179a28dea40..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_client_vpn_user_request_response.go +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetClientVpnUserRequest wrapper for the GetClientVpnUser operation -type GetClientVpnUserRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // The username of the ClientVpnUser. - UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` - - // 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 GetClientVpnUserRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetClientVpnUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetClientVpnUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetClientVpnUserRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetClientVpnUserRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetClientVpnUserResponse wrapper for the GetClientVpnUser operation -type GetClientVpnUserResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpnUser instance - ClientVpnUser `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 GetClientVpnUserResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetClientVpnUserResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_create_reverse_connection_nat_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_create_reverse_connection_nat_ip_details.go deleted file mode 100644 index a7550d331dcb..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_create_reverse_connection_nat_ip_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// GetCreateReverseConnectionNatIpDetails Details for retrieving the reverse connection NAT IP address. -type GetCreateReverseConnectionNatIpDetails struct { - - // The customer's IP address that corresponds to the reverse connection NAT IP address. - ReverseConnectionCustomerIp *string `mandatory:"true" json:"reverseConnectionCustomerIp"` -} - -func (m GetCreateReverseConnectionNatIpDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m GetCreateReverseConnectionNatIpDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_create_reverse_connection_nat_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_create_reverse_connection_nat_ip_request_response.go deleted file mode 100644 index 7b81f9b45ad1..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_create_reverse_connection_nat_ip_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetCreateReverseConnectionNatIpRequest wrapper for the GetCreateReverseConnectionNatIp operation -type GetCreateReverseConnectionNatIpRequest struct { - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // Details object for retrieving or creating a reverse connection NAT IP. - GetCreateReverseConnectionNatIpDetails `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 GetCreateReverseConnectionNatIpRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetCreateReverseConnectionNatIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetCreateReverseConnectionNatIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetCreateReverseConnectionNatIpRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetCreateReverseConnectionNatIpRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetCreateReverseConnectionNatIpResponse wrapper for the GetCreateReverseConnectionNatIp operation -type GetCreateReverseConnectionNatIpResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ReverseConnectionNatIp instance - ReverseConnectionNatIp `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"` -} - -func (response GetCreateReverseConnectionNatIpResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetCreateReverseConnectionNatIpResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dav_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dav_request_response.go deleted file mode 100644 index 9c79af05a5fb..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dav_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetDavRequest wrapper for the GetDav operation -type GetDavRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic. - DavId *string `mandatory:"true" contributesTo:"path" name:"davId"` - - // 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 GetDavRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetDavRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetDavRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetDavRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetDavRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetDavResponse wrapper for the GetDav operation -type GetDavResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Dav instance - Dav `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 GetDavResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetDavResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_attached_network_info_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_attached_network_info_request_response.go deleted file mode 100644 index 258e6355d1af..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_attached_network_info_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetDrgAttachedNetworkInfoRequest wrapper for the GetDrgAttachedNetworkInfo operation -type GetDrgAttachedNetworkInfoRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` - - // 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 GetDrgAttachedNetworkInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetDrgAttachedNetworkInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetDrgAttachedNetworkInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetDrgAttachedNetworkInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetDrgAttachedNetworkInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetDrgAttachedNetworkInfoResponse wrapper for the GetDrgAttachedNetworkInfo operation -type GetDrgAttachedNetworkInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachedNetworkInfo instance - DrgAttachedNetworkInfo `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"` -} - -func (response GetDrgAttachedNetworkInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetDrgAttachedNetworkInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_migration_count_region_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_migration_count_region_request_response.go deleted file mode 100644 index 0842adcae4db..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_migration_count_region_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetDrgMigrationCountRegionRequest wrapper for the GetDrgMigrationCountRegion operation -type GetDrgMigrationCountRegionRequest struct { - - // The airport code of the region. - RegionId *string `mandatory:"true" contributesTo:"path" name:"regionId"` - - // 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 GetDrgMigrationCountRegionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetDrgMigrationCountRegionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetDrgMigrationCountRegionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetDrgMigrationCountRegionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetDrgMigrationCountRegionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetDrgMigrationCountRegionResponse wrapper for the GetDrgMigrationCountRegion operation -type GetDrgMigrationCountRegionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgMigrationCountRegion instance - DrgMigrationCountRegion `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"` -} - -func (response GetDrgMigrationCountRegionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetDrgMigrationCountRegionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_migration_count_tenancy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_migration_count_tenancy_request_response.go deleted file mode 100644 index 745f83ae1c8c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_migration_count_tenancy_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetDrgMigrationCountTenancyRequest wrapper for the GetDrgMigrationCountTenancy operation -type GetDrgMigrationCountTenancyRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tenancy. - TenancyId *string `mandatory:"true" contributesTo:"path" name:"tenancyId"` - - // 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 GetDrgMigrationCountTenancyRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetDrgMigrationCountTenancyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetDrgMigrationCountTenancyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetDrgMigrationCountTenancyRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetDrgMigrationCountTenancyRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetDrgMigrationCountTenancyResponse wrapper for the GetDrgMigrationCountTenancy operation -type GetDrgMigrationCountTenancyResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgMigrationCountTenancy instance - DrgMigrationCountTenancy `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"` -} - -func (response GetDrgMigrationCountTenancyResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetDrgMigrationCountTenancyResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_endpoint_service_next_hop_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_endpoint_service_next_hop_request_response.go deleted file mode 100644 index 576707a89e3f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_endpoint_service_next_hop_request_response.go +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetEndpointServiceNextHopRequest wrapper for the GetEndpointServiceNextHop operation -type GetEndpointServiceNextHopRequest struct { - - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` - - // An IP address that handles requests to the endpoint service. - ServiceIp *string `mandatory:"true" contributesTo:"path" name:"serviceIp"` - - // 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 GetEndpointServiceNextHopRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetEndpointServiceNextHopRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetEndpointServiceNextHopRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetEndpointServiceNextHopRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetEndpointServiceNextHopRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetEndpointServiceNextHopResponse wrapper for the GetEndpointServiceNextHop operation -type GetEndpointServiceNextHopResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The EndpointServiceNextHop instance - EndpointServiceNextHop `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 GetEndpointServiceNextHopResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetEndpointServiceNextHopResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_endpoint_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_endpoint_service_request_response.go deleted file mode 100644 index b2365a93c4e4..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_endpoint_service_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetEndpointServiceRequest wrapper for the GetEndpointService operation -type GetEndpointServiceRequest struct { - - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` - - // 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 GetEndpointServiceRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetEndpointServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetEndpointServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetEndpointServiceRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetEndpointServiceRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetEndpointServiceResponse wrapper for the GetEndpointService operation -type GetEndpointServiceResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The EndpointService instance - EndpointService `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 GetEndpointServiceResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetEndpointServiceResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_flow_log_config_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_flow_log_config_attachment_request_response.go deleted file mode 100644 index 5ac4f6b0084f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_flow_log_config_attachment_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetFlowLogConfigAttachmentRequest wrapper for the GetFlowLogConfigAttachment operation -type GetFlowLogConfigAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration attachment. - FlowLogConfigAttachmentId *string `mandatory:"true" contributesTo:"path" name:"flowLogConfigAttachmentId"` - - // 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 GetFlowLogConfigAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetFlowLogConfigAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetFlowLogConfigAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetFlowLogConfigAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetFlowLogConfigAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetFlowLogConfigAttachmentResponse wrapper for the GetFlowLogConfigAttachment operation -type GetFlowLogConfigAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The FlowLogConfigAttachment instance - FlowLogConfigAttachment `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 GetFlowLogConfigAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetFlowLogConfigAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_flow_log_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_flow_log_config_request_response.go deleted file mode 100644 index 5e378a891e3d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_flow_log_config_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetFlowLogConfigRequest wrapper for the GetFlowLogConfig operation -type GetFlowLogConfigRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration. - FlowLogConfigId *string `mandatory:"true" contributesTo:"path" name:"flowLogConfigId"` - - // 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 GetFlowLogConfigRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetFlowLogConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetFlowLogConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetFlowLogConfigRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetFlowLogConfigRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetFlowLogConfigResponse wrapper for the GetFlowLogConfig operation -type GetFlowLogConfigResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The FlowLogConfig instance - FlowLogConfig `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 GetFlowLogConfigResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetFlowLogConfigResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_migration_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_migration_status_request_response.go deleted file mode 100644 index 22108e86fb3d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_migration_status_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetIPSecConnectionMigrationStatusRequest wrapper for the GetIPSecConnectionMigrationStatus operation -type GetIPSecConnectionMigrationStatusRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. - IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - - // 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 GetIPSecConnectionMigrationStatusRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetIPSecConnectionMigrationStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetIPSecConnectionMigrationStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetIPSecConnectionMigrationStatusRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetIPSecConnectionMigrationStatusRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetIPSecConnectionMigrationStatusResponse wrapper for the GetIPSecConnectionMigrationStatus operation -type GetIPSecConnectionMigrationStatusResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The IpSecConnectionMigrationStatus instance - IpSecConnectionMigrationStatus `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"` -} - -func (response GetIPSecConnectionMigrationStatusResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetIPSecConnectionMigrationStatusResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_screenshot_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_screenshot_request_response.go deleted file mode 100644 index 7ec84ecc9f0e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_screenshot_request_response.go +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInstanceScreenshotRequest wrapper for the GetInstanceScreenshot operation -type GetInstanceScreenshotRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. - InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` - - // The OCID of the screenshot capture. - InstanceScreenshotId *string `mandatory:"true" contributesTo:"path" name:"instanceScreenshotId"` - - // 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 GetInstanceScreenshotRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInstanceScreenshotRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInstanceScreenshotRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInstanceScreenshotRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInstanceScreenshotRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInstanceScreenshotResponse wrapper for the GetInstanceScreenshot operation -type GetInstanceScreenshotResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InstanceScreenshot instance - InstanceScreenshot `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 GetInstanceScreenshotResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInstanceScreenshotResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_dns_record_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_dns_record_request_response.go deleted file mode 100644 index edfc5820e6b8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_dns_record_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalDnsRecordRequest wrapper for the GetInternalDnsRecord operation -type GetInternalDnsRecordRequest struct { - - // The Dns Record's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - InternalDnsRecordId *string `mandatory:"true" contributesTo:"path" name:"internalDnsRecordId"` - - // 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 GetInternalDnsRecordRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalDnsRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalDnsRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalDnsRecordRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalDnsRecordRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalDnsRecordResponse wrapper for the GetInternalDnsRecord operation -type GetInternalDnsRecordResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDnsRecord instance - InternalDnsRecord `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 GetInternalDnsRecordResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalDnsRecordResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_drg_attachment_request_response.go deleted file mode 100644 index 4254a2570107..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_drg_attachment_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalDrgAttachmentRequest wrapper for the GetInternalDrgAttachment operation -type GetInternalDrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - InternalDrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"internalDrgAttachmentId"` - - // 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 GetInternalDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalDrgAttachmentResponse wrapper for the GetInternalDrgAttachment operation -type GetInternalDrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDrgAttachment instance - InternalDrgAttachment `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 GetInternalDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_by_gateway_id_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_by_gateway_id_details.go deleted file mode 100644 index 3d586d802aa9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_by_gateway_id_details.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// GetInternalGenericGatewayByGatewayIdDetails The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the real gateway that this generic gateway stands for. -type GetInternalGenericGatewayByGatewayIdDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the real gateway that this generic gateway stands for. - GatewayId *string `mandatory:"true" json:"gatewayId"` -} - -func (m GetInternalGenericGatewayByGatewayIdDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m GetInternalGenericGatewayByGatewayIdDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_by_gateway_id_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_by_gateway_id_request_response.go deleted file mode 100644 index 05a2b7cc1c3a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_by_gateway_id_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalGenericGatewayByGatewayIdRequest wrapper for the GetInternalGenericGatewayByGatewayId operation -type GetInternalGenericGatewayByGatewayIdRequest struct { - - // Real gateway details for fetching the internal generic gateway. - GetInternalGenericGatewayByGatewayIdDetails `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"` - - // 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 GetInternalGenericGatewayByGatewayIdRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalGenericGatewayByGatewayIdRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalGenericGatewayByGatewayIdRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalGenericGatewayByGatewayIdRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalGenericGatewayByGatewayIdRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalGenericGatewayByGatewayIdResponse wrapper for the GetInternalGenericGatewayByGatewayId operation -type GetInternalGenericGatewayByGatewayIdResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalGenericGateway instance - InternalGenericGateway `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 GetInternalGenericGatewayByGatewayIdResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalGenericGatewayByGatewayIdResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_request_response.go deleted file mode 100644 index ee080037d498..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_generic_gateway_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalGenericGatewayRequest wrapper for the GetInternalGenericGateway operation -type GetInternalGenericGatewayRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the generic gateway. - InternalGenericGatewayId *string `mandatory:"true" contributesTo:"path" name:"internalGenericGatewayId"` - - // 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 GetInternalGenericGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalGenericGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalGenericGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalGenericGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalGenericGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalGenericGatewayResponse wrapper for the GetInternalGenericGateway operation -type GetInternalGenericGatewayResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalGenericGateway instance - InternalGenericGateway `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 GetInternalGenericGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalGenericGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_public_ip_request_response.go deleted file mode 100644 index cb2eed2112d2..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_public_ip_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalPublicIpRequest wrapper for the GetInternalPublicIp operation -type GetInternalPublicIpRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal public IP. - InternalPublicIpId *string `mandatory:"true" contributesTo:"path" name:"internalPublicIpId"` - - // 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 GetInternalPublicIpRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalPublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalPublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalPublicIpRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalPublicIpRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalPublicIpResponse wrapper for the GetInternalPublicIp operation -type GetInternalPublicIpResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalPublicIp instance - InternalPublicIp `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 GetInternalPublicIpResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalPublicIpResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_subnet_request_response.go deleted file mode 100644 index c84fb4b3ee6e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_subnet_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalSubnetRequest wrapper for the GetInternalSubnet operation -type GetInternalSubnetRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. - InternalSubnetId *string `mandatory:"true" contributesTo:"path" name:"internalSubnetId"` - - // 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 GetInternalSubnetRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalSubnetRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalSubnetRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalSubnetResponse wrapper for the GetInternalSubnet operation -type GetInternalSubnetResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalSubnet instance - InternalSubnet `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 GetInternalSubnetResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalSubnetResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_vnic_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_vnic_attachment_request_response.go deleted file mode 100644 index 0861d880cc75..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_vnic_attachment_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalVnicAttachmentRequest wrapper for the GetInternalVnicAttachment operation -type GetInternalVnicAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // 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 GetInternalVnicAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalVnicAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalVnicAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalVnicAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalVnicAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalVnicAttachmentResponse wrapper for the GetInternalVnicAttachment operation -type GetInternalVnicAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnicAttachment instance - InternalVnicAttachment `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 GetInternalVnicAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalVnicAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_vnic_request_response.go deleted file mode 100644 index ea83ffb710c0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_vnic_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetInternalVnicRequest wrapper for the GetInternalVnic operation -type GetInternalVnicRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // 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 GetInternalVnicRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetInternalVnicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetInternalVnicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalVnicRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetInternalVnicRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetInternalVnicResponse wrapper for the GetInternalVnic operation -type GetInternalVnicResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnic instance - InternalVnic `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 GetInternalVnicResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetInternalVnicResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_local_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_local_peering_connection_request_response.go deleted file mode 100644 index f65a2a5f7755..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_local_peering_connection_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetLocalPeeringConnectionRequest wrapper for the GetLocalPeeringConnection operation -type GetLocalPeeringConnectionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering connection. This feature is currently in preview and may change before public release. Do not use it for production workloads. - LocalPeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"localPeeringConnectionId"` - - // 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 GetLocalPeeringConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetLocalPeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetLocalPeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetLocalPeeringConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetLocalPeeringConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetLocalPeeringConnectionResponse wrapper for the GetLocalPeeringConnection operation -type GetLocalPeeringConnectionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The LocalPeeringConnection instance - LocalPeeringConnection `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 GetLocalPeeringConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetLocalPeeringConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_access_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_access_gateway_request_response.go deleted file mode 100644 index 6ec6365fffe7..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_access_gateway_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetPrivateAccessGatewayRequest wrapper for the GetPrivateAccessGateway operation -type GetPrivateAccessGatewayRequest struct { - - // The private access gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateAccessGatewayId *string `mandatory:"true" contributesTo:"path" name:"privateAccessGatewayId"` - - // 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 GetPrivateAccessGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetPrivateAccessGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetPrivateAccessGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetPrivateAccessGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetPrivateAccessGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetPrivateAccessGatewayResponse wrapper for the GetPrivateAccessGateway operation -type GetPrivateAccessGatewayResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateAccessGateway instance - PrivateAccessGateway `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 GetPrivateAccessGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetPrivateAccessGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_endpoint_association_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_endpoint_association_request_response.go deleted file mode 100644 index 8e701a46a67c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_endpoint_association_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetPrivateEndpointAssociationRequest wrapper for the GetPrivateEndpointAssociation operation -type GetPrivateEndpointAssociationRequest struct { - - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // 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 GetPrivateEndpointAssociationRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetPrivateEndpointAssociationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetPrivateEndpointAssociationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetPrivateEndpointAssociationRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetPrivateEndpointAssociationRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetPrivateEndpointAssociationResponse wrapper for the GetPrivateEndpointAssociation operation -type GetPrivateEndpointAssociationResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateEndpointAssociation instance - PrivateEndpointAssociation `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"` -} - -func (response GetPrivateEndpointAssociationResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetPrivateEndpointAssociationResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_ip_next_hop_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_ip_next_hop_request_response.go deleted file mode 100644 index e1a7ed4b7368..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_ip_next_hop_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetPrivateIpNextHopRequest wrapper for the GetPrivateIpNextHop operation -type GetPrivateIpNextHopRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP. - PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` - - // 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 GetPrivateIpNextHopRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetPrivateIpNextHopRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetPrivateIpNextHopRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetPrivateIpNextHopRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetPrivateIpNextHopRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetPrivateIpNextHopResponse wrapper for the GetPrivateIpNextHop operation -type GetPrivateIpNextHopResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateIpNextHop instance - PrivateIpNextHop `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 GetPrivateIpNextHopResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetPrivateIpNextHopResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_reverse_connection_nat_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_reverse_connection_nat_ip_request_response.go deleted file mode 100644 index 8399570915a7..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_reverse_connection_nat_ip_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetReverseConnectionNatIpRequest wrapper for the GetReverseConnectionNatIp operation -type GetReverseConnectionNatIpRequest struct { - - // The customer's IP address that corresponds to the reverse connection NAT IP address. - ReverseConnectionCustomerIp *string `mandatory:"true" contributesTo:"path" name:"reverseConnectionCustomerIp"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // 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 GetReverseConnectionNatIpRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetReverseConnectionNatIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetReverseConnectionNatIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetReverseConnectionNatIpRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetReverseConnectionNatIpRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetReverseConnectionNatIpResponse wrapper for the GetReverseConnectionNatIp operation -type GetReverseConnectionNatIpResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ReverseConnectionNatIp instance - ReverseConnectionNatIp `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"` -} - -func (response GetReverseConnectionNatIpResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetReverseConnectionNatIpResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_scan_proxy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_scan_proxy_request_response.go deleted file mode 100644 index 225e6c5f081f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_scan_proxy_request_response.go +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetScanProxyRequest wrapper for the GetScanProxy operation -type GetScanProxyRequest struct { - - // A unique ID that identifies a scanProxy within a privateEndpoint. - ScanProxyId *string `mandatory:"true" contributesTo:"path" name:"scanProxyId"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // 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 GetScanProxyRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetScanProxyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetScanProxyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetScanProxyRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetScanProxyRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetScanProxyResponse wrapper for the GetScanProxy operation -type GetScanProxyResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ScanProxy instance - ScanProxy `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 GetScanProxyResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetScanProxyResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_drg_attachment_request_response.go deleted file mode 100644 index 8dce44c21a5c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_drg_attachment_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetVcnDrgAttachmentRequest wrapper for the GetVcnDrgAttachment operation -type GetVcnDrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` - - // 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 GetVcnDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetVcnDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetVcnDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetVcnDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetVcnDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetVcnDrgAttachmentResponse wrapper for the GetVcnDrgAttachment operation -type GetVcnDrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachment instance - DrgAttachment `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 GetVcnDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetVcnDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_drg_request_response.go deleted file mode 100644 index 2e4dd49290e5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_drg_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetVcnDrgRequest wrapper for the GetVcnDrg operation -type GetVcnDrgRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` - - // 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 GetVcnDrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetVcnDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetVcnDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetVcnDrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetVcnDrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetVcnDrgResponse wrapper for the GetVcnDrg operation -type GetVcnDrgResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Drg instance - Drg `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 GetVcnDrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetVcnDrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_worker_request_response.go deleted file mode 100644 index bf8e43f8f5c4..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_worker_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// GetVnicWorkerRequest wrapper for the GetVnicWorker operation -type GetVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // 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 GetVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetVnicWorkerResponse wrapper for the GetVnicWorker operation -type GetVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 GetVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go deleted file mode 100644 index e72661e2fcf0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the AMD Rome platform. -type InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig struct { - - // Whether Secure Boot is enabled on the instance. - IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` - - // Whether the Trusted Platform Module (TPM) is enabled on the instance. - IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` - - // Whether the Measured Boot feature is enabled on the instance. - IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` - - // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. - IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` -} - -// GetIsSecureBootEnabled returns IsSecureBootEnabled -func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { - return m.IsSecureBootEnabled -} - -// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled -func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { - return m.IsTrustedPlatformModuleEnabled -} - -// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled -func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { - return m.IsMeasuredBootEnabled -} - -// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled -func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { - return m.IsMemoryEncryptionEnabled -} - -func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { - type MarshalTypeInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig - }{ - "AMD_ROME_BM", - (MarshalTypeInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_screenshot.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_screenshot.go deleted file mode 100644 index 8a7608d1d73f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_screenshot.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InstanceScreenshot An instance's screenshot. It is a screen capture of the current state of the instance. -// Generally it will show the login screen of the machine. -type InstanceScreenshot struct { - - // The OCID of the screenshot object. - Id *string `mandatory:"true" json:"id"` - - // The OCID of the instance this screenshot was fetched from. - InstanceId *string `mandatory:"true" json:"instanceId"` - - // The current state of the screenshot capture. - LifecycleState InstanceScreenshotLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The date and time the screenshot was captured, 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"` -} - -func (m InstanceScreenshot) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InstanceScreenshot) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInstanceScreenshotLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstanceScreenshotLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InstanceScreenshotLifecycleStateEnum Enum with underlying type: string -type InstanceScreenshotLifecycleStateEnum string - -// Set of constants representing the allowable values for InstanceScreenshotLifecycleStateEnum -const ( - InstanceScreenshotLifecycleStateCreating InstanceScreenshotLifecycleStateEnum = "CREATING" - InstanceScreenshotLifecycleStateActive InstanceScreenshotLifecycleStateEnum = "ACTIVE" - InstanceScreenshotLifecycleStateFailed InstanceScreenshotLifecycleStateEnum = "FAILED" - InstanceScreenshotLifecycleStateDeleted InstanceScreenshotLifecycleStateEnum = "DELETED" - InstanceScreenshotLifecycleStateDeleting InstanceScreenshotLifecycleStateEnum = "DELETING" -) - -var mappingInstanceScreenshotLifecycleStateEnum = map[string]InstanceScreenshotLifecycleStateEnum{ - "CREATING": InstanceScreenshotLifecycleStateCreating, - "ACTIVE": InstanceScreenshotLifecycleStateActive, - "FAILED": InstanceScreenshotLifecycleStateFailed, - "DELETED": InstanceScreenshotLifecycleStateDeleted, - "DELETING": InstanceScreenshotLifecycleStateDeleting, -} - -// GetInstanceScreenshotLifecycleStateEnumValues Enumerates the set of values for InstanceScreenshotLifecycleStateEnum -func GetInstanceScreenshotLifecycleStateEnumValues() []InstanceScreenshotLifecycleStateEnum { - values := make([]InstanceScreenshotLifecycleStateEnum, 0) - for _, v := range mappingInstanceScreenshotLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInstanceScreenshotLifecycleStateEnumStringValues Enumerates the set of values in String for InstanceScreenshotLifecycleStateEnum -func GetInstanceScreenshotLifecycleStateEnumStringValues() []string { - return []string{ - "CREATING", - "ACTIVE", - "FAILED", - "DELETED", - "DELETING", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_screenshot_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_screenshot_summary.go deleted file mode 100644 index 7c7b4d7db008..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_screenshot_summary.go +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InstanceScreenshotSummary The summary data for an instance screenshot. -type InstanceScreenshotSummary struct { - - // The OCID of the screenshot object. - Id *string `mandatory:"true" json:"id"` - - // The OCID of the instance this screenshot was fetched from. - InstanceId *string `mandatory:"true" json:"instanceId"` - - // The current state of the screenshot. - LifecycleState InstanceScreenshotLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The date and time the screenshot was captured, 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"` -} - -func (m InstanceScreenshotSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InstanceScreenshotSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInstanceScreenshotLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstanceScreenshotLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_dns_record.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_dns_record.go deleted file mode 100644 index 15c919af4912..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_dns_record.go +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalDnsRecord DnsRecord representing a single RRSet. -type InternalDnsRecord struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DNS record. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS record. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Internal Hosted Zone the `DnsRecord` belongs to. - InternalHostedZoneId *string `mandatory:"true" json:"internalHostedZoneId"` - - // The DnsRecord's current state. - LifecycleState InternalDnsRecordLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // Name of the DnsRecord. - // -*A:* Partially Qualified DNS Name that will be mapped to the IPv4 address - Name *string `mandatory:"true" json:"name"` - - // Type of Dns Record according to RFC 1035 (https://tools.ietf.org/html/rfc1035). - // Currently supported list of types are the following. - // -*A:* Type 1, a host name to IPv4 address - Type InternalDnsRecordTypeEnum `mandatory:"true" json:"type"` - - // Value for the DnsRecord. - // -*A:* One or more IPv4 addresses. Comma separated. - Value *string `mandatory:"true" json:"value"` - - // Time to live value for the DnsRecord, according to RFC 1035 (https://tools.ietf.org/html/rfc1035). - // Defaults to 86400. - Ttl *int `mandatory:"false" json:"ttl"` -} - -func (m InternalDnsRecord) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalDnsRecord) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalDnsRecordLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalDnsRecordLifecycleStateEnumStringValues(), ","))) - } - if _, ok := mappingInternalDnsRecordTypeEnum[string(m.Type)]; !ok && m.Type != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetInternalDnsRecordTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalDnsRecordLifecycleStateEnum Enum with underlying type: string -type InternalDnsRecordLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalDnsRecordLifecycleStateEnum -const ( - InternalDnsRecordLifecycleStateProvisioning InternalDnsRecordLifecycleStateEnum = "PROVISIONING" - InternalDnsRecordLifecycleStateAvailable InternalDnsRecordLifecycleStateEnum = "AVAILABLE" - InternalDnsRecordLifecycleStateTerminating InternalDnsRecordLifecycleStateEnum = "TERMINATING" - InternalDnsRecordLifecycleStateTerminated InternalDnsRecordLifecycleStateEnum = "TERMINATED" -) - -var mappingInternalDnsRecordLifecycleStateEnum = map[string]InternalDnsRecordLifecycleStateEnum{ - "PROVISIONING": InternalDnsRecordLifecycleStateProvisioning, - "AVAILABLE": InternalDnsRecordLifecycleStateAvailable, - "TERMINATING": InternalDnsRecordLifecycleStateTerminating, - "TERMINATED": InternalDnsRecordLifecycleStateTerminated, -} - -// GetInternalDnsRecordLifecycleStateEnumValues Enumerates the set of values for InternalDnsRecordLifecycleStateEnum -func GetInternalDnsRecordLifecycleStateEnumValues() []InternalDnsRecordLifecycleStateEnum { - values := make([]InternalDnsRecordLifecycleStateEnum, 0) - for _, v := range mappingInternalDnsRecordLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalDnsRecordLifecycleStateEnumStringValues Enumerates the set of values in String for InternalDnsRecordLifecycleStateEnum -func GetInternalDnsRecordLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} - -// InternalDnsRecordTypeEnum Enum with underlying type: string -type InternalDnsRecordTypeEnum string - -// Set of constants representing the allowable values for InternalDnsRecordTypeEnum -const ( - InternalDnsRecordTypeA InternalDnsRecordTypeEnum = "A" -) - -var mappingInternalDnsRecordTypeEnum = map[string]InternalDnsRecordTypeEnum{ - "A": InternalDnsRecordTypeA, -} - -// GetInternalDnsRecordTypeEnumValues Enumerates the set of values for InternalDnsRecordTypeEnum -func GetInternalDnsRecordTypeEnumValues() []InternalDnsRecordTypeEnum { - values := make([]InternalDnsRecordTypeEnum, 0) - for _, v := range mappingInternalDnsRecordTypeEnum { - values = append(values, v) - } - return values -} - -// GetInternalDnsRecordTypeEnumStringValues Enumerates the set of values in String for InternalDnsRecordTypeEnum -func GetInternalDnsRecordTypeEnumStringValues() []string { - return []string{ - "A", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_drg.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_drg.go deleted file mode 100644 index 578242faa804..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_drg.go +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalDrg 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 a Site-to-Site VPN or a connection that uses -// Oracle Cloud Infrastructure FastConnect. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). -// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, -// talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). -type InternalDrg struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The DRG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - Id *string `mandatory:"true" json:"id"` - - // The DRG's current state. - LifecycleState InternalDrgLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // Anycast IP of the El Paso fleet handling the ingress traffic. - IngressIP *string `mandatory:"true" json:"ingressIP"` - - // Anycast IP of the El Paso fleet handling the egress traffic. - EgressIP *string `mandatory:"true" json:"egressIP"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // The date and time the DRG was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - - // Route data for the Drg. - RouteData *string `mandatory:"false" json:"routeData"` - - // NextHop target's MPLS label. - MplsLabel *string `mandatory:"false" json:"mplsLabel"` - - // The string in the form ASN:mplsLabel. - RouteTarget *string `mandatory:"false" json:"routeTarget"` - - // The type of the DRG. - DrgType InternalDrgDrgTypeEnum `mandatory:"false" json:"drgType,omitempty"` -} - -func (m InternalDrg) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalDrg) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalDrgLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalDrgLifecycleStateEnumStringValues(), ","))) - } - - if _, ok := mappingInternalDrgDrgTypeEnum[string(m.DrgType)]; !ok && m.DrgType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DrgType: %s. Supported values are: %s.", m.DrgType, strings.Join(GetInternalDrgDrgTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalDrgLifecycleStateEnum Enum with underlying type: string -type InternalDrgLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalDrgLifecycleStateEnum -const ( - InternalDrgLifecycleStateProvisioning InternalDrgLifecycleStateEnum = "PROVISIONING" - InternalDrgLifecycleStateAvailable InternalDrgLifecycleStateEnum = "AVAILABLE" - InternalDrgLifecycleStateTerminating InternalDrgLifecycleStateEnum = "TERMINATING" - InternalDrgLifecycleStateTerminated InternalDrgLifecycleStateEnum = "TERMINATED" -) - -var mappingInternalDrgLifecycleStateEnum = map[string]InternalDrgLifecycleStateEnum{ - "PROVISIONING": InternalDrgLifecycleStateProvisioning, - "AVAILABLE": InternalDrgLifecycleStateAvailable, - "TERMINATING": InternalDrgLifecycleStateTerminating, - "TERMINATED": InternalDrgLifecycleStateTerminated, -} - -// GetInternalDrgLifecycleStateEnumValues Enumerates the set of values for InternalDrgLifecycleStateEnum -func GetInternalDrgLifecycleStateEnumValues() []InternalDrgLifecycleStateEnum { - values := make([]InternalDrgLifecycleStateEnum, 0) - for _, v := range mappingInternalDrgLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalDrgLifecycleStateEnumStringValues Enumerates the set of values in String for InternalDrgLifecycleStateEnum -func GetInternalDrgLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} - -// InternalDrgDrgTypeEnum Enum with underlying type: string -type InternalDrgDrgTypeEnum string - -// Set of constants representing the allowable values for InternalDrgDrgTypeEnum -const ( - InternalDrgDrgTypeClassical InternalDrgDrgTypeEnum = "DRG_CLASSICAL" - InternalDrgDrgTypeTransitHub InternalDrgDrgTypeEnum = "DRG_TRANSIT_HUB" -) - -var mappingInternalDrgDrgTypeEnum = map[string]InternalDrgDrgTypeEnum{ - "DRG_CLASSICAL": InternalDrgDrgTypeClassical, - "DRG_TRANSIT_HUB": InternalDrgDrgTypeTransitHub, -} - -// GetInternalDrgDrgTypeEnumValues Enumerates the set of values for InternalDrgDrgTypeEnum -func GetInternalDrgDrgTypeEnumValues() []InternalDrgDrgTypeEnum { - values := make([]InternalDrgDrgTypeEnum, 0) - for _, v := range mappingInternalDrgDrgTypeEnum { - values = append(values, v) - } - return values -} - -// GetInternalDrgDrgTypeEnumStringValues Enumerates the set of values in String for InternalDrgDrgTypeEnum -func GetInternalDrgDrgTypeEnumStringValues() []string { - return []string{ - "DRG_CLASSICAL", - "DRG_TRANSIT_HUB", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_drg_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_drg_attachment.go deleted file mode 100644 index 84edbc9d0a87..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_drg_attachment.go +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalDrgAttachment A link between a DRG and VCN. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). -type InternalDrgAttachment struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG attachment. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" json:"drgId"` - - // The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). - Id *string `mandatory:"true" json:"id"` - - // The DRG attachment's current state. - LifecycleState InternalDrgAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. - VcnId *string `mandatory:"true" json:"vcnId"` - - // NextHop target's MPLS label. - MplsLabel *string `mandatory:"true" json:"mplsLabel"` - - // The string in the form ASN:mplsLabel. - RouteTarget *string `mandatory:"true" json:"routeTarget"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. - 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"` -} - -func (m InternalDrgAttachment) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalDrgAttachment) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalDrgAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalDrgAttachmentLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalDrgAttachmentLifecycleStateEnum Enum with underlying type: string -type InternalDrgAttachmentLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalDrgAttachmentLifecycleStateEnum -const ( - InternalDrgAttachmentLifecycleStateAttaching InternalDrgAttachmentLifecycleStateEnum = "ATTACHING" - InternalDrgAttachmentLifecycleStateAttached InternalDrgAttachmentLifecycleStateEnum = "ATTACHED" - InternalDrgAttachmentLifecycleStateDetaching InternalDrgAttachmentLifecycleStateEnum = "DETACHING" - InternalDrgAttachmentLifecycleStateDetached InternalDrgAttachmentLifecycleStateEnum = "DETACHED" -) - -var mappingInternalDrgAttachmentLifecycleStateEnum = map[string]InternalDrgAttachmentLifecycleStateEnum{ - "ATTACHING": InternalDrgAttachmentLifecycleStateAttaching, - "ATTACHED": InternalDrgAttachmentLifecycleStateAttached, - "DETACHING": InternalDrgAttachmentLifecycleStateDetaching, - "DETACHED": InternalDrgAttachmentLifecycleStateDetached, -} - -// GetInternalDrgAttachmentLifecycleStateEnumValues Enumerates the set of values for InternalDrgAttachmentLifecycleStateEnum -func GetInternalDrgAttachmentLifecycleStateEnumValues() []InternalDrgAttachmentLifecycleStateEnum { - values := make([]InternalDrgAttachmentLifecycleStateEnum, 0) - for _, v := range mappingInternalDrgAttachmentLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalDrgAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for InternalDrgAttachmentLifecycleStateEnum -func GetInternalDrgAttachmentLifecycleStateEnumStringValues() []string { - return []string{ - "ATTACHING", - "ATTACHED", - "DETACHING", - "DETACHED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_generic_gateway.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_generic_gateway.go deleted file mode 100644 index cf61e78556ae..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_generic_gateway.go +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalGenericGateway An internal generic gateway. -type InternalGenericGateway struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the generic gateway. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the gateway's compartment. - GatewayCompartmentId *string `mandatory:"true" json:"gatewayCompartmentId"` - - // Information required to fill headers of packets to be sent to the gateway. - GatewayHeaderData *int64 `mandatory:"true" json:"gatewayHeaderData"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the real gateway that this generic gateway stands for. - GatewayId *string `mandatory:"true" json:"gatewayId"` - - // They type of the gateway. - GatewayType InternalGenericGatewayGatewayTypeEnum `mandatory:"true" json:"gatewayType"` - - // The current state of the generic gateway. - LifecycleState InternalGenericGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // IP addresses of the gateway. - GatewayIpAddresses []string `mandatory:"false" json:"gatewayIpAddresses"` - - // Tuples, mapping AD and regional identifiers to the corresponding routing data - GatewayRouteMap []GatewayRouteData `mandatory:"false" json:"gatewayRouteMap"` - - // Creation time of the entity. - TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the generic gateway belongs to. - VcnId *string `mandatory:"false" json:"vcnId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table associated with the gateway - RouteTableId *string `mandatory:"false" json:"routeTableId"` - - // 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/iaas/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 T - // ags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m InternalGenericGateway) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalGenericGateway) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalGenericGatewayGatewayTypeEnum[string(m.GatewayType)]; !ok && m.GatewayType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for GatewayType: %s. Supported values are: %s.", m.GatewayType, strings.Join(GetInternalGenericGatewayGatewayTypeEnumStringValues(), ","))) - } - if _, ok := mappingInternalGenericGatewayLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalGenericGatewayLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalGenericGatewayGatewayTypeEnum Enum with underlying type: string -type InternalGenericGatewayGatewayTypeEnum string - -// Set of constants representing the allowable values for InternalGenericGatewayGatewayTypeEnum -const ( - InternalGenericGatewayGatewayTypeServicegateway InternalGenericGatewayGatewayTypeEnum = "SERVICEGATEWAY" - InternalGenericGatewayGatewayTypeNatgateway InternalGenericGatewayGatewayTypeEnum = "NATGATEWAY" - InternalGenericGatewayGatewayTypePrivateaccessgateway InternalGenericGatewayGatewayTypeEnum = "PRIVATEACCESSGATEWAY" -) - -var mappingInternalGenericGatewayGatewayTypeEnum = map[string]InternalGenericGatewayGatewayTypeEnum{ - "SERVICEGATEWAY": InternalGenericGatewayGatewayTypeServicegateway, - "NATGATEWAY": InternalGenericGatewayGatewayTypeNatgateway, - "PRIVATEACCESSGATEWAY": InternalGenericGatewayGatewayTypePrivateaccessgateway, -} - -// GetInternalGenericGatewayGatewayTypeEnumValues Enumerates the set of values for InternalGenericGatewayGatewayTypeEnum -func GetInternalGenericGatewayGatewayTypeEnumValues() []InternalGenericGatewayGatewayTypeEnum { - values := make([]InternalGenericGatewayGatewayTypeEnum, 0) - for _, v := range mappingInternalGenericGatewayGatewayTypeEnum { - values = append(values, v) - } - return values -} - -// GetInternalGenericGatewayGatewayTypeEnumStringValues Enumerates the set of values in String for InternalGenericGatewayGatewayTypeEnum -func GetInternalGenericGatewayGatewayTypeEnumStringValues() []string { - return []string{ - "SERVICEGATEWAY", - "NATGATEWAY", - "PRIVATEACCESSGATEWAY", - } -} - -// InternalGenericGatewayLifecycleStateEnum Enum with underlying type: string -type InternalGenericGatewayLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalGenericGatewayLifecycleStateEnum -const ( - InternalGenericGatewayLifecycleStateProvisioning InternalGenericGatewayLifecycleStateEnum = "PROVISIONING" - InternalGenericGatewayLifecycleStateAvailable InternalGenericGatewayLifecycleStateEnum = "AVAILABLE" - InternalGenericGatewayLifecycleStateAttaching InternalGenericGatewayLifecycleStateEnum = "ATTACHING" - InternalGenericGatewayLifecycleStateAttached InternalGenericGatewayLifecycleStateEnum = "ATTACHED" - InternalGenericGatewayLifecycleStateDetaching InternalGenericGatewayLifecycleStateEnum = "DETACHING" - InternalGenericGatewayLifecycleStateDetached InternalGenericGatewayLifecycleStateEnum = "DETACHED" - InternalGenericGatewayLifecycleStateTerminating InternalGenericGatewayLifecycleStateEnum = "TERMINATING" - InternalGenericGatewayLifecycleStateTerminated InternalGenericGatewayLifecycleStateEnum = "TERMINATED" -) - -var mappingInternalGenericGatewayLifecycleStateEnum = map[string]InternalGenericGatewayLifecycleStateEnum{ - "PROVISIONING": InternalGenericGatewayLifecycleStateProvisioning, - "AVAILABLE": InternalGenericGatewayLifecycleStateAvailable, - "ATTACHING": InternalGenericGatewayLifecycleStateAttaching, - "ATTACHED": InternalGenericGatewayLifecycleStateAttached, - "DETACHING": InternalGenericGatewayLifecycleStateDetaching, - "DETACHED": InternalGenericGatewayLifecycleStateDetached, - "TERMINATING": InternalGenericGatewayLifecycleStateTerminating, - "TERMINATED": InternalGenericGatewayLifecycleStateTerminated, -} - -// GetInternalGenericGatewayLifecycleStateEnumValues Enumerates the set of values for InternalGenericGatewayLifecycleStateEnum -func GetInternalGenericGatewayLifecycleStateEnumValues() []InternalGenericGatewayLifecycleStateEnum { - values := make([]InternalGenericGatewayLifecycleStateEnum, 0) - for _, v := range mappingInternalGenericGatewayLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalGenericGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for InternalGenericGatewayLifecycleStateEnum -func GetInternalGenericGatewayLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "ATTACHING", - "ATTACHED", - "DETACHING", - "DETACHED", - "TERMINATING", - "TERMINATED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_public_ip.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_public_ip.go deleted file mode 100644 index ce259817d77b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_public_ip.go +++ /dev/null @@ -1,282 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalPublicIp A model for public IPs that are for internal use -// A *public IP* is a conceptual term that refers to a public IP address and related properties. -// The `publicIp` object is the API representation of a public IP. -// There are two types of public IPs: -// 1. Ephemeral -// 2. Reserved -// For more information and comparison of the two types, -// see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). -type InternalPublicIp struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP. For an ephemeral public IP, this is - // the compartment of its assigned entity (which can be a private IP or a regional entity such - // as a NAT gateway). For a reserved public IP that is currently assigned, - // its compartment can be different from the assigned private IP's. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The public IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - Id *string `mandatory:"true" json:"id"` - - // Defines when the public IP is deleted and released back to Oracle's public IP pool. - // * `EPHEMERAL`: The lifetime is tied to the lifetime of its assigned entity. An ephemeral - // public IP must always be assigned to an entity. If the assigned entity is a private IP, - // the ephemeral public IP is automatically deleted when the private IP is deleted, when - // the VNIC is terminated, or when the instance is terminated. If the assigned entity is a - // NatGateway, the ephemeral public IP is automatically - // deleted when the NAT gateway is terminated. - // * `RESERVED`: You control the public IP's lifetime. You can delete a reserved public IP - // whenever you like. It does not need to be assigned to a private IP at all times. - // For more information and comparison of the two types, - // see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). - Lifetime InternalPublicIpLifetimeEnum `mandatory:"true" json:"lifetime"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity the public IP is assigned to, or in the process of - // being assigned to. - AssignedEntityId *string `mandatory:"false" json:"assignedEntityId"` - - // The type of entity the public IP is assigned to, or in the process of being - // assigned to. - AssignedEntityType InternalPublicIpAssignedEntityTypeEnum `mandatory:"false" json:"assignedEntityType,omitempty"` - - // The public IP's availability domain. This property is set only for ephemeral public IPs - // that are assigned to a private IP (that is, when the `scope` of the public IP is set to - // AVAILABILITY_DOMAIN). The value is the availability domain of the assigned private IP. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // The public IP address of the `publicIp` object. - // Example: `203.0.113.2` - IpAddress *string `mandatory:"false" json:"ipAddress"` - - // The public IP's current state. - LifecycleState InternalPublicIpLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // Deprecated. Use `assignedEntityId` instead. - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is currently assigned to, or in the - // process of being assigned to. - // **Note:** This is `null` if the public IP is not assigned to a private IP, or is - // in the process of being assigned to one. - PrivateIpId *string `mandatory:"false" json:"privateIpId"` - - // Whether the public IP is regional or specific to a particular availability domain. - // * `REGION`: The public IP exists within a region and is assigned to a regional entity - // (such as a NatGateway), or can be assigned to a private - // IP in any availability domain in the region. Reserved public IPs and ephemeral public IPs - // assigned to a regional entity have `scope` = `REGION`. - // * `AVAILABILITY_DOMAIN`: The public IP exists within the availability domain of the entity - // it's assigned to, which is specified by the `availabilityDomain` property of the public IP object. - // Ephemeral public IPs that are assigned to private IPs have `scope` = `AVAILABILITY_DOMAIN`. - Scope InternalPublicIpScopeEnum `mandatory:"false" json:"scope,omitempty"` - - // The date and time the public IP was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - - // 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 InternalPublicIp) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalPublicIp) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalPublicIpLifetimeEnum[string(m.Lifetime)]; !ok && m.Lifetime != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetInternalPublicIpLifetimeEnumStringValues(), ","))) - } - - if _, ok := mappingInternalPublicIpAssignedEntityTypeEnum[string(m.AssignedEntityType)]; !ok && m.AssignedEntityType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AssignedEntityType: %s. Supported values are: %s.", m.AssignedEntityType, strings.Join(GetInternalPublicIpAssignedEntityTypeEnumStringValues(), ","))) - } - if _, ok := mappingInternalPublicIpLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalPublicIpLifecycleStateEnumStringValues(), ","))) - } - if _, ok := mappingInternalPublicIpScopeEnum[string(m.Scope)]; !ok && m.Scope != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Scope: %s. Supported values are: %s.", m.Scope, strings.Join(GetInternalPublicIpScopeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalPublicIpAssignedEntityTypeEnum Enum with underlying type: string -type InternalPublicIpAssignedEntityTypeEnum string - -// Set of constants representing the allowable values for InternalPublicIpAssignedEntityTypeEnum -const ( - InternalPublicIpAssignedEntityTypePrivateIp InternalPublicIpAssignedEntityTypeEnum = "PRIVATE_IP" - InternalPublicIpAssignedEntityTypeNatGateway InternalPublicIpAssignedEntityTypeEnum = "NAT_GATEWAY" -) - -var mappingInternalPublicIpAssignedEntityTypeEnum = map[string]InternalPublicIpAssignedEntityTypeEnum{ - "PRIVATE_IP": InternalPublicIpAssignedEntityTypePrivateIp, - "NAT_GATEWAY": InternalPublicIpAssignedEntityTypeNatGateway, -} - -// GetInternalPublicIpAssignedEntityTypeEnumValues Enumerates the set of values for InternalPublicIpAssignedEntityTypeEnum -func GetInternalPublicIpAssignedEntityTypeEnumValues() []InternalPublicIpAssignedEntityTypeEnum { - values := make([]InternalPublicIpAssignedEntityTypeEnum, 0) - for _, v := range mappingInternalPublicIpAssignedEntityTypeEnum { - values = append(values, v) - } - return values -} - -// GetInternalPublicIpAssignedEntityTypeEnumStringValues Enumerates the set of values in String for InternalPublicIpAssignedEntityTypeEnum -func GetInternalPublicIpAssignedEntityTypeEnumStringValues() []string { - return []string{ - "PRIVATE_IP", - "NAT_GATEWAY", - } -} - -// InternalPublicIpLifecycleStateEnum Enum with underlying type: string -type InternalPublicIpLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalPublicIpLifecycleStateEnum -const ( - InternalPublicIpLifecycleStateProvisioning InternalPublicIpLifecycleStateEnum = "PROVISIONING" - InternalPublicIpLifecycleStateAvailable InternalPublicIpLifecycleStateEnum = "AVAILABLE" - InternalPublicIpLifecycleStateAssigning InternalPublicIpLifecycleStateEnum = "ASSIGNING" - InternalPublicIpLifecycleStateAssigned InternalPublicIpLifecycleStateEnum = "ASSIGNED" - InternalPublicIpLifecycleStateUnassigning InternalPublicIpLifecycleStateEnum = "UNASSIGNING" - InternalPublicIpLifecycleStateUnassigned InternalPublicIpLifecycleStateEnum = "UNASSIGNED" - InternalPublicIpLifecycleStateTerminating InternalPublicIpLifecycleStateEnum = "TERMINATING" - InternalPublicIpLifecycleStateTerminated InternalPublicIpLifecycleStateEnum = "TERMINATED" -) - -var mappingInternalPublicIpLifecycleStateEnum = map[string]InternalPublicIpLifecycleStateEnum{ - "PROVISIONING": InternalPublicIpLifecycleStateProvisioning, - "AVAILABLE": InternalPublicIpLifecycleStateAvailable, - "ASSIGNING": InternalPublicIpLifecycleStateAssigning, - "ASSIGNED": InternalPublicIpLifecycleStateAssigned, - "UNASSIGNING": InternalPublicIpLifecycleStateUnassigning, - "UNASSIGNED": InternalPublicIpLifecycleStateUnassigned, - "TERMINATING": InternalPublicIpLifecycleStateTerminating, - "TERMINATED": InternalPublicIpLifecycleStateTerminated, -} - -// GetInternalPublicIpLifecycleStateEnumValues Enumerates the set of values for InternalPublicIpLifecycleStateEnum -func GetInternalPublicIpLifecycleStateEnumValues() []InternalPublicIpLifecycleStateEnum { - values := make([]InternalPublicIpLifecycleStateEnum, 0) - for _, v := range mappingInternalPublicIpLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalPublicIpLifecycleStateEnumStringValues Enumerates the set of values in String for InternalPublicIpLifecycleStateEnum -func GetInternalPublicIpLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "ASSIGNING", - "ASSIGNED", - "UNASSIGNING", - "UNASSIGNED", - "TERMINATING", - "TERMINATED", - } -} - -// InternalPublicIpLifetimeEnum Enum with underlying type: string -type InternalPublicIpLifetimeEnum string - -// Set of constants representing the allowable values for InternalPublicIpLifetimeEnum -const ( - InternalPublicIpLifetimeEphemeral InternalPublicIpLifetimeEnum = "EPHEMERAL" - InternalPublicIpLifetimeReserved InternalPublicIpLifetimeEnum = "RESERVED" -) - -var mappingInternalPublicIpLifetimeEnum = map[string]InternalPublicIpLifetimeEnum{ - "EPHEMERAL": InternalPublicIpLifetimeEphemeral, - "RESERVED": InternalPublicIpLifetimeReserved, -} - -// GetInternalPublicIpLifetimeEnumValues Enumerates the set of values for InternalPublicIpLifetimeEnum -func GetInternalPublicIpLifetimeEnumValues() []InternalPublicIpLifetimeEnum { - values := make([]InternalPublicIpLifetimeEnum, 0) - for _, v := range mappingInternalPublicIpLifetimeEnum { - values = append(values, v) - } - return values -} - -// GetInternalPublicIpLifetimeEnumStringValues Enumerates the set of values in String for InternalPublicIpLifetimeEnum -func GetInternalPublicIpLifetimeEnumStringValues() []string { - return []string{ - "EPHEMERAL", - "RESERVED", - } -} - -// InternalPublicIpScopeEnum Enum with underlying type: string -type InternalPublicIpScopeEnum string - -// Set of constants representing the allowable values for InternalPublicIpScopeEnum -const ( - InternalPublicIpScopeRegion InternalPublicIpScopeEnum = "REGION" - InternalPublicIpScopeAvailabilityDomain InternalPublicIpScopeEnum = "AVAILABILITY_DOMAIN" -) - -var mappingInternalPublicIpScopeEnum = map[string]InternalPublicIpScopeEnum{ - "REGION": InternalPublicIpScopeRegion, - "AVAILABILITY_DOMAIN": InternalPublicIpScopeAvailabilityDomain, -} - -// GetInternalPublicIpScopeEnumValues Enumerates the set of values for InternalPublicIpScopeEnum -func GetInternalPublicIpScopeEnumValues() []InternalPublicIpScopeEnum { - values := make([]InternalPublicIpScopeEnum, 0) - for _, v := range mappingInternalPublicIpScopeEnum { - values = append(values, v) - } - return values -} - -// GetInternalPublicIpScopeEnumStringValues Enumerates the set of values in String for InternalPublicIpScopeEnum -func GetInternalPublicIpScopeEnumStringValues() []string { - return []string{ - "REGION", - "AVAILABILITY_DOMAIN", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_subnet.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_subnet.go deleted file mode 100644 index f4a775a3f67f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_subnet.go +++ /dev/null @@ -1,210 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalSubnet A logical subdivision of a VCN. Each subnet -// consists of a contiguous range of IP addresses that do not overlap with -// other subnets in the VCN. Example: 172.16.1.0/24. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm) and -// VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). -// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, -// talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). -type InternalSubnet struct { - - // The subnet's CIDR block. - // Example: `10.0.1.0/24` - CidrBlock *string `mandatory:"true" json:"cidrBlock"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the subnet. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The subnet's Oracle ID (OCID). - Id *string `mandatory:"true" json:"id"` - - // The subnet's current state. - LifecycleState InternalSubnetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the subnet uses. - RouteTableId *string `mandatory:"true" json:"routeTableId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the subnet is in. - VcnId *string `mandatory:"true" json:"vcnId"` - - // The IP address of the virtual router. - // Example: `10.0.14.1` - VirtualRouterIp *string `mandatory:"true" json:"virtualRouterIp"` - - // The MAC address of the virtual router. - // Example: `00:00:00:00:00:01` - VirtualRouterMac *string `mandatory:"true" json:"virtualRouterMac"` - - // The subnet's availability domain. This attribute will be null if this is a regional subnet - // instead of an AD-specific subnet. Oracle recommends creating regional subnets. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options that the subnet uses. - DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // A DNS label for the subnet, used in conjunction with the VNIC's hostname and - // VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC - // within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`). - // Must be an alphanumeric string that begins with a letter and is unique within the VCN. - // The value cannot be changed. - // The absence of this parameter means the Internet and VCN Resolver - // will not resolve hostnames of instances in this subnet. - // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `subnet123` - DnsLabel *string `mandatory:"false" json:"dnsLabel"` - - // 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/iaas/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 Internal Hosted Zone the `DnsRecord` belongs to. - InternalHostedZoneId *string `mandatory:"false" json:"internalHostedZoneId"` - - // For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's IP address space. - // The subnet size is always /64. See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - // Example: `2001:0db8:0123:1111::/64` - Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` - - // For an IPv6-enabled subnet, this is the IPv6 address of the virtual router. - // Example: `2001:0db8:0123:1111:89ab:cdef:1234:5678` - Ipv6VirtualRouterIp *string `mandatory:"false" json:"ipv6VirtualRouterIp"` - - // Whether learning mode is enabled for this subnet. The default is `false`. - // **Note:** When a subnet has learning mode enabled, only certain types - // of resources can be launched in the subnet. - // Example: `true` - IsLearningEnabled *bool `mandatory:"false" json:"isLearningEnabled"` - - // The VLAN tag assigned to VNIC Attachments within this Subnet if the Subnet has learning enabled. - // **Note:** When a subnet does not have learning enabled, this field will be null. - // Example: `100` - VlanTag *int `mandatory:"false" json:"vlanTag"` - - // Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. - // For IPv6, if `prohibitInternetIngress` is set to `true`, internet access is not allowed for any - // IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet traffic is allowed by default. - // `prohibitPublicIpOnVnic` will be set to the value of `prohibitInternetIngress` to dictate IPv4 - // behavior in this subnet. Only one or the other flag should be specified. - // Example: `true` - ProhibitInternetIngress *bool `mandatory:"false" json:"prohibitInternetIngress"` - - // Whether VNICs within this subnet can have public IP addresses. - // Defaults to false, which means VNICs created in this subnet will - // automatically be assigned public IP addresses unless specified - // otherwise during instance launch or VNIC creation (with the - // `assignPublicIp` flag in - // CreateVnicDetails). - // If `prohibitPublicIpOnVnic` is set to true, VNICs created in this - // subnet cannot have public IP addresses (that is, it's a private - // subnet). - // Example: `true` - ProhibitPublicIpOnVnic *bool `mandatory:"false" json:"prohibitPublicIpOnVnic"` - - // The OCIDs of the security list or lists that the subnet uses. Remember - // that security lists are associated *with the subnet*, but the - // rules are applied to the individual VNICs in the subnet. - SecurityListIds []string `mandatory:"false" json:"securityListIds"` - - // The subnet's domain name, which consists of the subnet's DNS label, - // the VCN's DNS label, and the `oraclevcn.com` domain. - // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `subnet123.vcn1.oraclevcn.com` - SubnetDomainName *string `mandatory:"false" json:"subnetDomainName"` - - // The date and time the subnet was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` -} - -func (m InternalSubnet) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalSubnet) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalSubnetLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalSubnetLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalSubnetLifecycleStateEnum Enum with underlying type: string -type InternalSubnetLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalSubnetLifecycleStateEnum -const ( - InternalSubnetLifecycleStateProvisioning InternalSubnetLifecycleStateEnum = "PROVISIONING" - InternalSubnetLifecycleStateAvailable InternalSubnetLifecycleStateEnum = "AVAILABLE" - InternalSubnetLifecycleStateTerminating InternalSubnetLifecycleStateEnum = "TERMINATING" - InternalSubnetLifecycleStateTerminated InternalSubnetLifecycleStateEnum = "TERMINATED" - InternalSubnetLifecycleStateUpdating InternalSubnetLifecycleStateEnum = "UPDATING" -) - -var mappingInternalSubnetLifecycleStateEnum = map[string]InternalSubnetLifecycleStateEnum{ - "PROVISIONING": InternalSubnetLifecycleStateProvisioning, - "AVAILABLE": InternalSubnetLifecycleStateAvailable, - "TERMINATING": InternalSubnetLifecycleStateTerminating, - "TERMINATED": InternalSubnetLifecycleStateTerminated, - "UPDATING": InternalSubnetLifecycleStateUpdating, -} - -// GetInternalSubnetLifecycleStateEnumValues Enumerates the set of values for InternalSubnetLifecycleStateEnum -func GetInternalSubnetLifecycleStateEnumValues() []InternalSubnetLifecycleStateEnum { - values := make([]InternalSubnetLifecycleStateEnum, 0) - for _, v := range mappingInternalSubnetLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalSubnetLifecycleStateEnumStringValues Enumerates the set of values in String for InternalSubnetLifecycleStateEnum -func GetInternalSubnetLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - "UPDATING", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_vnic.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_vnic.go deleted file mode 100644 index 9c1b37399a54..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_vnic.go +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalVnic This is a vnic type only used in operations with overlay customers and RCE. -// It defines additonal properties: isManaged, resourceType, resourceId, isBMVnic, isGarpEnabled and isServiceVnic -type InternalVnic struct { - - // The VNIC's availability domain. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VNIC. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. - Id *string `mandatory:"true" json:"id"` - - // The current state of the VNIC. - LifecycleState InternalVnicLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // Indicates if the VNIC is managed by a internal partner team. And customer is not allowed - // the perform update/delete operations on it directly. - // Defaults to `False` - IsManaged *bool `mandatory:"false" json:"isManaged"` - - // Type of the customer visible upstream resource that the VNIC is associated with. This property can be - // exposed to customers as part of API to list members of a network security group. - // For example, it can be set as, - // - `loadbalancer` if corresponding resourceId is a loadbalancer instance's OCID - // - `dbsystem` if corresponding resourceId is a dbsystem instance's OCID - // Note that the partner team creating/managing the VNIC is owner of this metadata. - // type: - ResourceType *string `mandatory:"false" json:"resourceType"` - - // ID of the customer visible upstream resource that the VNIC is associated with. This property is - // exposed to customers as part of API to list members of a network security group. - // For example, if the VNIC is associated with a loadbalancer or dbsystem instance, then it needs - // to be set to corresponding customer visible loadbalancer or dbsystem instance OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - // Note that the partner team creating/managing the VNIC is owner of this metadata. - ResourceId *string `mandatory:"false" json:"resourceId"` - - // Indicates if the VNIC is associated with (and will be attached to) a BM instance. - IsBmVnic *bool `mandatory:"false" json:"isBmVnic"` - - // Indicates if the VNIC is a service vnic. - IsServiceVnic *bool `mandatory:"false" json:"isServiceVnic"` - - // Indicates if this VNIC can issue GARP requests. False by default. - IsGarpEnabled *bool `mandatory:"false" json:"isGarpEnabled"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname - // portion of the primary private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). - // Must be unique across all VNICs in the subnet and comply with - // RFC 952 (https://tools.ietf.org/html/rfc952) and - // RFC 1123 (https://tools.ietf.org/html/rfc1123). - // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `bminstance-1` - HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` - - // Whether the VNIC is the primary VNIC (the VNIC that is automatically created - // and attached during instance launch). - IsPrimary *bool `mandatory:"false" json:"isPrimary"` - - // The MAC address of the VNIC. - // Example: `00:00:00:00:00:01` - MacAddress *string `mandatory:"false" json:"macAddress"` - - // A list of the OCIDs of the network security groups that the VNIC belongs to. For more - // information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // The private IP address of the primary `privateIp` object on the VNIC. - // The address is within the CIDR of the VNIC's subnet. - // **Note: ** This is null if the VNIC is in a subnet that has `isLearningEnabled` = `true`. - // Example: `10.0.3.3` - PrivateIp *string `mandatory:"false" json:"privateIp"` - - // The public IP address of the VNIC, if one is assigned. - PublicIp *string `mandatory:"false" json:"publicIp"` - - // Whether the source/destination check is disabled on the VNIC. - // Defaults to `false`, which means the check is performed. For information - // about why you would skip the source/destination check, see - // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). - // Example: `true` - SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. - SubnetId *string `mandatory:"false" json:"subnetId"` - - // The date and time the VNIC was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - - // Indicates that the Cavium does not enforce Internet ingress/egress throttling. - // Only present if explicitly assigned upon VNIC creation. - BypassInternetThrottle *bool `mandatory:"false" json:"bypassInternetThrottle"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN that the VNIC belongs to. - VlanId *string `mandatory:"false" json:"vlanId"` - - // Indicates if a floating IP is mapped to the VNIC. - HasFloatingIp *bool `mandatory:"false" json:"hasFloatingIp"` - - // Indicates if the VNIC is bridge which means cavium will ARP for its MAC address. - IsBridgeVnic *bool `mandatory:"false" json:"isBridgeVnic"` - - // Indicates if MAC learning is enabled for the VNIC. - IsMacLearningEnabled *bool `mandatory:"false" json:"isMacLearningEnabled"` - - // Indicates if generation of NAT IP should be skipped if the associated VNIC has this flag set to true. - IsNatIpAllocationDisabled *bool `mandatory:"false" json:"isNatIpAllocationDisabled"` - - // Indicates if private IP creation should be blocked for external customers. Default to false. - // For example, Exadata team can create private IP through internal api. External customers who call public api - // are prohibited to add private IP to Exadata node. - IsPrivateIpCreationBlocked *bool `mandatory:"false" json:"isPrivateIpCreationBlocked"` - - // ID of the entity owning the VNIC. This is passed in the create vnic call. - // If none is passed and if there is an attachment then the attached instanceId is the ownerId. - OwnerId *string `mandatory:"false" json:"ownerId"` - - // floating private IPs attached to this VNIC - FloatingPrivateIPs []FloatingIpInfo `mandatory:"false" json:"floatingPrivateIPs"` - - // The CIDR of the subnet the VNIC belongs to - SubnetCidr *string `mandatory:"false" json:"subnetCidr"` - - // The IP address of the VNIC's subnet's virtual router - VirtualRouterIp *string `mandatory:"false" json:"virtualRouterIp"` - - // The CIDR IPv6 address block of the Subnet. The CIDR length is always /64. - // Example: `2001:0db8:0123:4567::/64` - Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` - - // The IPv6 address of the virtual router. - // Example: `2001:0db8:0123:4567:89ab:cdef:1234:5678` - Ipv6VirtualRouterIp *string `mandatory:"false" json:"ipv6VirtualRouterIp"` -} - -func (m InternalVnic) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalVnic) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalVnicLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalVnicLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalVnicLifecycleStateEnum Enum with underlying type: string -type InternalVnicLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalVnicLifecycleStateEnum -const ( - InternalVnicLifecycleStateProvisioning InternalVnicLifecycleStateEnum = "PROVISIONING" - InternalVnicLifecycleStateAvailable InternalVnicLifecycleStateEnum = "AVAILABLE" - InternalVnicLifecycleStateTerminating InternalVnicLifecycleStateEnum = "TERMINATING" - InternalVnicLifecycleStateTerminated InternalVnicLifecycleStateEnum = "TERMINATED" -) - -var mappingInternalVnicLifecycleStateEnum = map[string]InternalVnicLifecycleStateEnum{ - "PROVISIONING": InternalVnicLifecycleStateProvisioning, - "AVAILABLE": InternalVnicLifecycleStateAvailable, - "TERMINATING": InternalVnicLifecycleStateTerminating, - "TERMINATED": InternalVnicLifecycleStateTerminated, -} - -// GetInternalVnicLifecycleStateEnumValues Enumerates the set of values for InternalVnicLifecycleStateEnum -func GetInternalVnicLifecycleStateEnumValues() []InternalVnicLifecycleStateEnum { - values := make([]InternalVnicLifecycleStateEnum, 0) - for _, v := range mappingInternalVnicLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalVnicLifecycleStateEnumStringValues Enumerates the set of values in String for InternalVnicLifecycleStateEnum -func GetInternalVnicLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_vnic_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_vnic_attachment.go deleted file mode 100644 index d555ee26fe1e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internal_vnic_attachment.go +++ /dev/null @@ -1,2761 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternalVnicAttachment Details of a service VNIC attachment or an attachment of a non-service VNIC to a compute instance. -type InternalVnicAttachment struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VNIC attachment. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. - Id *string `mandatory:"true" json:"id"` - - // The current state of a VNIC attachment. - LifecycleState InternalVnicAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The substrate or anycast IP address of the VNICaaS fleet that the VNIC is attached to. - SubstrateIp *string `mandatory:"true" json:"substrateIp"` - - // The date and time the VNIC 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:"true" json:"timeCreated"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // The slot number of the VNIC. - SlotId *int `mandatory:"false" json:"slotId"` - - // Shape of VNIC that is used to allocate resource in the data plane. - VnicShape InternalVnicAttachmentVnicShapeEnum `mandatory:"false" json:"vnicShape,omitempty"` - - // The instance that a VNIC is attached to - InstanceId *string `mandatory:"false" json:"instanceId"` - - // Composite key created from SubstrateIp, and data plane IDs of VCN and VNIC - DataPlaneId *string `mandatory:"false" json:"dataPlaneId"` - - // The availability domain of a VNIC attachment - InternalAvailabilityDomain *string `mandatory:"false" json:"internalAvailabilityDomain"` - - // The Network Address Translated IP to communicate with internal services - NatIp *string `mandatory:"false" json:"natIp"` - - // The MAC address of the compute instance - OverlayMac *string `mandatory:"false" json:"overlayMac"` - - // The tag used internally to identify sending VNIC - VlanTag *int `mandatory:"false" json:"vlanTag"` - - // Index of NIC that VNIC is attached to (OS boot order) - NicIndex *int `mandatory:"false" json:"nicIndex"` - - MigrationInfo *MigrationInfo `mandatory:"false" json:"migrationInfo"` - - // Property describing customer facing metrics - MetadataList []CfmMetadata `mandatory:"false" json:"metadataList"` -} - -func (m InternalVnicAttachment) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternalVnicAttachment) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalVnicAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternalVnicAttachmentLifecycleStateEnumStringValues(), ","))) - } - - if _, ok := mappingInternalVnicAttachmentVnicShapeEnum[string(m.VnicShape)]; !ok && m.VnicShape != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VnicShape: %s. Supported values are: %s.", m.VnicShape, strings.Join(GetInternalVnicAttachmentVnicShapeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InternalVnicAttachmentLifecycleStateEnum Enum with underlying type: string -type InternalVnicAttachmentLifecycleStateEnum string - -// Set of constants representing the allowable values for InternalVnicAttachmentLifecycleStateEnum -const ( - InternalVnicAttachmentLifecycleStateAttaching InternalVnicAttachmentLifecycleStateEnum = "ATTACHING" - InternalVnicAttachmentLifecycleStateAttached InternalVnicAttachmentLifecycleStateEnum = "ATTACHED" - InternalVnicAttachmentLifecycleStateDetaching InternalVnicAttachmentLifecycleStateEnum = "DETACHING" - InternalVnicAttachmentLifecycleStateDetached InternalVnicAttachmentLifecycleStateEnum = "DETACHED" -) - -var mappingInternalVnicAttachmentLifecycleStateEnum = map[string]InternalVnicAttachmentLifecycleStateEnum{ - "ATTACHING": InternalVnicAttachmentLifecycleStateAttaching, - "ATTACHED": InternalVnicAttachmentLifecycleStateAttached, - "DETACHING": InternalVnicAttachmentLifecycleStateDetaching, - "DETACHED": InternalVnicAttachmentLifecycleStateDetached, -} - -// GetInternalVnicAttachmentLifecycleStateEnumValues Enumerates the set of values for InternalVnicAttachmentLifecycleStateEnum -func GetInternalVnicAttachmentLifecycleStateEnumValues() []InternalVnicAttachmentLifecycleStateEnum { - values := make([]InternalVnicAttachmentLifecycleStateEnum, 0) - for _, v := range mappingInternalVnicAttachmentLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetInternalVnicAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for InternalVnicAttachmentLifecycleStateEnum -func GetInternalVnicAttachmentLifecycleStateEnumStringValues() []string { - return []string{ - "ATTACHING", - "ATTACHED", - "DETACHING", - "DETACHED", - } -} - -// InternalVnicAttachmentVnicShapeEnum Enum with underlying type: string -type InternalVnicAttachmentVnicShapeEnum string - -// Set of constants representing the allowable values for InternalVnicAttachmentVnicShapeEnum -const ( - InternalVnicAttachmentVnicShapeDynamic InternalVnicAttachmentVnicShapeEnum = "DYNAMIC" - InternalVnicAttachmentVnicShapeFixed0040 InternalVnicAttachmentVnicShapeEnum = "FIXED0040" - InternalVnicAttachmentVnicShapeFixed0060 InternalVnicAttachmentVnicShapeEnum = "FIXED0060" - InternalVnicAttachmentVnicShapeFixed0060Psm InternalVnicAttachmentVnicShapeEnum = "FIXED0060_PSM" - InternalVnicAttachmentVnicShapeFixed0100 InternalVnicAttachmentVnicShapeEnum = "FIXED0100" - InternalVnicAttachmentVnicShapeFixed0120 InternalVnicAttachmentVnicShapeEnum = "FIXED0120" - InternalVnicAttachmentVnicShapeFixed01202x InternalVnicAttachmentVnicShapeEnum = "FIXED0120_2X" - InternalVnicAttachmentVnicShapeFixed0200 InternalVnicAttachmentVnicShapeEnum = "FIXED0200" - InternalVnicAttachmentVnicShapeFixed0240 InternalVnicAttachmentVnicShapeEnum = "FIXED0240" - InternalVnicAttachmentVnicShapeFixed0480 InternalVnicAttachmentVnicShapeEnum = "FIXED0480" - InternalVnicAttachmentVnicShapeEntirehost InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST" - InternalVnicAttachmentVnicShapeDynamic25g InternalVnicAttachmentVnicShapeEnum = "DYNAMIC_25G" - InternalVnicAttachmentVnicShapeFixed004025g InternalVnicAttachmentVnicShapeEnum = "FIXED0040_25G" - InternalVnicAttachmentVnicShapeFixed010025g InternalVnicAttachmentVnicShapeEnum = "FIXED0100_25G" - InternalVnicAttachmentVnicShapeFixed020025g InternalVnicAttachmentVnicShapeEnum = "FIXED0200_25G" - InternalVnicAttachmentVnicShapeFixed040025g InternalVnicAttachmentVnicShapeEnum = "FIXED0400_25G" - InternalVnicAttachmentVnicShapeFixed080025g InternalVnicAttachmentVnicShapeEnum = "FIXED0800_25G" - InternalVnicAttachmentVnicShapeFixed160025g InternalVnicAttachmentVnicShapeEnum = "FIXED1600_25G" - InternalVnicAttachmentVnicShapeFixed240025g InternalVnicAttachmentVnicShapeEnum = "FIXED2400_25G" - InternalVnicAttachmentVnicShapeEntirehost25g InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST_25G" - InternalVnicAttachmentVnicShapeDynamicE125g InternalVnicAttachmentVnicShapeEnum = "DYNAMIC_E1_25G" - InternalVnicAttachmentVnicShapeFixed0040E125g InternalVnicAttachmentVnicShapeEnum = "FIXED0040_E1_25G" - InternalVnicAttachmentVnicShapeFixed0070E125g InternalVnicAttachmentVnicShapeEnum = "FIXED0070_E1_25G" - InternalVnicAttachmentVnicShapeFixed0140E125g InternalVnicAttachmentVnicShapeEnum = "FIXED0140_E1_25G" - InternalVnicAttachmentVnicShapeFixed0280E125g InternalVnicAttachmentVnicShapeEnum = "FIXED0280_E1_25G" - InternalVnicAttachmentVnicShapeFixed0560E125g InternalVnicAttachmentVnicShapeEnum = "FIXED0560_E1_25G" - InternalVnicAttachmentVnicShapeFixed1120E125g InternalVnicAttachmentVnicShapeEnum = "FIXED1120_E1_25G" - InternalVnicAttachmentVnicShapeFixed1680E125g InternalVnicAttachmentVnicShapeEnum = "FIXED1680_E1_25G" - InternalVnicAttachmentVnicShapeEntirehostE125g InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST_E1_25G" - InternalVnicAttachmentVnicShapeDynamicB125g InternalVnicAttachmentVnicShapeEnum = "DYNAMIC_B1_25G" - InternalVnicAttachmentVnicShapeFixed0040B125g InternalVnicAttachmentVnicShapeEnum = "FIXED0040_B1_25G" - InternalVnicAttachmentVnicShapeFixed0060B125g InternalVnicAttachmentVnicShapeEnum = "FIXED0060_B1_25G" - InternalVnicAttachmentVnicShapeFixed0120B125g InternalVnicAttachmentVnicShapeEnum = "FIXED0120_B1_25G" - InternalVnicAttachmentVnicShapeFixed0240B125g InternalVnicAttachmentVnicShapeEnum = "FIXED0240_B1_25G" - InternalVnicAttachmentVnicShapeFixed0480B125g InternalVnicAttachmentVnicShapeEnum = "FIXED0480_B1_25G" - InternalVnicAttachmentVnicShapeFixed0960B125g InternalVnicAttachmentVnicShapeEnum = "FIXED0960_B1_25G" - InternalVnicAttachmentVnicShapeEntirehostB125g InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST_B1_25G" - InternalVnicAttachmentVnicShapeMicroVmFixed0048E125g InternalVnicAttachmentVnicShapeEnum = "MICRO_VM_FIXED0048_E1_25G" - InternalVnicAttachmentVnicShapeMicroLbFixed0001E125g InternalVnicAttachmentVnicShapeEnum = "MICRO_LB_FIXED0001_E1_25G" - InternalVnicAttachmentVnicShapeVnicaasFixed0200 InternalVnicAttachmentVnicShapeEnum = "VNICAAS_FIXED0200" - InternalVnicAttachmentVnicShapeVnicaasFixed0400 InternalVnicAttachmentVnicShapeEnum = "VNICAAS_FIXED0400" - InternalVnicAttachmentVnicShapeVnicaasFixed0700 InternalVnicAttachmentVnicShapeEnum = "VNICAAS_FIXED0700" - InternalVnicAttachmentVnicShapeVnicaasNlbApproved10g InternalVnicAttachmentVnicShapeEnum = "VNICAAS_NLB_APPROVED_10G" - InternalVnicAttachmentVnicShapeVnicaasNlbApproved25g InternalVnicAttachmentVnicShapeEnum = "VNICAAS_NLB_APPROVED_25G" - InternalVnicAttachmentVnicShapeVnicaasTelesis25g InternalVnicAttachmentVnicShapeEnum = "VNICAAS_TELESIS_25G" - InternalVnicAttachmentVnicShapeVnicaasTelesis10g InternalVnicAttachmentVnicShapeEnum = "VNICAAS_TELESIS_10G" - InternalVnicAttachmentVnicShapeVnicaasAmbassadorFixed0100 InternalVnicAttachmentVnicShapeEnum = "VNICAAS_AMBASSADOR_FIXED0100" - InternalVnicAttachmentVnicShapeVnicaasPrivatedns InternalVnicAttachmentVnicShapeEnum = "VNICAAS_PRIVATEDNS" - InternalVnicAttachmentVnicShapeVnicaasFwaas InternalVnicAttachmentVnicShapeEnum = "VNICAAS_FWAAS" - InternalVnicAttachmentVnicShapeDynamicE350g InternalVnicAttachmentVnicShapeEnum = "DYNAMIC_E3_50G" - InternalVnicAttachmentVnicShapeFixed0040E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0040_E3_50G" - InternalVnicAttachmentVnicShapeFixed0100E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0100_E3_50G" - InternalVnicAttachmentVnicShapeFixed0200E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0200_E3_50G" - InternalVnicAttachmentVnicShapeFixed0300E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0300_E3_50G" - InternalVnicAttachmentVnicShapeFixed0400E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0400_E3_50G" - InternalVnicAttachmentVnicShapeFixed0500E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0500_E3_50G" - InternalVnicAttachmentVnicShapeFixed0600E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0600_E3_50G" - InternalVnicAttachmentVnicShapeFixed0700E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0700_E3_50G" - InternalVnicAttachmentVnicShapeFixed0800E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0800_E3_50G" - InternalVnicAttachmentVnicShapeFixed0900E350g InternalVnicAttachmentVnicShapeEnum = "FIXED0900_E3_50G" - InternalVnicAttachmentVnicShapeFixed1000E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1000_E3_50G" - InternalVnicAttachmentVnicShapeFixed1100E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1100_E3_50G" - InternalVnicAttachmentVnicShapeFixed1200E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1200_E3_50G" - InternalVnicAttachmentVnicShapeFixed1300E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1300_E3_50G" - InternalVnicAttachmentVnicShapeFixed1400E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1400_E3_50G" - InternalVnicAttachmentVnicShapeFixed1500E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1500_E3_50G" - InternalVnicAttachmentVnicShapeFixed1600E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1600_E3_50G" - InternalVnicAttachmentVnicShapeFixed1700E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1700_E3_50G" - InternalVnicAttachmentVnicShapeFixed1800E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1800_E3_50G" - InternalVnicAttachmentVnicShapeFixed1900E350g InternalVnicAttachmentVnicShapeEnum = "FIXED1900_E3_50G" - InternalVnicAttachmentVnicShapeFixed2000E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2000_E3_50G" - InternalVnicAttachmentVnicShapeFixed2100E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2100_E3_50G" - InternalVnicAttachmentVnicShapeFixed2200E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2200_E3_50G" - InternalVnicAttachmentVnicShapeFixed2300E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2300_E3_50G" - InternalVnicAttachmentVnicShapeFixed2400E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2400_E3_50G" - InternalVnicAttachmentVnicShapeFixed2500E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2500_E3_50G" - InternalVnicAttachmentVnicShapeFixed2600E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2600_E3_50G" - InternalVnicAttachmentVnicShapeFixed2700E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2700_E3_50G" - InternalVnicAttachmentVnicShapeFixed2800E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2800_E3_50G" - InternalVnicAttachmentVnicShapeFixed2900E350g InternalVnicAttachmentVnicShapeEnum = "FIXED2900_E3_50G" - InternalVnicAttachmentVnicShapeFixed3000E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3000_E3_50G" - InternalVnicAttachmentVnicShapeFixed3100E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3100_E3_50G" - InternalVnicAttachmentVnicShapeFixed3200E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3200_E3_50G" - InternalVnicAttachmentVnicShapeFixed3300E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3300_E3_50G" - InternalVnicAttachmentVnicShapeFixed3400E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3400_E3_50G" - InternalVnicAttachmentVnicShapeFixed3500E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3500_E3_50G" - InternalVnicAttachmentVnicShapeFixed3600E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3600_E3_50G" - InternalVnicAttachmentVnicShapeFixed3700E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3700_E3_50G" - InternalVnicAttachmentVnicShapeFixed3800E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3800_E3_50G" - InternalVnicAttachmentVnicShapeFixed3900E350g InternalVnicAttachmentVnicShapeEnum = "FIXED3900_E3_50G" - InternalVnicAttachmentVnicShapeFixed4000E350g InternalVnicAttachmentVnicShapeEnum = "FIXED4000_E3_50G" - InternalVnicAttachmentVnicShapeEntirehostE350g InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST_E3_50G" - InternalVnicAttachmentVnicShapeDynamicE450g InternalVnicAttachmentVnicShapeEnum = "DYNAMIC_E4_50G" - InternalVnicAttachmentVnicShapeFixed0040E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0040_E4_50G" - InternalVnicAttachmentVnicShapeFixed0100E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0100_E4_50G" - InternalVnicAttachmentVnicShapeFixed0200E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0200_E4_50G" - InternalVnicAttachmentVnicShapeFixed0300E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0300_E4_50G" - InternalVnicAttachmentVnicShapeFixed0400E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0400_E4_50G" - InternalVnicAttachmentVnicShapeFixed0500E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0500_E4_50G" - InternalVnicAttachmentVnicShapeFixed0600E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0600_E4_50G" - InternalVnicAttachmentVnicShapeFixed0700E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0700_E4_50G" - InternalVnicAttachmentVnicShapeFixed0800E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0800_E4_50G" - InternalVnicAttachmentVnicShapeFixed0900E450g InternalVnicAttachmentVnicShapeEnum = "FIXED0900_E4_50G" - InternalVnicAttachmentVnicShapeFixed1000E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1000_E4_50G" - InternalVnicAttachmentVnicShapeFixed1100E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1100_E4_50G" - InternalVnicAttachmentVnicShapeFixed1200E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1200_E4_50G" - InternalVnicAttachmentVnicShapeFixed1300E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1300_E4_50G" - InternalVnicAttachmentVnicShapeFixed1400E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1400_E4_50G" - InternalVnicAttachmentVnicShapeFixed1500E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1500_E4_50G" - InternalVnicAttachmentVnicShapeFixed1600E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1600_E4_50G" - InternalVnicAttachmentVnicShapeFixed1700E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1700_E4_50G" - InternalVnicAttachmentVnicShapeFixed1800E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1800_E4_50G" - InternalVnicAttachmentVnicShapeFixed1900E450g InternalVnicAttachmentVnicShapeEnum = "FIXED1900_E4_50G" - InternalVnicAttachmentVnicShapeFixed2000E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2000_E4_50G" - InternalVnicAttachmentVnicShapeFixed2100E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2100_E4_50G" - InternalVnicAttachmentVnicShapeFixed2200E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2200_E4_50G" - InternalVnicAttachmentVnicShapeFixed2300E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2300_E4_50G" - InternalVnicAttachmentVnicShapeFixed2400E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2400_E4_50G" - InternalVnicAttachmentVnicShapeFixed2500E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2500_E4_50G" - InternalVnicAttachmentVnicShapeFixed2600E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2600_E4_50G" - InternalVnicAttachmentVnicShapeFixed2700E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2700_E4_50G" - InternalVnicAttachmentVnicShapeFixed2800E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2800_E4_50G" - InternalVnicAttachmentVnicShapeFixed2900E450g InternalVnicAttachmentVnicShapeEnum = "FIXED2900_E4_50G" - InternalVnicAttachmentVnicShapeFixed3000E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3000_E4_50G" - InternalVnicAttachmentVnicShapeFixed3100E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3100_E4_50G" - InternalVnicAttachmentVnicShapeFixed3200E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3200_E4_50G" - InternalVnicAttachmentVnicShapeFixed3300E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3300_E4_50G" - InternalVnicAttachmentVnicShapeFixed3400E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3400_E4_50G" - InternalVnicAttachmentVnicShapeFixed3500E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3500_E4_50G" - InternalVnicAttachmentVnicShapeFixed3600E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3600_E4_50G" - InternalVnicAttachmentVnicShapeFixed3700E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3700_E4_50G" - InternalVnicAttachmentVnicShapeFixed3800E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3800_E4_50G" - InternalVnicAttachmentVnicShapeFixed3900E450g InternalVnicAttachmentVnicShapeEnum = "FIXED3900_E4_50G" - InternalVnicAttachmentVnicShapeFixed4000E450g InternalVnicAttachmentVnicShapeEnum = "FIXED4000_E4_50G" - InternalVnicAttachmentVnicShapeEntirehostE450g InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST_E4_50G" - InternalVnicAttachmentVnicShapeMicroVmFixed0050E350g InternalVnicAttachmentVnicShapeEnum = "MICRO_VM_FIXED0050_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0025E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0025_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0050E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0050_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0075E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0075_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0100E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0100_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0125E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0125_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0150E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0150_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0175E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0175_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0200E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0200_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0225E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0225_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0250E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0250_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0275E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0275_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0300E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0300_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0325E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0325_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0350E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0350_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0375E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0375_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0400E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0400_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0425E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0425_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0450E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0450_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0475E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0475_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0500E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0500_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0525E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0525_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0550E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0550_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0575E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0575_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0600E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0600_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0625E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0625_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0650E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0650_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0675E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0675_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0700E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0700_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0725E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0725_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0750E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0750_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0775E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0775_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0800E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0800_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0825E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0825_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0850E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0850_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0875E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0875_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0900E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0900_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0925E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0925_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0950E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0950_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0975E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0975_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1000E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1000_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1025E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1025_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1050E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1050_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1075E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1075_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1100E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1100_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1125E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1125_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1150E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1150_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1175E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1175_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1200E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1200_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1225E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1225_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1250E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1250_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1275E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1275_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1300E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1300_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1325E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1325_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1350E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1350_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1375E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1375_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1400E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1400_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1425E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1425_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1450E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1450_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1475E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1475_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1500E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1500_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1525E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1525_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1550E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1550_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1575E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1575_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1600E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1600_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1625E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1625_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1650E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1650_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1700E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1700_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1725E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1725_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1750E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1750_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1800E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1800_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1850E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1850_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1875E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1875_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1900E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1900_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1925E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1925_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1950E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1950_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2000E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2000_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2025E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2025_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2050E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2050_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2100E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2100_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2125E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2125_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2150E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2150_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2175E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2175_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2200E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2200_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2250E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2250_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2275E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2275_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2300E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2300_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2325E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2325_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2350E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2350_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2375E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2375_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2400E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2400_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2450E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2450_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2475E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2475_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2500E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2500_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2550E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2550_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2600E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2600_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2625E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2625_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2650E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2650_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2700E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2700_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2750E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2750_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2775E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2775_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2800E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2800_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2850E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2850_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2875E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2875_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2900E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2900_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2925E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2925_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2950E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2950_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2975E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2975_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3000E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3000_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3025E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3025_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3050E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3050_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3075E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3075_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3100E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3100_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3125E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3125_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3150E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3150_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3200E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3200_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3225E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3225_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3250E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3250_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3300E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3300_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3325E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3325_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3375E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3375_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3400E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3400_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3450E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3450_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3500E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3500_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3525E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3525_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3575E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3575_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3600E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3600_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3625E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3625_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3675E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3675_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3700E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3700_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3750E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3750_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3800E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3800_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3825E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3825_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3850E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3850_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3875E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3875_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3900E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3900_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3975E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3975_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4000E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4000_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4025E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4025_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4050E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4050_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4100E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4100_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4125E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4125_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4200E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4200_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4225E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4225_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4250E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4250_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4275E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4275_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4300E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4300_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4350E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4350_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4375E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4375_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4400E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4400_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4425E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4425_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4500E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4500_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4550E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4550_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4575E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4575_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4600E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4600_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4625E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4625_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4650E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4650_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4675E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4675_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4700E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4700_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4725E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4725_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4750E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4750_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4800E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4800_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4875E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4875_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4900E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4900_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4950E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4950_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed5000E350g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED5000_E3_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0025E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0025_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0050E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0050_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0075E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0075_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0100E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0100_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0125E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0125_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0150E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0150_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0175E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0175_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0200E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0200_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0225E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0225_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0250E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0250_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0275E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0275_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0300E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0300_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0325E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0325_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0350E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0350_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0375E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0375_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0400E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0400_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0425E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0425_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0450E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0450_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0475E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0475_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0500E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0500_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0525E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0525_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0550E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0550_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0575E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0575_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0600E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0600_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0625E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0625_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0650E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0650_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0675E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0675_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0700E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0700_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0725E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0725_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0750E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0750_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0775E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0775_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0800E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0800_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0825E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0825_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0850E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0850_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0875E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0875_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0900E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0900_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0925E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0925_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0950E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0950_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0975E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0975_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1000E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1000_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1025E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1025_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1050E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1050_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1075E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1075_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1100E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1100_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1125E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1125_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1150E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1150_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1175E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1175_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1200E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1200_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1225E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1225_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1250E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1250_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1275E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1275_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1300E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1300_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1325E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1325_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1350E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1350_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1375E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1375_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1400E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1400_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1425E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1425_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1450E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1450_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1475E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1475_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1500E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1500_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1525E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1525_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1550E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1550_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1575E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1575_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1600E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1600_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1625E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1625_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1650E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1650_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1700E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1700_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1725E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1725_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1750E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1750_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1800E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1800_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1850E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1850_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1875E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1875_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1900E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1900_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1925E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1925_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1950E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1950_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2000E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2000_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2025E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2025_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2050E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2050_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2100E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2100_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2125E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2125_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2150E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2150_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2175E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2175_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2200E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2200_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2250E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2250_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2275E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2275_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2300E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2300_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2325E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2325_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2350E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2350_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2375E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2375_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2400E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2400_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2450E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2450_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2475E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2475_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2500E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2500_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2550E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2550_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2600E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2600_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2625E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2625_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2650E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2650_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2700E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2700_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2750E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2750_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2775E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2775_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2800E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2800_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2850E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2850_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2875E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2875_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2900E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2900_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2925E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2925_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2950E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2950_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2975E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2975_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3000E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3000_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3025E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3025_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3050E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3050_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3075E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3075_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3100E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3100_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3125E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3125_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3150E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3150_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3200E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3200_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3225E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3225_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3250E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3250_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3300E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3300_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3325E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3325_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3375E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3375_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3400E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3400_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3450E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3450_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3500E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3500_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3525E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3525_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3575E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3575_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3600E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3600_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3625E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3625_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3675E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3675_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3700E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3700_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3750E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3750_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3800E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3800_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3825E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3825_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3850E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3850_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3875E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3875_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3900E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3900_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3975E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3975_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4000E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4000_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4025E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4025_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4050E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4050_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4100E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4100_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4125E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4125_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4200E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4200_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4225E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4225_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4250E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4250_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4275E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4275_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4300E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4300_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4350E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4350_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4375E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4375_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4400E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4400_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4425E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4425_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4500E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4500_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4550E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4550_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4575E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4575_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4600E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4600_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4625E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4625_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4650E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4650_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4675E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4675_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4700E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4700_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4725E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4725_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4750E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4750_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4800E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4800_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4875E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4875_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4900E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4900_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4950E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4950_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed5000E450g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED5000_E4_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0020A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0020_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0040A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0040_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0060A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0060_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0080A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0080_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0100A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0100_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0120A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0120_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0140A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0140_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0160A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0160_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0180A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0180_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0200A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0200_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0220A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0220_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0240A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0240_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0260A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0260_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0280A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0280_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0300A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0300_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0320A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0320_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0340A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0340_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0360A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0360_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0380A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0380_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0400A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0400_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0420A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0420_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0440A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0440_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0460A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0460_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0480A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0480_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0500A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0500_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0520A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0520_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0540A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0540_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0560A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0560_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0580A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0580_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0600A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0600_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0620A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0620_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0640A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0640_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0660A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0660_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0680A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0680_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0700A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0700_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0720A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0720_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0740A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0740_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0760A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0760_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0780A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0780_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0800A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0800_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0820A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0820_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0840A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0840_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0860A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0860_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0880A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0880_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0900A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0900_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0920A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0920_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0940A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0940_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0960A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0960_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0980A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0980_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1000A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1000_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1020A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1020_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1040A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1040_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1060A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1060_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1080A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1080_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1100A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1100_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1120A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1120_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1140A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1140_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1160A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1160_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1180A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1180_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1200A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1200_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1220A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1220_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1240A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1240_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1260A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1260_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1280A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1280_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1300A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1300_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1320A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1320_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1340A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1340_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1360A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1360_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1380A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1380_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1400A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1400_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1420A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1420_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1440A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1440_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1460A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1460_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1480A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1480_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1500A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1500_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1520A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1520_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1540A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1540_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1560A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1560_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1580A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1580_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1600A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1600_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1620A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1620_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1640A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1640_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1660A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1660_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1680A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1680_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1700A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1700_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1720A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1720_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1740A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1740_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1760A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1760_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1780A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1780_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1800A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1800_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1820A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1820_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1840A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1840_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1860A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1860_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1880A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1880_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1900A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1900_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1920A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1920_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1940A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1940_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1960A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1960_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1980A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1980_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2000A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2000_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2020A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2020_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2040A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2040_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2060A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2060_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2080A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2080_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2100A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2100_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2120A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2120_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2140A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2140_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2160A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2160_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2180A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2180_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2200A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2200_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2220A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2220_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2240A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2240_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2260A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2260_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2280A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2280_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2300A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2300_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2320A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2320_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2340A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2340_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2360A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2360_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2380A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2380_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2400A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2400_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2420A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2420_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2440A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2440_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2460A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2460_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2480A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2480_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2500A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2500_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2520A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2520_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2540A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2540_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2560A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2560_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2580A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2580_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2600A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2600_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2620A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2620_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2640A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2640_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2660A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2660_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2680A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2680_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2700A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2700_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2720A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2720_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2740A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2740_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2760A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2760_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2780A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2780_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2800A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2800_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2820A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2820_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2840A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2840_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2860A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2860_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2880A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2880_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2900A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2900_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2920A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2920_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2940A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2940_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2960A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2960_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2980A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2980_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3000A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3000_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3020A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3020_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3040A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3040_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3060A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3060_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3080A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3080_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3100A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3100_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3120A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3120_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3140A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3140_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3160A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3160_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3180A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3180_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3200A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3200_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3220A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3220_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3240A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3240_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3260A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3260_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3280A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3280_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3300A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3300_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3320A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3320_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3340A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3340_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3360A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3360_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3380A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3380_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3400A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3400_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3420A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3420_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3440A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3440_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3460A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3460_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3480A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3480_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3500A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3500_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3520A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3520_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3540A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3540_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3560A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3560_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3580A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3580_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3600A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3600_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3620A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3620_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3640A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3640_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3660A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3660_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3680A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3680_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3700A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3700_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3720A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3720_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3740A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3740_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3760A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3760_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3780A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3780_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3800A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3800_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3820A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3820_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3840A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3840_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3860A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3860_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3880A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3880_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3900A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3900_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3920A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3920_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3940A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3940_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3960A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3960_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3980A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3980_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4000A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4000_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4020A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4020_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4040A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4040_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4060A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4060_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4080A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4080_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4100A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4100_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4120A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4120_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4140A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4140_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4160A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4160_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4180A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4180_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4200A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4200_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4220A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4220_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4240A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4240_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4260A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4260_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4280A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4280_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4300A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4300_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4320A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4320_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4340A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4340_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4360A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4360_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4380A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4380_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4400A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4400_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4420A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4420_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4440A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4440_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4460A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4460_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4480A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4480_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4500A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4500_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4520A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4520_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4540A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4540_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4560A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4560_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4580A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4580_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4600A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4600_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4620A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4620_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4640A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4640_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4660A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4660_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4680A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4680_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4700A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4700_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4720A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4720_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4740A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4740_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4760A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4760_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4780A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4780_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4800A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4800_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4820A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4820_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4840A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4840_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4860A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4860_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4880A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4880_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4900A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4900_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4920A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4920_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4940A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4940_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4960A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4960_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4980A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4980_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed5000A150g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED5000_A1_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0090X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0090_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0180X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0180_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0270X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0270_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0360X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0360_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0450X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0450_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0540X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0540_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0630X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0630_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0720X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0720_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0810X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0810_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0900X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0900_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed0990X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED0990_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1080X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1080_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1170X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1170_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1260X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1260_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1350X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1350_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1440X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1440_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1530X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1530_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1620X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1620_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1710X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1710_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1800X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1800_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1890X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1890_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed1980X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED1980_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2070X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2070_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2160X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2160_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2250X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2250_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2340X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2340_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2430X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2430_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2520X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2520_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2610X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2610_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2700X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2700_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2790X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2790_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2880X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2880_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed2970X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED2970_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3060X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3060_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3150X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3150_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3240X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3240_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3330X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3330_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3420X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3420_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3510X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3510_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3600X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3600_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3690X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3690_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3780X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3780_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3870X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3870_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed3960X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED3960_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4050X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4050_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4140X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4140_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4230X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4230_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4320X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4320_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4410X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4410_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4500X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4500_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4590X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4590_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4680X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4680_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4770X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4770_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4860X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4860_X9_50G" - InternalVnicAttachmentVnicShapeSubcoreVmFixed4950X950g InternalVnicAttachmentVnicShapeEnum = "SUBCORE_VM_FIXED4950_X9_50G" - InternalVnicAttachmentVnicShapeDynamicA150g InternalVnicAttachmentVnicShapeEnum = "DYNAMIC_A1_50G" - InternalVnicAttachmentVnicShapeFixed0040A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0040_A1_50G" - InternalVnicAttachmentVnicShapeFixed0100A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0100_A1_50G" - InternalVnicAttachmentVnicShapeFixed0200A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0200_A1_50G" - InternalVnicAttachmentVnicShapeFixed0300A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0300_A1_50G" - InternalVnicAttachmentVnicShapeFixed0400A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0400_A1_50G" - InternalVnicAttachmentVnicShapeFixed0500A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0500_A1_50G" - InternalVnicAttachmentVnicShapeFixed0600A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0600_A1_50G" - InternalVnicAttachmentVnicShapeFixed0700A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0700_A1_50G" - InternalVnicAttachmentVnicShapeFixed0800A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0800_A1_50G" - InternalVnicAttachmentVnicShapeFixed0900A150g InternalVnicAttachmentVnicShapeEnum = "FIXED0900_A1_50G" - InternalVnicAttachmentVnicShapeFixed1000A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1000_A1_50G" - InternalVnicAttachmentVnicShapeFixed1100A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1100_A1_50G" - InternalVnicAttachmentVnicShapeFixed1200A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1200_A1_50G" - InternalVnicAttachmentVnicShapeFixed1300A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1300_A1_50G" - InternalVnicAttachmentVnicShapeFixed1400A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1400_A1_50G" - InternalVnicAttachmentVnicShapeFixed1500A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1500_A1_50G" - InternalVnicAttachmentVnicShapeFixed1600A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1600_A1_50G" - InternalVnicAttachmentVnicShapeFixed1700A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1700_A1_50G" - InternalVnicAttachmentVnicShapeFixed1800A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1800_A1_50G" - InternalVnicAttachmentVnicShapeFixed1900A150g InternalVnicAttachmentVnicShapeEnum = "FIXED1900_A1_50G" - InternalVnicAttachmentVnicShapeFixed2000A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2000_A1_50G" - InternalVnicAttachmentVnicShapeFixed2100A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2100_A1_50G" - InternalVnicAttachmentVnicShapeFixed2200A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2200_A1_50G" - InternalVnicAttachmentVnicShapeFixed2300A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2300_A1_50G" - InternalVnicAttachmentVnicShapeFixed2400A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2400_A1_50G" - InternalVnicAttachmentVnicShapeFixed2500A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2500_A1_50G" - InternalVnicAttachmentVnicShapeFixed2600A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2600_A1_50G" - InternalVnicAttachmentVnicShapeFixed2700A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2700_A1_50G" - InternalVnicAttachmentVnicShapeFixed2800A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2800_A1_50G" - InternalVnicAttachmentVnicShapeFixed2900A150g InternalVnicAttachmentVnicShapeEnum = "FIXED2900_A1_50G" - InternalVnicAttachmentVnicShapeFixed3000A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3000_A1_50G" - InternalVnicAttachmentVnicShapeFixed3100A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3100_A1_50G" - InternalVnicAttachmentVnicShapeFixed3200A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3200_A1_50G" - InternalVnicAttachmentVnicShapeFixed3300A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3300_A1_50G" - InternalVnicAttachmentVnicShapeFixed3400A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3400_A1_50G" - InternalVnicAttachmentVnicShapeFixed3500A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3500_A1_50G" - InternalVnicAttachmentVnicShapeFixed3600A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3600_A1_50G" - InternalVnicAttachmentVnicShapeFixed3700A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3700_A1_50G" - InternalVnicAttachmentVnicShapeFixed3800A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3800_A1_50G" - InternalVnicAttachmentVnicShapeFixed3900A150g InternalVnicAttachmentVnicShapeEnum = "FIXED3900_A1_50G" - InternalVnicAttachmentVnicShapeFixed4000A150g InternalVnicAttachmentVnicShapeEnum = "FIXED4000_A1_50G" - InternalVnicAttachmentVnicShapeEntirehostA150g InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST_A1_50G" - InternalVnicAttachmentVnicShapeDynamicX950g InternalVnicAttachmentVnicShapeEnum = "DYNAMIC_X9_50G" - InternalVnicAttachmentVnicShapeFixed0040X950g InternalVnicAttachmentVnicShapeEnum = "FIXED0040_X9_50G" - InternalVnicAttachmentVnicShapeFixed0400X950g InternalVnicAttachmentVnicShapeEnum = "FIXED0400_X9_50G" - InternalVnicAttachmentVnicShapeFixed0800X950g InternalVnicAttachmentVnicShapeEnum = "FIXED0800_X9_50G" - InternalVnicAttachmentVnicShapeFixed1200X950g InternalVnicAttachmentVnicShapeEnum = "FIXED1200_X9_50G" - InternalVnicAttachmentVnicShapeFixed1600X950g InternalVnicAttachmentVnicShapeEnum = "FIXED1600_X9_50G" - InternalVnicAttachmentVnicShapeFixed2000X950g InternalVnicAttachmentVnicShapeEnum = "FIXED2000_X9_50G" - InternalVnicAttachmentVnicShapeFixed2400X950g InternalVnicAttachmentVnicShapeEnum = "FIXED2400_X9_50G" - InternalVnicAttachmentVnicShapeFixed2800X950g InternalVnicAttachmentVnicShapeEnum = "FIXED2800_X9_50G" - InternalVnicAttachmentVnicShapeFixed3200X950g InternalVnicAttachmentVnicShapeEnum = "FIXED3200_X9_50G" - InternalVnicAttachmentVnicShapeFixed3600X950g InternalVnicAttachmentVnicShapeEnum = "FIXED3600_X9_50G" - InternalVnicAttachmentVnicShapeFixed4000X950g InternalVnicAttachmentVnicShapeEnum = "FIXED4000_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0100X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0100_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0200X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0200_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0300X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0300_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0400X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0400_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0500X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0500_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0600X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0600_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0700X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0700_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0800X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0800_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed0900X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED0900_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1000X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1000_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1100X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1100_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1200X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1200_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1300X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1300_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1400X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1400_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1500X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1500_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1600X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1600_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1700X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1700_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1800X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1800_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed1900X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED1900_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2000X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2000_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2100X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2100_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2200X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2200_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2300X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2300_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2400X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2400_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2500X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2500_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2600X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2600_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2700X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2700_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2800X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2800_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed2900X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED2900_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3000X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3000_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3100X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3100_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3200X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3200_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3300X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3300_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3400X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3400_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3500X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3500_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3600X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3600_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3700X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3700_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3800X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3800_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed3900X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED3900_X9_50G" - InternalVnicAttachmentVnicShapeStandardVmFixed4000X950g InternalVnicAttachmentVnicShapeEnum = "STANDARD_VM_FIXED4000_X9_50G" - InternalVnicAttachmentVnicShapeEntirehostX950g InternalVnicAttachmentVnicShapeEnum = "ENTIREHOST_X9_50G" -) - -var mappingInternalVnicAttachmentVnicShapeEnum = map[string]InternalVnicAttachmentVnicShapeEnum{ - "DYNAMIC": InternalVnicAttachmentVnicShapeDynamic, - "FIXED0040": InternalVnicAttachmentVnicShapeFixed0040, - "FIXED0060": InternalVnicAttachmentVnicShapeFixed0060, - "FIXED0060_PSM": InternalVnicAttachmentVnicShapeFixed0060Psm, - "FIXED0100": InternalVnicAttachmentVnicShapeFixed0100, - "FIXED0120": InternalVnicAttachmentVnicShapeFixed0120, - "FIXED0120_2X": InternalVnicAttachmentVnicShapeFixed01202x, - "FIXED0200": InternalVnicAttachmentVnicShapeFixed0200, - "FIXED0240": InternalVnicAttachmentVnicShapeFixed0240, - "FIXED0480": InternalVnicAttachmentVnicShapeFixed0480, - "ENTIREHOST": InternalVnicAttachmentVnicShapeEntirehost, - "DYNAMIC_25G": InternalVnicAttachmentVnicShapeDynamic25g, - "FIXED0040_25G": InternalVnicAttachmentVnicShapeFixed004025g, - "FIXED0100_25G": InternalVnicAttachmentVnicShapeFixed010025g, - "FIXED0200_25G": InternalVnicAttachmentVnicShapeFixed020025g, - "FIXED0400_25G": InternalVnicAttachmentVnicShapeFixed040025g, - "FIXED0800_25G": InternalVnicAttachmentVnicShapeFixed080025g, - "FIXED1600_25G": InternalVnicAttachmentVnicShapeFixed160025g, - "FIXED2400_25G": InternalVnicAttachmentVnicShapeFixed240025g, - "ENTIREHOST_25G": InternalVnicAttachmentVnicShapeEntirehost25g, - "DYNAMIC_E1_25G": InternalVnicAttachmentVnicShapeDynamicE125g, - "FIXED0040_E1_25G": InternalVnicAttachmentVnicShapeFixed0040E125g, - "FIXED0070_E1_25G": InternalVnicAttachmentVnicShapeFixed0070E125g, - "FIXED0140_E1_25G": InternalVnicAttachmentVnicShapeFixed0140E125g, - "FIXED0280_E1_25G": InternalVnicAttachmentVnicShapeFixed0280E125g, - "FIXED0560_E1_25G": InternalVnicAttachmentVnicShapeFixed0560E125g, - "FIXED1120_E1_25G": InternalVnicAttachmentVnicShapeFixed1120E125g, - "FIXED1680_E1_25G": InternalVnicAttachmentVnicShapeFixed1680E125g, - "ENTIREHOST_E1_25G": InternalVnicAttachmentVnicShapeEntirehostE125g, - "DYNAMIC_B1_25G": InternalVnicAttachmentVnicShapeDynamicB125g, - "FIXED0040_B1_25G": InternalVnicAttachmentVnicShapeFixed0040B125g, - "FIXED0060_B1_25G": InternalVnicAttachmentVnicShapeFixed0060B125g, - "FIXED0120_B1_25G": InternalVnicAttachmentVnicShapeFixed0120B125g, - "FIXED0240_B1_25G": InternalVnicAttachmentVnicShapeFixed0240B125g, - "FIXED0480_B1_25G": InternalVnicAttachmentVnicShapeFixed0480B125g, - "FIXED0960_B1_25G": InternalVnicAttachmentVnicShapeFixed0960B125g, - "ENTIREHOST_B1_25G": InternalVnicAttachmentVnicShapeEntirehostB125g, - "MICRO_VM_FIXED0048_E1_25G": InternalVnicAttachmentVnicShapeMicroVmFixed0048E125g, - "MICRO_LB_FIXED0001_E1_25G": InternalVnicAttachmentVnicShapeMicroLbFixed0001E125g, - "VNICAAS_FIXED0200": InternalVnicAttachmentVnicShapeVnicaasFixed0200, - "VNICAAS_FIXED0400": InternalVnicAttachmentVnicShapeVnicaasFixed0400, - "VNICAAS_FIXED0700": InternalVnicAttachmentVnicShapeVnicaasFixed0700, - "VNICAAS_NLB_APPROVED_10G": InternalVnicAttachmentVnicShapeVnicaasNlbApproved10g, - "VNICAAS_NLB_APPROVED_25G": InternalVnicAttachmentVnicShapeVnicaasNlbApproved25g, - "VNICAAS_TELESIS_25G": InternalVnicAttachmentVnicShapeVnicaasTelesis25g, - "VNICAAS_TELESIS_10G": InternalVnicAttachmentVnicShapeVnicaasTelesis10g, - "VNICAAS_AMBASSADOR_FIXED0100": InternalVnicAttachmentVnicShapeVnicaasAmbassadorFixed0100, - "VNICAAS_PRIVATEDNS": InternalVnicAttachmentVnicShapeVnicaasPrivatedns, - "VNICAAS_FWAAS": InternalVnicAttachmentVnicShapeVnicaasFwaas, - "DYNAMIC_E3_50G": InternalVnicAttachmentVnicShapeDynamicE350g, - "FIXED0040_E3_50G": InternalVnicAttachmentVnicShapeFixed0040E350g, - "FIXED0100_E3_50G": InternalVnicAttachmentVnicShapeFixed0100E350g, - "FIXED0200_E3_50G": InternalVnicAttachmentVnicShapeFixed0200E350g, - "FIXED0300_E3_50G": InternalVnicAttachmentVnicShapeFixed0300E350g, - "FIXED0400_E3_50G": InternalVnicAttachmentVnicShapeFixed0400E350g, - "FIXED0500_E3_50G": InternalVnicAttachmentVnicShapeFixed0500E350g, - "FIXED0600_E3_50G": InternalVnicAttachmentVnicShapeFixed0600E350g, - "FIXED0700_E3_50G": InternalVnicAttachmentVnicShapeFixed0700E350g, - "FIXED0800_E3_50G": InternalVnicAttachmentVnicShapeFixed0800E350g, - "FIXED0900_E3_50G": InternalVnicAttachmentVnicShapeFixed0900E350g, - "FIXED1000_E3_50G": InternalVnicAttachmentVnicShapeFixed1000E350g, - "FIXED1100_E3_50G": InternalVnicAttachmentVnicShapeFixed1100E350g, - "FIXED1200_E3_50G": InternalVnicAttachmentVnicShapeFixed1200E350g, - "FIXED1300_E3_50G": InternalVnicAttachmentVnicShapeFixed1300E350g, - "FIXED1400_E3_50G": InternalVnicAttachmentVnicShapeFixed1400E350g, - "FIXED1500_E3_50G": InternalVnicAttachmentVnicShapeFixed1500E350g, - "FIXED1600_E3_50G": InternalVnicAttachmentVnicShapeFixed1600E350g, - "FIXED1700_E3_50G": InternalVnicAttachmentVnicShapeFixed1700E350g, - "FIXED1800_E3_50G": InternalVnicAttachmentVnicShapeFixed1800E350g, - "FIXED1900_E3_50G": InternalVnicAttachmentVnicShapeFixed1900E350g, - "FIXED2000_E3_50G": InternalVnicAttachmentVnicShapeFixed2000E350g, - "FIXED2100_E3_50G": InternalVnicAttachmentVnicShapeFixed2100E350g, - "FIXED2200_E3_50G": InternalVnicAttachmentVnicShapeFixed2200E350g, - "FIXED2300_E3_50G": InternalVnicAttachmentVnicShapeFixed2300E350g, - "FIXED2400_E3_50G": InternalVnicAttachmentVnicShapeFixed2400E350g, - "FIXED2500_E3_50G": InternalVnicAttachmentVnicShapeFixed2500E350g, - "FIXED2600_E3_50G": InternalVnicAttachmentVnicShapeFixed2600E350g, - "FIXED2700_E3_50G": InternalVnicAttachmentVnicShapeFixed2700E350g, - "FIXED2800_E3_50G": InternalVnicAttachmentVnicShapeFixed2800E350g, - "FIXED2900_E3_50G": InternalVnicAttachmentVnicShapeFixed2900E350g, - "FIXED3000_E3_50G": InternalVnicAttachmentVnicShapeFixed3000E350g, - "FIXED3100_E3_50G": InternalVnicAttachmentVnicShapeFixed3100E350g, - "FIXED3200_E3_50G": InternalVnicAttachmentVnicShapeFixed3200E350g, - "FIXED3300_E3_50G": InternalVnicAttachmentVnicShapeFixed3300E350g, - "FIXED3400_E3_50G": InternalVnicAttachmentVnicShapeFixed3400E350g, - "FIXED3500_E3_50G": InternalVnicAttachmentVnicShapeFixed3500E350g, - "FIXED3600_E3_50G": InternalVnicAttachmentVnicShapeFixed3600E350g, - "FIXED3700_E3_50G": InternalVnicAttachmentVnicShapeFixed3700E350g, - "FIXED3800_E3_50G": InternalVnicAttachmentVnicShapeFixed3800E350g, - "FIXED3900_E3_50G": InternalVnicAttachmentVnicShapeFixed3900E350g, - "FIXED4000_E3_50G": InternalVnicAttachmentVnicShapeFixed4000E350g, - "ENTIREHOST_E3_50G": InternalVnicAttachmentVnicShapeEntirehostE350g, - "DYNAMIC_E4_50G": InternalVnicAttachmentVnicShapeDynamicE450g, - "FIXED0040_E4_50G": InternalVnicAttachmentVnicShapeFixed0040E450g, - "FIXED0100_E4_50G": InternalVnicAttachmentVnicShapeFixed0100E450g, - "FIXED0200_E4_50G": InternalVnicAttachmentVnicShapeFixed0200E450g, - "FIXED0300_E4_50G": InternalVnicAttachmentVnicShapeFixed0300E450g, - "FIXED0400_E4_50G": InternalVnicAttachmentVnicShapeFixed0400E450g, - "FIXED0500_E4_50G": InternalVnicAttachmentVnicShapeFixed0500E450g, - "FIXED0600_E4_50G": InternalVnicAttachmentVnicShapeFixed0600E450g, - "FIXED0700_E4_50G": InternalVnicAttachmentVnicShapeFixed0700E450g, - "FIXED0800_E4_50G": InternalVnicAttachmentVnicShapeFixed0800E450g, - "FIXED0900_E4_50G": InternalVnicAttachmentVnicShapeFixed0900E450g, - "FIXED1000_E4_50G": InternalVnicAttachmentVnicShapeFixed1000E450g, - "FIXED1100_E4_50G": InternalVnicAttachmentVnicShapeFixed1100E450g, - "FIXED1200_E4_50G": InternalVnicAttachmentVnicShapeFixed1200E450g, - "FIXED1300_E4_50G": InternalVnicAttachmentVnicShapeFixed1300E450g, - "FIXED1400_E4_50G": InternalVnicAttachmentVnicShapeFixed1400E450g, - "FIXED1500_E4_50G": InternalVnicAttachmentVnicShapeFixed1500E450g, - "FIXED1600_E4_50G": InternalVnicAttachmentVnicShapeFixed1600E450g, - "FIXED1700_E4_50G": InternalVnicAttachmentVnicShapeFixed1700E450g, - "FIXED1800_E4_50G": InternalVnicAttachmentVnicShapeFixed1800E450g, - "FIXED1900_E4_50G": InternalVnicAttachmentVnicShapeFixed1900E450g, - "FIXED2000_E4_50G": InternalVnicAttachmentVnicShapeFixed2000E450g, - "FIXED2100_E4_50G": InternalVnicAttachmentVnicShapeFixed2100E450g, - "FIXED2200_E4_50G": InternalVnicAttachmentVnicShapeFixed2200E450g, - "FIXED2300_E4_50G": InternalVnicAttachmentVnicShapeFixed2300E450g, - "FIXED2400_E4_50G": InternalVnicAttachmentVnicShapeFixed2400E450g, - "FIXED2500_E4_50G": InternalVnicAttachmentVnicShapeFixed2500E450g, - "FIXED2600_E4_50G": InternalVnicAttachmentVnicShapeFixed2600E450g, - "FIXED2700_E4_50G": InternalVnicAttachmentVnicShapeFixed2700E450g, - "FIXED2800_E4_50G": InternalVnicAttachmentVnicShapeFixed2800E450g, - "FIXED2900_E4_50G": InternalVnicAttachmentVnicShapeFixed2900E450g, - "FIXED3000_E4_50G": InternalVnicAttachmentVnicShapeFixed3000E450g, - "FIXED3100_E4_50G": InternalVnicAttachmentVnicShapeFixed3100E450g, - "FIXED3200_E4_50G": InternalVnicAttachmentVnicShapeFixed3200E450g, - "FIXED3300_E4_50G": InternalVnicAttachmentVnicShapeFixed3300E450g, - "FIXED3400_E4_50G": InternalVnicAttachmentVnicShapeFixed3400E450g, - "FIXED3500_E4_50G": InternalVnicAttachmentVnicShapeFixed3500E450g, - "FIXED3600_E4_50G": InternalVnicAttachmentVnicShapeFixed3600E450g, - "FIXED3700_E4_50G": InternalVnicAttachmentVnicShapeFixed3700E450g, - "FIXED3800_E4_50G": InternalVnicAttachmentVnicShapeFixed3800E450g, - "FIXED3900_E4_50G": InternalVnicAttachmentVnicShapeFixed3900E450g, - "FIXED4000_E4_50G": InternalVnicAttachmentVnicShapeFixed4000E450g, - "ENTIREHOST_E4_50G": InternalVnicAttachmentVnicShapeEntirehostE450g, - "MICRO_VM_FIXED0050_E3_50G": InternalVnicAttachmentVnicShapeMicroVmFixed0050E350g, - "SUBCORE_VM_FIXED0025_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0025E350g, - "SUBCORE_VM_FIXED0050_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0050E350g, - "SUBCORE_VM_FIXED0075_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0075E350g, - "SUBCORE_VM_FIXED0100_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0100E350g, - "SUBCORE_VM_FIXED0125_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0125E350g, - "SUBCORE_VM_FIXED0150_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0150E350g, - "SUBCORE_VM_FIXED0175_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0175E350g, - "SUBCORE_VM_FIXED0200_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0200E350g, - "SUBCORE_VM_FIXED0225_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0225E350g, - "SUBCORE_VM_FIXED0250_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0250E350g, - "SUBCORE_VM_FIXED0275_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0275E350g, - "SUBCORE_VM_FIXED0300_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0300E350g, - "SUBCORE_VM_FIXED0325_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0325E350g, - "SUBCORE_VM_FIXED0350_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0350E350g, - "SUBCORE_VM_FIXED0375_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0375E350g, - "SUBCORE_VM_FIXED0400_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0400E350g, - "SUBCORE_VM_FIXED0425_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0425E350g, - "SUBCORE_VM_FIXED0450_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0450E350g, - "SUBCORE_VM_FIXED0475_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0475E350g, - "SUBCORE_VM_FIXED0500_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0500E350g, - "SUBCORE_VM_FIXED0525_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0525E350g, - "SUBCORE_VM_FIXED0550_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0550E350g, - "SUBCORE_VM_FIXED0575_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0575E350g, - "SUBCORE_VM_FIXED0600_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0600E350g, - "SUBCORE_VM_FIXED0625_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0625E350g, - "SUBCORE_VM_FIXED0650_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0650E350g, - "SUBCORE_VM_FIXED0675_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0675E350g, - "SUBCORE_VM_FIXED0700_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0700E350g, - "SUBCORE_VM_FIXED0725_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0725E350g, - "SUBCORE_VM_FIXED0750_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0750E350g, - "SUBCORE_VM_FIXED0775_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0775E350g, - "SUBCORE_VM_FIXED0800_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0800E350g, - "SUBCORE_VM_FIXED0825_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0825E350g, - "SUBCORE_VM_FIXED0850_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0850E350g, - "SUBCORE_VM_FIXED0875_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0875E350g, - "SUBCORE_VM_FIXED0900_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0900E350g, - "SUBCORE_VM_FIXED0925_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0925E350g, - "SUBCORE_VM_FIXED0950_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0950E350g, - "SUBCORE_VM_FIXED0975_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0975E350g, - "SUBCORE_VM_FIXED1000_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1000E350g, - "SUBCORE_VM_FIXED1025_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1025E350g, - "SUBCORE_VM_FIXED1050_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1050E350g, - "SUBCORE_VM_FIXED1075_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1075E350g, - "SUBCORE_VM_FIXED1100_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1100E350g, - "SUBCORE_VM_FIXED1125_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1125E350g, - "SUBCORE_VM_FIXED1150_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1150E350g, - "SUBCORE_VM_FIXED1175_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1175E350g, - "SUBCORE_VM_FIXED1200_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1200E350g, - "SUBCORE_VM_FIXED1225_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1225E350g, - "SUBCORE_VM_FIXED1250_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1250E350g, - "SUBCORE_VM_FIXED1275_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1275E350g, - "SUBCORE_VM_FIXED1300_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1300E350g, - "SUBCORE_VM_FIXED1325_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1325E350g, - "SUBCORE_VM_FIXED1350_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1350E350g, - "SUBCORE_VM_FIXED1375_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1375E350g, - "SUBCORE_VM_FIXED1400_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1400E350g, - "SUBCORE_VM_FIXED1425_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1425E350g, - "SUBCORE_VM_FIXED1450_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1450E350g, - "SUBCORE_VM_FIXED1475_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1475E350g, - "SUBCORE_VM_FIXED1500_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1500E350g, - "SUBCORE_VM_FIXED1525_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1525E350g, - "SUBCORE_VM_FIXED1550_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1550E350g, - "SUBCORE_VM_FIXED1575_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1575E350g, - "SUBCORE_VM_FIXED1600_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1600E350g, - "SUBCORE_VM_FIXED1625_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1625E350g, - "SUBCORE_VM_FIXED1650_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1650E350g, - "SUBCORE_VM_FIXED1700_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1700E350g, - "SUBCORE_VM_FIXED1725_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1725E350g, - "SUBCORE_VM_FIXED1750_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1750E350g, - "SUBCORE_VM_FIXED1800_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1800E350g, - "SUBCORE_VM_FIXED1850_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1850E350g, - "SUBCORE_VM_FIXED1875_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1875E350g, - "SUBCORE_VM_FIXED1900_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1900E350g, - "SUBCORE_VM_FIXED1925_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1925E350g, - "SUBCORE_VM_FIXED1950_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1950E350g, - "SUBCORE_VM_FIXED2000_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2000E350g, - "SUBCORE_VM_FIXED2025_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2025E350g, - "SUBCORE_VM_FIXED2050_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2050E350g, - "SUBCORE_VM_FIXED2100_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2100E350g, - "SUBCORE_VM_FIXED2125_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2125E350g, - "SUBCORE_VM_FIXED2150_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2150E350g, - "SUBCORE_VM_FIXED2175_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2175E350g, - "SUBCORE_VM_FIXED2200_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2200E350g, - "SUBCORE_VM_FIXED2250_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2250E350g, - "SUBCORE_VM_FIXED2275_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2275E350g, - "SUBCORE_VM_FIXED2300_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2300E350g, - "SUBCORE_VM_FIXED2325_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2325E350g, - "SUBCORE_VM_FIXED2350_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2350E350g, - "SUBCORE_VM_FIXED2375_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2375E350g, - "SUBCORE_VM_FIXED2400_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2400E350g, - "SUBCORE_VM_FIXED2450_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2450E350g, - "SUBCORE_VM_FIXED2475_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2475E350g, - "SUBCORE_VM_FIXED2500_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2500E350g, - "SUBCORE_VM_FIXED2550_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2550E350g, - "SUBCORE_VM_FIXED2600_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2600E350g, - "SUBCORE_VM_FIXED2625_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2625E350g, - "SUBCORE_VM_FIXED2650_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2650E350g, - "SUBCORE_VM_FIXED2700_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2700E350g, - "SUBCORE_VM_FIXED2750_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2750E350g, - "SUBCORE_VM_FIXED2775_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2775E350g, - "SUBCORE_VM_FIXED2800_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2800E350g, - "SUBCORE_VM_FIXED2850_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2850E350g, - "SUBCORE_VM_FIXED2875_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2875E350g, - "SUBCORE_VM_FIXED2900_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2900E350g, - "SUBCORE_VM_FIXED2925_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2925E350g, - "SUBCORE_VM_FIXED2950_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2950E350g, - "SUBCORE_VM_FIXED2975_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2975E350g, - "SUBCORE_VM_FIXED3000_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3000E350g, - "SUBCORE_VM_FIXED3025_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3025E350g, - "SUBCORE_VM_FIXED3050_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3050E350g, - "SUBCORE_VM_FIXED3075_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3075E350g, - "SUBCORE_VM_FIXED3100_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3100E350g, - "SUBCORE_VM_FIXED3125_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3125E350g, - "SUBCORE_VM_FIXED3150_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3150E350g, - "SUBCORE_VM_FIXED3200_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3200E350g, - "SUBCORE_VM_FIXED3225_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3225E350g, - "SUBCORE_VM_FIXED3250_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3250E350g, - "SUBCORE_VM_FIXED3300_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3300E350g, - "SUBCORE_VM_FIXED3325_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3325E350g, - "SUBCORE_VM_FIXED3375_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3375E350g, - "SUBCORE_VM_FIXED3400_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3400E350g, - "SUBCORE_VM_FIXED3450_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3450E350g, - "SUBCORE_VM_FIXED3500_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3500E350g, - "SUBCORE_VM_FIXED3525_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3525E350g, - "SUBCORE_VM_FIXED3575_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3575E350g, - "SUBCORE_VM_FIXED3600_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3600E350g, - "SUBCORE_VM_FIXED3625_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3625E350g, - "SUBCORE_VM_FIXED3675_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3675E350g, - "SUBCORE_VM_FIXED3700_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3700E350g, - "SUBCORE_VM_FIXED3750_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3750E350g, - "SUBCORE_VM_FIXED3800_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3800E350g, - "SUBCORE_VM_FIXED3825_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3825E350g, - "SUBCORE_VM_FIXED3850_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3850E350g, - "SUBCORE_VM_FIXED3875_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3875E350g, - "SUBCORE_VM_FIXED3900_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3900E350g, - "SUBCORE_VM_FIXED3975_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3975E350g, - "SUBCORE_VM_FIXED4000_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4000E350g, - "SUBCORE_VM_FIXED4025_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4025E350g, - "SUBCORE_VM_FIXED4050_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4050E350g, - "SUBCORE_VM_FIXED4100_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4100E350g, - "SUBCORE_VM_FIXED4125_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4125E350g, - "SUBCORE_VM_FIXED4200_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4200E350g, - "SUBCORE_VM_FIXED4225_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4225E350g, - "SUBCORE_VM_FIXED4250_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4250E350g, - "SUBCORE_VM_FIXED4275_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4275E350g, - "SUBCORE_VM_FIXED4300_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4300E350g, - "SUBCORE_VM_FIXED4350_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4350E350g, - "SUBCORE_VM_FIXED4375_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4375E350g, - "SUBCORE_VM_FIXED4400_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4400E350g, - "SUBCORE_VM_FIXED4425_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4425E350g, - "SUBCORE_VM_FIXED4500_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4500E350g, - "SUBCORE_VM_FIXED4550_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4550E350g, - "SUBCORE_VM_FIXED4575_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4575E350g, - "SUBCORE_VM_FIXED4600_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4600E350g, - "SUBCORE_VM_FIXED4625_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4625E350g, - "SUBCORE_VM_FIXED4650_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4650E350g, - "SUBCORE_VM_FIXED4675_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4675E350g, - "SUBCORE_VM_FIXED4700_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4700E350g, - "SUBCORE_VM_FIXED4725_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4725E350g, - "SUBCORE_VM_FIXED4750_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4750E350g, - "SUBCORE_VM_FIXED4800_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4800E350g, - "SUBCORE_VM_FIXED4875_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4875E350g, - "SUBCORE_VM_FIXED4900_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4900E350g, - "SUBCORE_VM_FIXED4950_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4950E350g, - "SUBCORE_VM_FIXED5000_E3_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed5000E350g, - "SUBCORE_VM_FIXED0025_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0025E450g, - "SUBCORE_VM_FIXED0050_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0050E450g, - "SUBCORE_VM_FIXED0075_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0075E450g, - "SUBCORE_VM_FIXED0100_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0100E450g, - "SUBCORE_VM_FIXED0125_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0125E450g, - "SUBCORE_VM_FIXED0150_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0150E450g, - "SUBCORE_VM_FIXED0175_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0175E450g, - "SUBCORE_VM_FIXED0200_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0200E450g, - "SUBCORE_VM_FIXED0225_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0225E450g, - "SUBCORE_VM_FIXED0250_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0250E450g, - "SUBCORE_VM_FIXED0275_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0275E450g, - "SUBCORE_VM_FIXED0300_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0300E450g, - "SUBCORE_VM_FIXED0325_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0325E450g, - "SUBCORE_VM_FIXED0350_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0350E450g, - "SUBCORE_VM_FIXED0375_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0375E450g, - "SUBCORE_VM_FIXED0400_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0400E450g, - "SUBCORE_VM_FIXED0425_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0425E450g, - "SUBCORE_VM_FIXED0450_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0450E450g, - "SUBCORE_VM_FIXED0475_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0475E450g, - "SUBCORE_VM_FIXED0500_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0500E450g, - "SUBCORE_VM_FIXED0525_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0525E450g, - "SUBCORE_VM_FIXED0550_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0550E450g, - "SUBCORE_VM_FIXED0575_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0575E450g, - "SUBCORE_VM_FIXED0600_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0600E450g, - "SUBCORE_VM_FIXED0625_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0625E450g, - "SUBCORE_VM_FIXED0650_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0650E450g, - "SUBCORE_VM_FIXED0675_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0675E450g, - "SUBCORE_VM_FIXED0700_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0700E450g, - "SUBCORE_VM_FIXED0725_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0725E450g, - "SUBCORE_VM_FIXED0750_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0750E450g, - "SUBCORE_VM_FIXED0775_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0775E450g, - "SUBCORE_VM_FIXED0800_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0800E450g, - "SUBCORE_VM_FIXED0825_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0825E450g, - "SUBCORE_VM_FIXED0850_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0850E450g, - "SUBCORE_VM_FIXED0875_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0875E450g, - "SUBCORE_VM_FIXED0900_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0900E450g, - "SUBCORE_VM_FIXED0925_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0925E450g, - "SUBCORE_VM_FIXED0950_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0950E450g, - "SUBCORE_VM_FIXED0975_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0975E450g, - "SUBCORE_VM_FIXED1000_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1000E450g, - "SUBCORE_VM_FIXED1025_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1025E450g, - "SUBCORE_VM_FIXED1050_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1050E450g, - "SUBCORE_VM_FIXED1075_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1075E450g, - "SUBCORE_VM_FIXED1100_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1100E450g, - "SUBCORE_VM_FIXED1125_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1125E450g, - "SUBCORE_VM_FIXED1150_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1150E450g, - "SUBCORE_VM_FIXED1175_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1175E450g, - "SUBCORE_VM_FIXED1200_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1200E450g, - "SUBCORE_VM_FIXED1225_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1225E450g, - "SUBCORE_VM_FIXED1250_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1250E450g, - "SUBCORE_VM_FIXED1275_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1275E450g, - "SUBCORE_VM_FIXED1300_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1300E450g, - "SUBCORE_VM_FIXED1325_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1325E450g, - "SUBCORE_VM_FIXED1350_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1350E450g, - "SUBCORE_VM_FIXED1375_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1375E450g, - "SUBCORE_VM_FIXED1400_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1400E450g, - "SUBCORE_VM_FIXED1425_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1425E450g, - "SUBCORE_VM_FIXED1450_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1450E450g, - "SUBCORE_VM_FIXED1475_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1475E450g, - "SUBCORE_VM_FIXED1500_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1500E450g, - "SUBCORE_VM_FIXED1525_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1525E450g, - "SUBCORE_VM_FIXED1550_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1550E450g, - "SUBCORE_VM_FIXED1575_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1575E450g, - "SUBCORE_VM_FIXED1600_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1600E450g, - "SUBCORE_VM_FIXED1625_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1625E450g, - "SUBCORE_VM_FIXED1650_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1650E450g, - "SUBCORE_VM_FIXED1700_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1700E450g, - "SUBCORE_VM_FIXED1725_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1725E450g, - "SUBCORE_VM_FIXED1750_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1750E450g, - "SUBCORE_VM_FIXED1800_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1800E450g, - "SUBCORE_VM_FIXED1850_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1850E450g, - "SUBCORE_VM_FIXED1875_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1875E450g, - "SUBCORE_VM_FIXED1900_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1900E450g, - "SUBCORE_VM_FIXED1925_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1925E450g, - "SUBCORE_VM_FIXED1950_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1950E450g, - "SUBCORE_VM_FIXED2000_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2000E450g, - "SUBCORE_VM_FIXED2025_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2025E450g, - "SUBCORE_VM_FIXED2050_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2050E450g, - "SUBCORE_VM_FIXED2100_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2100E450g, - "SUBCORE_VM_FIXED2125_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2125E450g, - "SUBCORE_VM_FIXED2150_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2150E450g, - "SUBCORE_VM_FIXED2175_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2175E450g, - "SUBCORE_VM_FIXED2200_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2200E450g, - "SUBCORE_VM_FIXED2250_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2250E450g, - "SUBCORE_VM_FIXED2275_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2275E450g, - "SUBCORE_VM_FIXED2300_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2300E450g, - "SUBCORE_VM_FIXED2325_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2325E450g, - "SUBCORE_VM_FIXED2350_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2350E450g, - "SUBCORE_VM_FIXED2375_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2375E450g, - "SUBCORE_VM_FIXED2400_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2400E450g, - "SUBCORE_VM_FIXED2450_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2450E450g, - "SUBCORE_VM_FIXED2475_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2475E450g, - "SUBCORE_VM_FIXED2500_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2500E450g, - "SUBCORE_VM_FIXED2550_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2550E450g, - "SUBCORE_VM_FIXED2600_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2600E450g, - "SUBCORE_VM_FIXED2625_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2625E450g, - "SUBCORE_VM_FIXED2650_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2650E450g, - "SUBCORE_VM_FIXED2700_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2700E450g, - "SUBCORE_VM_FIXED2750_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2750E450g, - "SUBCORE_VM_FIXED2775_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2775E450g, - "SUBCORE_VM_FIXED2800_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2800E450g, - "SUBCORE_VM_FIXED2850_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2850E450g, - "SUBCORE_VM_FIXED2875_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2875E450g, - "SUBCORE_VM_FIXED2900_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2900E450g, - "SUBCORE_VM_FIXED2925_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2925E450g, - "SUBCORE_VM_FIXED2950_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2950E450g, - "SUBCORE_VM_FIXED2975_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2975E450g, - "SUBCORE_VM_FIXED3000_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3000E450g, - "SUBCORE_VM_FIXED3025_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3025E450g, - "SUBCORE_VM_FIXED3050_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3050E450g, - "SUBCORE_VM_FIXED3075_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3075E450g, - "SUBCORE_VM_FIXED3100_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3100E450g, - "SUBCORE_VM_FIXED3125_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3125E450g, - "SUBCORE_VM_FIXED3150_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3150E450g, - "SUBCORE_VM_FIXED3200_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3200E450g, - "SUBCORE_VM_FIXED3225_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3225E450g, - "SUBCORE_VM_FIXED3250_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3250E450g, - "SUBCORE_VM_FIXED3300_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3300E450g, - "SUBCORE_VM_FIXED3325_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3325E450g, - "SUBCORE_VM_FIXED3375_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3375E450g, - "SUBCORE_VM_FIXED3400_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3400E450g, - "SUBCORE_VM_FIXED3450_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3450E450g, - "SUBCORE_VM_FIXED3500_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3500E450g, - "SUBCORE_VM_FIXED3525_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3525E450g, - "SUBCORE_VM_FIXED3575_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3575E450g, - "SUBCORE_VM_FIXED3600_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3600E450g, - "SUBCORE_VM_FIXED3625_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3625E450g, - "SUBCORE_VM_FIXED3675_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3675E450g, - "SUBCORE_VM_FIXED3700_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3700E450g, - "SUBCORE_VM_FIXED3750_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3750E450g, - "SUBCORE_VM_FIXED3800_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3800E450g, - "SUBCORE_VM_FIXED3825_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3825E450g, - "SUBCORE_VM_FIXED3850_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3850E450g, - "SUBCORE_VM_FIXED3875_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3875E450g, - "SUBCORE_VM_FIXED3900_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3900E450g, - "SUBCORE_VM_FIXED3975_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3975E450g, - "SUBCORE_VM_FIXED4000_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4000E450g, - "SUBCORE_VM_FIXED4025_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4025E450g, - "SUBCORE_VM_FIXED4050_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4050E450g, - "SUBCORE_VM_FIXED4100_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4100E450g, - "SUBCORE_VM_FIXED4125_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4125E450g, - "SUBCORE_VM_FIXED4200_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4200E450g, - "SUBCORE_VM_FIXED4225_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4225E450g, - "SUBCORE_VM_FIXED4250_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4250E450g, - "SUBCORE_VM_FIXED4275_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4275E450g, - "SUBCORE_VM_FIXED4300_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4300E450g, - "SUBCORE_VM_FIXED4350_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4350E450g, - "SUBCORE_VM_FIXED4375_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4375E450g, - "SUBCORE_VM_FIXED4400_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4400E450g, - "SUBCORE_VM_FIXED4425_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4425E450g, - "SUBCORE_VM_FIXED4500_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4500E450g, - "SUBCORE_VM_FIXED4550_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4550E450g, - "SUBCORE_VM_FIXED4575_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4575E450g, - "SUBCORE_VM_FIXED4600_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4600E450g, - "SUBCORE_VM_FIXED4625_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4625E450g, - "SUBCORE_VM_FIXED4650_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4650E450g, - "SUBCORE_VM_FIXED4675_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4675E450g, - "SUBCORE_VM_FIXED4700_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4700E450g, - "SUBCORE_VM_FIXED4725_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4725E450g, - "SUBCORE_VM_FIXED4750_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4750E450g, - "SUBCORE_VM_FIXED4800_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4800E450g, - "SUBCORE_VM_FIXED4875_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4875E450g, - "SUBCORE_VM_FIXED4900_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4900E450g, - "SUBCORE_VM_FIXED4950_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4950E450g, - "SUBCORE_VM_FIXED5000_E4_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed5000E450g, - "SUBCORE_VM_FIXED0020_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0020A150g, - "SUBCORE_VM_FIXED0040_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0040A150g, - "SUBCORE_VM_FIXED0060_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0060A150g, - "SUBCORE_VM_FIXED0080_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0080A150g, - "SUBCORE_VM_FIXED0100_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0100A150g, - "SUBCORE_VM_FIXED0120_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0120A150g, - "SUBCORE_VM_FIXED0140_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0140A150g, - "SUBCORE_VM_FIXED0160_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0160A150g, - "SUBCORE_VM_FIXED0180_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0180A150g, - "SUBCORE_VM_FIXED0200_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0200A150g, - "SUBCORE_VM_FIXED0220_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0220A150g, - "SUBCORE_VM_FIXED0240_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0240A150g, - "SUBCORE_VM_FIXED0260_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0260A150g, - "SUBCORE_VM_FIXED0280_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0280A150g, - "SUBCORE_VM_FIXED0300_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0300A150g, - "SUBCORE_VM_FIXED0320_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0320A150g, - "SUBCORE_VM_FIXED0340_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0340A150g, - "SUBCORE_VM_FIXED0360_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0360A150g, - "SUBCORE_VM_FIXED0380_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0380A150g, - "SUBCORE_VM_FIXED0400_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0400A150g, - "SUBCORE_VM_FIXED0420_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0420A150g, - "SUBCORE_VM_FIXED0440_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0440A150g, - "SUBCORE_VM_FIXED0460_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0460A150g, - "SUBCORE_VM_FIXED0480_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0480A150g, - "SUBCORE_VM_FIXED0500_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0500A150g, - "SUBCORE_VM_FIXED0520_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0520A150g, - "SUBCORE_VM_FIXED0540_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0540A150g, - "SUBCORE_VM_FIXED0560_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0560A150g, - "SUBCORE_VM_FIXED0580_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0580A150g, - "SUBCORE_VM_FIXED0600_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0600A150g, - "SUBCORE_VM_FIXED0620_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0620A150g, - "SUBCORE_VM_FIXED0640_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0640A150g, - "SUBCORE_VM_FIXED0660_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0660A150g, - "SUBCORE_VM_FIXED0680_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0680A150g, - "SUBCORE_VM_FIXED0700_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0700A150g, - "SUBCORE_VM_FIXED0720_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0720A150g, - "SUBCORE_VM_FIXED0740_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0740A150g, - "SUBCORE_VM_FIXED0760_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0760A150g, - "SUBCORE_VM_FIXED0780_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0780A150g, - "SUBCORE_VM_FIXED0800_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0800A150g, - "SUBCORE_VM_FIXED0820_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0820A150g, - "SUBCORE_VM_FIXED0840_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0840A150g, - "SUBCORE_VM_FIXED0860_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0860A150g, - "SUBCORE_VM_FIXED0880_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0880A150g, - "SUBCORE_VM_FIXED0900_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0900A150g, - "SUBCORE_VM_FIXED0920_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0920A150g, - "SUBCORE_VM_FIXED0940_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0940A150g, - "SUBCORE_VM_FIXED0960_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0960A150g, - "SUBCORE_VM_FIXED0980_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0980A150g, - "SUBCORE_VM_FIXED1000_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1000A150g, - "SUBCORE_VM_FIXED1020_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1020A150g, - "SUBCORE_VM_FIXED1040_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1040A150g, - "SUBCORE_VM_FIXED1060_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1060A150g, - "SUBCORE_VM_FIXED1080_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1080A150g, - "SUBCORE_VM_FIXED1100_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1100A150g, - "SUBCORE_VM_FIXED1120_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1120A150g, - "SUBCORE_VM_FIXED1140_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1140A150g, - "SUBCORE_VM_FIXED1160_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1160A150g, - "SUBCORE_VM_FIXED1180_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1180A150g, - "SUBCORE_VM_FIXED1200_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1200A150g, - "SUBCORE_VM_FIXED1220_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1220A150g, - "SUBCORE_VM_FIXED1240_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1240A150g, - "SUBCORE_VM_FIXED1260_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1260A150g, - "SUBCORE_VM_FIXED1280_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1280A150g, - "SUBCORE_VM_FIXED1300_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1300A150g, - "SUBCORE_VM_FIXED1320_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1320A150g, - "SUBCORE_VM_FIXED1340_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1340A150g, - "SUBCORE_VM_FIXED1360_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1360A150g, - "SUBCORE_VM_FIXED1380_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1380A150g, - "SUBCORE_VM_FIXED1400_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1400A150g, - "SUBCORE_VM_FIXED1420_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1420A150g, - "SUBCORE_VM_FIXED1440_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1440A150g, - "SUBCORE_VM_FIXED1460_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1460A150g, - "SUBCORE_VM_FIXED1480_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1480A150g, - "SUBCORE_VM_FIXED1500_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1500A150g, - "SUBCORE_VM_FIXED1520_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1520A150g, - "SUBCORE_VM_FIXED1540_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1540A150g, - "SUBCORE_VM_FIXED1560_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1560A150g, - "SUBCORE_VM_FIXED1580_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1580A150g, - "SUBCORE_VM_FIXED1600_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1600A150g, - "SUBCORE_VM_FIXED1620_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1620A150g, - "SUBCORE_VM_FIXED1640_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1640A150g, - "SUBCORE_VM_FIXED1660_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1660A150g, - "SUBCORE_VM_FIXED1680_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1680A150g, - "SUBCORE_VM_FIXED1700_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1700A150g, - "SUBCORE_VM_FIXED1720_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1720A150g, - "SUBCORE_VM_FIXED1740_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1740A150g, - "SUBCORE_VM_FIXED1760_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1760A150g, - "SUBCORE_VM_FIXED1780_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1780A150g, - "SUBCORE_VM_FIXED1800_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1800A150g, - "SUBCORE_VM_FIXED1820_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1820A150g, - "SUBCORE_VM_FIXED1840_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1840A150g, - "SUBCORE_VM_FIXED1860_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1860A150g, - "SUBCORE_VM_FIXED1880_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1880A150g, - "SUBCORE_VM_FIXED1900_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1900A150g, - "SUBCORE_VM_FIXED1920_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1920A150g, - "SUBCORE_VM_FIXED1940_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1940A150g, - "SUBCORE_VM_FIXED1960_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1960A150g, - "SUBCORE_VM_FIXED1980_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1980A150g, - "SUBCORE_VM_FIXED2000_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2000A150g, - "SUBCORE_VM_FIXED2020_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2020A150g, - "SUBCORE_VM_FIXED2040_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2040A150g, - "SUBCORE_VM_FIXED2060_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2060A150g, - "SUBCORE_VM_FIXED2080_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2080A150g, - "SUBCORE_VM_FIXED2100_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2100A150g, - "SUBCORE_VM_FIXED2120_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2120A150g, - "SUBCORE_VM_FIXED2140_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2140A150g, - "SUBCORE_VM_FIXED2160_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2160A150g, - "SUBCORE_VM_FIXED2180_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2180A150g, - "SUBCORE_VM_FIXED2200_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2200A150g, - "SUBCORE_VM_FIXED2220_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2220A150g, - "SUBCORE_VM_FIXED2240_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2240A150g, - "SUBCORE_VM_FIXED2260_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2260A150g, - "SUBCORE_VM_FIXED2280_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2280A150g, - "SUBCORE_VM_FIXED2300_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2300A150g, - "SUBCORE_VM_FIXED2320_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2320A150g, - "SUBCORE_VM_FIXED2340_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2340A150g, - "SUBCORE_VM_FIXED2360_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2360A150g, - "SUBCORE_VM_FIXED2380_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2380A150g, - "SUBCORE_VM_FIXED2400_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2400A150g, - "SUBCORE_VM_FIXED2420_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2420A150g, - "SUBCORE_VM_FIXED2440_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2440A150g, - "SUBCORE_VM_FIXED2460_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2460A150g, - "SUBCORE_VM_FIXED2480_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2480A150g, - "SUBCORE_VM_FIXED2500_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2500A150g, - "SUBCORE_VM_FIXED2520_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2520A150g, - "SUBCORE_VM_FIXED2540_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2540A150g, - "SUBCORE_VM_FIXED2560_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2560A150g, - "SUBCORE_VM_FIXED2580_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2580A150g, - "SUBCORE_VM_FIXED2600_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2600A150g, - "SUBCORE_VM_FIXED2620_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2620A150g, - "SUBCORE_VM_FIXED2640_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2640A150g, - "SUBCORE_VM_FIXED2660_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2660A150g, - "SUBCORE_VM_FIXED2680_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2680A150g, - "SUBCORE_VM_FIXED2700_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2700A150g, - "SUBCORE_VM_FIXED2720_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2720A150g, - "SUBCORE_VM_FIXED2740_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2740A150g, - "SUBCORE_VM_FIXED2760_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2760A150g, - "SUBCORE_VM_FIXED2780_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2780A150g, - "SUBCORE_VM_FIXED2800_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2800A150g, - "SUBCORE_VM_FIXED2820_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2820A150g, - "SUBCORE_VM_FIXED2840_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2840A150g, - "SUBCORE_VM_FIXED2860_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2860A150g, - "SUBCORE_VM_FIXED2880_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2880A150g, - "SUBCORE_VM_FIXED2900_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2900A150g, - "SUBCORE_VM_FIXED2920_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2920A150g, - "SUBCORE_VM_FIXED2940_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2940A150g, - "SUBCORE_VM_FIXED2960_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2960A150g, - "SUBCORE_VM_FIXED2980_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2980A150g, - "SUBCORE_VM_FIXED3000_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3000A150g, - "SUBCORE_VM_FIXED3020_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3020A150g, - "SUBCORE_VM_FIXED3040_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3040A150g, - "SUBCORE_VM_FIXED3060_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3060A150g, - "SUBCORE_VM_FIXED3080_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3080A150g, - "SUBCORE_VM_FIXED3100_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3100A150g, - "SUBCORE_VM_FIXED3120_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3120A150g, - "SUBCORE_VM_FIXED3140_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3140A150g, - "SUBCORE_VM_FIXED3160_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3160A150g, - "SUBCORE_VM_FIXED3180_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3180A150g, - "SUBCORE_VM_FIXED3200_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3200A150g, - "SUBCORE_VM_FIXED3220_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3220A150g, - "SUBCORE_VM_FIXED3240_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3240A150g, - "SUBCORE_VM_FIXED3260_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3260A150g, - "SUBCORE_VM_FIXED3280_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3280A150g, - "SUBCORE_VM_FIXED3300_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3300A150g, - "SUBCORE_VM_FIXED3320_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3320A150g, - "SUBCORE_VM_FIXED3340_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3340A150g, - "SUBCORE_VM_FIXED3360_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3360A150g, - "SUBCORE_VM_FIXED3380_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3380A150g, - "SUBCORE_VM_FIXED3400_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3400A150g, - "SUBCORE_VM_FIXED3420_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3420A150g, - "SUBCORE_VM_FIXED3440_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3440A150g, - "SUBCORE_VM_FIXED3460_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3460A150g, - "SUBCORE_VM_FIXED3480_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3480A150g, - "SUBCORE_VM_FIXED3500_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3500A150g, - "SUBCORE_VM_FIXED3520_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3520A150g, - "SUBCORE_VM_FIXED3540_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3540A150g, - "SUBCORE_VM_FIXED3560_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3560A150g, - "SUBCORE_VM_FIXED3580_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3580A150g, - "SUBCORE_VM_FIXED3600_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3600A150g, - "SUBCORE_VM_FIXED3620_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3620A150g, - "SUBCORE_VM_FIXED3640_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3640A150g, - "SUBCORE_VM_FIXED3660_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3660A150g, - "SUBCORE_VM_FIXED3680_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3680A150g, - "SUBCORE_VM_FIXED3700_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3700A150g, - "SUBCORE_VM_FIXED3720_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3720A150g, - "SUBCORE_VM_FIXED3740_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3740A150g, - "SUBCORE_VM_FIXED3760_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3760A150g, - "SUBCORE_VM_FIXED3780_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3780A150g, - "SUBCORE_VM_FIXED3800_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3800A150g, - "SUBCORE_VM_FIXED3820_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3820A150g, - "SUBCORE_VM_FIXED3840_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3840A150g, - "SUBCORE_VM_FIXED3860_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3860A150g, - "SUBCORE_VM_FIXED3880_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3880A150g, - "SUBCORE_VM_FIXED3900_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3900A150g, - "SUBCORE_VM_FIXED3920_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3920A150g, - "SUBCORE_VM_FIXED3940_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3940A150g, - "SUBCORE_VM_FIXED3960_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3960A150g, - "SUBCORE_VM_FIXED3980_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3980A150g, - "SUBCORE_VM_FIXED4000_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4000A150g, - "SUBCORE_VM_FIXED4020_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4020A150g, - "SUBCORE_VM_FIXED4040_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4040A150g, - "SUBCORE_VM_FIXED4060_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4060A150g, - "SUBCORE_VM_FIXED4080_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4080A150g, - "SUBCORE_VM_FIXED4100_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4100A150g, - "SUBCORE_VM_FIXED4120_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4120A150g, - "SUBCORE_VM_FIXED4140_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4140A150g, - "SUBCORE_VM_FIXED4160_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4160A150g, - "SUBCORE_VM_FIXED4180_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4180A150g, - "SUBCORE_VM_FIXED4200_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4200A150g, - "SUBCORE_VM_FIXED4220_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4220A150g, - "SUBCORE_VM_FIXED4240_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4240A150g, - "SUBCORE_VM_FIXED4260_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4260A150g, - "SUBCORE_VM_FIXED4280_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4280A150g, - "SUBCORE_VM_FIXED4300_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4300A150g, - "SUBCORE_VM_FIXED4320_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4320A150g, - "SUBCORE_VM_FIXED4340_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4340A150g, - "SUBCORE_VM_FIXED4360_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4360A150g, - "SUBCORE_VM_FIXED4380_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4380A150g, - "SUBCORE_VM_FIXED4400_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4400A150g, - "SUBCORE_VM_FIXED4420_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4420A150g, - "SUBCORE_VM_FIXED4440_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4440A150g, - "SUBCORE_VM_FIXED4460_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4460A150g, - "SUBCORE_VM_FIXED4480_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4480A150g, - "SUBCORE_VM_FIXED4500_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4500A150g, - "SUBCORE_VM_FIXED4520_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4520A150g, - "SUBCORE_VM_FIXED4540_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4540A150g, - "SUBCORE_VM_FIXED4560_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4560A150g, - "SUBCORE_VM_FIXED4580_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4580A150g, - "SUBCORE_VM_FIXED4600_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4600A150g, - "SUBCORE_VM_FIXED4620_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4620A150g, - "SUBCORE_VM_FIXED4640_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4640A150g, - "SUBCORE_VM_FIXED4660_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4660A150g, - "SUBCORE_VM_FIXED4680_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4680A150g, - "SUBCORE_VM_FIXED4700_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4700A150g, - "SUBCORE_VM_FIXED4720_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4720A150g, - "SUBCORE_VM_FIXED4740_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4740A150g, - "SUBCORE_VM_FIXED4760_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4760A150g, - "SUBCORE_VM_FIXED4780_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4780A150g, - "SUBCORE_VM_FIXED4800_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4800A150g, - "SUBCORE_VM_FIXED4820_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4820A150g, - "SUBCORE_VM_FIXED4840_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4840A150g, - "SUBCORE_VM_FIXED4860_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4860A150g, - "SUBCORE_VM_FIXED4880_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4880A150g, - "SUBCORE_VM_FIXED4900_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4900A150g, - "SUBCORE_VM_FIXED4920_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4920A150g, - "SUBCORE_VM_FIXED4940_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4940A150g, - "SUBCORE_VM_FIXED4960_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4960A150g, - "SUBCORE_VM_FIXED4980_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4980A150g, - "SUBCORE_VM_FIXED5000_A1_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed5000A150g, - "SUBCORE_VM_FIXED0090_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0090X950g, - "SUBCORE_VM_FIXED0180_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0180X950g, - "SUBCORE_VM_FIXED0270_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0270X950g, - "SUBCORE_VM_FIXED0360_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0360X950g, - "SUBCORE_VM_FIXED0450_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0450X950g, - "SUBCORE_VM_FIXED0540_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0540X950g, - "SUBCORE_VM_FIXED0630_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0630X950g, - "SUBCORE_VM_FIXED0720_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0720X950g, - "SUBCORE_VM_FIXED0810_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0810X950g, - "SUBCORE_VM_FIXED0900_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0900X950g, - "SUBCORE_VM_FIXED0990_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed0990X950g, - "SUBCORE_VM_FIXED1080_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1080X950g, - "SUBCORE_VM_FIXED1170_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1170X950g, - "SUBCORE_VM_FIXED1260_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1260X950g, - "SUBCORE_VM_FIXED1350_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1350X950g, - "SUBCORE_VM_FIXED1440_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1440X950g, - "SUBCORE_VM_FIXED1530_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1530X950g, - "SUBCORE_VM_FIXED1620_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1620X950g, - "SUBCORE_VM_FIXED1710_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1710X950g, - "SUBCORE_VM_FIXED1800_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1800X950g, - "SUBCORE_VM_FIXED1890_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1890X950g, - "SUBCORE_VM_FIXED1980_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed1980X950g, - "SUBCORE_VM_FIXED2070_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2070X950g, - "SUBCORE_VM_FIXED2160_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2160X950g, - "SUBCORE_VM_FIXED2250_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2250X950g, - "SUBCORE_VM_FIXED2340_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2340X950g, - "SUBCORE_VM_FIXED2430_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2430X950g, - "SUBCORE_VM_FIXED2520_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2520X950g, - "SUBCORE_VM_FIXED2610_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2610X950g, - "SUBCORE_VM_FIXED2700_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2700X950g, - "SUBCORE_VM_FIXED2790_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2790X950g, - "SUBCORE_VM_FIXED2880_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2880X950g, - "SUBCORE_VM_FIXED2970_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed2970X950g, - "SUBCORE_VM_FIXED3060_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3060X950g, - "SUBCORE_VM_FIXED3150_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3150X950g, - "SUBCORE_VM_FIXED3240_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3240X950g, - "SUBCORE_VM_FIXED3330_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3330X950g, - "SUBCORE_VM_FIXED3420_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3420X950g, - "SUBCORE_VM_FIXED3510_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3510X950g, - "SUBCORE_VM_FIXED3600_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3600X950g, - "SUBCORE_VM_FIXED3690_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3690X950g, - "SUBCORE_VM_FIXED3780_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3780X950g, - "SUBCORE_VM_FIXED3870_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3870X950g, - "SUBCORE_VM_FIXED3960_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed3960X950g, - "SUBCORE_VM_FIXED4050_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4050X950g, - "SUBCORE_VM_FIXED4140_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4140X950g, - "SUBCORE_VM_FIXED4230_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4230X950g, - "SUBCORE_VM_FIXED4320_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4320X950g, - "SUBCORE_VM_FIXED4410_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4410X950g, - "SUBCORE_VM_FIXED4500_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4500X950g, - "SUBCORE_VM_FIXED4590_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4590X950g, - "SUBCORE_VM_FIXED4680_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4680X950g, - "SUBCORE_VM_FIXED4770_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4770X950g, - "SUBCORE_VM_FIXED4860_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4860X950g, - "SUBCORE_VM_FIXED4950_X9_50G": InternalVnicAttachmentVnicShapeSubcoreVmFixed4950X950g, - "DYNAMIC_A1_50G": InternalVnicAttachmentVnicShapeDynamicA150g, - "FIXED0040_A1_50G": InternalVnicAttachmentVnicShapeFixed0040A150g, - "FIXED0100_A1_50G": InternalVnicAttachmentVnicShapeFixed0100A150g, - "FIXED0200_A1_50G": InternalVnicAttachmentVnicShapeFixed0200A150g, - "FIXED0300_A1_50G": InternalVnicAttachmentVnicShapeFixed0300A150g, - "FIXED0400_A1_50G": InternalVnicAttachmentVnicShapeFixed0400A150g, - "FIXED0500_A1_50G": InternalVnicAttachmentVnicShapeFixed0500A150g, - "FIXED0600_A1_50G": InternalVnicAttachmentVnicShapeFixed0600A150g, - "FIXED0700_A1_50G": InternalVnicAttachmentVnicShapeFixed0700A150g, - "FIXED0800_A1_50G": InternalVnicAttachmentVnicShapeFixed0800A150g, - "FIXED0900_A1_50G": InternalVnicAttachmentVnicShapeFixed0900A150g, - "FIXED1000_A1_50G": InternalVnicAttachmentVnicShapeFixed1000A150g, - "FIXED1100_A1_50G": InternalVnicAttachmentVnicShapeFixed1100A150g, - "FIXED1200_A1_50G": InternalVnicAttachmentVnicShapeFixed1200A150g, - "FIXED1300_A1_50G": InternalVnicAttachmentVnicShapeFixed1300A150g, - "FIXED1400_A1_50G": InternalVnicAttachmentVnicShapeFixed1400A150g, - "FIXED1500_A1_50G": InternalVnicAttachmentVnicShapeFixed1500A150g, - "FIXED1600_A1_50G": InternalVnicAttachmentVnicShapeFixed1600A150g, - "FIXED1700_A1_50G": InternalVnicAttachmentVnicShapeFixed1700A150g, - "FIXED1800_A1_50G": InternalVnicAttachmentVnicShapeFixed1800A150g, - "FIXED1900_A1_50G": InternalVnicAttachmentVnicShapeFixed1900A150g, - "FIXED2000_A1_50G": InternalVnicAttachmentVnicShapeFixed2000A150g, - "FIXED2100_A1_50G": InternalVnicAttachmentVnicShapeFixed2100A150g, - "FIXED2200_A1_50G": InternalVnicAttachmentVnicShapeFixed2200A150g, - "FIXED2300_A1_50G": InternalVnicAttachmentVnicShapeFixed2300A150g, - "FIXED2400_A1_50G": InternalVnicAttachmentVnicShapeFixed2400A150g, - "FIXED2500_A1_50G": InternalVnicAttachmentVnicShapeFixed2500A150g, - "FIXED2600_A1_50G": InternalVnicAttachmentVnicShapeFixed2600A150g, - "FIXED2700_A1_50G": InternalVnicAttachmentVnicShapeFixed2700A150g, - "FIXED2800_A1_50G": InternalVnicAttachmentVnicShapeFixed2800A150g, - "FIXED2900_A1_50G": InternalVnicAttachmentVnicShapeFixed2900A150g, - "FIXED3000_A1_50G": InternalVnicAttachmentVnicShapeFixed3000A150g, - "FIXED3100_A1_50G": InternalVnicAttachmentVnicShapeFixed3100A150g, - "FIXED3200_A1_50G": InternalVnicAttachmentVnicShapeFixed3200A150g, - "FIXED3300_A1_50G": InternalVnicAttachmentVnicShapeFixed3300A150g, - "FIXED3400_A1_50G": InternalVnicAttachmentVnicShapeFixed3400A150g, - "FIXED3500_A1_50G": InternalVnicAttachmentVnicShapeFixed3500A150g, - "FIXED3600_A1_50G": InternalVnicAttachmentVnicShapeFixed3600A150g, - "FIXED3700_A1_50G": InternalVnicAttachmentVnicShapeFixed3700A150g, - "FIXED3800_A1_50G": InternalVnicAttachmentVnicShapeFixed3800A150g, - "FIXED3900_A1_50G": InternalVnicAttachmentVnicShapeFixed3900A150g, - "FIXED4000_A1_50G": InternalVnicAttachmentVnicShapeFixed4000A150g, - "ENTIREHOST_A1_50G": InternalVnicAttachmentVnicShapeEntirehostA150g, - "DYNAMIC_X9_50G": InternalVnicAttachmentVnicShapeDynamicX950g, - "FIXED0040_X9_50G": InternalVnicAttachmentVnicShapeFixed0040X950g, - "FIXED0400_X9_50G": InternalVnicAttachmentVnicShapeFixed0400X950g, - "FIXED0800_X9_50G": InternalVnicAttachmentVnicShapeFixed0800X950g, - "FIXED1200_X9_50G": InternalVnicAttachmentVnicShapeFixed1200X950g, - "FIXED1600_X9_50G": InternalVnicAttachmentVnicShapeFixed1600X950g, - "FIXED2000_X9_50G": InternalVnicAttachmentVnicShapeFixed2000X950g, - "FIXED2400_X9_50G": InternalVnicAttachmentVnicShapeFixed2400X950g, - "FIXED2800_X9_50G": InternalVnicAttachmentVnicShapeFixed2800X950g, - "FIXED3200_X9_50G": InternalVnicAttachmentVnicShapeFixed3200X950g, - "FIXED3600_X9_50G": InternalVnicAttachmentVnicShapeFixed3600X950g, - "FIXED4000_X9_50G": InternalVnicAttachmentVnicShapeFixed4000X950g, - "STANDARD_VM_FIXED0100_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0100X950g, - "STANDARD_VM_FIXED0200_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0200X950g, - "STANDARD_VM_FIXED0300_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0300X950g, - "STANDARD_VM_FIXED0400_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0400X950g, - "STANDARD_VM_FIXED0500_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0500X950g, - "STANDARD_VM_FIXED0600_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0600X950g, - "STANDARD_VM_FIXED0700_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0700X950g, - "STANDARD_VM_FIXED0800_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0800X950g, - "STANDARD_VM_FIXED0900_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed0900X950g, - "STANDARD_VM_FIXED1000_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1000X950g, - "STANDARD_VM_FIXED1100_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1100X950g, - "STANDARD_VM_FIXED1200_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1200X950g, - "STANDARD_VM_FIXED1300_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1300X950g, - "STANDARD_VM_FIXED1400_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1400X950g, - "STANDARD_VM_FIXED1500_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1500X950g, - "STANDARD_VM_FIXED1600_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1600X950g, - "STANDARD_VM_FIXED1700_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1700X950g, - "STANDARD_VM_FIXED1800_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1800X950g, - "STANDARD_VM_FIXED1900_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed1900X950g, - "STANDARD_VM_FIXED2000_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2000X950g, - "STANDARD_VM_FIXED2100_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2100X950g, - "STANDARD_VM_FIXED2200_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2200X950g, - "STANDARD_VM_FIXED2300_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2300X950g, - "STANDARD_VM_FIXED2400_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2400X950g, - "STANDARD_VM_FIXED2500_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2500X950g, - "STANDARD_VM_FIXED2600_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2600X950g, - "STANDARD_VM_FIXED2700_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2700X950g, - "STANDARD_VM_FIXED2800_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2800X950g, - "STANDARD_VM_FIXED2900_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed2900X950g, - "STANDARD_VM_FIXED3000_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3000X950g, - "STANDARD_VM_FIXED3100_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3100X950g, - "STANDARD_VM_FIXED3200_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3200X950g, - "STANDARD_VM_FIXED3300_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3300X950g, - "STANDARD_VM_FIXED3400_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3400X950g, - "STANDARD_VM_FIXED3500_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3500X950g, - "STANDARD_VM_FIXED3600_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3600X950g, - "STANDARD_VM_FIXED3700_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3700X950g, - "STANDARD_VM_FIXED3800_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3800X950g, - "STANDARD_VM_FIXED3900_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed3900X950g, - "STANDARD_VM_FIXED4000_X9_50G": InternalVnicAttachmentVnicShapeStandardVmFixed4000X950g, - "ENTIREHOST_X9_50G": InternalVnicAttachmentVnicShapeEntirehostX950g, -} - -// GetInternalVnicAttachmentVnicShapeEnumValues Enumerates the set of values for InternalVnicAttachmentVnicShapeEnum -func GetInternalVnicAttachmentVnicShapeEnumValues() []InternalVnicAttachmentVnicShapeEnum { - values := make([]InternalVnicAttachmentVnicShapeEnum, 0) - for _, v := range mappingInternalVnicAttachmentVnicShapeEnum { - values = append(values, v) - } - return values -} - -// GetInternalVnicAttachmentVnicShapeEnumStringValues Enumerates the set of values in String for InternalVnicAttachmentVnicShapeEnum -func GetInternalVnicAttachmentVnicShapeEnumStringValues() []string { - return []string{ - "DYNAMIC", - "FIXED0040", - "FIXED0060", - "FIXED0060_PSM", - "FIXED0100", - "FIXED0120", - "FIXED0120_2X", - "FIXED0200", - "FIXED0240", - "FIXED0480", - "ENTIREHOST", - "DYNAMIC_25G", - "FIXED0040_25G", - "FIXED0100_25G", - "FIXED0200_25G", - "FIXED0400_25G", - "FIXED0800_25G", - "FIXED1600_25G", - "FIXED2400_25G", - "ENTIREHOST_25G", - "DYNAMIC_E1_25G", - "FIXED0040_E1_25G", - "FIXED0070_E1_25G", - "FIXED0140_E1_25G", - "FIXED0280_E1_25G", - "FIXED0560_E1_25G", - "FIXED1120_E1_25G", - "FIXED1680_E1_25G", - "ENTIREHOST_E1_25G", - "DYNAMIC_B1_25G", - "FIXED0040_B1_25G", - "FIXED0060_B1_25G", - "FIXED0120_B1_25G", - "FIXED0240_B1_25G", - "FIXED0480_B1_25G", - "FIXED0960_B1_25G", - "ENTIREHOST_B1_25G", - "MICRO_VM_FIXED0048_E1_25G", - "MICRO_LB_FIXED0001_E1_25G", - "VNICAAS_FIXED0200", - "VNICAAS_FIXED0400", - "VNICAAS_FIXED0700", - "VNICAAS_NLB_APPROVED_10G", - "VNICAAS_NLB_APPROVED_25G", - "VNICAAS_TELESIS_25G", - "VNICAAS_TELESIS_10G", - "VNICAAS_AMBASSADOR_FIXED0100", - "VNICAAS_PRIVATEDNS", - "VNICAAS_FWAAS", - "DYNAMIC_E3_50G", - "FIXED0040_E3_50G", - "FIXED0100_E3_50G", - "FIXED0200_E3_50G", - "FIXED0300_E3_50G", - "FIXED0400_E3_50G", - "FIXED0500_E3_50G", - "FIXED0600_E3_50G", - "FIXED0700_E3_50G", - "FIXED0800_E3_50G", - "FIXED0900_E3_50G", - "FIXED1000_E3_50G", - "FIXED1100_E3_50G", - "FIXED1200_E3_50G", - "FIXED1300_E3_50G", - "FIXED1400_E3_50G", - "FIXED1500_E3_50G", - "FIXED1600_E3_50G", - "FIXED1700_E3_50G", - "FIXED1800_E3_50G", - "FIXED1900_E3_50G", - "FIXED2000_E3_50G", - "FIXED2100_E3_50G", - "FIXED2200_E3_50G", - "FIXED2300_E3_50G", - "FIXED2400_E3_50G", - "FIXED2500_E3_50G", - "FIXED2600_E3_50G", - "FIXED2700_E3_50G", - "FIXED2800_E3_50G", - "FIXED2900_E3_50G", - "FIXED3000_E3_50G", - "FIXED3100_E3_50G", - "FIXED3200_E3_50G", - "FIXED3300_E3_50G", - "FIXED3400_E3_50G", - "FIXED3500_E3_50G", - "FIXED3600_E3_50G", - "FIXED3700_E3_50G", - "FIXED3800_E3_50G", - "FIXED3900_E3_50G", - "FIXED4000_E3_50G", - "ENTIREHOST_E3_50G", - "DYNAMIC_E4_50G", - "FIXED0040_E4_50G", - "FIXED0100_E4_50G", - "FIXED0200_E4_50G", - "FIXED0300_E4_50G", - "FIXED0400_E4_50G", - "FIXED0500_E4_50G", - "FIXED0600_E4_50G", - "FIXED0700_E4_50G", - "FIXED0800_E4_50G", - "FIXED0900_E4_50G", - "FIXED1000_E4_50G", - "FIXED1100_E4_50G", - "FIXED1200_E4_50G", - "FIXED1300_E4_50G", - "FIXED1400_E4_50G", - "FIXED1500_E4_50G", - "FIXED1600_E4_50G", - "FIXED1700_E4_50G", - "FIXED1800_E4_50G", - "FIXED1900_E4_50G", - "FIXED2000_E4_50G", - "FIXED2100_E4_50G", - "FIXED2200_E4_50G", - "FIXED2300_E4_50G", - "FIXED2400_E4_50G", - "FIXED2500_E4_50G", - "FIXED2600_E4_50G", - "FIXED2700_E4_50G", - "FIXED2800_E4_50G", - "FIXED2900_E4_50G", - "FIXED3000_E4_50G", - "FIXED3100_E4_50G", - "FIXED3200_E4_50G", - "FIXED3300_E4_50G", - "FIXED3400_E4_50G", - "FIXED3500_E4_50G", - "FIXED3600_E4_50G", - "FIXED3700_E4_50G", - "FIXED3800_E4_50G", - "FIXED3900_E4_50G", - "FIXED4000_E4_50G", - "ENTIREHOST_E4_50G", - "MICRO_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0025_E3_50G", - "SUBCORE_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0075_E3_50G", - "SUBCORE_VM_FIXED0100_E3_50G", - "SUBCORE_VM_FIXED0125_E3_50G", - "SUBCORE_VM_FIXED0150_E3_50G", - "SUBCORE_VM_FIXED0175_E3_50G", - "SUBCORE_VM_FIXED0200_E3_50G", - "SUBCORE_VM_FIXED0225_E3_50G", - "SUBCORE_VM_FIXED0250_E3_50G", - "SUBCORE_VM_FIXED0275_E3_50G", - "SUBCORE_VM_FIXED0300_E3_50G", - "SUBCORE_VM_FIXED0325_E3_50G", - "SUBCORE_VM_FIXED0350_E3_50G", - "SUBCORE_VM_FIXED0375_E3_50G", - "SUBCORE_VM_FIXED0400_E3_50G", - "SUBCORE_VM_FIXED0425_E3_50G", - "SUBCORE_VM_FIXED0450_E3_50G", - "SUBCORE_VM_FIXED0475_E3_50G", - "SUBCORE_VM_FIXED0500_E3_50G", - "SUBCORE_VM_FIXED0525_E3_50G", - "SUBCORE_VM_FIXED0550_E3_50G", - "SUBCORE_VM_FIXED0575_E3_50G", - "SUBCORE_VM_FIXED0600_E3_50G", - "SUBCORE_VM_FIXED0625_E3_50G", - "SUBCORE_VM_FIXED0650_E3_50G", - "SUBCORE_VM_FIXED0675_E3_50G", - "SUBCORE_VM_FIXED0700_E3_50G", - "SUBCORE_VM_FIXED0725_E3_50G", - "SUBCORE_VM_FIXED0750_E3_50G", - "SUBCORE_VM_FIXED0775_E3_50G", - "SUBCORE_VM_FIXED0800_E3_50G", - "SUBCORE_VM_FIXED0825_E3_50G", - "SUBCORE_VM_FIXED0850_E3_50G", - "SUBCORE_VM_FIXED0875_E3_50G", - "SUBCORE_VM_FIXED0900_E3_50G", - "SUBCORE_VM_FIXED0925_E3_50G", - "SUBCORE_VM_FIXED0950_E3_50G", - "SUBCORE_VM_FIXED0975_E3_50G", - "SUBCORE_VM_FIXED1000_E3_50G", - "SUBCORE_VM_FIXED1025_E3_50G", - "SUBCORE_VM_FIXED1050_E3_50G", - "SUBCORE_VM_FIXED1075_E3_50G", - "SUBCORE_VM_FIXED1100_E3_50G", - "SUBCORE_VM_FIXED1125_E3_50G", - "SUBCORE_VM_FIXED1150_E3_50G", - "SUBCORE_VM_FIXED1175_E3_50G", - "SUBCORE_VM_FIXED1200_E3_50G", - "SUBCORE_VM_FIXED1225_E3_50G", - "SUBCORE_VM_FIXED1250_E3_50G", - "SUBCORE_VM_FIXED1275_E3_50G", - "SUBCORE_VM_FIXED1300_E3_50G", - "SUBCORE_VM_FIXED1325_E3_50G", - "SUBCORE_VM_FIXED1350_E3_50G", - "SUBCORE_VM_FIXED1375_E3_50G", - "SUBCORE_VM_FIXED1400_E3_50G", - "SUBCORE_VM_FIXED1425_E3_50G", - "SUBCORE_VM_FIXED1450_E3_50G", - "SUBCORE_VM_FIXED1475_E3_50G", - "SUBCORE_VM_FIXED1500_E3_50G", - "SUBCORE_VM_FIXED1525_E3_50G", - "SUBCORE_VM_FIXED1550_E3_50G", - "SUBCORE_VM_FIXED1575_E3_50G", - "SUBCORE_VM_FIXED1600_E3_50G", - "SUBCORE_VM_FIXED1625_E3_50G", - "SUBCORE_VM_FIXED1650_E3_50G", - "SUBCORE_VM_FIXED1700_E3_50G", - "SUBCORE_VM_FIXED1725_E3_50G", - "SUBCORE_VM_FIXED1750_E3_50G", - "SUBCORE_VM_FIXED1800_E3_50G", - "SUBCORE_VM_FIXED1850_E3_50G", - "SUBCORE_VM_FIXED1875_E3_50G", - "SUBCORE_VM_FIXED1900_E3_50G", - "SUBCORE_VM_FIXED1925_E3_50G", - "SUBCORE_VM_FIXED1950_E3_50G", - "SUBCORE_VM_FIXED2000_E3_50G", - "SUBCORE_VM_FIXED2025_E3_50G", - "SUBCORE_VM_FIXED2050_E3_50G", - "SUBCORE_VM_FIXED2100_E3_50G", - "SUBCORE_VM_FIXED2125_E3_50G", - "SUBCORE_VM_FIXED2150_E3_50G", - "SUBCORE_VM_FIXED2175_E3_50G", - "SUBCORE_VM_FIXED2200_E3_50G", - "SUBCORE_VM_FIXED2250_E3_50G", - "SUBCORE_VM_FIXED2275_E3_50G", - "SUBCORE_VM_FIXED2300_E3_50G", - "SUBCORE_VM_FIXED2325_E3_50G", - "SUBCORE_VM_FIXED2350_E3_50G", - "SUBCORE_VM_FIXED2375_E3_50G", - "SUBCORE_VM_FIXED2400_E3_50G", - "SUBCORE_VM_FIXED2450_E3_50G", - "SUBCORE_VM_FIXED2475_E3_50G", - "SUBCORE_VM_FIXED2500_E3_50G", - "SUBCORE_VM_FIXED2550_E3_50G", - "SUBCORE_VM_FIXED2600_E3_50G", - "SUBCORE_VM_FIXED2625_E3_50G", - "SUBCORE_VM_FIXED2650_E3_50G", - "SUBCORE_VM_FIXED2700_E3_50G", - "SUBCORE_VM_FIXED2750_E3_50G", - "SUBCORE_VM_FIXED2775_E3_50G", - "SUBCORE_VM_FIXED2800_E3_50G", - "SUBCORE_VM_FIXED2850_E3_50G", - "SUBCORE_VM_FIXED2875_E3_50G", - "SUBCORE_VM_FIXED2900_E3_50G", - "SUBCORE_VM_FIXED2925_E3_50G", - "SUBCORE_VM_FIXED2950_E3_50G", - "SUBCORE_VM_FIXED2975_E3_50G", - "SUBCORE_VM_FIXED3000_E3_50G", - "SUBCORE_VM_FIXED3025_E3_50G", - "SUBCORE_VM_FIXED3050_E3_50G", - "SUBCORE_VM_FIXED3075_E3_50G", - "SUBCORE_VM_FIXED3100_E3_50G", - "SUBCORE_VM_FIXED3125_E3_50G", - "SUBCORE_VM_FIXED3150_E3_50G", - "SUBCORE_VM_FIXED3200_E3_50G", - "SUBCORE_VM_FIXED3225_E3_50G", - "SUBCORE_VM_FIXED3250_E3_50G", - "SUBCORE_VM_FIXED3300_E3_50G", - "SUBCORE_VM_FIXED3325_E3_50G", - "SUBCORE_VM_FIXED3375_E3_50G", - "SUBCORE_VM_FIXED3400_E3_50G", - "SUBCORE_VM_FIXED3450_E3_50G", - "SUBCORE_VM_FIXED3500_E3_50G", - "SUBCORE_VM_FIXED3525_E3_50G", - "SUBCORE_VM_FIXED3575_E3_50G", - "SUBCORE_VM_FIXED3600_E3_50G", - "SUBCORE_VM_FIXED3625_E3_50G", - "SUBCORE_VM_FIXED3675_E3_50G", - "SUBCORE_VM_FIXED3700_E3_50G", - "SUBCORE_VM_FIXED3750_E3_50G", - "SUBCORE_VM_FIXED3800_E3_50G", - "SUBCORE_VM_FIXED3825_E3_50G", - "SUBCORE_VM_FIXED3850_E3_50G", - "SUBCORE_VM_FIXED3875_E3_50G", - "SUBCORE_VM_FIXED3900_E3_50G", - "SUBCORE_VM_FIXED3975_E3_50G", - "SUBCORE_VM_FIXED4000_E3_50G", - "SUBCORE_VM_FIXED4025_E3_50G", - "SUBCORE_VM_FIXED4050_E3_50G", - "SUBCORE_VM_FIXED4100_E3_50G", - "SUBCORE_VM_FIXED4125_E3_50G", - "SUBCORE_VM_FIXED4200_E3_50G", - "SUBCORE_VM_FIXED4225_E3_50G", - "SUBCORE_VM_FIXED4250_E3_50G", - "SUBCORE_VM_FIXED4275_E3_50G", - "SUBCORE_VM_FIXED4300_E3_50G", - "SUBCORE_VM_FIXED4350_E3_50G", - "SUBCORE_VM_FIXED4375_E3_50G", - "SUBCORE_VM_FIXED4400_E3_50G", - "SUBCORE_VM_FIXED4425_E3_50G", - "SUBCORE_VM_FIXED4500_E3_50G", - "SUBCORE_VM_FIXED4550_E3_50G", - "SUBCORE_VM_FIXED4575_E3_50G", - "SUBCORE_VM_FIXED4600_E3_50G", - "SUBCORE_VM_FIXED4625_E3_50G", - "SUBCORE_VM_FIXED4650_E3_50G", - "SUBCORE_VM_FIXED4675_E3_50G", - "SUBCORE_VM_FIXED4700_E3_50G", - "SUBCORE_VM_FIXED4725_E3_50G", - "SUBCORE_VM_FIXED4750_E3_50G", - "SUBCORE_VM_FIXED4800_E3_50G", - "SUBCORE_VM_FIXED4875_E3_50G", - "SUBCORE_VM_FIXED4900_E3_50G", - "SUBCORE_VM_FIXED4950_E3_50G", - "SUBCORE_VM_FIXED5000_E3_50G", - "SUBCORE_VM_FIXED0025_E4_50G", - "SUBCORE_VM_FIXED0050_E4_50G", - "SUBCORE_VM_FIXED0075_E4_50G", - "SUBCORE_VM_FIXED0100_E4_50G", - "SUBCORE_VM_FIXED0125_E4_50G", - "SUBCORE_VM_FIXED0150_E4_50G", - "SUBCORE_VM_FIXED0175_E4_50G", - "SUBCORE_VM_FIXED0200_E4_50G", - "SUBCORE_VM_FIXED0225_E4_50G", - "SUBCORE_VM_FIXED0250_E4_50G", - "SUBCORE_VM_FIXED0275_E4_50G", - "SUBCORE_VM_FIXED0300_E4_50G", - "SUBCORE_VM_FIXED0325_E4_50G", - "SUBCORE_VM_FIXED0350_E4_50G", - "SUBCORE_VM_FIXED0375_E4_50G", - "SUBCORE_VM_FIXED0400_E4_50G", - "SUBCORE_VM_FIXED0425_E4_50G", - "SUBCORE_VM_FIXED0450_E4_50G", - "SUBCORE_VM_FIXED0475_E4_50G", - "SUBCORE_VM_FIXED0500_E4_50G", - "SUBCORE_VM_FIXED0525_E4_50G", - "SUBCORE_VM_FIXED0550_E4_50G", - "SUBCORE_VM_FIXED0575_E4_50G", - "SUBCORE_VM_FIXED0600_E4_50G", - "SUBCORE_VM_FIXED0625_E4_50G", - "SUBCORE_VM_FIXED0650_E4_50G", - "SUBCORE_VM_FIXED0675_E4_50G", - "SUBCORE_VM_FIXED0700_E4_50G", - "SUBCORE_VM_FIXED0725_E4_50G", - "SUBCORE_VM_FIXED0750_E4_50G", - "SUBCORE_VM_FIXED0775_E4_50G", - "SUBCORE_VM_FIXED0800_E4_50G", - "SUBCORE_VM_FIXED0825_E4_50G", - "SUBCORE_VM_FIXED0850_E4_50G", - "SUBCORE_VM_FIXED0875_E4_50G", - "SUBCORE_VM_FIXED0900_E4_50G", - "SUBCORE_VM_FIXED0925_E4_50G", - "SUBCORE_VM_FIXED0950_E4_50G", - "SUBCORE_VM_FIXED0975_E4_50G", - "SUBCORE_VM_FIXED1000_E4_50G", - "SUBCORE_VM_FIXED1025_E4_50G", - "SUBCORE_VM_FIXED1050_E4_50G", - "SUBCORE_VM_FIXED1075_E4_50G", - "SUBCORE_VM_FIXED1100_E4_50G", - "SUBCORE_VM_FIXED1125_E4_50G", - "SUBCORE_VM_FIXED1150_E4_50G", - "SUBCORE_VM_FIXED1175_E4_50G", - "SUBCORE_VM_FIXED1200_E4_50G", - "SUBCORE_VM_FIXED1225_E4_50G", - "SUBCORE_VM_FIXED1250_E4_50G", - "SUBCORE_VM_FIXED1275_E4_50G", - "SUBCORE_VM_FIXED1300_E4_50G", - "SUBCORE_VM_FIXED1325_E4_50G", - "SUBCORE_VM_FIXED1350_E4_50G", - "SUBCORE_VM_FIXED1375_E4_50G", - "SUBCORE_VM_FIXED1400_E4_50G", - "SUBCORE_VM_FIXED1425_E4_50G", - "SUBCORE_VM_FIXED1450_E4_50G", - "SUBCORE_VM_FIXED1475_E4_50G", - "SUBCORE_VM_FIXED1500_E4_50G", - "SUBCORE_VM_FIXED1525_E4_50G", - "SUBCORE_VM_FIXED1550_E4_50G", - "SUBCORE_VM_FIXED1575_E4_50G", - "SUBCORE_VM_FIXED1600_E4_50G", - "SUBCORE_VM_FIXED1625_E4_50G", - "SUBCORE_VM_FIXED1650_E4_50G", - "SUBCORE_VM_FIXED1700_E4_50G", - "SUBCORE_VM_FIXED1725_E4_50G", - "SUBCORE_VM_FIXED1750_E4_50G", - "SUBCORE_VM_FIXED1800_E4_50G", - "SUBCORE_VM_FIXED1850_E4_50G", - "SUBCORE_VM_FIXED1875_E4_50G", - "SUBCORE_VM_FIXED1900_E4_50G", - "SUBCORE_VM_FIXED1925_E4_50G", - "SUBCORE_VM_FIXED1950_E4_50G", - "SUBCORE_VM_FIXED2000_E4_50G", - "SUBCORE_VM_FIXED2025_E4_50G", - "SUBCORE_VM_FIXED2050_E4_50G", - "SUBCORE_VM_FIXED2100_E4_50G", - "SUBCORE_VM_FIXED2125_E4_50G", - "SUBCORE_VM_FIXED2150_E4_50G", - "SUBCORE_VM_FIXED2175_E4_50G", - "SUBCORE_VM_FIXED2200_E4_50G", - "SUBCORE_VM_FIXED2250_E4_50G", - "SUBCORE_VM_FIXED2275_E4_50G", - "SUBCORE_VM_FIXED2300_E4_50G", - "SUBCORE_VM_FIXED2325_E4_50G", - "SUBCORE_VM_FIXED2350_E4_50G", - "SUBCORE_VM_FIXED2375_E4_50G", - "SUBCORE_VM_FIXED2400_E4_50G", - "SUBCORE_VM_FIXED2450_E4_50G", - "SUBCORE_VM_FIXED2475_E4_50G", - "SUBCORE_VM_FIXED2500_E4_50G", - "SUBCORE_VM_FIXED2550_E4_50G", - "SUBCORE_VM_FIXED2600_E4_50G", - "SUBCORE_VM_FIXED2625_E4_50G", - "SUBCORE_VM_FIXED2650_E4_50G", - "SUBCORE_VM_FIXED2700_E4_50G", - "SUBCORE_VM_FIXED2750_E4_50G", - "SUBCORE_VM_FIXED2775_E4_50G", - "SUBCORE_VM_FIXED2800_E4_50G", - "SUBCORE_VM_FIXED2850_E4_50G", - "SUBCORE_VM_FIXED2875_E4_50G", - "SUBCORE_VM_FIXED2900_E4_50G", - "SUBCORE_VM_FIXED2925_E4_50G", - "SUBCORE_VM_FIXED2950_E4_50G", - "SUBCORE_VM_FIXED2975_E4_50G", - "SUBCORE_VM_FIXED3000_E4_50G", - "SUBCORE_VM_FIXED3025_E4_50G", - "SUBCORE_VM_FIXED3050_E4_50G", - "SUBCORE_VM_FIXED3075_E4_50G", - "SUBCORE_VM_FIXED3100_E4_50G", - "SUBCORE_VM_FIXED3125_E4_50G", - "SUBCORE_VM_FIXED3150_E4_50G", - "SUBCORE_VM_FIXED3200_E4_50G", - "SUBCORE_VM_FIXED3225_E4_50G", - "SUBCORE_VM_FIXED3250_E4_50G", - "SUBCORE_VM_FIXED3300_E4_50G", - "SUBCORE_VM_FIXED3325_E4_50G", - "SUBCORE_VM_FIXED3375_E4_50G", - "SUBCORE_VM_FIXED3400_E4_50G", - "SUBCORE_VM_FIXED3450_E4_50G", - "SUBCORE_VM_FIXED3500_E4_50G", - "SUBCORE_VM_FIXED3525_E4_50G", - "SUBCORE_VM_FIXED3575_E4_50G", - "SUBCORE_VM_FIXED3600_E4_50G", - "SUBCORE_VM_FIXED3625_E4_50G", - "SUBCORE_VM_FIXED3675_E4_50G", - "SUBCORE_VM_FIXED3700_E4_50G", - "SUBCORE_VM_FIXED3750_E4_50G", - "SUBCORE_VM_FIXED3800_E4_50G", - "SUBCORE_VM_FIXED3825_E4_50G", - "SUBCORE_VM_FIXED3850_E4_50G", - "SUBCORE_VM_FIXED3875_E4_50G", - "SUBCORE_VM_FIXED3900_E4_50G", - "SUBCORE_VM_FIXED3975_E4_50G", - "SUBCORE_VM_FIXED4000_E4_50G", - "SUBCORE_VM_FIXED4025_E4_50G", - "SUBCORE_VM_FIXED4050_E4_50G", - "SUBCORE_VM_FIXED4100_E4_50G", - "SUBCORE_VM_FIXED4125_E4_50G", - "SUBCORE_VM_FIXED4200_E4_50G", - "SUBCORE_VM_FIXED4225_E4_50G", - "SUBCORE_VM_FIXED4250_E4_50G", - "SUBCORE_VM_FIXED4275_E4_50G", - "SUBCORE_VM_FIXED4300_E4_50G", - "SUBCORE_VM_FIXED4350_E4_50G", - "SUBCORE_VM_FIXED4375_E4_50G", - "SUBCORE_VM_FIXED4400_E4_50G", - "SUBCORE_VM_FIXED4425_E4_50G", - "SUBCORE_VM_FIXED4500_E4_50G", - "SUBCORE_VM_FIXED4550_E4_50G", - "SUBCORE_VM_FIXED4575_E4_50G", - "SUBCORE_VM_FIXED4600_E4_50G", - "SUBCORE_VM_FIXED4625_E4_50G", - "SUBCORE_VM_FIXED4650_E4_50G", - "SUBCORE_VM_FIXED4675_E4_50G", - "SUBCORE_VM_FIXED4700_E4_50G", - "SUBCORE_VM_FIXED4725_E4_50G", - "SUBCORE_VM_FIXED4750_E4_50G", - "SUBCORE_VM_FIXED4800_E4_50G", - "SUBCORE_VM_FIXED4875_E4_50G", - "SUBCORE_VM_FIXED4900_E4_50G", - "SUBCORE_VM_FIXED4950_E4_50G", - "SUBCORE_VM_FIXED5000_E4_50G", - "SUBCORE_VM_FIXED0020_A1_50G", - "SUBCORE_VM_FIXED0040_A1_50G", - "SUBCORE_VM_FIXED0060_A1_50G", - "SUBCORE_VM_FIXED0080_A1_50G", - "SUBCORE_VM_FIXED0100_A1_50G", - "SUBCORE_VM_FIXED0120_A1_50G", - "SUBCORE_VM_FIXED0140_A1_50G", - "SUBCORE_VM_FIXED0160_A1_50G", - "SUBCORE_VM_FIXED0180_A1_50G", - "SUBCORE_VM_FIXED0200_A1_50G", - "SUBCORE_VM_FIXED0220_A1_50G", - "SUBCORE_VM_FIXED0240_A1_50G", - "SUBCORE_VM_FIXED0260_A1_50G", - "SUBCORE_VM_FIXED0280_A1_50G", - "SUBCORE_VM_FIXED0300_A1_50G", - "SUBCORE_VM_FIXED0320_A1_50G", - "SUBCORE_VM_FIXED0340_A1_50G", - "SUBCORE_VM_FIXED0360_A1_50G", - "SUBCORE_VM_FIXED0380_A1_50G", - "SUBCORE_VM_FIXED0400_A1_50G", - "SUBCORE_VM_FIXED0420_A1_50G", - "SUBCORE_VM_FIXED0440_A1_50G", - "SUBCORE_VM_FIXED0460_A1_50G", - "SUBCORE_VM_FIXED0480_A1_50G", - "SUBCORE_VM_FIXED0500_A1_50G", - "SUBCORE_VM_FIXED0520_A1_50G", - "SUBCORE_VM_FIXED0540_A1_50G", - "SUBCORE_VM_FIXED0560_A1_50G", - "SUBCORE_VM_FIXED0580_A1_50G", - "SUBCORE_VM_FIXED0600_A1_50G", - "SUBCORE_VM_FIXED0620_A1_50G", - "SUBCORE_VM_FIXED0640_A1_50G", - "SUBCORE_VM_FIXED0660_A1_50G", - "SUBCORE_VM_FIXED0680_A1_50G", - "SUBCORE_VM_FIXED0700_A1_50G", - "SUBCORE_VM_FIXED0720_A1_50G", - "SUBCORE_VM_FIXED0740_A1_50G", - "SUBCORE_VM_FIXED0760_A1_50G", - "SUBCORE_VM_FIXED0780_A1_50G", - "SUBCORE_VM_FIXED0800_A1_50G", - "SUBCORE_VM_FIXED0820_A1_50G", - "SUBCORE_VM_FIXED0840_A1_50G", - "SUBCORE_VM_FIXED0860_A1_50G", - "SUBCORE_VM_FIXED0880_A1_50G", - "SUBCORE_VM_FIXED0900_A1_50G", - "SUBCORE_VM_FIXED0920_A1_50G", - "SUBCORE_VM_FIXED0940_A1_50G", - "SUBCORE_VM_FIXED0960_A1_50G", - "SUBCORE_VM_FIXED0980_A1_50G", - "SUBCORE_VM_FIXED1000_A1_50G", - "SUBCORE_VM_FIXED1020_A1_50G", - "SUBCORE_VM_FIXED1040_A1_50G", - "SUBCORE_VM_FIXED1060_A1_50G", - "SUBCORE_VM_FIXED1080_A1_50G", - "SUBCORE_VM_FIXED1100_A1_50G", - "SUBCORE_VM_FIXED1120_A1_50G", - "SUBCORE_VM_FIXED1140_A1_50G", - "SUBCORE_VM_FIXED1160_A1_50G", - "SUBCORE_VM_FIXED1180_A1_50G", - "SUBCORE_VM_FIXED1200_A1_50G", - "SUBCORE_VM_FIXED1220_A1_50G", - "SUBCORE_VM_FIXED1240_A1_50G", - "SUBCORE_VM_FIXED1260_A1_50G", - "SUBCORE_VM_FIXED1280_A1_50G", - "SUBCORE_VM_FIXED1300_A1_50G", - "SUBCORE_VM_FIXED1320_A1_50G", - "SUBCORE_VM_FIXED1340_A1_50G", - "SUBCORE_VM_FIXED1360_A1_50G", - "SUBCORE_VM_FIXED1380_A1_50G", - "SUBCORE_VM_FIXED1400_A1_50G", - "SUBCORE_VM_FIXED1420_A1_50G", - "SUBCORE_VM_FIXED1440_A1_50G", - "SUBCORE_VM_FIXED1460_A1_50G", - "SUBCORE_VM_FIXED1480_A1_50G", - "SUBCORE_VM_FIXED1500_A1_50G", - "SUBCORE_VM_FIXED1520_A1_50G", - "SUBCORE_VM_FIXED1540_A1_50G", - "SUBCORE_VM_FIXED1560_A1_50G", - "SUBCORE_VM_FIXED1580_A1_50G", - "SUBCORE_VM_FIXED1600_A1_50G", - "SUBCORE_VM_FIXED1620_A1_50G", - "SUBCORE_VM_FIXED1640_A1_50G", - "SUBCORE_VM_FIXED1660_A1_50G", - "SUBCORE_VM_FIXED1680_A1_50G", - "SUBCORE_VM_FIXED1700_A1_50G", - "SUBCORE_VM_FIXED1720_A1_50G", - "SUBCORE_VM_FIXED1740_A1_50G", - "SUBCORE_VM_FIXED1760_A1_50G", - "SUBCORE_VM_FIXED1780_A1_50G", - "SUBCORE_VM_FIXED1800_A1_50G", - "SUBCORE_VM_FIXED1820_A1_50G", - "SUBCORE_VM_FIXED1840_A1_50G", - "SUBCORE_VM_FIXED1860_A1_50G", - "SUBCORE_VM_FIXED1880_A1_50G", - "SUBCORE_VM_FIXED1900_A1_50G", - "SUBCORE_VM_FIXED1920_A1_50G", - "SUBCORE_VM_FIXED1940_A1_50G", - "SUBCORE_VM_FIXED1960_A1_50G", - "SUBCORE_VM_FIXED1980_A1_50G", - "SUBCORE_VM_FIXED2000_A1_50G", - "SUBCORE_VM_FIXED2020_A1_50G", - "SUBCORE_VM_FIXED2040_A1_50G", - "SUBCORE_VM_FIXED2060_A1_50G", - "SUBCORE_VM_FIXED2080_A1_50G", - "SUBCORE_VM_FIXED2100_A1_50G", - "SUBCORE_VM_FIXED2120_A1_50G", - "SUBCORE_VM_FIXED2140_A1_50G", - "SUBCORE_VM_FIXED2160_A1_50G", - "SUBCORE_VM_FIXED2180_A1_50G", - "SUBCORE_VM_FIXED2200_A1_50G", - "SUBCORE_VM_FIXED2220_A1_50G", - "SUBCORE_VM_FIXED2240_A1_50G", - "SUBCORE_VM_FIXED2260_A1_50G", - "SUBCORE_VM_FIXED2280_A1_50G", - "SUBCORE_VM_FIXED2300_A1_50G", - "SUBCORE_VM_FIXED2320_A1_50G", - "SUBCORE_VM_FIXED2340_A1_50G", - "SUBCORE_VM_FIXED2360_A1_50G", - "SUBCORE_VM_FIXED2380_A1_50G", - "SUBCORE_VM_FIXED2400_A1_50G", - "SUBCORE_VM_FIXED2420_A1_50G", - "SUBCORE_VM_FIXED2440_A1_50G", - "SUBCORE_VM_FIXED2460_A1_50G", - "SUBCORE_VM_FIXED2480_A1_50G", - "SUBCORE_VM_FIXED2500_A1_50G", - "SUBCORE_VM_FIXED2520_A1_50G", - "SUBCORE_VM_FIXED2540_A1_50G", - "SUBCORE_VM_FIXED2560_A1_50G", - "SUBCORE_VM_FIXED2580_A1_50G", - "SUBCORE_VM_FIXED2600_A1_50G", - "SUBCORE_VM_FIXED2620_A1_50G", - "SUBCORE_VM_FIXED2640_A1_50G", - "SUBCORE_VM_FIXED2660_A1_50G", - "SUBCORE_VM_FIXED2680_A1_50G", - "SUBCORE_VM_FIXED2700_A1_50G", - "SUBCORE_VM_FIXED2720_A1_50G", - "SUBCORE_VM_FIXED2740_A1_50G", - "SUBCORE_VM_FIXED2760_A1_50G", - "SUBCORE_VM_FIXED2780_A1_50G", - "SUBCORE_VM_FIXED2800_A1_50G", - "SUBCORE_VM_FIXED2820_A1_50G", - "SUBCORE_VM_FIXED2840_A1_50G", - "SUBCORE_VM_FIXED2860_A1_50G", - "SUBCORE_VM_FIXED2880_A1_50G", - "SUBCORE_VM_FIXED2900_A1_50G", - "SUBCORE_VM_FIXED2920_A1_50G", - "SUBCORE_VM_FIXED2940_A1_50G", - "SUBCORE_VM_FIXED2960_A1_50G", - "SUBCORE_VM_FIXED2980_A1_50G", - "SUBCORE_VM_FIXED3000_A1_50G", - "SUBCORE_VM_FIXED3020_A1_50G", - "SUBCORE_VM_FIXED3040_A1_50G", - "SUBCORE_VM_FIXED3060_A1_50G", - "SUBCORE_VM_FIXED3080_A1_50G", - "SUBCORE_VM_FIXED3100_A1_50G", - "SUBCORE_VM_FIXED3120_A1_50G", - "SUBCORE_VM_FIXED3140_A1_50G", - "SUBCORE_VM_FIXED3160_A1_50G", - "SUBCORE_VM_FIXED3180_A1_50G", - "SUBCORE_VM_FIXED3200_A1_50G", - "SUBCORE_VM_FIXED3220_A1_50G", - "SUBCORE_VM_FIXED3240_A1_50G", - "SUBCORE_VM_FIXED3260_A1_50G", - "SUBCORE_VM_FIXED3280_A1_50G", - "SUBCORE_VM_FIXED3300_A1_50G", - "SUBCORE_VM_FIXED3320_A1_50G", - "SUBCORE_VM_FIXED3340_A1_50G", - "SUBCORE_VM_FIXED3360_A1_50G", - "SUBCORE_VM_FIXED3380_A1_50G", - "SUBCORE_VM_FIXED3400_A1_50G", - "SUBCORE_VM_FIXED3420_A1_50G", - "SUBCORE_VM_FIXED3440_A1_50G", - "SUBCORE_VM_FIXED3460_A1_50G", - "SUBCORE_VM_FIXED3480_A1_50G", - "SUBCORE_VM_FIXED3500_A1_50G", - "SUBCORE_VM_FIXED3520_A1_50G", - "SUBCORE_VM_FIXED3540_A1_50G", - "SUBCORE_VM_FIXED3560_A1_50G", - "SUBCORE_VM_FIXED3580_A1_50G", - "SUBCORE_VM_FIXED3600_A1_50G", - "SUBCORE_VM_FIXED3620_A1_50G", - "SUBCORE_VM_FIXED3640_A1_50G", - "SUBCORE_VM_FIXED3660_A1_50G", - "SUBCORE_VM_FIXED3680_A1_50G", - "SUBCORE_VM_FIXED3700_A1_50G", - "SUBCORE_VM_FIXED3720_A1_50G", - "SUBCORE_VM_FIXED3740_A1_50G", - "SUBCORE_VM_FIXED3760_A1_50G", - "SUBCORE_VM_FIXED3780_A1_50G", - "SUBCORE_VM_FIXED3800_A1_50G", - "SUBCORE_VM_FIXED3820_A1_50G", - "SUBCORE_VM_FIXED3840_A1_50G", - "SUBCORE_VM_FIXED3860_A1_50G", - "SUBCORE_VM_FIXED3880_A1_50G", - "SUBCORE_VM_FIXED3900_A1_50G", - "SUBCORE_VM_FIXED3920_A1_50G", - "SUBCORE_VM_FIXED3940_A1_50G", - "SUBCORE_VM_FIXED3960_A1_50G", - "SUBCORE_VM_FIXED3980_A1_50G", - "SUBCORE_VM_FIXED4000_A1_50G", - "SUBCORE_VM_FIXED4020_A1_50G", - "SUBCORE_VM_FIXED4040_A1_50G", - "SUBCORE_VM_FIXED4060_A1_50G", - "SUBCORE_VM_FIXED4080_A1_50G", - "SUBCORE_VM_FIXED4100_A1_50G", - "SUBCORE_VM_FIXED4120_A1_50G", - "SUBCORE_VM_FIXED4140_A1_50G", - "SUBCORE_VM_FIXED4160_A1_50G", - "SUBCORE_VM_FIXED4180_A1_50G", - "SUBCORE_VM_FIXED4200_A1_50G", - "SUBCORE_VM_FIXED4220_A1_50G", - "SUBCORE_VM_FIXED4240_A1_50G", - "SUBCORE_VM_FIXED4260_A1_50G", - "SUBCORE_VM_FIXED4280_A1_50G", - "SUBCORE_VM_FIXED4300_A1_50G", - "SUBCORE_VM_FIXED4320_A1_50G", - "SUBCORE_VM_FIXED4340_A1_50G", - "SUBCORE_VM_FIXED4360_A1_50G", - "SUBCORE_VM_FIXED4380_A1_50G", - "SUBCORE_VM_FIXED4400_A1_50G", - "SUBCORE_VM_FIXED4420_A1_50G", - "SUBCORE_VM_FIXED4440_A1_50G", - "SUBCORE_VM_FIXED4460_A1_50G", - "SUBCORE_VM_FIXED4480_A1_50G", - "SUBCORE_VM_FIXED4500_A1_50G", - "SUBCORE_VM_FIXED4520_A1_50G", - "SUBCORE_VM_FIXED4540_A1_50G", - "SUBCORE_VM_FIXED4560_A1_50G", - "SUBCORE_VM_FIXED4580_A1_50G", - "SUBCORE_VM_FIXED4600_A1_50G", - "SUBCORE_VM_FIXED4620_A1_50G", - "SUBCORE_VM_FIXED4640_A1_50G", - "SUBCORE_VM_FIXED4660_A1_50G", - "SUBCORE_VM_FIXED4680_A1_50G", - "SUBCORE_VM_FIXED4700_A1_50G", - "SUBCORE_VM_FIXED4720_A1_50G", - "SUBCORE_VM_FIXED4740_A1_50G", - "SUBCORE_VM_FIXED4760_A1_50G", - "SUBCORE_VM_FIXED4780_A1_50G", - "SUBCORE_VM_FIXED4800_A1_50G", - "SUBCORE_VM_FIXED4820_A1_50G", - "SUBCORE_VM_FIXED4840_A1_50G", - "SUBCORE_VM_FIXED4860_A1_50G", - "SUBCORE_VM_FIXED4880_A1_50G", - "SUBCORE_VM_FIXED4900_A1_50G", - "SUBCORE_VM_FIXED4920_A1_50G", - "SUBCORE_VM_FIXED4940_A1_50G", - "SUBCORE_VM_FIXED4960_A1_50G", - "SUBCORE_VM_FIXED4980_A1_50G", - "SUBCORE_VM_FIXED5000_A1_50G", - "SUBCORE_VM_FIXED0090_X9_50G", - "SUBCORE_VM_FIXED0180_X9_50G", - "SUBCORE_VM_FIXED0270_X9_50G", - "SUBCORE_VM_FIXED0360_X9_50G", - "SUBCORE_VM_FIXED0450_X9_50G", - "SUBCORE_VM_FIXED0540_X9_50G", - "SUBCORE_VM_FIXED0630_X9_50G", - "SUBCORE_VM_FIXED0720_X9_50G", - "SUBCORE_VM_FIXED0810_X9_50G", - "SUBCORE_VM_FIXED0900_X9_50G", - "SUBCORE_VM_FIXED0990_X9_50G", - "SUBCORE_VM_FIXED1080_X9_50G", - "SUBCORE_VM_FIXED1170_X9_50G", - "SUBCORE_VM_FIXED1260_X9_50G", - "SUBCORE_VM_FIXED1350_X9_50G", - "SUBCORE_VM_FIXED1440_X9_50G", - "SUBCORE_VM_FIXED1530_X9_50G", - "SUBCORE_VM_FIXED1620_X9_50G", - "SUBCORE_VM_FIXED1710_X9_50G", - "SUBCORE_VM_FIXED1800_X9_50G", - "SUBCORE_VM_FIXED1890_X9_50G", - "SUBCORE_VM_FIXED1980_X9_50G", - "SUBCORE_VM_FIXED2070_X9_50G", - "SUBCORE_VM_FIXED2160_X9_50G", - "SUBCORE_VM_FIXED2250_X9_50G", - "SUBCORE_VM_FIXED2340_X9_50G", - "SUBCORE_VM_FIXED2430_X9_50G", - "SUBCORE_VM_FIXED2520_X9_50G", - "SUBCORE_VM_FIXED2610_X9_50G", - "SUBCORE_VM_FIXED2700_X9_50G", - "SUBCORE_VM_FIXED2790_X9_50G", - "SUBCORE_VM_FIXED2880_X9_50G", - "SUBCORE_VM_FIXED2970_X9_50G", - "SUBCORE_VM_FIXED3060_X9_50G", - "SUBCORE_VM_FIXED3150_X9_50G", - "SUBCORE_VM_FIXED3240_X9_50G", - "SUBCORE_VM_FIXED3330_X9_50G", - "SUBCORE_VM_FIXED3420_X9_50G", - "SUBCORE_VM_FIXED3510_X9_50G", - "SUBCORE_VM_FIXED3600_X9_50G", - "SUBCORE_VM_FIXED3690_X9_50G", - "SUBCORE_VM_FIXED3780_X9_50G", - "SUBCORE_VM_FIXED3870_X9_50G", - "SUBCORE_VM_FIXED3960_X9_50G", - "SUBCORE_VM_FIXED4050_X9_50G", - "SUBCORE_VM_FIXED4140_X9_50G", - "SUBCORE_VM_FIXED4230_X9_50G", - "SUBCORE_VM_FIXED4320_X9_50G", - "SUBCORE_VM_FIXED4410_X9_50G", - "SUBCORE_VM_FIXED4500_X9_50G", - "SUBCORE_VM_FIXED4590_X9_50G", - "SUBCORE_VM_FIXED4680_X9_50G", - "SUBCORE_VM_FIXED4770_X9_50G", - "SUBCORE_VM_FIXED4860_X9_50G", - "SUBCORE_VM_FIXED4950_X9_50G", - "DYNAMIC_A1_50G", - "FIXED0040_A1_50G", - "FIXED0100_A1_50G", - "FIXED0200_A1_50G", - "FIXED0300_A1_50G", - "FIXED0400_A1_50G", - "FIXED0500_A1_50G", - "FIXED0600_A1_50G", - "FIXED0700_A1_50G", - "FIXED0800_A1_50G", - "FIXED0900_A1_50G", - "FIXED1000_A1_50G", - "FIXED1100_A1_50G", - "FIXED1200_A1_50G", - "FIXED1300_A1_50G", - "FIXED1400_A1_50G", - "FIXED1500_A1_50G", - "FIXED1600_A1_50G", - "FIXED1700_A1_50G", - "FIXED1800_A1_50G", - "FIXED1900_A1_50G", - "FIXED2000_A1_50G", - "FIXED2100_A1_50G", - "FIXED2200_A1_50G", - "FIXED2300_A1_50G", - "FIXED2400_A1_50G", - "FIXED2500_A1_50G", - "FIXED2600_A1_50G", - "FIXED2700_A1_50G", - "FIXED2800_A1_50G", - "FIXED2900_A1_50G", - "FIXED3000_A1_50G", - "FIXED3100_A1_50G", - "FIXED3200_A1_50G", - "FIXED3300_A1_50G", - "FIXED3400_A1_50G", - "FIXED3500_A1_50G", - "FIXED3600_A1_50G", - "FIXED3700_A1_50G", - "FIXED3800_A1_50G", - "FIXED3900_A1_50G", - "FIXED4000_A1_50G", - "ENTIREHOST_A1_50G", - "DYNAMIC_X9_50G", - "FIXED0040_X9_50G", - "FIXED0400_X9_50G", - "FIXED0800_X9_50G", - "FIXED1200_X9_50G", - "FIXED1600_X9_50G", - "FIXED2000_X9_50G", - "FIXED2400_X9_50G", - "FIXED2800_X9_50G", - "FIXED3200_X9_50G", - "FIXED3600_X9_50G", - "FIXED4000_X9_50G", - "STANDARD_VM_FIXED0100_X9_50G", - "STANDARD_VM_FIXED0200_X9_50G", - "STANDARD_VM_FIXED0300_X9_50G", - "STANDARD_VM_FIXED0400_X9_50G", - "STANDARD_VM_FIXED0500_X9_50G", - "STANDARD_VM_FIXED0600_X9_50G", - "STANDARD_VM_FIXED0700_X9_50G", - "STANDARD_VM_FIXED0800_X9_50G", - "STANDARD_VM_FIXED0900_X9_50G", - "STANDARD_VM_FIXED1000_X9_50G", - "STANDARD_VM_FIXED1100_X9_50G", - "STANDARD_VM_FIXED1200_X9_50G", - "STANDARD_VM_FIXED1300_X9_50G", - "STANDARD_VM_FIXED1400_X9_50G", - "STANDARD_VM_FIXED1500_X9_50G", - "STANDARD_VM_FIXED1600_X9_50G", - "STANDARD_VM_FIXED1700_X9_50G", - "STANDARD_VM_FIXED1800_X9_50G", - "STANDARD_VM_FIXED1900_X9_50G", - "STANDARD_VM_FIXED2000_X9_50G", - "STANDARD_VM_FIXED2100_X9_50G", - "STANDARD_VM_FIXED2200_X9_50G", - "STANDARD_VM_FIXED2300_X9_50G", - "STANDARD_VM_FIXED2400_X9_50G", - "STANDARD_VM_FIXED2500_X9_50G", - "STANDARD_VM_FIXED2600_X9_50G", - "STANDARD_VM_FIXED2700_X9_50G", - "STANDARD_VM_FIXED2800_X9_50G", - "STANDARD_VM_FIXED2900_X9_50G", - "STANDARD_VM_FIXED3000_X9_50G", - "STANDARD_VM_FIXED3100_X9_50G", - "STANDARD_VM_FIXED3200_X9_50G", - "STANDARD_VM_FIXED3300_X9_50G", - "STANDARD_VM_FIXED3400_X9_50G", - "STANDARD_VM_FIXED3500_X9_50G", - "STANDARD_VM_FIXED3600_X9_50G", - "STANDARD_VM_FIXED3700_X9_50G", - "STANDARD_VM_FIXED3800_X9_50G", - "STANDARD_VM_FIXED3900_X9_50G", - "STANDARD_VM_FIXED4000_X9_50G", - "ENTIREHOST_X9_50G", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_create_details.go deleted file mode 100644 index 1a54d721f670..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_create_details.go +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternetDrgAttachmentNetworkCreateDetails Create details for an "Internet" attachment for a DRG -type InternetDrgAttachmentNetworkCreateDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. - Id *string `mandatory:"true" json:"id"` - - // The list of BYOIP Range OCIDs used to be accessible to the internet via this DRG. - ByoipRangeIds []string `mandatory:"false" json:"byoipRangeIds"` - - // The list of Public IPv4 or IPv6 CIDRs ["100.0.0.0/24"] accessible to the internet via this DRG. - PublicCidrBlocks []string `mandatory:"false" json:"publicCidrBlocks"` -} - -// GetId returns Id -func (m InternetDrgAttachmentNetworkCreateDetails) GetId() *string { - return m.Id -} - -func (m InternetDrgAttachmentNetworkCreateDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternetDrgAttachmentNetworkCreateDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m InternetDrgAttachmentNetworkCreateDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeInternetDrgAttachmentNetworkCreateDetails InternetDrgAttachmentNetworkCreateDetails - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeInternetDrgAttachmentNetworkCreateDetails - }{ - "INTERNET", - (MarshalTypeInternetDrgAttachmentNetworkCreateDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_details.go deleted file mode 100644 index 7492a25f5147..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_details.go +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternetDrgAttachmentNetworkDetails Details for an "Internet" attachment for a DRG -type InternetDrgAttachmentNetworkDetails struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. - Id *string `mandatory:"true" json:"id"` - - // The list of BYOIP Range OCIDs used to be accessible to the internet via this DRG. - ByoipRangeIds []string `mandatory:"false" json:"byoipRangeIds"` - - // The list of Public IPv4 or IPv6 CIDRs ["100.0.0.0/24"] used to be - // accessible to the internet via this DRG. - PublicCidrBlocks []string `mandatory:"false" json:"publicCidrBlocks"` -} - -// GetId returns Id -func (m InternetDrgAttachmentNetworkDetails) GetId() *string { - return m.Id -} - -func (m InternetDrgAttachmentNetworkDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternetDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m InternetDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeInternetDrgAttachmentNetworkDetails InternetDrgAttachmentNetworkDetails - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeInternetDrgAttachmentNetworkDetails - }{ - "INTERNET", - (MarshalTypeInternetDrgAttachmentNetworkDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_update_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_update_details.go deleted file mode 100644 index 958938c8b7b4..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_drg_attachment_network_update_details.go +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// InternetDrgAttachmentNetworkUpdateDetails Update details for an Internet attachment for a DRG. -type InternetDrgAttachmentNetworkUpdateDetails struct { - - // The list of BYOIP Range OCIDs accessible to the internet via this DRG. - ByoipRangeIds []string `mandatory:"false" json:"byoipRangeIds"` - - // The list of Public IPv4 or IPv6 CIDRs ["100.0.0.0/24"] - // accessible to the internet via this DRG. - PublicCidrBlocks []string `mandatory:"false" json:"publicCidrBlocks"` -} - -func (m InternetDrgAttachmentNetworkUpdateDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InternetDrgAttachmentNetworkUpdateDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m InternetDrgAttachmentNetworkUpdateDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeInternetDrgAttachmentNetworkUpdateDetails InternetDrgAttachmentNetworkUpdateDetails - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeInternetDrgAttachmentNetworkUpdateDetails - }{ - "INTERNET", - (MarshalTypeInternetDrgAttachmentNetworkUpdateDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_migration_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_migration_status.go deleted file mode 100644 index cbbaa7840efe..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_migration_status.go +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// IpSecConnectionMigrationStatus The IPSec connection's migration status. -type IpSecConnectionMigrationStatus struct { - - // The IPSec connection's migration status. - MigrationStatus IpSecConnectionMigrationStatusMigrationStatusEnum `mandatory:"true" json:"migrationStatus"` - - // The start timestamp for Site-to-Site VPN migration work. - StartTimeStamp *common.SDKTime `mandatory:"true" json:"startTimeStamp"` -} - -func (m IpSecConnectionMigrationStatus) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m IpSecConnectionMigrationStatus) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingIpSecConnectionMigrationStatusMigrationStatusEnum[string(m.MigrationStatus)]; !ok && m.MigrationStatus != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MigrationStatus: %s. Supported values are: %s.", m.MigrationStatus, strings.Join(GetIpSecConnectionMigrationStatusMigrationStatusEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// IpSecConnectionMigrationStatusMigrationStatusEnum Enum with underlying type: string -type IpSecConnectionMigrationStatusMigrationStatusEnum string - -// Set of constants representing the allowable values for IpSecConnectionMigrationStatusMigrationStatusEnum -const ( - IpSecConnectionMigrationStatusMigrationStatusReady IpSecConnectionMigrationStatusMigrationStatusEnum = "READY" - IpSecConnectionMigrationStatusMigrationStatusMigrated IpSecConnectionMigrationStatusMigrationStatusEnum = "MIGRATED" - IpSecConnectionMigrationStatusMigrationStatusMigrating IpSecConnectionMigrationStatusMigrationStatusEnum = "MIGRATING" - IpSecConnectionMigrationStatusMigrationStatusMigrationFailed IpSecConnectionMigrationStatusMigrationStatusEnum = "MIGRATION_FAILED" - IpSecConnectionMigrationStatusMigrationStatusRolledBack IpSecConnectionMigrationStatusMigrationStatusEnum = "ROLLED_BACK" - IpSecConnectionMigrationStatusMigrationStatusRollingBack IpSecConnectionMigrationStatusMigrationStatusEnum = "ROLLING_BACK" - IpSecConnectionMigrationStatusMigrationStatusRollbackFailed IpSecConnectionMigrationStatusMigrationStatusEnum = "ROLLBACK_FAILED" - IpSecConnectionMigrationStatusMigrationStatusNotApplicable IpSecConnectionMigrationStatusMigrationStatusEnum = "NOT_APPLICABLE" - IpSecConnectionMigrationStatusMigrationStatusManual IpSecConnectionMigrationStatusMigrationStatusEnum = "MANUAL" - IpSecConnectionMigrationStatusMigrationStatusValidating IpSecConnectionMigrationStatusMigrationStatusEnum = "VALIDATING" -) - -var mappingIpSecConnectionMigrationStatusMigrationStatusEnum = map[string]IpSecConnectionMigrationStatusMigrationStatusEnum{ - "READY": IpSecConnectionMigrationStatusMigrationStatusReady, - "MIGRATED": IpSecConnectionMigrationStatusMigrationStatusMigrated, - "MIGRATING": IpSecConnectionMigrationStatusMigrationStatusMigrating, - "MIGRATION_FAILED": IpSecConnectionMigrationStatusMigrationStatusMigrationFailed, - "ROLLED_BACK": IpSecConnectionMigrationStatusMigrationStatusRolledBack, - "ROLLING_BACK": IpSecConnectionMigrationStatusMigrationStatusRollingBack, - "ROLLBACK_FAILED": IpSecConnectionMigrationStatusMigrationStatusRollbackFailed, - "NOT_APPLICABLE": IpSecConnectionMigrationStatusMigrationStatusNotApplicable, - "MANUAL": IpSecConnectionMigrationStatusMigrationStatusManual, - "VALIDATING": IpSecConnectionMigrationStatusMigrationStatusValidating, -} - -// GetIpSecConnectionMigrationStatusMigrationStatusEnumValues Enumerates the set of values for IpSecConnectionMigrationStatusMigrationStatusEnum -func GetIpSecConnectionMigrationStatusMigrationStatusEnumValues() []IpSecConnectionMigrationStatusMigrationStatusEnum { - values := make([]IpSecConnectionMigrationStatusMigrationStatusEnum, 0) - for _, v := range mappingIpSecConnectionMigrationStatusMigrationStatusEnum { - values = append(values, v) - } - return values -} - -// GetIpSecConnectionMigrationStatusMigrationStatusEnumStringValues Enumerates the set of values in String for IpSecConnectionMigrationStatusMigrationStatusEnum -func GetIpSecConnectionMigrationStatusMigrationStatusEnumStringValues() []string { - return []string{ - "READY", - "MIGRATED", - "MIGRATING", - "MIGRATION_FAILED", - "ROLLED_BACK", - "ROLLING_BACK", - "ROLLBACK_FAILED", - "NOT_APPLICABLE", - "MANUAL", - "VALIDATING", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipsec_tunnel_drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipsec_tunnel_drg_attachment_network_create_details.go deleted file mode 100644 index 6681aebcc8af..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipsec_tunnel_drg_attachment_network_create_details.go +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// IpsecTunnelDrgAttachmentNetworkCreateDetails Specifies the IPSec tunnel attachment. -type IpsecTunnelDrgAttachmentNetworkCreateDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the IPSec connection. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The BGP ASN to use for the IPSec connection's route target - RegionalOciAsn *string `mandatory:"true" json:"regionalOciAsn"` - - // The IPSec connection that contains the attached IPSec tunnel. - IpsecConnectionId *string `mandatory:"true" json:"ipsecConnectionId"` -} - -// GetId returns Id -func (m IpsecTunnelDrgAttachmentNetworkCreateDetails) GetId() *string { - return m.Id -} - -func (m IpsecTunnelDrgAttachmentNetworkCreateDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m IpsecTunnelDrgAttachmentNetworkCreateDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m IpsecTunnelDrgAttachmentNetworkCreateDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeIpsecTunnelDrgAttachmentNetworkCreateDetails IpsecTunnelDrgAttachmentNetworkCreateDetails - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeIpsecTunnelDrgAttachmentNetworkCreateDetails - }{ - "IPSEC_TUNNEL", - (MarshalTypeIpsecTunnelDrgAttachmentNetworkCreateDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ldap_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ldap_config_details.go deleted file mode 100644 index 1f3337797401..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ldap_config_details.go +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// LdapConfigDetails The detail of LDAP's authentication configuration. -type LdapConfigDetails struct { - - // The IP address of primary LDAP server. - PrimaryServer *string `mandatory:"false" json:"primaryServer"` - - // The IP address of secondary LDAP server. - SecondaryServer *string `mandatory:"false" json:"secondaryServer"` - - // Option for LDAP SSL once customer enables SSL for certain ClientVpn. - // Allowed values: - // * `NEVER`: Do not use SSL (the default setting). - // * `ADAPTIVE`: Try using SSL, if that fails, use plain-text to get through authentication. - // * `ALWAYS`: Always use SSL. - UseSsl LdapConfigDetailsUseSslEnum `mandatory:"false" json:"useSsl,omitempty"` - - // Choose the authentication method once useSSL enabled. - // Allowed values: - // * `NEVER`: No peer certificate is required. - // * `ALLOW`: Request a peer certificate, but session will not be aborted if certificate cannot be validated. - // * `DEMAND`: A valid peer certificate is required, then session will be aborted if one is not provided. - VerifySsl LdapConfigDetailsVerifySslEnum `mandatory:"false" json:"verifySsl,omitempty"` - - // Enable case-sensitivity or not in LDAP authentication. - IsCaseSensitive *bool `mandatory:"false" json:"isCaseSensitive"` - - // Whether to apply Anonymous bind or not. - IsBindAnon *bool `mandatory:"false" json:"isBindAnon"` - - // The bind DN (Distinguished Name) includes the user and location of the - // user in LDAP directory tree - BindDN *string `mandatory:"false" json:"bindDN"` - - // The bind password is used to log in the LDAP server. - BindPW *string `mandatory:"false" json:"bindPW"` - - // The starting point element helps LDAP service to navigate search scope. - BaseDN *string `mandatory:"false" json:"baseDN"` - - // The username of client at attribute level. - ClientUsername *string `mandatory:"false" json:"clientUsername"` - - // This additional requirement uses LDAP query syntax. E.g., to require that the user be a member of a particular LDAP group (specified by DN) use this filter: - // memberOf=CN=VPN Users, CN=Users, DC=example, DC=net - AdditionalRequirements *string `mandatory:"false" json:"additionalRequirements"` -} - -func (m LdapConfigDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m LdapConfigDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingLdapConfigDetailsUseSslEnum[string(m.UseSsl)]; !ok && m.UseSsl != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UseSsl: %s. Supported values are: %s.", m.UseSsl, strings.Join(GetLdapConfigDetailsUseSslEnumStringValues(), ","))) - } - if _, ok := mappingLdapConfigDetailsVerifySslEnum[string(m.VerifySsl)]; !ok && m.VerifySsl != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VerifySsl: %s. Supported values are: %s.", m.VerifySsl, strings.Join(GetLdapConfigDetailsVerifySslEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// LdapConfigDetailsUseSslEnum Enum with underlying type: string -type LdapConfigDetailsUseSslEnum string - -// Set of constants representing the allowable values for LdapConfigDetailsUseSslEnum -const ( - LdapConfigDetailsUseSslNever LdapConfigDetailsUseSslEnum = "NEVER" - LdapConfigDetailsUseSslAdaptive LdapConfigDetailsUseSslEnum = "ADAPTIVE" - LdapConfigDetailsUseSslAlways LdapConfigDetailsUseSslEnum = "ALWAYS" -) - -var mappingLdapConfigDetailsUseSslEnum = map[string]LdapConfigDetailsUseSslEnum{ - "NEVER": LdapConfigDetailsUseSslNever, - "ADAPTIVE": LdapConfigDetailsUseSslAdaptive, - "ALWAYS": LdapConfigDetailsUseSslAlways, -} - -// GetLdapConfigDetailsUseSslEnumValues Enumerates the set of values for LdapConfigDetailsUseSslEnum -func GetLdapConfigDetailsUseSslEnumValues() []LdapConfigDetailsUseSslEnum { - values := make([]LdapConfigDetailsUseSslEnum, 0) - for _, v := range mappingLdapConfigDetailsUseSslEnum { - values = append(values, v) - } - return values -} - -// GetLdapConfigDetailsUseSslEnumStringValues Enumerates the set of values in String for LdapConfigDetailsUseSslEnum -func GetLdapConfigDetailsUseSslEnumStringValues() []string { - return []string{ - "NEVER", - "ADAPTIVE", - "ALWAYS", - } -} - -// LdapConfigDetailsVerifySslEnum Enum with underlying type: string -type LdapConfigDetailsVerifySslEnum string - -// Set of constants representing the allowable values for LdapConfigDetailsVerifySslEnum -const ( - LdapConfigDetailsVerifySslNever LdapConfigDetailsVerifySslEnum = "NEVER" - LdapConfigDetailsVerifySslAllow LdapConfigDetailsVerifySslEnum = "ALLOW" - LdapConfigDetailsVerifySslDemand LdapConfigDetailsVerifySslEnum = "DEMAND" -) - -var mappingLdapConfigDetailsVerifySslEnum = map[string]LdapConfigDetailsVerifySslEnum{ - "NEVER": LdapConfigDetailsVerifySslNever, - "ALLOW": LdapConfigDetailsVerifySslAllow, - "DEMAND": LdapConfigDetailsVerifySslDemand, -} - -// GetLdapConfigDetailsVerifySslEnumValues Enumerates the set of values for LdapConfigDetailsVerifySslEnum -func GetLdapConfigDetailsVerifySslEnumValues() []LdapConfigDetailsVerifySslEnum { - values := make([]LdapConfigDetailsVerifySslEnum, 0) - for _, v := range mappingLdapConfigDetailsVerifySslEnum { - values = append(values, v) - } - return values -} - -// GetLdapConfigDetailsVerifySslEnumStringValues Enumerates the set of values in String for LdapConfigDetailsVerifySslEnum -func GetLdapConfigDetailsVerifySslEnumStringValues() []string { - return []string{ - "NEVER", - "ALLOW", - "DEMAND", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_additional_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_additional_route_rules_request_response.go deleted file mode 100644 index b1c6e484d755..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_additional_route_rules_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListAdditionalRouteRulesRequest wrapper for the ListAdditionalRouteRules operation -type ListAdditionalRouteRulesRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table. - RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // 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 ListAdditionalRouteRulesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListAdditionalRouteRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListAdditionalRouteRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListAdditionalRouteRulesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListAdditionalRouteRulesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListAdditionalRouteRulesResponse wrapper for the ListAdditionalRouteRules operation -type ListAdditionalRouteRulesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []AdditionalRouteRule instances - Items []AdditionalRouteRule `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 ListAdditionalRouteRulesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListAdditionalRouteRulesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_c3_drg_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_c3_drg_attachments_request_response.go deleted file mode 100644 index 75388738ab2d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_c3_drg_attachments_request_response.go +++ /dev/null @@ -1,252 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListC3DrgAttachmentsRequest wrapper for the ListC3DrgAttachments operation -type ListC3DrgAttachmentsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG. - NetworkId *string `mandatory:"false" contributesTo:"query" name:"networkId"` - - // The type for the network resource attached to the DRG. - AttachmentType ListC3DrgAttachmentsAttachmentTypeEnum `mandatory:"false" contributesTo:"query" name:"attachmentType" omitEmpty:"true"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to the DRG attachment. - DrgRouteTableId *string `mandatory:"false" contributesTo:"query" name:"drgRouteTableId"` - - // A filter to return only resources that match the given display name exactly. - DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - - // 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 ListC3DrgAttachmentsSortByEnum `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 ListC3DrgAttachmentsSortOrderEnum `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. - LifecycleState DrgAttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - - // 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 ListC3DrgAttachmentsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListC3DrgAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListC3DrgAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListC3DrgAttachmentsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListC3DrgAttachmentsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListC3DrgAttachmentsAttachmentTypeEnum[string(request.AttachmentType)]; !ok && request.AttachmentType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AttachmentType: %s. Supported values are: %s.", request.AttachmentType, strings.Join(GetListC3DrgAttachmentsAttachmentTypeEnumStringValues(), ","))) - } - if _, ok := mappingListC3DrgAttachmentsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListC3DrgAttachmentsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListC3DrgAttachmentsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListC3DrgAttachmentsSortOrderEnumStringValues(), ","))) - } - if _, ok := mappingDrgAttachmentLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgAttachmentLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListC3DrgAttachmentsResponse wrapper for the ListC3DrgAttachments operation -type ListC3DrgAttachmentsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []DrgAttachment instances - Items []DrgAttachment `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 ListC3DrgAttachmentsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListC3DrgAttachmentsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListC3DrgAttachmentsAttachmentTypeEnum Enum with underlying type: string -type ListC3DrgAttachmentsAttachmentTypeEnum string - -// Set of constants representing the allowable values for ListC3DrgAttachmentsAttachmentTypeEnum -const ( - ListC3DrgAttachmentsAttachmentTypeVcn ListC3DrgAttachmentsAttachmentTypeEnum = "VCN" - ListC3DrgAttachmentsAttachmentTypeVirtualCircuit ListC3DrgAttachmentsAttachmentTypeEnum = "VIRTUAL_CIRCUIT" - ListC3DrgAttachmentsAttachmentTypeRemotePeeringConnection ListC3DrgAttachmentsAttachmentTypeEnum = "REMOTE_PEERING_CONNECTION" - ListC3DrgAttachmentsAttachmentTypeIpsecTunnel ListC3DrgAttachmentsAttachmentTypeEnum = "IPSEC_TUNNEL" - ListC3DrgAttachmentsAttachmentTypeAll ListC3DrgAttachmentsAttachmentTypeEnum = "ALL" -) - -var mappingListC3DrgAttachmentsAttachmentTypeEnum = map[string]ListC3DrgAttachmentsAttachmentTypeEnum{ - "VCN": ListC3DrgAttachmentsAttachmentTypeVcn, - "VIRTUAL_CIRCUIT": ListC3DrgAttachmentsAttachmentTypeVirtualCircuit, - "REMOTE_PEERING_CONNECTION": ListC3DrgAttachmentsAttachmentTypeRemotePeeringConnection, - "IPSEC_TUNNEL": ListC3DrgAttachmentsAttachmentTypeIpsecTunnel, - "ALL": ListC3DrgAttachmentsAttachmentTypeAll, -} - -// GetListC3DrgAttachmentsAttachmentTypeEnumValues Enumerates the set of values for ListC3DrgAttachmentsAttachmentTypeEnum -func GetListC3DrgAttachmentsAttachmentTypeEnumValues() []ListC3DrgAttachmentsAttachmentTypeEnum { - values := make([]ListC3DrgAttachmentsAttachmentTypeEnum, 0) - for _, v := range mappingListC3DrgAttachmentsAttachmentTypeEnum { - values = append(values, v) - } - return values -} - -// GetListC3DrgAttachmentsAttachmentTypeEnumStringValues Enumerates the set of values in String for ListC3DrgAttachmentsAttachmentTypeEnum -func GetListC3DrgAttachmentsAttachmentTypeEnumStringValues() []string { - return []string{ - "VCN", - "VIRTUAL_CIRCUIT", - "REMOTE_PEERING_CONNECTION", - "IPSEC_TUNNEL", - "ALL", - } -} - -// ListC3DrgAttachmentsSortByEnum Enum with underlying type: string -type ListC3DrgAttachmentsSortByEnum string - -// Set of constants representing the allowable values for ListC3DrgAttachmentsSortByEnum -const ( - ListC3DrgAttachmentsSortByTimecreated ListC3DrgAttachmentsSortByEnum = "TIMECREATED" - ListC3DrgAttachmentsSortByDisplayname ListC3DrgAttachmentsSortByEnum = "DISPLAYNAME" -) - -var mappingListC3DrgAttachmentsSortByEnum = map[string]ListC3DrgAttachmentsSortByEnum{ - "TIMECREATED": ListC3DrgAttachmentsSortByTimecreated, - "DISPLAYNAME": ListC3DrgAttachmentsSortByDisplayname, -} - -// GetListC3DrgAttachmentsSortByEnumValues Enumerates the set of values for ListC3DrgAttachmentsSortByEnum -func GetListC3DrgAttachmentsSortByEnumValues() []ListC3DrgAttachmentsSortByEnum { - values := make([]ListC3DrgAttachmentsSortByEnum, 0) - for _, v := range mappingListC3DrgAttachmentsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListC3DrgAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListC3DrgAttachmentsSortByEnum -func GetListC3DrgAttachmentsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListC3DrgAttachmentsSortOrderEnum Enum with underlying type: string -type ListC3DrgAttachmentsSortOrderEnum string - -// Set of constants representing the allowable values for ListC3DrgAttachmentsSortOrderEnum -const ( - ListC3DrgAttachmentsSortOrderAsc ListC3DrgAttachmentsSortOrderEnum = "ASC" - ListC3DrgAttachmentsSortOrderDesc ListC3DrgAttachmentsSortOrderEnum = "DESC" -) - -var mappingListC3DrgAttachmentsSortOrderEnum = map[string]ListC3DrgAttachmentsSortOrderEnum{ - "ASC": ListC3DrgAttachmentsSortOrderAsc, - "DESC": ListC3DrgAttachmentsSortOrderDesc, -} - -// GetListC3DrgAttachmentsSortOrderEnumValues Enumerates the set of values for ListC3DrgAttachmentsSortOrderEnum -func GetListC3DrgAttachmentsSortOrderEnumValues() []ListC3DrgAttachmentsSortOrderEnum { - values := make([]ListC3DrgAttachmentsSortOrderEnum, 0) - for _, v := range mappingListC3DrgAttachmentsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListC3DrgAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListC3DrgAttachmentsSortOrderEnum -func GetListC3DrgAttachmentsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_c3_drgs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_c3_drgs_request_response.go deleted file mode 100644 index 13d706d87486..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_c3_drgs_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListC3DrgsRequest wrapper for the ListC3Drgs operation -type ListC3DrgsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique 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 ListC3DrgsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListC3DrgsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListC3DrgsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListC3DrgsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListC3DrgsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListC3DrgsResponse wrapper for the ListC3Drgs operation -type ListC3DrgsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []Drg instances - Items []Drg `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 ListC3DrgsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListC3DrgsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_client_vpn_users_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_client_vpn_users_request_response.go deleted file mode 100644 index b61d1fe0e91e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_client_vpn_users_request_response.go +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListClientVpnUsersRequest wrapper for the ListClientVpnUsers operation -type ListClientVpnUsersRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // A filter to return only resources that match the given display name exactly. - DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - - // 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 ListClientVpnUsersSortByEnum `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 ListClientVpnUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // 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 ListClientVpnUsersRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListClientVpnUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListClientVpnUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListClientVpnUsersRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListClientVpnUsersRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListClientVpnUsersSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListClientVpnUsersSortByEnumStringValues(), ","))) - } - if _, ok := mappingListClientVpnUsersSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListClientVpnUsersSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListClientVpnUsersResponse wrapper for the ListClientVpnUsers operation -type ListClientVpnUsersResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of ClientVpnUserSummaryCollection instances - ClientVpnUserSummaryCollection `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 ListClientVpnUsersResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListClientVpnUsersResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListClientVpnUsersSortByEnum Enum with underlying type: string -type ListClientVpnUsersSortByEnum string - -// Set of constants representing the allowable values for ListClientVpnUsersSortByEnum -const ( - ListClientVpnUsersSortByTimecreated ListClientVpnUsersSortByEnum = "TIMECREATED" - ListClientVpnUsersSortByDisplayname ListClientVpnUsersSortByEnum = "DISPLAYNAME" -) - -var mappingListClientVpnUsersSortByEnum = map[string]ListClientVpnUsersSortByEnum{ - "TIMECREATED": ListClientVpnUsersSortByTimecreated, - "DISPLAYNAME": ListClientVpnUsersSortByDisplayname, -} - -// GetListClientVpnUsersSortByEnumValues Enumerates the set of values for ListClientVpnUsersSortByEnum -func GetListClientVpnUsersSortByEnumValues() []ListClientVpnUsersSortByEnum { - values := make([]ListClientVpnUsersSortByEnum, 0) - for _, v := range mappingListClientVpnUsersSortByEnum { - values = append(values, v) - } - return values -} - -// GetListClientVpnUsersSortByEnumStringValues Enumerates the set of values in String for ListClientVpnUsersSortByEnum -func GetListClientVpnUsersSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListClientVpnUsersSortOrderEnum Enum with underlying type: string -type ListClientVpnUsersSortOrderEnum string - -// Set of constants representing the allowable values for ListClientVpnUsersSortOrderEnum -const ( - ListClientVpnUsersSortOrderAsc ListClientVpnUsersSortOrderEnum = "ASC" - ListClientVpnUsersSortOrderDesc ListClientVpnUsersSortOrderEnum = "DESC" -) - -var mappingListClientVpnUsersSortOrderEnum = map[string]ListClientVpnUsersSortOrderEnum{ - "ASC": ListClientVpnUsersSortOrderAsc, - "DESC": ListClientVpnUsersSortOrderDesc, -} - -// GetListClientVpnUsersSortOrderEnumValues Enumerates the set of values for ListClientVpnUsersSortOrderEnum -func GetListClientVpnUsersSortOrderEnumValues() []ListClientVpnUsersSortOrderEnum { - values := make([]ListClientVpnUsersSortOrderEnum, 0) - for _, v := range mappingListClientVpnUsersSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListClientVpnUsersSortOrderEnumStringValues Enumerates the set of values in String for ListClientVpnUsersSortOrderEnum -func GetListClientVpnUsersSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_client_vpns_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_client_vpns_request_response.go deleted file mode 100644 index 5f568ad4b35f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_client_vpns_request_response.go +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListClientVpnsRequest wrapper for the ListClientVpns operation -type ListClientVpnsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // 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"` - - // 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 ListClientVpnsSortByEnum `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 ListClientVpnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListClientVpnsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListClientVpnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListClientVpnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListClientVpnsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListClientVpnsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListClientVpnsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListClientVpnsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListClientVpnsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListClientVpnsSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListClientVpnsResponse wrapper for the ListClientVpns operation -type ListClientVpnsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of ClientVpnSummaryCollection instances - ClientVpnSummaryCollection `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 ListClientVpnsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListClientVpnsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListClientVpnsSortByEnum Enum with underlying type: string -type ListClientVpnsSortByEnum string - -// Set of constants representing the allowable values for ListClientVpnsSortByEnum -const ( - ListClientVpnsSortByTimecreated ListClientVpnsSortByEnum = "TIMECREATED" - ListClientVpnsSortByDisplayname ListClientVpnsSortByEnum = "DISPLAYNAME" -) - -var mappingListClientVpnsSortByEnum = map[string]ListClientVpnsSortByEnum{ - "TIMECREATED": ListClientVpnsSortByTimecreated, - "DISPLAYNAME": ListClientVpnsSortByDisplayname, -} - -// GetListClientVpnsSortByEnumValues Enumerates the set of values for ListClientVpnsSortByEnum -func GetListClientVpnsSortByEnumValues() []ListClientVpnsSortByEnum { - values := make([]ListClientVpnsSortByEnum, 0) - for _, v := range mappingListClientVpnsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListClientVpnsSortByEnumStringValues Enumerates the set of values in String for ListClientVpnsSortByEnum -func GetListClientVpnsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListClientVpnsSortOrderEnum Enum with underlying type: string -type ListClientVpnsSortOrderEnum string - -// Set of constants representing the allowable values for ListClientVpnsSortOrderEnum -const ( - ListClientVpnsSortOrderAsc ListClientVpnsSortOrderEnum = "ASC" - ListClientVpnsSortOrderDesc ListClientVpnsSortOrderEnum = "DESC" -) - -var mappingListClientVpnsSortOrderEnum = map[string]ListClientVpnsSortOrderEnum{ - "ASC": ListClientVpnsSortOrderAsc, - "DESC": ListClientVpnsSortOrderDesc, -} - -// GetListClientVpnsSortOrderEnumValues Enumerates the set of values for ListClientVpnsSortOrderEnum -func GetListClientVpnsSortOrderEnumValues() []ListClientVpnsSortOrderEnum { - values := make([]ListClientVpnsSortOrderEnum, 0) - for _, v := range mappingListClientVpnsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListClientVpnsSortOrderEnumStringValues Enumerates the set of values in String for ListClientVpnsSortOrderEnum -func GetListClientVpnsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_davs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_davs_request_response.go deleted file mode 100644 index 4dd51008b67e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_davs_request_response.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListDavsRequest wrapper for the ListDavs operation -type ListDavsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // 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 ListDavsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListDavsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListDavsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListDavsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListDavsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListDavsResponse wrapper for the ListDavs operation -type ListDavsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []Dav instances - Items []Dav `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). - 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 ListDavsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListDavsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drgs_by_states_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drgs_by_states_request_response.go deleted file mode 100644 index 10078f117ab8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drgs_by_states_request_response.go +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListDrgsByStatesRequest wrapper for the ListDrgsByStates operation -type ListDrgsByStatesRequest struct { - - // 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 query param to return resources that match the given compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) exactly. - CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - - // The State of the DRG (Classical/Migrated/Upgraded) of the DRG. - DrgState DrgUpgradeStateStateEnum `mandatory:"false" contributesTo:"query" name:"drgState" omitEmpty:"true"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListDrgsByStatesSortByEnum `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 ListDrgsByStatesSortOrderEnum `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 ListDrgsByStatesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListDrgsByStatesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListDrgsByStatesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListDrgsByStatesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListDrgsByStatesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingDrgUpgradeStateStateEnum[string(request.DrgState)]; !ok && request.DrgState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DrgState: %s. Supported values are: %s.", request.DrgState, strings.Join(GetDrgUpgradeStateStateEnumStringValues(), ","))) - } - if _, ok := mappingListDrgsByStatesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDrgsByStatesSortByEnumStringValues(), ","))) - } - if _, ok := mappingListDrgsByStatesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDrgsByStatesSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListDrgsByStatesResponse wrapper for the ListDrgsByStates operation -type ListDrgsByStatesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []Drg instances - Items []Drg `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 ListDrgsByStatesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListDrgsByStatesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListDrgsByStatesSortByEnum Enum with underlying type: string -type ListDrgsByStatesSortByEnum string - -// Set of constants representing the allowable values for ListDrgsByStatesSortByEnum -const ( - ListDrgsByStatesSortByTimecreated ListDrgsByStatesSortByEnum = "TIMECREATED" - ListDrgsByStatesSortByDisplayname ListDrgsByStatesSortByEnum = "DISPLAYNAME" -) - -var mappingListDrgsByStatesSortByEnum = map[string]ListDrgsByStatesSortByEnum{ - "TIMECREATED": ListDrgsByStatesSortByTimecreated, - "DISPLAYNAME": ListDrgsByStatesSortByDisplayname, -} - -// GetListDrgsByStatesSortByEnumValues Enumerates the set of values for ListDrgsByStatesSortByEnum -func GetListDrgsByStatesSortByEnumValues() []ListDrgsByStatesSortByEnum { - values := make([]ListDrgsByStatesSortByEnum, 0) - for _, v := range mappingListDrgsByStatesSortByEnum { - values = append(values, v) - } - return values -} - -// GetListDrgsByStatesSortByEnumStringValues Enumerates the set of values in String for ListDrgsByStatesSortByEnum -func GetListDrgsByStatesSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListDrgsByStatesSortOrderEnum Enum with underlying type: string -type ListDrgsByStatesSortOrderEnum string - -// Set of constants representing the allowable values for ListDrgsByStatesSortOrderEnum -const ( - ListDrgsByStatesSortOrderAsc ListDrgsByStatesSortOrderEnum = "ASC" - ListDrgsByStatesSortOrderDesc ListDrgsByStatesSortOrderEnum = "DESC" -) - -var mappingListDrgsByStatesSortOrderEnum = map[string]ListDrgsByStatesSortOrderEnum{ - "ASC": ListDrgsByStatesSortOrderAsc, - "DESC": ListDrgsByStatesSortOrderDesc, -} - -// GetListDrgsByStatesSortOrderEnumValues Enumerates the set of values for ListDrgsByStatesSortOrderEnum -func GetListDrgsByStatesSortOrderEnumValues() []ListDrgsByStatesSortOrderEnum { - values := make([]ListDrgsByStatesSortOrderEnum, 0) - for _, v := range mappingListDrgsByStatesSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListDrgsByStatesSortOrderEnumStringValues Enumerates the set of values in String for ListDrgsByStatesSortOrderEnum -func GetListDrgsByStatesSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_endpoint_services_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_endpoint_services_request_response.go deleted file mode 100644 index 792a16211573..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_endpoint_services_request_response.go +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListEndpointServicesRequest wrapper for the ListEndpointServices operation -type ListEndpointServicesRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The 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 - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListEndpointServicesSortByEnum `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 ListEndpointServicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListEndpointServicesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListEndpointServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListEndpointServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListEndpointServicesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListEndpointServicesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListEndpointServicesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListEndpointServicesSortByEnumStringValues(), ","))) - } - if _, ok := mappingListEndpointServicesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListEndpointServicesSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListEndpointServicesResponse wrapper for the ListEndpointServices operation -type ListEndpointServicesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []EndpointServiceSummary instances - Items []EndpointServiceSummary `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 ListEndpointServicesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListEndpointServicesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListEndpointServicesSortByEnum Enum with underlying type: string -type ListEndpointServicesSortByEnum string - -// Set of constants representing the allowable values for ListEndpointServicesSortByEnum -const ( - ListEndpointServicesSortByTimecreated ListEndpointServicesSortByEnum = "TIMECREATED" - ListEndpointServicesSortByDisplayname ListEndpointServicesSortByEnum = "DISPLAYNAME" -) - -var mappingListEndpointServicesSortByEnum = map[string]ListEndpointServicesSortByEnum{ - "TIMECREATED": ListEndpointServicesSortByTimecreated, - "DISPLAYNAME": ListEndpointServicesSortByDisplayname, -} - -// GetListEndpointServicesSortByEnumValues Enumerates the set of values for ListEndpointServicesSortByEnum -func GetListEndpointServicesSortByEnumValues() []ListEndpointServicesSortByEnum { - values := make([]ListEndpointServicesSortByEnum, 0) - for _, v := range mappingListEndpointServicesSortByEnum { - values = append(values, v) - } - return values -} - -// GetListEndpointServicesSortByEnumStringValues Enumerates the set of values in String for ListEndpointServicesSortByEnum -func GetListEndpointServicesSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListEndpointServicesSortOrderEnum Enum with underlying type: string -type ListEndpointServicesSortOrderEnum string - -// Set of constants representing the allowable values for ListEndpointServicesSortOrderEnum -const ( - ListEndpointServicesSortOrderAsc ListEndpointServicesSortOrderEnum = "ASC" - ListEndpointServicesSortOrderDesc ListEndpointServicesSortOrderEnum = "DESC" -) - -var mappingListEndpointServicesSortOrderEnum = map[string]ListEndpointServicesSortOrderEnum{ - "ASC": ListEndpointServicesSortOrderAsc, - "DESC": ListEndpointServicesSortOrderDesc, -} - -// GetListEndpointServicesSortOrderEnumValues Enumerates the set of values for ListEndpointServicesSortOrderEnum -func GetListEndpointServicesSortOrderEnumValues() []ListEndpointServicesSortOrderEnum { - values := make([]ListEndpointServicesSortOrderEnum, 0) - for _, v := range mappingListEndpointServicesSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListEndpointServicesSortOrderEnumStringValues Enumerates the set of values in String for ListEndpointServicesSortOrderEnum -func GetListEndpointServicesSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_flow_log_config_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_flow_log_config_attachments_request_response.go deleted file mode 100644 index 594ba50d768c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_flow_log_config_attachments_request_response.go +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListFlowLogConfigAttachmentsRequest wrapper for the ListFlowLogConfigAttachments operation -type ListFlowLogConfigAttachmentsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a resource that has flow logs enabled. - TargetEntityId *string `mandatory:"false" contributesTo:"query" name:"targetEntityId"` - - // The type of resource that has flow logs enabled. - TargetEntityType ListFlowLogConfigAttachmentsTargetEntityTypeEnum `mandatory:"false" contributesTo:"query" name:"targetEntityType" omitEmpty:"true"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique 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 ListFlowLogConfigAttachmentsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListFlowLogConfigAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListFlowLogConfigAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListFlowLogConfigAttachmentsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListFlowLogConfigAttachmentsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListFlowLogConfigAttachmentsTargetEntityTypeEnum[string(request.TargetEntityType)]; !ok && request.TargetEntityType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetEntityType: %s. Supported values are: %s.", request.TargetEntityType, strings.Join(GetListFlowLogConfigAttachmentsTargetEntityTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListFlowLogConfigAttachmentsResponse wrapper for the ListFlowLogConfigAttachments operation -type ListFlowLogConfigAttachmentsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []FlowLogConfigAttachment instances - Items []FlowLogConfigAttachment `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 ListFlowLogConfigAttachmentsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListFlowLogConfigAttachmentsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListFlowLogConfigAttachmentsTargetEntityTypeEnum Enum with underlying type: string -type ListFlowLogConfigAttachmentsTargetEntityTypeEnum string - -// Set of constants representing the allowable values for ListFlowLogConfigAttachmentsTargetEntityTypeEnum -const ( - ListFlowLogConfigAttachmentsTargetEntityTypeSubnet ListFlowLogConfigAttachmentsTargetEntityTypeEnum = "SUBNET" -) - -var mappingListFlowLogConfigAttachmentsTargetEntityTypeEnum = map[string]ListFlowLogConfigAttachmentsTargetEntityTypeEnum{ - "SUBNET": ListFlowLogConfigAttachmentsTargetEntityTypeSubnet, -} - -// GetListFlowLogConfigAttachmentsTargetEntityTypeEnumValues Enumerates the set of values for ListFlowLogConfigAttachmentsTargetEntityTypeEnum -func GetListFlowLogConfigAttachmentsTargetEntityTypeEnumValues() []ListFlowLogConfigAttachmentsTargetEntityTypeEnum { - values := make([]ListFlowLogConfigAttachmentsTargetEntityTypeEnum, 0) - for _, v := range mappingListFlowLogConfigAttachmentsTargetEntityTypeEnum { - values = append(values, v) - } - return values -} - -// GetListFlowLogConfigAttachmentsTargetEntityTypeEnumStringValues Enumerates the set of values in String for ListFlowLogConfigAttachmentsTargetEntityTypeEnum -func GetListFlowLogConfigAttachmentsTargetEntityTypeEnumStringValues() []string { - return []string{ - "SUBNET", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_flow_log_configs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_flow_log_configs_request_response.go deleted file mode 100644 index d15b6e00f8aa..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_flow_log_configs_request_response.go +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListFlowLogConfigsRequest wrapper for the ListFlowLogConfigs operation -type ListFlowLogConfigsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // 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"` - - // 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 ListFlowLogConfigsSortByEnum `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 ListFlowLogConfigsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // 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 ListFlowLogConfigsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListFlowLogConfigsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListFlowLogConfigsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListFlowLogConfigsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListFlowLogConfigsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListFlowLogConfigsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListFlowLogConfigsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListFlowLogConfigsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListFlowLogConfigsSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListFlowLogConfigsResponse wrapper for the ListFlowLogConfigs operation -type ListFlowLogConfigsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []FlowLogConfig instances - Items []FlowLogConfig `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 ListFlowLogConfigsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListFlowLogConfigsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListFlowLogConfigsSortByEnum Enum with underlying type: string -type ListFlowLogConfigsSortByEnum string - -// Set of constants representing the allowable values for ListFlowLogConfigsSortByEnum -const ( - ListFlowLogConfigsSortByTimecreated ListFlowLogConfigsSortByEnum = "TIMECREATED" - ListFlowLogConfigsSortByDisplayname ListFlowLogConfigsSortByEnum = "DISPLAYNAME" -) - -var mappingListFlowLogConfigsSortByEnum = map[string]ListFlowLogConfigsSortByEnum{ - "TIMECREATED": ListFlowLogConfigsSortByTimecreated, - "DISPLAYNAME": ListFlowLogConfigsSortByDisplayname, -} - -// GetListFlowLogConfigsSortByEnumValues Enumerates the set of values for ListFlowLogConfigsSortByEnum -func GetListFlowLogConfigsSortByEnumValues() []ListFlowLogConfigsSortByEnum { - values := make([]ListFlowLogConfigsSortByEnum, 0) - for _, v := range mappingListFlowLogConfigsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListFlowLogConfigsSortByEnumStringValues Enumerates the set of values in String for ListFlowLogConfigsSortByEnum -func GetListFlowLogConfigsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListFlowLogConfigsSortOrderEnum Enum with underlying type: string -type ListFlowLogConfigsSortOrderEnum string - -// Set of constants representing the allowable values for ListFlowLogConfigsSortOrderEnum -const ( - ListFlowLogConfigsSortOrderAsc ListFlowLogConfigsSortOrderEnum = "ASC" - ListFlowLogConfigsSortOrderDesc ListFlowLogConfigsSortOrderEnum = "DESC" -) - -var mappingListFlowLogConfigsSortOrderEnum = map[string]ListFlowLogConfigsSortOrderEnum{ - "ASC": ListFlowLogConfigsSortOrderAsc, - "DESC": ListFlowLogConfigsSortOrderDesc, -} - -// GetListFlowLogConfigsSortOrderEnumValues Enumerates the set of values for ListFlowLogConfigsSortOrderEnum -func GetListFlowLogConfigsSortOrderEnumValues() []ListFlowLogConfigsSortOrderEnum { - values := make([]ListFlowLogConfigsSortOrderEnum, 0) - for _, v := range mappingListFlowLogConfigsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListFlowLogConfigsSortOrderEnumStringValues Enumerates the set of values in String for ListFlowLogConfigsSortOrderEnum -func GetListFlowLogConfigsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_screenshots_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_screenshots_request_response.go deleted file mode 100644 index ef2cacb4fef8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_screenshots_request_response.go +++ /dev/null @@ -1,191 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInstanceScreenshotsRequest wrapper for the ListInstanceScreenshots operation -type ListInstanceScreenshotsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. - InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListInstanceScreenshotsSortByEnum `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 ListInstanceScreenshotsSortOrderEnum `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. - LifecycleState InstanceScreenshotLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListInstanceScreenshotsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInstanceScreenshotsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInstanceScreenshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInstanceScreenshotsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInstanceScreenshotsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListInstanceScreenshotsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInstanceScreenshotsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListInstanceScreenshotsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstanceScreenshotsSortOrderEnumStringValues(), ","))) - } - if _, ok := mappingInstanceScreenshotLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInstanceScreenshotLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInstanceScreenshotsResponse wrapper for the ListInstanceScreenshots operation -type ListInstanceScreenshotsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InstanceScreenshotSummary instances - Items []InstanceScreenshotSummary `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 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"` -} - -func (response ListInstanceScreenshotsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInstanceScreenshotsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListInstanceScreenshotsSortByEnum Enum with underlying type: string -type ListInstanceScreenshotsSortByEnum string - -// Set of constants representing the allowable values for ListInstanceScreenshotsSortByEnum -const ( - ListInstanceScreenshotsSortByTimecreated ListInstanceScreenshotsSortByEnum = "TIMECREATED" - ListInstanceScreenshotsSortByDisplayname ListInstanceScreenshotsSortByEnum = "DISPLAYNAME" -) - -var mappingListInstanceScreenshotsSortByEnum = map[string]ListInstanceScreenshotsSortByEnum{ - "TIMECREATED": ListInstanceScreenshotsSortByTimecreated, - "DISPLAYNAME": ListInstanceScreenshotsSortByDisplayname, -} - -// GetListInstanceScreenshotsSortByEnumValues Enumerates the set of values for ListInstanceScreenshotsSortByEnum -func GetListInstanceScreenshotsSortByEnumValues() []ListInstanceScreenshotsSortByEnum { - values := make([]ListInstanceScreenshotsSortByEnum, 0) - for _, v := range mappingListInstanceScreenshotsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListInstanceScreenshotsSortByEnumStringValues Enumerates the set of values in String for ListInstanceScreenshotsSortByEnum -func GetListInstanceScreenshotsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListInstanceScreenshotsSortOrderEnum Enum with underlying type: string -type ListInstanceScreenshotsSortOrderEnum string - -// Set of constants representing the allowable values for ListInstanceScreenshotsSortOrderEnum -const ( - ListInstanceScreenshotsSortOrderAsc ListInstanceScreenshotsSortOrderEnum = "ASC" - ListInstanceScreenshotsSortOrderDesc ListInstanceScreenshotsSortOrderEnum = "DESC" -) - -var mappingListInstanceScreenshotsSortOrderEnum = map[string]ListInstanceScreenshotsSortOrderEnum{ - "ASC": ListInstanceScreenshotsSortOrderAsc, - "DESC": ListInstanceScreenshotsSortOrderDesc, -} - -// GetListInstanceScreenshotsSortOrderEnumValues Enumerates the set of values for ListInstanceScreenshotsSortOrderEnum -func GetListInstanceScreenshotsSortOrderEnumValues() []ListInstanceScreenshotsSortOrderEnum { - values := make([]ListInstanceScreenshotsSortOrderEnum, 0) - for _, v := range mappingListInstanceScreenshotsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListInstanceScreenshotsSortOrderEnumStringValues Enumerates the set of values in String for ListInstanceScreenshotsSortOrderEnum -func GetListInstanceScreenshotsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_dns_records_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_dns_records_request_response.go deleted file mode 100644 index 42560c65cd3a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_dns_records_request_response.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInternalDnsRecordsRequest wrapper for the ListInternalDnsRecords operation -type ListInternalDnsRecordsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Internal Hosted Zone. - InternalHostedZoneId *string `mandatory:"true" contributesTo:"query" name:"internalHostedZoneId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // 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 ListInternalDnsRecordsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInternalDnsRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInternalDnsRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInternalDnsRecordsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInternalDnsRecordsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInternalDnsRecordsResponse wrapper for the ListInternalDnsRecords operation -type ListInternalDnsRecordsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InternalDnsRecord instances - Items []InternalDnsRecord `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 ListInternalDnsRecordsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInternalDnsRecordsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_drg_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_drg_attachments_request_response.go deleted file mode 100644 index a8d61a7fc865..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_drg_attachments_request_response.go +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInternalDrgAttachmentsRequest wrapper for the ListInternalDrgAttachments operation -type ListInternalDrgAttachmentsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - - // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique 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 ListInternalDrgAttachmentsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInternalDrgAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInternalDrgAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInternalDrgAttachmentsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInternalDrgAttachmentsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInternalDrgAttachmentsResponse wrapper for the ListInternalDrgAttachments operation -type ListInternalDrgAttachmentsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InternalDrgAttachment instances - Items []InternalDrgAttachment `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 ListInternalDrgAttachmentsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInternalDrgAttachmentsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_drgs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_drgs_request_response.go deleted file mode 100644 index ba46927475ba..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_drgs_request_response.go +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInternalDrgsRequest wrapper for the ListInternalDrgs operation -type ListInternalDrgsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - - // 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 only return resources that match the given drgType. The drgType value is the string representation of - // enum: DRG_CLASSICAL, DRG_TRANSIT_HUB. - DrgType InternalDrgDrgTypeEnum `mandatory:"false" contributesTo:"query" name:"drgType" omitEmpty:"true"` - - // 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 ListInternalDrgsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInternalDrgsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInternalDrgsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInternalDrgsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInternalDrgsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingInternalDrgDrgTypeEnum[string(request.DrgType)]; !ok && request.DrgType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DrgType: %s. Supported values are: %s.", request.DrgType, strings.Join(GetInternalDrgDrgTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInternalDrgsResponse wrapper for the ListInternalDrgs operation -type ListInternalDrgsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InternalDrg instances - Items []InternalDrg `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 ListInternalDrgsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInternalDrgsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_generic_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_generic_gateways_request_response.go deleted file mode 100644 index 69fcbbe70b09..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_generic_gateways_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInternalGenericGatewaysRequest wrapper for the ListInternalGenericGateways operation -type ListInternalGenericGatewaysRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // 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 ListInternalGenericGatewaysRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInternalGenericGatewaysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInternalGenericGatewaysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInternalGenericGatewaysRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInternalGenericGatewaysRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInternalGenericGatewaysResponse wrapper for the ListInternalGenericGateways operation -type ListInternalGenericGatewaysResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InternalGenericGateway instances - Items []InternalGenericGateway `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 ListInternalGenericGatewaysResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInternalGenericGatewaysResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_public_ips_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_public_ips_request_response.go deleted file mode 100644 index 56f87ab730d9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_public_ips_request_response.go +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInternalPublicIpsRequest wrapper for the ListInternalPublicIps operation -type ListInternalPublicIpsRequest struct { - - // Whether the public IP is regional or specific to a particular availability domain. - // * `REGION`: The public IP exists within a region and is assigned to a regional entity - // (such as a NatGateway), or can be assigned to a private IP - // in any availability domain in the region. Reserved public IPs have `scope` = `REGION`, as do - // ephemeral public IPs assigned to a regional entity. - // * `AVAILABILITY_DOMAIN`: The public IP exists within the availability domain of the entity - // it's assigned to, which is specified by the `availabilityDomain` property of the public IP object. - // Ephemeral public IPs that are assigned to private IPs have `scope` = `AVAILABILITY_DOMAIN`. - Scope ListInternalPublicIpsScopeEnum `mandatory:"true" contributesTo:"query" name:"scope" omitEmpty:"true"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The name of the availability domain. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - - // A filter to return internal public IPs that match given lifetime. - Lifetime ListInternalPublicIpsLifetimeEnum `mandatory:"false" contributesTo:"query" name:"lifetime" omitEmpty:"true"` - - // 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 ListInternalPublicIpsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInternalPublicIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInternalPublicIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInternalPublicIpsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInternalPublicIpsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListInternalPublicIpsScopeEnum[string(request.Scope)]; !ok && request.Scope != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Scope: %s. Supported values are: %s.", request.Scope, strings.Join(GetListInternalPublicIpsScopeEnumStringValues(), ","))) - } - if _, ok := mappingListInternalPublicIpsLifetimeEnum[string(request.Lifetime)]; !ok && request.Lifetime != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", request.Lifetime, strings.Join(GetListInternalPublicIpsLifetimeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInternalPublicIpsResponse wrapper for the ListInternalPublicIps operation -type ListInternalPublicIpsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InternalPublicIp instances - Items []InternalPublicIp `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 ListInternalPublicIpsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInternalPublicIpsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListInternalPublicIpsScopeEnum Enum with underlying type: string -type ListInternalPublicIpsScopeEnum string - -// Set of constants representing the allowable values for ListInternalPublicIpsScopeEnum -const ( - ListInternalPublicIpsScopeRegion ListInternalPublicIpsScopeEnum = "REGION" - ListInternalPublicIpsScopeAvailabilityDomain ListInternalPublicIpsScopeEnum = "AVAILABILITY_DOMAIN" -) - -var mappingListInternalPublicIpsScopeEnum = map[string]ListInternalPublicIpsScopeEnum{ - "REGION": ListInternalPublicIpsScopeRegion, - "AVAILABILITY_DOMAIN": ListInternalPublicIpsScopeAvailabilityDomain, -} - -// GetListInternalPublicIpsScopeEnumValues Enumerates the set of values for ListInternalPublicIpsScopeEnum -func GetListInternalPublicIpsScopeEnumValues() []ListInternalPublicIpsScopeEnum { - values := make([]ListInternalPublicIpsScopeEnum, 0) - for _, v := range mappingListInternalPublicIpsScopeEnum { - values = append(values, v) - } - return values -} - -// GetListInternalPublicIpsScopeEnumStringValues Enumerates the set of values in String for ListInternalPublicIpsScopeEnum -func GetListInternalPublicIpsScopeEnumStringValues() []string { - return []string{ - "REGION", - "AVAILABILITY_DOMAIN", - } -} - -// ListInternalPublicIpsLifetimeEnum Enum with underlying type: string -type ListInternalPublicIpsLifetimeEnum string - -// Set of constants representing the allowable values for ListInternalPublicIpsLifetimeEnum -const ( - ListInternalPublicIpsLifetimeEphemeral ListInternalPublicIpsLifetimeEnum = "EPHEMERAL" - ListInternalPublicIpsLifetimeReserved ListInternalPublicIpsLifetimeEnum = "RESERVED" -) - -var mappingListInternalPublicIpsLifetimeEnum = map[string]ListInternalPublicIpsLifetimeEnum{ - "EPHEMERAL": ListInternalPublicIpsLifetimeEphemeral, - "RESERVED": ListInternalPublicIpsLifetimeReserved, -} - -// GetListInternalPublicIpsLifetimeEnumValues Enumerates the set of values for ListInternalPublicIpsLifetimeEnum -func GetListInternalPublicIpsLifetimeEnumValues() []ListInternalPublicIpsLifetimeEnum { - values := make([]ListInternalPublicIpsLifetimeEnum, 0) - for _, v := range mappingListInternalPublicIpsLifetimeEnum { - values = append(values, v) - } - return values -} - -// GetListInternalPublicIpsLifetimeEnumStringValues Enumerates the set of values in String for ListInternalPublicIpsLifetimeEnum -func GetListInternalPublicIpsLifetimeEnumStringValues() []string { - return []string{ - "EPHEMERAL", - "RESERVED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_vnic_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_vnic_attachments_request_response.go deleted file mode 100644 index aa8fb5bba47f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_vnic_attachments_request_response.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInternalVnicAttachmentsRequest wrapper for the ListInternalVnicAttachments operation -type ListInternalVnicAttachmentsRequest struct { - - // The substrate IP address - SubstrateIp *string `mandatory:"true" contributesTo:"query" name:"substrateIp"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique 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 ListInternalVnicAttachmentsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInternalVnicAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInternalVnicAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInternalVnicAttachmentsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInternalVnicAttachmentsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInternalVnicAttachmentsResponse wrapper for the ListInternalVnicAttachments operation -type ListInternalVnicAttachmentsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InternalVnicAttachment instances - Items []InternalVnicAttachment `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 ListInternalVnicAttachmentsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInternalVnicAttachmentsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_vnics_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_vnics_request_response.go deleted file mode 100644 index 4df64f1d30b5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internal_vnics_request_response.go +++ /dev/null @@ -1,196 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListInternalVnicsRequest wrapper for the ListInternalVnics operation -type ListInternalVnicsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. - SubnetId *string `mandatory:"true" contributesTo:"query" name:"subnetId"` - - // 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"` - - // 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 ListInternalVnicsSortByEnum `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 ListInternalVnicsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A filter to return only resources that match the specified lifecycle state. - LifecycleState InternalVnicLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListInternalVnicsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListInternalVnicsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListInternalVnicsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListInternalVnicsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListInternalVnicsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListInternalVnicsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInternalVnicsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListInternalVnicsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInternalVnicsSortOrderEnumStringValues(), ","))) - } - if _, ok := mappingInternalVnicLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInternalVnicLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListInternalVnicsResponse wrapper for the ListInternalVnics operation -type ListInternalVnicsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []InternalVnic instances - Items []InternalVnic `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 ListInternalVnicsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListInternalVnicsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListInternalVnicsSortByEnum Enum with underlying type: string -type ListInternalVnicsSortByEnum string - -// Set of constants representing the allowable values for ListInternalVnicsSortByEnum -const ( - ListInternalVnicsSortByTimecreated ListInternalVnicsSortByEnum = "TIMECREATED" - ListInternalVnicsSortByDisplayname ListInternalVnicsSortByEnum = "DISPLAYNAME" -) - -var mappingListInternalVnicsSortByEnum = map[string]ListInternalVnicsSortByEnum{ - "TIMECREATED": ListInternalVnicsSortByTimecreated, - "DISPLAYNAME": ListInternalVnicsSortByDisplayname, -} - -// GetListInternalVnicsSortByEnumValues Enumerates the set of values for ListInternalVnicsSortByEnum -func GetListInternalVnicsSortByEnumValues() []ListInternalVnicsSortByEnum { - values := make([]ListInternalVnicsSortByEnum, 0) - for _, v := range mappingListInternalVnicsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListInternalVnicsSortByEnumStringValues Enumerates the set of values in String for ListInternalVnicsSortByEnum -func GetListInternalVnicsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListInternalVnicsSortOrderEnum Enum with underlying type: string -type ListInternalVnicsSortOrderEnum string - -// Set of constants representing the allowable values for ListInternalVnicsSortOrderEnum -const ( - ListInternalVnicsSortOrderAsc ListInternalVnicsSortOrderEnum = "ASC" - ListInternalVnicsSortOrderDesc ListInternalVnicsSortOrderEnum = "DESC" -) - -var mappingListInternalVnicsSortOrderEnum = map[string]ListInternalVnicsSortOrderEnum{ - "ASC": ListInternalVnicsSortOrderAsc, - "DESC": ListInternalVnicsSortOrderDesc, -} - -// GetListInternalVnicsSortOrderEnumValues Enumerates the set of values for ListInternalVnicsSortOrderEnum -func GetListInternalVnicsSortOrderEnumValues() []ListInternalVnicsSortOrderEnum { - values := make([]ListInternalVnicsSortOrderEnum, 0) - for _, v := range mappingListInternalVnicsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListInternalVnicsSortOrderEnumStringValues Enumerates the set of values in String for ListInternalVnicsSortOrderEnum -func GetListInternalVnicsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_local_peering_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_local_peering_connections_request_response.go deleted file mode 100644 index 7984c5a1662f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_local_peering_connections_request_response.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListLocalPeeringConnectionsRequest wrapper for the ListLocalPeeringConnections operation -type ListLocalPeeringConnectionsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The 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 - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique 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 ListLocalPeeringConnectionsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListLocalPeeringConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListLocalPeeringConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListLocalPeeringConnectionsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListLocalPeeringConnectionsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListLocalPeeringConnectionsResponse wrapper for the ListLocalPeeringConnections operation -type ListLocalPeeringConnectionsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []LocalPeeringConnection instances - Items []LocalPeeringConnection `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 ListLocalPeeringConnectionsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListLocalPeeringConnectionsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_next_hops_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_next_hops_request_response.go deleted file mode 100644 index 777b83941c7d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_next_hops_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListNextHopsRequest wrapper for the ListNextHops operation -type ListNextHopsRequest struct { - - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` - - // 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 ListNextHopsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListNextHopsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListNextHopsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListNextHopsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListNextHopsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListNextHopsResponse wrapper for the ListNextHops operation -type ListNextHopsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The []EndpointServiceNextHop instance - Items []EndpointServiceNextHop `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 ListNextHopsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListNextHopsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_access_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_access_gateways_request_response.go deleted file mode 100644 index 91349b5d0250..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_access_gateways_request_response.go +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListPrivateAccessGatewaysRequest wrapper for the ListPrivateAccessGateways operation -type ListPrivateAccessGatewaysRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The 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 - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListPrivateAccessGatewaysSortByEnum `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 ListPrivateAccessGatewaysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListPrivateAccessGatewaysRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListPrivateAccessGatewaysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListPrivateAccessGatewaysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListPrivateAccessGatewaysRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListPrivateAccessGatewaysRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListPrivateAccessGatewaysSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListPrivateAccessGatewaysSortByEnumStringValues(), ","))) - } - if _, ok := mappingListPrivateAccessGatewaysSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPrivateAccessGatewaysSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListPrivateAccessGatewaysResponse wrapper for the ListPrivateAccessGateways operation -type ListPrivateAccessGatewaysResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []PrivateAccessGatewaySummary instances - Items []PrivateAccessGatewaySummary `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 ListPrivateAccessGatewaysResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListPrivateAccessGatewaysResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListPrivateAccessGatewaysSortByEnum Enum with underlying type: string -type ListPrivateAccessGatewaysSortByEnum string - -// Set of constants representing the allowable values for ListPrivateAccessGatewaysSortByEnum -const ( - ListPrivateAccessGatewaysSortByTimecreated ListPrivateAccessGatewaysSortByEnum = "TIMECREATED" - ListPrivateAccessGatewaysSortByDisplayname ListPrivateAccessGatewaysSortByEnum = "DISPLAYNAME" -) - -var mappingListPrivateAccessGatewaysSortByEnum = map[string]ListPrivateAccessGatewaysSortByEnum{ - "TIMECREATED": ListPrivateAccessGatewaysSortByTimecreated, - "DISPLAYNAME": ListPrivateAccessGatewaysSortByDisplayname, -} - -// GetListPrivateAccessGatewaysSortByEnumValues Enumerates the set of values for ListPrivateAccessGatewaysSortByEnum -func GetListPrivateAccessGatewaysSortByEnumValues() []ListPrivateAccessGatewaysSortByEnum { - values := make([]ListPrivateAccessGatewaysSortByEnum, 0) - for _, v := range mappingListPrivateAccessGatewaysSortByEnum { - values = append(values, v) - } - return values -} - -// GetListPrivateAccessGatewaysSortByEnumStringValues Enumerates the set of values in String for ListPrivateAccessGatewaysSortByEnum -func GetListPrivateAccessGatewaysSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListPrivateAccessGatewaysSortOrderEnum Enum with underlying type: string -type ListPrivateAccessGatewaysSortOrderEnum string - -// Set of constants representing the allowable values for ListPrivateAccessGatewaysSortOrderEnum -const ( - ListPrivateAccessGatewaysSortOrderAsc ListPrivateAccessGatewaysSortOrderEnum = "ASC" - ListPrivateAccessGatewaysSortOrderDesc ListPrivateAccessGatewaysSortOrderEnum = "DESC" -) - -var mappingListPrivateAccessGatewaysSortOrderEnum = map[string]ListPrivateAccessGatewaysSortOrderEnum{ - "ASC": ListPrivateAccessGatewaysSortOrderAsc, - "DESC": ListPrivateAccessGatewaysSortOrderDesc, -} - -// GetListPrivateAccessGatewaysSortOrderEnumValues Enumerates the set of values for ListPrivateAccessGatewaysSortOrderEnum -func GetListPrivateAccessGatewaysSortOrderEnumValues() []ListPrivateAccessGatewaysSortOrderEnum { - values := make([]ListPrivateAccessGatewaysSortOrderEnum, 0) - for _, v := range mappingListPrivateAccessGatewaysSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListPrivateAccessGatewaysSortOrderEnumStringValues Enumerates the set of values in String for ListPrivateAccessGatewaysSortOrderEnum -func GetListPrivateAccessGatewaysSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_endpoint_associations_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_endpoint_associations_request_response.go deleted file mode 100644 index 0d67befeb54d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_endpoint_associations_request_response.go +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListPrivateEndpointAssociationsRequest wrapper for the ListPrivateEndpointAssociations operation -type ListPrivateEndpointAssociationsRequest struct { - - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListPrivateEndpointAssociationsSortByEnum `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 ListPrivateEndpointAssociationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListPrivateEndpointAssociationsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListPrivateEndpointAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListPrivateEndpointAssociationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListPrivateEndpointAssociationsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListPrivateEndpointAssociationsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListPrivateEndpointAssociationsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListPrivateEndpointAssociationsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListPrivateEndpointAssociationsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPrivateEndpointAssociationsSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListPrivateEndpointAssociationsResponse wrapper for the ListPrivateEndpointAssociations operation -type ListPrivateEndpointAssociationsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []PrivateEndpointAssociation instances - Items []PrivateEndpointAssociation `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 ListPrivateEndpointAssociationsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListPrivateEndpointAssociationsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListPrivateEndpointAssociationsSortByEnum Enum with underlying type: string -type ListPrivateEndpointAssociationsSortByEnum string - -// Set of constants representing the allowable values for ListPrivateEndpointAssociationsSortByEnum -const ( - ListPrivateEndpointAssociationsSortByTimecreated ListPrivateEndpointAssociationsSortByEnum = "TIMECREATED" - ListPrivateEndpointAssociationsSortByDisplayname ListPrivateEndpointAssociationsSortByEnum = "DISPLAYNAME" -) - -var mappingListPrivateEndpointAssociationsSortByEnum = map[string]ListPrivateEndpointAssociationsSortByEnum{ - "TIMECREATED": ListPrivateEndpointAssociationsSortByTimecreated, - "DISPLAYNAME": ListPrivateEndpointAssociationsSortByDisplayname, -} - -// GetListPrivateEndpointAssociationsSortByEnumValues Enumerates the set of values for ListPrivateEndpointAssociationsSortByEnum -func GetListPrivateEndpointAssociationsSortByEnumValues() []ListPrivateEndpointAssociationsSortByEnum { - values := make([]ListPrivateEndpointAssociationsSortByEnum, 0) - for _, v := range mappingListPrivateEndpointAssociationsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListPrivateEndpointAssociationsSortByEnumStringValues Enumerates the set of values in String for ListPrivateEndpointAssociationsSortByEnum -func GetListPrivateEndpointAssociationsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListPrivateEndpointAssociationsSortOrderEnum Enum with underlying type: string -type ListPrivateEndpointAssociationsSortOrderEnum string - -// Set of constants representing the allowable values for ListPrivateEndpointAssociationsSortOrderEnum -const ( - ListPrivateEndpointAssociationsSortOrderAsc ListPrivateEndpointAssociationsSortOrderEnum = "ASC" - ListPrivateEndpointAssociationsSortOrderDesc ListPrivateEndpointAssociationsSortOrderEnum = "DESC" -) - -var mappingListPrivateEndpointAssociationsSortOrderEnum = map[string]ListPrivateEndpointAssociationsSortOrderEnum{ - "ASC": ListPrivateEndpointAssociationsSortOrderAsc, - "DESC": ListPrivateEndpointAssociationsSortOrderDesc, -} - -// GetListPrivateEndpointAssociationsSortOrderEnumValues Enumerates the set of values for ListPrivateEndpointAssociationsSortOrderEnum -func GetListPrivateEndpointAssociationsSortOrderEnumValues() []ListPrivateEndpointAssociationsSortOrderEnum { - values := make([]ListPrivateEndpointAssociationsSortOrderEnum, 0) - for _, v := range mappingListPrivateEndpointAssociationsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListPrivateEndpointAssociationsSortOrderEnumStringValues Enumerates the set of values in String for ListPrivateEndpointAssociationsSortOrderEnum -func GetListPrivateEndpointAssociationsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_endpoints_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_endpoints_request_response.go deleted file mode 100644 index df77b373643a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_endpoints_request_response.go +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListPrivateEndpointsRequest wrapper for the ListPrivateEndpoints operation -type ListPrivateEndpointsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. - SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListPrivateEndpointsSortByEnum `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 ListPrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListPrivateEndpointsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListPrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListPrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListPrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListPrivateEndpointsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListPrivateEndpointsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListPrivateEndpointsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListPrivateEndpointsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPrivateEndpointsSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListPrivateEndpointsResponse wrapper for the ListPrivateEndpoints operation -type ListPrivateEndpointsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []PrivateEndpointSummary instances - Items []PrivateEndpointSummary `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 ListPrivateEndpointsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListPrivateEndpointsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListPrivateEndpointsSortByEnum Enum with underlying type: string -type ListPrivateEndpointsSortByEnum string - -// Set of constants representing the allowable values for ListPrivateEndpointsSortByEnum -const ( - ListPrivateEndpointsSortByTimecreated ListPrivateEndpointsSortByEnum = "TIMECREATED" - ListPrivateEndpointsSortByDisplayname ListPrivateEndpointsSortByEnum = "DISPLAYNAME" -) - -var mappingListPrivateEndpointsSortByEnum = map[string]ListPrivateEndpointsSortByEnum{ - "TIMECREATED": ListPrivateEndpointsSortByTimecreated, - "DISPLAYNAME": ListPrivateEndpointsSortByDisplayname, -} - -// GetListPrivateEndpointsSortByEnumValues Enumerates the set of values for ListPrivateEndpointsSortByEnum -func GetListPrivateEndpointsSortByEnumValues() []ListPrivateEndpointsSortByEnum { - values := make([]ListPrivateEndpointsSortByEnum, 0) - for _, v := range mappingListPrivateEndpointsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListPrivateEndpointsSortByEnum -func GetListPrivateEndpointsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListPrivateEndpointsSortOrderEnum Enum with underlying type: string -type ListPrivateEndpointsSortOrderEnum string - -// Set of constants representing the allowable values for ListPrivateEndpointsSortOrderEnum -const ( - ListPrivateEndpointsSortOrderAsc ListPrivateEndpointsSortOrderEnum = "ASC" - ListPrivateEndpointsSortOrderDesc ListPrivateEndpointsSortOrderEnum = "DESC" -) - -var mappingListPrivateEndpointsSortOrderEnum = map[string]ListPrivateEndpointsSortOrderEnum{ - "ASC": ListPrivateEndpointsSortOrderAsc, - "DESC": ListPrivateEndpointsSortOrderDesc, -} - -// GetListPrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListPrivateEndpointsSortOrderEnum -func GetListPrivateEndpointsSortOrderEnumValues() []ListPrivateEndpointsSortOrderEnum { - values := make([]ListPrivateEndpointsSortOrderEnum, 0) - for _, v := range mappingListPrivateEndpointsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListPrivateEndpointsSortOrderEnum -func GetListPrivateEndpointsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_reverse_connection_nat_ip_cidrs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_reverse_connection_nat_ip_cidrs_request_response.go deleted file mode 100644 index 687833023f82..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_reverse_connection_nat_ip_cidrs_request_response.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListReverseConnectionNatIpCidrsRequest wrapper for the ListReverseConnectionNatIpCidrs operation -type ListReverseConnectionNatIpCidrsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. - VcnId *string `mandatory:"true" contributesTo:"query" 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 ListReverseConnectionNatIpCidrsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListReverseConnectionNatIpCidrsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListReverseConnectionNatIpCidrsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListReverseConnectionNatIpCidrsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListReverseConnectionNatIpCidrsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListReverseConnectionNatIpCidrsResponse wrapper for the ListReverseConnectionNatIpCidrs operation -type ListReverseConnectionNatIpCidrsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The []ReverseConnectionNatIpCidrSummary instance - Items []ReverseConnectionNatIpCidrSummary `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"` -} - -func (response ListReverseConnectionNatIpCidrsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListReverseConnectionNatIpCidrsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_reverse_connection_nat_ips_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_reverse_connection_nat_ips_request_response.go deleted file mode 100644 index 6d1ea400ece5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_reverse_connection_nat_ips_request_response.go +++ /dev/null @@ -1,194 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListReverseConnectionNatIpsRequest wrapper for the ListReverseConnectionNatIps operation -type ListReverseConnectionNatIpsRequest struct { - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // The reverse connection NAT IP address that corresponds to a customer's IP address. - ReverseConnectionNatIp *string `mandatory:"false" contributesTo:"query" name:"reverseConnectionNatIp"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListReverseConnectionNatIpsSortByEnum `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 ListReverseConnectionNatIpsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A filter to only return resources that match the given lifecycle - // state. The state value is case-insensitive. - LifecycleState ReverseConnectionNatIpLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListReverseConnectionNatIpsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListReverseConnectionNatIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListReverseConnectionNatIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListReverseConnectionNatIpsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListReverseConnectionNatIpsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListReverseConnectionNatIpsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListReverseConnectionNatIpsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListReverseConnectionNatIpsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListReverseConnectionNatIpsSortOrderEnumStringValues(), ","))) - } - if _, ok := mappingReverseConnectionNatIpLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetReverseConnectionNatIpLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListReverseConnectionNatIpsResponse wrapper for the ListReverseConnectionNatIps operation -type ListReverseConnectionNatIpsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []ReverseConnectionNatIp instances - Items []ReverseConnectionNatIp `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 ListReverseConnectionNatIpsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListReverseConnectionNatIpsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListReverseConnectionNatIpsSortByEnum Enum with underlying type: string -type ListReverseConnectionNatIpsSortByEnum string - -// Set of constants representing the allowable values for ListReverseConnectionNatIpsSortByEnum -const ( - ListReverseConnectionNatIpsSortByTimecreated ListReverseConnectionNatIpsSortByEnum = "TIMECREATED" - ListReverseConnectionNatIpsSortByDisplayname ListReverseConnectionNatIpsSortByEnum = "DISPLAYNAME" -) - -var mappingListReverseConnectionNatIpsSortByEnum = map[string]ListReverseConnectionNatIpsSortByEnum{ - "TIMECREATED": ListReverseConnectionNatIpsSortByTimecreated, - "DISPLAYNAME": ListReverseConnectionNatIpsSortByDisplayname, -} - -// GetListReverseConnectionNatIpsSortByEnumValues Enumerates the set of values for ListReverseConnectionNatIpsSortByEnum -func GetListReverseConnectionNatIpsSortByEnumValues() []ListReverseConnectionNatIpsSortByEnum { - values := make([]ListReverseConnectionNatIpsSortByEnum, 0) - for _, v := range mappingListReverseConnectionNatIpsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListReverseConnectionNatIpsSortByEnumStringValues Enumerates the set of values in String for ListReverseConnectionNatIpsSortByEnum -func GetListReverseConnectionNatIpsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListReverseConnectionNatIpsSortOrderEnum Enum with underlying type: string -type ListReverseConnectionNatIpsSortOrderEnum string - -// Set of constants representing the allowable values for ListReverseConnectionNatIpsSortOrderEnum -const ( - ListReverseConnectionNatIpsSortOrderAsc ListReverseConnectionNatIpsSortOrderEnum = "ASC" - ListReverseConnectionNatIpsSortOrderDesc ListReverseConnectionNatIpsSortOrderEnum = "DESC" -) - -var mappingListReverseConnectionNatIpsSortOrderEnum = map[string]ListReverseConnectionNatIpsSortOrderEnum{ - "ASC": ListReverseConnectionNatIpsSortOrderAsc, - "DESC": ListReverseConnectionNatIpsSortOrderDesc, -} - -// GetListReverseConnectionNatIpsSortOrderEnumValues Enumerates the set of values for ListReverseConnectionNatIpsSortOrderEnum -func GetListReverseConnectionNatIpsSortOrderEnumValues() []ListReverseConnectionNatIpsSortOrderEnum { - values := make([]ListReverseConnectionNatIpsSortOrderEnum, 0) - for _, v := range mappingListReverseConnectionNatIpsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListReverseConnectionNatIpsSortOrderEnumStringValues Enumerates the set of values in String for ListReverseConnectionNatIpsSortOrderEnum -func GetListReverseConnectionNatIpsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_scan_proxies_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_scan_proxies_request_response.go deleted file mode 100644 index 963dcde59b20..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_scan_proxies_request_response.go +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListScanProxiesRequest wrapper for the ListScanProxies operation -type ListScanProxiesRequest struct { - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The 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 ListScanProxiesSortByEnum `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 ListScanProxiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListScanProxiesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListScanProxiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListScanProxiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListScanProxiesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListScanProxiesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListScanProxiesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListScanProxiesSortByEnumStringValues(), ","))) - } - if _, ok := mappingListScanProxiesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListScanProxiesSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListScanProxiesResponse wrapper for the ListScanProxies operation -type ListScanProxiesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []ScanProxySummary instances - Items []ScanProxySummary `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 ListScanProxiesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListScanProxiesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListScanProxiesSortByEnum Enum with underlying type: string -type ListScanProxiesSortByEnum string - -// Set of constants representing the allowable values for ListScanProxiesSortByEnum -const ( - ListScanProxiesSortByTimecreated ListScanProxiesSortByEnum = "TIMECREATED" - ListScanProxiesSortByDisplayname ListScanProxiesSortByEnum = "DISPLAYNAME" -) - -var mappingListScanProxiesSortByEnum = map[string]ListScanProxiesSortByEnum{ - "TIMECREATED": ListScanProxiesSortByTimecreated, - "DISPLAYNAME": ListScanProxiesSortByDisplayname, -} - -// GetListScanProxiesSortByEnumValues Enumerates the set of values for ListScanProxiesSortByEnum -func GetListScanProxiesSortByEnumValues() []ListScanProxiesSortByEnum { - values := make([]ListScanProxiesSortByEnum, 0) - for _, v := range mappingListScanProxiesSortByEnum { - values = append(values, v) - } - return values -} - -// GetListScanProxiesSortByEnumStringValues Enumerates the set of values in String for ListScanProxiesSortByEnum -func GetListScanProxiesSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListScanProxiesSortOrderEnum Enum with underlying type: string -type ListScanProxiesSortOrderEnum string - -// Set of constants representing the allowable values for ListScanProxiesSortOrderEnum -const ( - ListScanProxiesSortOrderAsc ListScanProxiesSortOrderEnum = "ASC" - ListScanProxiesSortOrderDesc ListScanProxiesSortOrderEnum = "DESC" -) - -var mappingListScanProxiesSortOrderEnum = map[string]ListScanProxiesSortOrderEnum{ - "ASC": ListScanProxiesSortOrderAsc, - "DESC": ListScanProxiesSortOrderDesc, -} - -// GetListScanProxiesSortOrderEnumValues Enumerates the set of values for ListScanProxiesSortOrderEnum -func GetListScanProxiesSortOrderEnumValues() []ListScanProxiesSortOrderEnum { - values := make([]ListScanProxiesSortOrderEnum, 0) - for _, v := range mappingListScanProxiesSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListScanProxiesSortOrderEnumStringValues Enumerates the set of values in String for ListScanProxiesSortOrderEnum -func GetListScanProxiesSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcn_drg_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcn_drg_attachments_request_response.go deleted file mode 100644 index 83fe04626f4b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcn_drg_attachments_request_response.go +++ /dev/null @@ -1,252 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListVcnDrgAttachmentsRequest wrapper for the ListVcnDrgAttachments operation -type ListVcnDrgAttachmentsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // The 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG. - NetworkId *string `mandatory:"false" contributesTo:"query" name:"networkId"` - - // The type for the network resource attached to the DRG. - AttachmentType ListVcnDrgAttachmentsAttachmentTypeEnum `mandatory:"false" contributesTo:"query" name:"attachmentType" omitEmpty:"true"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to the DRG attachment. - DrgRouteTableId *string `mandatory:"false" contributesTo:"query" name:"drgRouteTableId"` - - // A filter to return only resources that match the given display name exactly. - DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - - // 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 ListVcnDrgAttachmentsSortByEnum `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 ListVcnDrgAttachmentsSortOrderEnum `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. - LifecycleState DrgAttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - - // 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 ListVcnDrgAttachmentsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListVcnDrgAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListVcnDrgAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListVcnDrgAttachmentsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListVcnDrgAttachmentsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingListVcnDrgAttachmentsAttachmentTypeEnum[string(request.AttachmentType)]; !ok && request.AttachmentType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AttachmentType: %s. Supported values are: %s.", request.AttachmentType, strings.Join(GetListVcnDrgAttachmentsAttachmentTypeEnumStringValues(), ","))) - } - if _, ok := mappingListVcnDrgAttachmentsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVcnDrgAttachmentsSortByEnumStringValues(), ","))) - } - if _, ok := mappingListVcnDrgAttachmentsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVcnDrgAttachmentsSortOrderEnumStringValues(), ","))) - } - if _, ok := mappingDrgAttachmentLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgAttachmentLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListVcnDrgAttachmentsResponse wrapper for the ListVcnDrgAttachments operation -type ListVcnDrgAttachmentsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []DrgAttachment instances - Items []DrgAttachment `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 ListVcnDrgAttachmentsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListVcnDrgAttachmentsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListVcnDrgAttachmentsAttachmentTypeEnum Enum with underlying type: string -type ListVcnDrgAttachmentsAttachmentTypeEnum string - -// Set of constants representing the allowable values for ListVcnDrgAttachmentsAttachmentTypeEnum -const ( - ListVcnDrgAttachmentsAttachmentTypeVcn ListVcnDrgAttachmentsAttachmentTypeEnum = "VCN" - ListVcnDrgAttachmentsAttachmentTypeVirtualCircuit ListVcnDrgAttachmentsAttachmentTypeEnum = "VIRTUAL_CIRCUIT" - ListVcnDrgAttachmentsAttachmentTypeRemotePeeringConnection ListVcnDrgAttachmentsAttachmentTypeEnum = "REMOTE_PEERING_CONNECTION" - ListVcnDrgAttachmentsAttachmentTypeIpsecTunnel ListVcnDrgAttachmentsAttachmentTypeEnum = "IPSEC_TUNNEL" - ListVcnDrgAttachmentsAttachmentTypeAll ListVcnDrgAttachmentsAttachmentTypeEnum = "ALL" -) - -var mappingListVcnDrgAttachmentsAttachmentTypeEnum = map[string]ListVcnDrgAttachmentsAttachmentTypeEnum{ - "VCN": ListVcnDrgAttachmentsAttachmentTypeVcn, - "VIRTUAL_CIRCUIT": ListVcnDrgAttachmentsAttachmentTypeVirtualCircuit, - "REMOTE_PEERING_CONNECTION": ListVcnDrgAttachmentsAttachmentTypeRemotePeeringConnection, - "IPSEC_TUNNEL": ListVcnDrgAttachmentsAttachmentTypeIpsecTunnel, - "ALL": ListVcnDrgAttachmentsAttachmentTypeAll, -} - -// GetListVcnDrgAttachmentsAttachmentTypeEnumValues Enumerates the set of values for ListVcnDrgAttachmentsAttachmentTypeEnum -func GetListVcnDrgAttachmentsAttachmentTypeEnumValues() []ListVcnDrgAttachmentsAttachmentTypeEnum { - values := make([]ListVcnDrgAttachmentsAttachmentTypeEnum, 0) - for _, v := range mappingListVcnDrgAttachmentsAttachmentTypeEnum { - values = append(values, v) - } - return values -} - -// GetListVcnDrgAttachmentsAttachmentTypeEnumStringValues Enumerates the set of values in String for ListVcnDrgAttachmentsAttachmentTypeEnum -func GetListVcnDrgAttachmentsAttachmentTypeEnumStringValues() []string { - return []string{ - "VCN", - "VIRTUAL_CIRCUIT", - "REMOTE_PEERING_CONNECTION", - "IPSEC_TUNNEL", - "ALL", - } -} - -// ListVcnDrgAttachmentsSortByEnum Enum with underlying type: string -type ListVcnDrgAttachmentsSortByEnum string - -// Set of constants representing the allowable values for ListVcnDrgAttachmentsSortByEnum -const ( - ListVcnDrgAttachmentsSortByTimecreated ListVcnDrgAttachmentsSortByEnum = "TIMECREATED" - ListVcnDrgAttachmentsSortByDisplayname ListVcnDrgAttachmentsSortByEnum = "DISPLAYNAME" -) - -var mappingListVcnDrgAttachmentsSortByEnum = map[string]ListVcnDrgAttachmentsSortByEnum{ - "TIMECREATED": ListVcnDrgAttachmentsSortByTimecreated, - "DISPLAYNAME": ListVcnDrgAttachmentsSortByDisplayname, -} - -// GetListVcnDrgAttachmentsSortByEnumValues Enumerates the set of values for ListVcnDrgAttachmentsSortByEnum -func GetListVcnDrgAttachmentsSortByEnumValues() []ListVcnDrgAttachmentsSortByEnum { - values := make([]ListVcnDrgAttachmentsSortByEnum, 0) - for _, v := range mappingListVcnDrgAttachmentsSortByEnum { - values = append(values, v) - } - return values -} - -// GetListVcnDrgAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListVcnDrgAttachmentsSortByEnum -func GetListVcnDrgAttachmentsSortByEnumStringValues() []string { - return []string{ - "TIMECREATED", - "DISPLAYNAME", - } -} - -// ListVcnDrgAttachmentsSortOrderEnum Enum with underlying type: string -type ListVcnDrgAttachmentsSortOrderEnum string - -// Set of constants representing the allowable values for ListVcnDrgAttachmentsSortOrderEnum -const ( - ListVcnDrgAttachmentsSortOrderAsc ListVcnDrgAttachmentsSortOrderEnum = "ASC" - ListVcnDrgAttachmentsSortOrderDesc ListVcnDrgAttachmentsSortOrderEnum = "DESC" -) - -var mappingListVcnDrgAttachmentsSortOrderEnum = map[string]ListVcnDrgAttachmentsSortOrderEnum{ - "ASC": ListVcnDrgAttachmentsSortOrderAsc, - "DESC": ListVcnDrgAttachmentsSortOrderDesc, -} - -// GetListVcnDrgAttachmentsSortOrderEnumValues Enumerates the set of values for ListVcnDrgAttachmentsSortOrderEnum -func GetListVcnDrgAttachmentsSortOrderEnumValues() []ListVcnDrgAttachmentsSortOrderEnum { - values := make([]ListVcnDrgAttachmentsSortOrderEnum, 0) - for _, v := range mappingListVcnDrgAttachmentsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListVcnDrgAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListVcnDrgAttachmentsSortOrderEnum -func GetListVcnDrgAttachmentsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcn_drgs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcn_drgs_request_response.go deleted file mode 100644 index 17124c7513c8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcn_drgs_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListVcnDrgsRequest wrapper for the ListVcnDrgs operation -type ListVcnDrgsRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // Unique 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 ListVcnDrgsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListVcnDrgsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListVcnDrgsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListVcnDrgsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListVcnDrgsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListVcnDrgsResponse wrapper for the ListVcnDrgs operation -type ListVcnDrgsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []Drg instances - Items []Drg `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 ListVcnDrgsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListVcnDrgsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vnic_workers_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vnic_workers_request_response.go deleted file mode 100644 index 8aeac3f58081..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vnic_workers_request_response.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ListVnicWorkersRequest wrapper for the ListVnicWorkers operation -type ListVnicWorkersRequest struct { - - // For list pagination. The maximum number of results per page, or items to return in a paginated - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - // Example: `50` - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the `opc-next-page` response header from the previous "List" - // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the service VNIC. - ServiceVnicId *string `mandatory:"false" contributesTo:"query" name:"serviceVnicId"` - - // The OCID of the instance. - InstanceId *string `mandatory:"false" contributesTo:"query" 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 ListVnicWorkersRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListVnicWorkersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListVnicWorkersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListVnicWorkersRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListVnicWorkersRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListVnicWorkersResponse wrapper for the ListVnicWorkers operation -type ListVnicWorkersResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of []VnicWorker instances - Items []VnicWorker `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 ListVnicWorkersResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListVnicWorkersResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_connection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_connection.go deleted file mode 100644 index 8c1ffad07b56..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_connection.go +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// LocalPeeringConnection Details regarding a local peering connection, which is an entity that allows two VCNs to communicate -// without traversing the Internet. -// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, -// talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). -type LocalPeeringConnection struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the local peering connection. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"true" json:"displayName"` - - // The local peering connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - Id *string `mandatory:"true" json:"id"` - - // The local peering connection's current lifecycle state. - LifecycleState LocalPeeringConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // Indicates whether the local peering connection is peered with another local peering connection. - PeeringStatus LocalPeeringConnectionPeeringStatusEnum `mandatory:"true" json:"peeringStatus"` - - // The date and time the local peering connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the local peering connection belongs to. - VcnId *string `mandatory:"true" json:"vcnId"` - - // Indicates whether the peer local peering connection is contained within another tenancy. - IsCrossTenancyPeering *bool `mandatory:"false" json:"isCrossTenancyPeering"` - - // Indicates the range of IPs available on the peer. `null` if not peered. - PeerAdvertisedCidr *string `mandatory:"false" json:"peerAdvertisedCidr"` - - // Additional information regarding the peering status if applicable. - PeeringStatusDetails *string `mandatory:"false" json:"peeringStatusDetails"` -} - -func (m LocalPeeringConnection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m LocalPeeringConnection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingLocalPeeringConnectionLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetLocalPeeringConnectionLifecycleStateEnumStringValues(), ","))) - } - if _, ok := mappingLocalPeeringConnectionPeeringStatusEnum[string(m.PeeringStatus)]; !ok && m.PeeringStatus != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PeeringStatus: %s. Supported values are: %s.", m.PeeringStatus, strings.Join(GetLocalPeeringConnectionPeeringStatusEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// LocalPeeringConnectionLifecycleStateEnum Enum with underlying type: string -type LocalPeeringConnectionLifecycleStateEnum string - -// Set of constants representing the allowable values for LocalPeeringConnectionLifecycleStateEnum -const ( - LocalPeeringConnectionLifecycleStateProvisioning LocalPeeringConnectionLifecycleStateEnum = "PROVISIONING" - LocalPeeringConnectionLifecycleStateAvailable LocalPeeringConnectionLifecycleStateEnum = "AVAILABLE" - LocalPeeringConnectionLifecycleStateTerminating LocalPeeringConnectionLifecycleStateEnum = "TERMINATING" - LocalPeeringConnectionLifecycleStateTerminated LocalPeeringConnectionLifecycleStateEnum = "TERMINATED" -) - -var mappingLocalPeeringConnectionLifecycleStateEnum = map[string]LocalPeeringConnectionLifecycleStateEnum{ - "PROVISIONING": LocalPeeringConnectionLifecycleStateProvisioning, - "AVAILABLE": LocalPeeringConnectionLifecycleStateAvailable, - "TERMINATING": LocalPeeringConnectionLifecycleStateTerminating, - "TERMINATED": LocalPeeringConnectionLifecycleStateTerminated, -} - -// GetLocalPeeringConnectionLifecycleStateEnumValues Enumerates the set of values for LocalPeeringConnectionLifecycleStateEnum -func GetLocalPeeringConnectionLifecycleStateEnumValues() []LocalPeeringConnectionLifecycleStateEnum { - values := make([]LocalPeeringConnectionLifecycleStateEnum, 0) - for _, v := range mappingLocalPeeringConnectionLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetLocalPeeringConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for LocalPeeringConnectionLifecycleStateEnum -func GetLocalPeeringConnectionLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} - -// LocalPeeringConnectionPeeringStatusEnum Enum with underlying type: string -type LocalPeeringConnectionPeeringStatusEnum string - -// Set of constants representing the allowable values for LocalPeeringConnectionPeeringStatusEnum -const ( - LocalPeeringConnectionPeeringStatusInvalid LocalPeeringConnectionPeeringStatusEnum = "INVALID" - LocalPeeringConnectionPeeringStatusNew LocalPeeringConnectionPeeringStatusEnum = "NEW" - LocalPeeringConnectionPeeringStatusPeered LocalPeeringConnectionPeeringStatusEnum = "PEERED" - LocalPeeringConnectionPeeringStatusPending LocalPeeringConnectionPeeringStatusEnum = "PENDING" - LocalPeeringConnectionPeeringStatusRevoked LocalPeeringConnectionPeeringStatusEnum = "REVOKED" -) - -var mappingLocalPeeringConnectionPeeringStatusEnum = map[string]LocalPeeringConnectionPeeringStatusEnum{ - "INVALID": LocalPeeringConnectionPeeringStatusInvalid, - "NEW": LocalPeeringConnectionPeeringStatusNew, - "PEERED": LocalPeeringConnectionPeeringStatusPeered, - "PENDING": LocalPeeringConnectionPeeringStatusPending, - "REVOKED": LocalPeeringConnectionPeeringStatusRevoked, -} - -// GetLocalPeeringConnectionPeeringStatusEnumValues Enumerates the set of values for LocalPeeringConnectionPeeringStatusEnum -func GetLocalPeeringConnectionPeeringStatusEnumValues() []LocalPeeringConnectionPeeringStatusEnum { - values := make([]LocalPeeringConnectionPeeringStatusEnum, 0) - for _, v := range mappingLocalPeeringConnectionPeeringStatusEnum { - values = append(values, v) - } - return values -} - -// GetLocalPeeringConnectionPeeringStatusEnumStringValues Enumerates the set of values in String for LocalPeeringConnectionPeeringStatusEnum -func GetLocalPeeringConnectionPeeringStatusEnumStringValues() []string { - return []string{ - "INVALID", - "NEW", - "PEERED", - "PENDING", - "REVOKED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/member_replica.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/member_replica.go deleted file mode 100644 index 08a9a7a25381..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/member_replica.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// MemberReplica OCIDs for the volume replicas in this volume group replica. -type MemberReplica struct { - - // The volume replica ID. - VolumeReplicaId *string `mandatory:"true" json:"volumeReplicaId"` -} - -func (m MemberReplica) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m MemberReplica) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_drg_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_drg_details.go deleted file mode 100644 index caf010ee8be2..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_drg_details.go +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// MigrateDrgDetails The request to update a `DrgAttachment` and migrate the `Drg` to the destination DRG type. -type MigrateDrgDetails struct { - - // Type of the `Drg` to be migrated to. - DestinationDrgType MigrateDrgDetailsDestinationDrgTypeEnum `mandatory:"true" json:"destinationDrgType"` - - // The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). - DrgAttachmentId *string `mandatory:"false" json:"drgAttachmentId"` - - // NextHop target's MPLS label. - MplsLabel *string `mandatory:"false" json:"mplsLabel"` - - // The string in the form ASN:mplsLabel. - RouteTarget *string `mandatory:"false" json:"routeTarget"` -} - -func (m MigrateDrgDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m MigrateDrgDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingMigrateDrgDetailsDestinationDrgTypeEnum[string(m.DestinationDrgType)]; !ok && m.DestinationDrgType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationDrgType: %s. Supported values are: %s.", m.DestinationDrgType, strings.Join(GetMigrateDrgDetailsDestinationDrgTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MigrateDrgDetailsDestinationDrgTypeEnum Enum with underlying type: string -type MigrateDrgDetailsDestinationDrgTypeEnum string - -// Set of constants representing the allowable values for MigrateDrgDetailsDestinationDrgTypeEnum -const ( - MigrateDrgDetailsDestinationDrgTypeClassical MigrateDrgDetailsDestinationDrgTypeEnum = "DRG_CLASSICAL" - MigrateDrgDetailsDestinationDrgTypeTransitHub MigrateDrgDetailsDestinationDrgTypeEnum = "DRG_TRANSIT_HUB" -) - -var mappingMigrateDrgDetailsDestinationDrgTypeEnum = map[string]MigrateDrgDetailsDestinationDrgTypeEnum{ - "DRG_CLASSICAL": MigrateDrgDetailsDestinationDrgTypeClassical, - "DRG_TRANSIT_HUB": MigrateDrgDetailsDestinationDrgTypeTransitHub, -} - -// GetMigrateDrgDetailsDestinationDrgTypeEnumValues Enumerates the set of values for MigrateDrgDetailsDestinationDrgTypeEnum -func GetMigrateDrgDetailsDestinationDrgTypeEnumValues() []MigrateDrgDetailsDestinationDrgTypeEnum { - values := make([]MigrateDrgDetailsDestinationDrgTypeEnum, 0) - for _, v := range mappingMigrateDrgDetailsDestinationDrgTypeEnum { - values = append(values, v) - } - return values -} - -// GetMigrateDrgDetailsDestinationDrgTypeEnumStringValues Enumerates the set of values in String for MigrateDrgDetailsDestinationDrgTypeEnum -func GetMigrateDrgDetailsDestinationDrgTypeEnumStringValues() []string { - return []string{ - "DRG_CLASSICAL", - "DRG_TRANSIT_HUB", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_drg_request_response.go deleted file mode 100644 index 6ba0b992f72c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_drg_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// MigrateDrgRequest wrapper for the MigrateDrg operation -type MigrateDrgRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - InternalDrgId *string `mandatory:"true" contributesTo:"path" name:"internalDrgId"` - - // Details object to update a DrgAttachment and migrate the Drg to the destination Drg Type. - MigrateDrgDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 MigrateDrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request MigrateDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request MigrateDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request MigrateDrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request MigrateDrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MigrateDrgResponse wrapper for the MigrateDrg operation -type MigrateDrgResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDrg instance - InternalDrg `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 MigrateDrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response MigrateDrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_i_p_sec_connection_request_response.go deleted file mode 100644 index 5db6c6aaf22f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migrate_i_p_sec_connection_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// MigrateIPSecConnectionRequest wrapper for the MigrateIPSecConnection operation -type MigrateIPSecConnectionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. - IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - - // 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 MigrateIPSecConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request MigrateIPSecConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request MigrateIPSecConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request MigrateIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request MigrateIPSecConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MigrateIPSecConnectionResponse wrapper for the MigrateIPSecConnection operation -type MigrateIPSecConnectionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The IpSecConnection instance - IpSecConnection `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 MigrateIPSecConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response MigrateIPSecConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migration_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migration_info.go deleted file mode 100644 index 350e2fae8a5c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/migration_info.go +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// MigrationInfo Optional info that is present if a vnic is getting migrated as part of instance live migration -type MigrationInfo struct { - - // Live migration session ID - MigrationSessionId *string `mandatory:"true" json:"migrationSessionId"` - - SourceSmartNicVnicAttachmentInfo *SmartNicVnicAttachmentInfo `mandatory:"true" json:"sourceSmartNicVnicAttachmentInfo"` - - DestinationSmartNicVnicAttachmentInfo *SmartNicVnicAttachmentInfo `mandatory:"true" json:"destinationSmartNicVnicAttachmentInfo"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC on source hypervisor that will be used for hypervisor - VCN DP communication. - SourceHypervisorVnicId *string `mandatory:"false" json:"sourceHypervisorVnicId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC on destination hypervisor that will be used for hypervisor - VCN DP communication. - DestinationHypervisorVnicId *string `mandatory:"false" json:"destinationHypervisorVnicId"` - - // Indicates if VNIC's ingress traffic is routed to destination smart NIC - IsTrafficRoutedToDestination *bool `mandatory:"false" json:"isTrafficRoutedToDestination"` -} - -func (m MigrationInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m MigrationInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_reverse_connections_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_reverse_connections_details.go deleted file mode 100644 index fb433d6865e9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_reverse_connections_details.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ModifyReverseConnectionsDetails Details for modifying reverse connections configuration for the specified private endpoint. -type ModifyReverseConnectionsDetails struct { - - // List of DNS zones to exclude from the default DNS resolution context. - ExcludedDnsZones []string `mandatory:"false" json:"excludedDnsZones"` - - // A list of the OCIDs of the network security groups that the reverse connection's VNIC belongs to. - // For more information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // Number of customer endpoints that the service provider expects to establish connections to using this RCE. The default is 0. - // When non-zero value is specified, reverse connection configuration will be allocated with a list of CIDRs, from - // which NAT IP addresses will be allocated. These list of CIDRs will not be shared by other reverse - // connection enabled private endpoints. - // When zero is specified, reverse connection configuration will get NAT IP addresses from common pool of CIDRs, - // which will be shared with other reverse connection enabled private endpoints. - // If the private endpoint was enabled with reverse connection with 0 already, the field is not updatable. - // The size may not be updated with smaller number than previously specified value, but may be increased. - CustomerEndpointsSize *int `mandatory:"false" json:"customerEndpointsSize"` - - // Layer 4 transport protocol to be used when resolving DNS queries within the default DNS resolution context. - DefaultDnsContextTransport ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum `mandatory:"false" json:"defaultDnsContextTransport,omitempty"` - - // List of CIDRs that this reverse connection configuration will allocate the NAT IP addresses from. - // CIDRs on this list should not be shared by other reverse connection enabled private endpoints. - // When not specified, if the customerEndpointSize is non null, reverse connection configuration will get - // NAT IP addresses from the dedicated pool of CIDRs, else will get specified from the common pool of CIDRs. - // This field cannot be specified if the customerEndpointsSize field is non null and vice versa. - // Additional Cidrs can be specified, however the existing CIDRs cannot be modified or removed. - ReverseConnectionNatIpCidrs []string `mandatory:"false" json:"reverseConnectionNatIpCidrs"` -} - -func (m ModifyReverseConnectionsDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ModifyReverseConnectionsDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum[string(m.DefaultDnsContextTransport)]; !ok && m.DefaultDnsContextTransport != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DefaultDnsContextTransport: %s. Supported values are: %s.", m.DefaultDnsContextTransport, strings.Join(GetModifyReverseConnectionsDetailsDefaultDnsContextTransportEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum Enum with underlying type: string -type ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum string - -// Set of constants representing the allowable values for ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum -const ( - ModifyReverseConnectionsDetailsDefaultDnsContextTransportTcp ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum = "TCP" - ModifyReverseConnectionsDetailsDefaultDnsContextTransportUdp ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum = "UDP" -) - -var mappingModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum = map[string]ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum{ - "TCP": ModifyReverseConnectionsDetailsDefaultDnsContextTransportTcp, - "UDP": ModifyReverseConnectionsDetailsDefaultDnsContextTransportUdp, -} - -// GetModifyReverseConnectionsDetailsDefaultDnsContextTransportEnumValues Enumerates the set of values for ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum -func GetModifyReverseConnectionsDetailsDefaultDnsContextTransportEnumValues() []ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum { - values := make([]ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum, 0) - for _, v := range mappingModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum { - values = append(values, v) - } - return values -} - -// GetModifyReverseConnectionsDetailsDefaultDnsContextTransportEnumStringValues Enumerates the set of values in String for ModifyReverseConnectionsDetailsDefaultDnsContextTransportEnum -func GetModifyReverseConnectionsDetailsDefaultDnsContextTransportEnumStringValues() []string { - return []string{ - "TCP", - "UDP", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_reverse_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_reverse_connections_request_response.go deleted file mode 100644 index cf39c485258c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_reverse_connections_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ModifyReverseConnectionsRequest wrapper for the ModifyReverseConnections operation -type ModifyReverseConnectionsRequest struct { - - // Details for modifying the reverse connections configuration for the private endpoint. - ModifyReverseConnectionsDetails `contributesTo:"body"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ModifyReverseConnectionsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ModifyReverseConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ModifyReverseConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ModifyReverseConnectionsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ModifyReverseConnectionsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ModifyReverseConnectionsResponse wrapper for the ModifyReverseConnections operation -type ModifyReverseConnectionsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateEndpoint instance - PrivateEndpoint `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 ModifyReverseConnectionsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ModifyReverseConnectionsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_access_gateway.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_access_gateway.go deleted file mode 100644 index ff51a926e6ea..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_access_gateway.go +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// PrivateAccessGateway Required for Oracle services that offer customers private endpoints for private access to the -// service. -// The service VCN requires a private access gateway (PAG) to handle the traffic to and from -// private endpoints in customer VCNs (see PrivateEndpoint). -// After creating the gateway, update the route tables in your service VCN to send all traffic -// destined for private endpoints to this gateway. -// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, -// talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). -type PrivateAccessGateway struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PAG. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the PAG. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service VCN that the PAG belongs to. - VcnId *string `mandatory:"true" json:"vcnId"` - - // The date and time the PAG 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 PAG's current lifecycle state. - LifecycleState PrivateAccessGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m PrivateAccessGateway) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PrivateAccessGateway) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingPrivateAccessGatewayLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetPrivateAccessGatewayLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// PrivateAccessGatewayLifecycleStateEnum Enum with underlying type: string -type PrivateAccessGatewayLifecycleStateEnum string - -// Set of constants representing the allowable values for PrivateAccessGatewayLifecycleStateEnum -const ( - PrivateAccessGatewayLifecycleStateProvisioning PrivateAccessGatewayLifecycleStateEnum = "PROVISIONING" - PrivateAccessGatewayLifecycleStateAvailable PrivateAccessGatewayLifecycleStateEnum = "AVAILABLE" - PrivateAccessGatewayLifecycleStateTerminating PrivateAccessGatewayLifecycleStateEnum = "TERMINATING" - PrivateAccessGatewayLifecycleStateTerminated PrivateAccessGatewayLifecycleStateEnum = "TERMINATED" - PrivateAccessGatewayLifecycleStateUpdating PrivateAccessGatewayLifecycleStateEnum = "UPDATING" - PrivateAccessGatewayLifecycleStateFailed PrivateAccessGatewayLifecycleStateEnum = "FAILED" -) - -var mappingPrivateAccessGatewayLifecycleStateEnum = map[string]PrivateAccessGatewayLifecycleStateEnum{ - "PROVISIONING": PrivateAccessGatewayLifecycleStateProvisioning, - "AVAILABLE": PrivateAccessGatewayLifecycleStateAvailable, - "TERMINATING": PrivateAccessGatewayLifecycleStateTerminating, - "TERMINATED": PrivateAccessGatewayLifecycleStateTerminated, - "UPDATING": PrivateAccessGatewayLifecycleStateUpdating, - "FAILED": PrivateAccessGatewayLifecycleStateFailed, -} - -// GetPrivateAccessGatewayLifecycleStateEnumValues Enumerates the set of values for PrivateAccessGatewayLifecycleStateEnum -func GetPrivateAccessGatewayLifecycleStateEnumValues() []PrivateAccessGatewayLifecycleStateEnum { - values := make([]PrivateAccessGatewayLifecycleStateEnum, 0) - for _, v := range mappingPrivateAccessGatewayLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetPrivateAccessGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for PrivateAccessGatewayLifecycleStateEnum -func GetPrivateAccessGatewayLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - "UPDATING", - "FAILED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint.go deleted file mode 100644 index d098f322f01c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint.go +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// PrivateEndpoint A *private endpoint* (PE) is a way for an Oracle service to give a customer a private access point for -// the service within the customer's VCN. The PE consists of a VNIC with a private IP -// in the customer's VCN. The PE is associated with an -// EndpointService -// that the service team has previously registered. The customer accesses the service -// by sending traffic to the PE's IP address on the registered port. That traffic is then -// sent to the PrivateAccessGateway on the service VCN. -// The gateway then sends the traffic to the PE's associated `EndpointService` for -// processing. -// **Regarding DNS for the private endpoint:** You may optionally have the private endpoint -// service assign a fully qualified domain name (FQDN) to the private endpoint. If you do, the -// private endpoint service creates the related DNS zone and record in the customer's VCN. This -// enables the customer to use the FQDN instead of the PE's private IP address to access the -// service. Here are details about how the private endpoint service determines the value to use -// for the PE's FQDN: -// - Both the EndpointService object and the -// CreatePrivateEndpointDetails -// object have an `endpointFqdn` attribute. -// - If you don't specify an FQDN for `CreatePrivateEndpointDetails` during PE creation, the -// endpoint service's `endpointFqdn` is used for the PE's `endpointFqdn`. -// - If you specify an FQDN for `CreatePrivateEndpointDetails` during PE creation, that value is used. -// It always takes precedence over any value set in the `EndpointService` object. -// - If the `EndpointService` object does not have an FQDN value set, and you don't provide a value -// in `CreatePrivateEndpointDetails` during creation, the PE does not get an FQDN. -// - You can further specify additional FQDNs during the PE creation using the `additionalFqdns` attribute. This -// enables customer to use any of the above FQDNs instead of PE's private IP to access the service. Note that you -// can provide value for this field only when PE already has FQDN either via `endpointFqdn` attribute or -// endpoint service's `endpointFqdn`. -// - **Special scenario:** If the endpoint service allows multiple PE's to be created per customer VCN -// (see the `areMultiplePrivateEndpointsPerVcnAllowed` attribute in the `EndpointService`), -// the `EndpointService` is prohibited from also having an `endpointFqdn` value. This restriction ensures -// that each FQDN in the customer's VCN resolves to a single PE. Therefore, for this particular -// scenario, you must assign each PE a unique FQDN within the scope of the customer's VCN. -// -// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, -// talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). -type PrivateEndpoint struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the - // private endpoint. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint service that is associated - // with the private endpoint. - EndpointServiceId *string `mandatory:"true" json:"endpointServiceId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer VCN that the private - // endpoint belongs to. - VcnId *string `mandatory:"true" json:"vcnId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private endpoint - // belongs to. - SubnetId *string `mandatory:"true" json:"subnetId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint's VNIC, which - // resides in the customer's VCN. - PrivateEndpointVnicId *string `mandatory:"true" json:"privateEndpointVnicId"` - - // The private IP address (in the customer's VCN) that represents the access point for the - // associated endpoint service. - PrivateEndpointIp *string `mandatory:"true" json:"privateEndpointIp"` - - // The private endpoint's current lifecycle state. - LifecycleState PrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // 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 description of this private endpoint. - Description *string `mandatory:"false" json:"description"` - - // The date and time the private endpoint 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 three-label FQDN to use for the private endpoint. The customer VCN's DNS records are - // updated with this FQDN. - // If you provide a value for this attribute, it overrides the `endpointFqdn` in the associated - // EndpointService. For more information, see the discussion - // of DNS and FQDNs in PrivateEndpoint. - // You can change the PE's FQDN (see - // UpdatePrivateEndpointDetails). - // Example: `xyz.oraclecloud.com` - EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"` - - // A list of additional FQDNs that you can provide along with endpointFqdn. These FQDNs are added to the - // customer VCN's DNS record. Note that you can provide value for this field only when PE already has FQDN - // either via `endpointFqdn` attribute or endpoint service's `endpointFqdn`. For more information, see the - // discussion of DNS and FQDNs in PrivateEndpoint. - // You can change the PE's FQDN (see - // UpdatePrivateEndpointDetails). - AdditionalFqdns []string `mandatory:"false" json:"additionalFqdns"` - - // A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to. - // For more information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - ReverseConnectionConfiguration *ReverseConnectionConfiguration `mandatory:"false" json:"reverseConnectionConfiguration"` -} - -func (m PrivateEndpoint) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PrivateEndpoint) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingPrivateEndpointLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetPrivateEndpointLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// PrivateEndpointLifecycleStateEnum Enum with underlying type: string -type PrivateEndpointLifecycleStateEnum string - -// Set of constants representing the allowable values for PrivateEndpointLifecycleStateEnum -const ( - PrivateEndpointLifecycleStateProvisioning PrivateEndpointLifecycleStateEnum = "PROVISIONING" - PrivateEndpointLifecycleStateAvailable PrivateEndpointLifecycleStateEnum = "AVAILABLE" - PrivateEndpointLifecycleStateTerminating PrivateEndpointLifecycleStateEnum = "TERMINATING" - PrivateEndpointLifecycleStateTerminated PrivateEndpointLifecycleStateEnum = "TERMINATED" - PrivateEndpointLifecycleStateUpdating PrivateEndpointLifecycleStateEnum = "UPDATING" - PrivateEndpointLifecycleStateFailed PrivateEndpointLifecycleStateEnum = "FAILED" -) - -var mappingPrivateEndpointLifecycleStateEnum = map[string]PrivateEndpointLifecycleStateEnum{ - "PROVISIONING": PrivateEndpointLifecycleStateProvisioning, - "AVAILABLE": PrivateEndpointLifecycleStateAvailable, - "TERMINATING": PrivateEndpointLifecycleStateTerminating, - "TERMINATED": PrivateEndpointLifecycleStateTerminated, - "UPDATING": PrivateEndpointLifecycleStateUpdating, - "FAILED": PrivateEndpointLifecycleStateFailed, -} - -// GetPrivateEndpointLifecycleStateEnumValues Enumerates the set of values for PrivateEndpointLifecycleStateEnum -func GetPrivateEndpointLifecycleStateEnumValues() []PrivateEndpointLifecycleStateEnum { - values := make([]PrivateEndpointLifecycleStateEnum, 0) - for _, v := range mappingPrivateEndpointLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetPrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for PrivateEndpointLifecycleStateEnum -func GetPrivateEndpointLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - "UPDATING", - "FAILED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint_association.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint_association.go deleted file mode 100644 index b02f7b841511..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint_association.go +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// PrivateEndpointAssociation A summary of private endpoint information. This object is returned when listing the private -// endpoints associated with a given endpoint service. -type PrivateEndpointAssociation struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. - Id *string `mandatory:"false" json:"id"` - - // The private IP address (in the customer's VCN) that represents the access point for the - // associated endpoint service. - PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"` - - // The three-label FQDN to use for the private endpoint. The customer VCN's DNS records use - // this FQDN. - // For important information about how this attribute is used, see the discussion - // of DNS and FQDNs in PrivateEndpoint. - // Example: `xyz.oraclecloud.com` - EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"` - - // A list of additional FQDNs that you can provide along with endpointFqdn. These FQDNs are added to the - // customer VCN's DNS record. For more information, see the discussion of DNS and FQDNs in - // PrivateEndpoint. - AdditionalFqdns []string `mandatory:"false" json:"additionalFqdns"` - - ReverseConnectionConfiguration *ReverseConnectionConfiguration `mandatory:"false" json:"reverseConnectionConfiguration"` -} - -func (m PrivateEndpointAssociation) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PrivateEndpointAssociation) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint_summary.go deleted file mode 100644 index 61ed7e4bb2f8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_endpoint_summary.go +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// PrivateEndpointSummary A summary of private endpoint information. This object is returned when listing private endpoints. -type PrivateEndpointSummary struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. - Id *string `mandatory:"true" json:"id"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"true" json:"displayName"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint service that is associated - // with the private endpoint. - EndpointServiceId *string `mandatory:"true" json:"endpointServiceId"` -} - -func (m PrivateEndpointSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PrivateEndpointSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop.go deleted file mode 100644 index f5e1f08f3a44..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop.go +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// PrivateIpNextHop Details of a private IP's nextHop configuration. -type PrivateIpNextHop struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // VNICaaS will flow-hash traffic that matches the service protocol and port. - ServiceProtocolPorts []PrivateIpNextHopProtocolPort `mandatory:"false" json:"serviceProtocolPorts"` - - // Details of nextHop targets. - Targets []PrivateIpNextHopTarget `mandatory:"false" json:"targets"` -} - -func (m PrivateIpNextHop) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PrivateIpNextHop) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop_protocol_port.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop_protocol_port.go deleted file mode 100644 index a645e280f119..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop_protocol_port.go +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// PrivateIpNextHopProtocolPort Details containing the port number and the protocol type -type PrivateIpNextHopProtocolPort struct { - - // VNICaaS uses this to identify the port number to flow-hash traffic - Port *int `mandatory:"false" json:"port"` - - // The type of protocol i.e. TCP, UDP or ALL accompanied by port number used for flow-hash by VNICaaS - Protocol PrivateIpNextHopProtocolPortProtocolEnum `mandatory:"false" json:"protocol,omitempty"` -} - -func (m PrivateIpNextHopProtocolPort) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PrivateIpNextHopProtocolPort) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingPrivateIpNextHopProtocolPortProtocolEnum[string(m.Protocol)]; !ok && m.Protocol != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetPrivateIpNextHopProtocolPortProtocolEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// PrivateIpNextHopProtocolPortProtocolEnum Enum with underlying type: string -type PrivateIpNextHopProtocolPortProtocolEnum string - -// Set of constants representing the allowable values for PrivateIpNextHopProtocolPortProtocolEnum -const ( - PrivateIpNextHopProtocolPortProtocolTcp PrivateIpNextHopProtocolPortProtocolEnum = "TCP" - PrivateIpNextHopProtocolPortProtocolUdp PrivateIpNextHopProtocolPortProtocolEnum = "UDP" - PrivateIpNextHopProtocolPortProtocolAll PrivateIpNextHopProtocolPortProtocolEnum = "ALL" -) - -var mappingPrivateIpNextHopProtocolPortProtocolEnum = map[string]PrivateIpNextHopProtocolPortProtocolEnum{ - "TCP": PrivateIpNextHopProtocolPortProtocolTcp, - "UDP": PrivateIpNextHopProtocolPortProtocolUdp, - "ALL": PrivateIpNextHopProtocolPortProtocolAll, -} - -// GetPrivateIpNextHopProtocolPortProtocolEnumValues Enumerates the set of values for PrivateIpNextHopProtocolPortProtocolEnum -func GetPrivateIpNextHopProtocolPortProtocolEnumValues() []PrivateIpNextHopProtocolPortProtocolEnum { - values := make([]PrivateIpNextHopProtocolPortProtocolEnum, 0) - for _, v := range mappingPrivateIpNextHopProtocolPortProtocolEnum { - values = append(values, v) - } - return values -} - -// GetPrivateIpNextHopProtocolPortProtocolEnumStringValues Enumerates the set of values in String for PrivateIpNextHopProtocolPortProtocolEnum -func GetPrivateIpNextHopProtocolPortProtocolEnumStringValues() []string { - return []string{ - "TCP", - "UDP", - "ALL", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop_target.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop_target.go deleted file mode 100644 index 26ed10165546..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip_next_hop_target.go +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// PrivateIpNextHopTarget Details of a private IP nextHop target. -type PrivateIpNextHopTarget struct { - - // NextHop target's MPLS label. - MplsLabel *int `mandatory:"false" json:"mplsLabel"` - - PortRange *PortRange `mandatory:"false" json:"portRange"` - - // NextHop target's substrate IP. - SubstrateIp *string `mandatory:"false" json:"substrateIp"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the nextHop target entity. - TargetId *string `mandatory:"false" json:"targetId"` - - // Type of nextHop target. - TargetType PrivateIpNextHopTargetTargetTypeEnum `mandatory:"false" json:"targetType,omitempty"` -} - -func (m PrivateIpNextHopTarget) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PrivateIpNextHopTarget) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingPrivateIpNextHopTargetTargetTypeEnum[string(m.TargetType)]; !ok && m.TargetType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetType: %s. Supported values are: %s.", m.TargetType, strings.Join(GetPrivateIpNextHopTargetTargetTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// PrivateIpNextHopTargetTargetTypeEnum Enum with underlying type: string -type PrivateIpNextHopTargetTargetTypeEnum string - -// Set of constants representing the allowable values for PrivateIpNextHopTargetTargetTypeEnum -const ( - PrivateIpNextHopTargetTargetTypePadp PrivateIpNextHopTargetTargetTypeEnum = "PADP" - PrivateIpNextHopTargetTargetTypeVnicWorker PrivateIpNextHopTargetTargetTypeEnum = "VNIC_WORKER" -) - -var mappingPrivateIpNextHopTargetTargetTypeEnum = map[string]PrivateIpNextHopTargetTargetTypeEnum{ - "PADP": PrivateIpNextHopTargetTargetTypePadp, - "VNIC_WORKER": PrivateIpNextHopTargetTargetTypeVnicWorker, -} - -// GetPrivateIpNextHopTargetTargetTypeEnumValues Enumerates the set of values for PrivateIpNextHopTargetTargetTypeEnum -func GetPrivateIpNextHopTargetTargetTypeEnumValues() []PrivateIpNextHopTargetTargetTypeEnum { - values := make([]PrivateIpNextHopTargetTargetTypeEnum, 0) - for _, v := range mappingPrivateIpNextHopTargetTargetTypeEnum { - values = append(values, v) - } - return values -} - -// GetPrivateIpNextHopTargetTargetTypeEnumStringValues Enumerates the set of values in String for PrivateIpNextHopTargetTargetTypeEnum -func GetPrivateIpNextHopTargetTargetTypeEnumStringValues() []string { - return []string{ - "PADP", - "VNIC_WORKER", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/radius_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/radius_config_details.go deleted file mode 100644 index d9406a7fcddd..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/radius_config_details.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// RadiusConfigDetails The detail of RADIUS's authentication configuration. -type RadiusConfigDetails struct { - - // Allowed values: - // * `PAP`: An authentication option used by PPP to validate user. - // * `CHAP`: An authentication option used by PPP to validate user but performed only at the initial link establishment. - // * `MS-CHAP-v2`: An authentication option used by PPP to periodically validate the user. - AuthenticationType RadiusConfigDetailsAuthenticationTypeEnum `mandatory:"false" json:"authenticationType,omitempty"` - - // A list of usable RADIUS server. - Servers []RadiusServerDetails `mandatory:"false" json:"servers"` - - // Whether to enable RADIUS accounting. When this enabled, accouting port becomes required filed. - IsRadiusAccountingEnabled *bool `mandatory:"false" json:"isRadiusAccountingEnabled"` - - // Enable case-sensitivity or not in RADIUS authentication. - IsCaseSensitive *bool `mandatory:"false" json:"isCaseSensitive"` -} - -func (m RadiusConfigDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m RadiusConfigDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingRadiusConfigDetailsAuthenticationTypeEnum[string(m.AuthenticationType)]; !ok && m.AuthenticationType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AuthenticationType: %s. Supported values are: %s.", m.AuthenticationType, strings.Join(GetRadiusConfigDetailsAuthenticationTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// RadiusConfigDetailsAuthenticationTypeEnum Enum with underlying type: string -type RadiusConfigDetailsAuthenticationTypeEnum string - -// Set of constants representing the allowable values for RadiusConfigDetailsAuthenticationTypeEnum -const ( - RadiusConfigDetailsAuthenticationTypePap RadiusConfigDetailsAuthenticationTypeEnum = "PAP" - RadiusConfigDetailsAuthenticationTypeChap RadiusConfigDetailsAuthenticationTypeEnum = "CHAP" - RadiusConfigDetailsAuthenticationTypeMsChapV2 RadiusConfigDetailsAuthenticationTypeEnum = "MS_CHAP_V2" -) - -var mappingRadiusConfigDetailsAuthenticationTypeEnum = map[string]RadiusConfigDetailsAuthenticationTypeEnum{ - "PAP": RadiusConfigDetailsAuthenticationTypePap, - "CHAP": RadiusConfigDetailsAuthenticationTypeChap, - "MS_CHAP_V2": RadiusConfigDetailsAuthenticationTypeMsChapV2, -} - -// GetRadiusConfigDetailsAuthenticationTypeEnumValues Enumerates the set of values for RadiusConfigDetailsAuthenticationTypeEnum -func GetRadiusConfigDetailsAuthenticationTypeEnumValues() []RadiusConfigDetailsAuthenticationTypeEnum { - values := make([]RadiusConfigDetailsAuthenticationTypeEnum, 0) - for _, v := range mappingRadiusConfigDetailsAuthenticationTypeEnum { - values = append(values, v) - } - return values -} - -// GetRadiusConfigDetailsAuthenticationTypeEnumStringValues Enumerates the set of values in String for RadiusConfigDetailsAuthenticationTypeEnum -func GetRadiusConfigDetailsAuthenticationTypeEnumStringValues() []string { - return []string{ - "PAP", - "CHAP", - "MS_CHAP_V2", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/radius_server_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/radius_server_details.go deleted file mode 100644 index e99698252909..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/radius_server_details.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// RadiusServerDetails RADIUS server is used for ClientVPN authentication only. -type RadiusServerDetails struct { - - // The IP address of the RADIUS server. - ServerIp *string `mandatory:"false" json:"serverIp"` - - // The password is used for RADIUS authentication. - SharedSecret *string `mandatory:"false" json:"sharedSecret"` - - // The port for the authentication of RADIUS service. Default is 1812. - AuthenticationPort *int `mandatory:"false" json:"authenticationPort"` - - // The accounting port is used to access RADIUS service. Moreover, the Accounting Port is only required when RADIUS Accounting is enabled. - AccountingPort *int `mandatory:"false" json:"accountingPort"` -} - -func (m RadiusServerDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m RadiusServerDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection_drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection_drg_attachment_network_create_details.go deleted file mode 100644 index 3166a2d31d88..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection_drg_attachment_network_create_details.go +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// RemotePeeringConnectionDrgAttachmentNetworkCreateDetails The representation of RemotePeeringConnectionDrgAttachmentNetworkCreateDetails -type RemotePeeringConnectionDrgAttachmentNetworkCreateDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment that contains the remote peering connection. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The BGP ASN to use for the remote peering connection's route target. - RegionalOciAsn *string `mandatory:"true" json:"regionalOciAsn"` - - // Whether the RPC attachment is for a GFC DRG, indicating the mpls label should be - // allocated from the VC label range. - // Example: `true` - IsGlobalFastConnect *bool `mandatory:"false" json:"isGlobalFastConnect"` -} - -// GetId returns Id -func (m RemotePeeringConnectionDrgAttachmentNetworkCreateDetails) GetId() *string { - return m.Id -} - -func (m RemotePeeringConnectionDrgAttachmentNetworkCreateDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m RemotePeeringConnectionDrgAttachmentNetworkCreateDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m RemotePeeringConnectionDrgAttachmentNetworkCreateDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeRemotePeeringConnectionDrgAttachmentNetworkCreateDetails RemotePeeringConnectionDrgAttachmentNetworkCreateDetails - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeRemotePeeringConnectionDrgAttachmentNetworkCreateDetails - }{ - "REMOTE_PEERING_CONNECTION", - (MarshalTypeRemotePeeringConnectionDrgAttachmentNetworkCreateDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_additional_route_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_additional_route_rules_details.go deleted file mode 100644 index 61bbe1b30145..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_additional_route_rules_details.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// RemoveAdditionalRouteRulesDetails The configuration details for the remove rules operation. Only one of the three properties should be -// supplied to call the removeAdditionalRouteRules API. -type RemoveAdditionalRouteRulesDetails struct { - - // The list of route rule identifiers used for removing route rules from route table. - AdditionalRouteRuleIds []string `mandatory:"false" json:"additionalRouteRuleIds"` - - // The list of destinations used for removing route rules from route table. This is only supplied - // when additionalRouteRuleIds are not provided. - Destinations []string `mandatory:"false" json:"destinations"` - - // The pairs of used for removing route rules from route table. This is only - // supplied when additionalRouteRules and destinations are not provided. - RouteDestinationRouteTargets []RouteDestinationRouteTargetDetails `mandatory:"false" json:"routeDestinationRouteTargets"` -} - -func (m RemoveAdditionalRouteRulesDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m RemoveAdditionalRouteRulesDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_additional_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_additional_route_rules_request_response.go deleted file mode 100644 index fe2c742fc8c9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_additional_route_rules_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// RemoveAdditionalRouteRulesRequest wrapper for the RemoveAdditionalRouteRules operation -type RemoveAdditionalRouteRulesRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table. - RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` - - // Request to remove route rules from a given route table. - RemoveAdditionalRouteRulesDetails `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 RemoveAdditionalRouteRulesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request RemoveAdditionalRouteRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request RemoveAdditionalRouteRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request RemoveAdditionalRouteRulesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request RemoveAdditionalRouteRulesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// RemoveAdditionalRouteRulesResponse wrapper for the RemoveAdditionalRouteRules operation -type RemoveAdditionalRouteRulesResponse 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 RemoveAdditionalRouteRulesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response RemoveAdditionalRouteRulesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_peering_connection_request_response.go deleted file mode 100644 index 85ea50ce4fbe..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_peering_connection_request_response.go +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// RemoveDrgPeeringConnectionRequest wrapper for the RemoveDrgPeeringConnection operation -type RemoveDrgPeeringConnectionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` - - // 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 RemoveDrgPeeringConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request RemoveDrgPeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request RemoveDrgPeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request RemoveDrgPeeringConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request RemoveDrgPeeringConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// RemoveDrgPeeringConnectionResponse wrapper for the RemoveDrgPeeringConnection operation -type RemoveDrgPeeringConnectionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachment instance - DrgAttachment `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 RemoveDrgPeeringConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response RemoveDrgPeeringConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_configuration.go deleted file mode 100644 index b4398154a821..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_configuration.go +++ /dev/null @@ -1,265 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ReverseConnectionConfiguration Reverse connection configuration details for the private endpoint. -// When reverse connection support is enabled, the private endpoint allows reverse connections to be -// established to the customer VCN. The packets traveling from the service's VCN to the customer's -// VCN in a reverse connection use a different source IP address than the private endpoint's IP address. -type ReverseConnectionConfiguration struct { - - // The reverse connection configuration's current state. - LifecycleState ReverseConnectionConfigurationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // The list of IP addresses in the customer VCN to be used as a source IP for reverse connection packets - // traveling from the service's VCN to the customer's VCN. - ReverseConnectionsSourceIps []ReverseConnectionsSourceIpDetails `mandatory:"false" json:"reverseConnectionsSourceIps"` - - // Whether a DNS proxy is configured for the reverse connection. If the service - // does not intend to use DNS FQDN to communicate to customer endpoints, set this to `false`. - // Example: `false` - IsProxyEnabled *bool `mandatory:"false" json:"isProxyEnabled"` - - // List of proxies to be spawned for this reverse connection. All proxy types specified in - // this list will be spawned and they will use the proxy IP address. - // If not specified, the field will default back to a list with DNS proxy only. - ProxyType []ReverseConnectionConfigurationProxyTypeEnum `mandatory:"false" json:"proxyType,omitempty"` - - // The IP address in the service VCN to be used to reach the reverse connection - // proxies - DNS/SCAN. - ProxyIp *string `mandatory:"false" json:"proxyIp"` - - // The IP address in the service VCN to be used to reach the reverse connection - // proxies - DNS/SCAN. - // This field will be deprecated in favor of proxyIp in future. - DnsProxyIp *string `mandatory:"false" json:"dnsProxyIp"` - - // The context in which the DNS proxy will resolve the DNS queries. The default is `SERVICE`. - // For example: if the service does not know the specific DNS zones for the customer VCNs, set - // this to `CUSTOMER`, and set `excludedDnsZones` to the list of DNS zones in your service - // provider VCN. - // Allowed values: - // * `SERVICE` : All DNS queries will be resolved within the service VCN's DNS context, - // unless the FQDN belongs to one of zones in the `excludedDnsZones` list. - // * `CUSTOMER` : All DNS queries will be resolved within the customer VCN's DNS context, - // unless the FQDN belongs to one of zones in the `excludedDnsZones` list. - DefaultDnsResolutionContext ReverseConnectionConfigurationDefaultDnsResolutionContextEnum `mandatory:"false" json:"defaultDnsResolutionContext,omitempty"` - - // List of DNS zones to exclude from the default DNS resolution context. - ExcludedDnsZones []string `mandatory:"false" json:"excludedDnsZones"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service's subnet where - // the DNS proxy endpoint will be created. - ServiceSubnetId *string `mandatory:"false" json:"serviceSubnetId"` - - // A list of the OCIDs of the network security groups that the reverse connection's VNIC belongs to. - // For more information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // Number of customer endpoints that the service provider expects to establish connections to using this RCE. The default is 0. - // When non-zero value is specified, reverse connection configuration will be allocated with a list of CIDRs, from - // which NAT IP addresses will be allocated. These list of CIDRs will not be shared by other reverse - // connection enabled private endpoints. - // When zero is specified, reverse connection configuration will get NAT IP addresses from common pool of CIDRs, - // which will be shared with other reverse connection enabled private endpoints. - // If the private endpoint was enabled with reverse connection with 0 already, the field is not updatable. - // The size may not be updated with smaller number than previously specified value, but may be increased. - CustomerEndpointsSize *int `mandatory:"false" json:"customerEndpointsSize"` - - // List of CIDRs that this reverse connection configuration will allocate the NAT IP addresses from. - // CIDRs on this list is guaranteed to be not shared by other reverse connection enabled private endpoints. - ReverseConnectionNatIpCidrs []string `mandatory:"false" json:"reverseConnectionNatIpCidrs"` - - // Layer 4 transport protocol to be used when resolving DNS queries within the default DNS resolution context. - DefaultDnsContextTransport ReverseConnectionConfigurationDefaultDnsContextTransportEnum `mandatory:"false" json:"defaultDnsContextTransport,omitempty"` - - // Whether the reverse connection should be configured with single IP. If the service - // does not intend to use single IP for both forward and reverse connection, set this to `false`. - // Example: `false` - IsSingleIpEnabled *bool `mandatory:"false" json:"isSingleIpEnabled"` -} - -func (m ReverseConnectionConfiguration) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ReverseConnectionConfiguration) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingReverseConnectionConfigurationLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetReverseConnectionConfigurationLifecycleStateEnumStringValues(), ","))) - } - for _, val := range m.ProxyType { - if _, ok := mappingReverseConnectionConfigurationProxyTypeEnum[string(val)]; !ok && val != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ProxyType: %s. Supported values are: %s.", val, strings.Join(GetReverseConnectionConfigurationProxyTypeEnumStringValues(), ","))) - } - } - - if _, ok := mappingReverseConnectionConfigurationDefaultDnsResolutionContextEnum[string(m.DefaultDnsResolutionContext)]; !ok && m.DefaultDnsResolutionContext != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DefaultDnsResolutionContext: %s. Supported values are: %s.", m.DefaultDnsResolutionContext, strings.Join(GetReverseConnectionConfigurationDefaultDnsResolutionContextEnumStringValues(), ","))) - } - if _, ok := mappingReverseConnectionConfigurationDefaultDnsContextTransportEnum[string(m.DefaultDnsContextTransport)]; !ok && m.DefaultDnsContextTransport != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DefaultDnsContextTransport: %s. Supported values are: %s.", m.DefaultDnsContextTransport, strings.Join(GetReverseConnectionConfigurationDefaultDnsContextTransportEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ReverseConnectionConfigurationLifecycleStateEnum Enum with underlying type: string -type ReverseConnectionConfigurationLifecycleStateEnum string - -// Set of constants representing the allowable values for ReverseConnectionConfigurationLifecycleStateEnum -const ( - ReverseConnectionConfigurationLifecycleStateProvisioning ReverseConnectionConfigurationLifecycleStateEnum = "PROVISIONING" - ReverseConnectionConfigurationLifecycleStateAvailable ReverseConnectionConfigurationLifecycleStateEnum = "AVAILABLE" - ReverseConnectionConfigurationLifecycleStateUpdating ReverseConnectionConfigurationLifecycleStateEnum = "UPDATING" - ReverseConnectionConfigurationLifecycleStateTerminating ReverseConnectionConfigurationLifecycleStateEnum = "TERMINATING" - ReverseConnectionConfigurationLifecycleStateTerminated ReverseConnectionConfigurationLifecycleStateEnum = "TERMINATED" - ReverseConnectionConfigurationLifecycleStateFailed ReverseConnectionConfigurationLifecycleStateEnum = "FAILED" -) - -var mappingReverseConnectionConfigurationLifecycleStateEnum = map[string]ReverseConnectionConfigurationLifecycleStateEnum{ - "PROVISIONING": ReverseConnectionConfigurationLifecycleStateProvisioning, - "AVAILABLE": ReverseConnectionConfigurationLifecycleStateAvailable, - "UPDATING": ReverseConnectionConfigurationLifecycleStateUpdating, - "TERMINATING": ReverseConnectionConfigurationLifecycleStateTerminating, - "TERMINATED": ReverseConnectionConfigurationLifecycleStateTerminated, - "FAILED": ReverseConnectionConfigurationLifecycleStateFailed, -} - -// GetReverseConnectionConfigurationLifecycleStateEnumValues Enumerates the set of values for ReverseConnectionConfigurationLifecycleStateEnum -func GetReverseConnectionConfigurationLifecycleStateEnumValues() []ReverseConnectionConfigurationLifecycleStateEnum { - values := make([]ReverseConnectionConfigurationLifecycleStateEnum, 0) - for _, v := range mappingReverseConnectionConfigurationLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetReverseConnectionConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for ReverseConnectionConfigurationLifecycleStateEnum -func GetReverseConnectionConfigurationLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "TERMINATING", - "TERMINATED", - "FAILED", - } -} - -// ReverseConnectionConfigurationProxyTypeEnum Enum with underlying type: string -type ReverseConnectionConfigurationProxyTypeEnum string - -// Set of constants representing the allowable values for ReverseConnectionConfigurationProxyTypeEnum -const ( - ReverseConnectionConfigurationProxyTypeDns ReverseConnectionConfigurationProxyTypeEnum = "DNS" - ReverseConnectionConfigurationProxyTypeScan ReverseConnectionConfigurationProxyTypeEnum = "SCAN" -) - -var mappingReverseConnectionConfigurationProxyTypeEnum = map[string]ReverseConnectionConfigurationProxyTypeEnum{ - "DNS": ReverseConnectionConfigurationProxyTypeDns, - "SCAN": ReverseConnectionConfigurationProxyTypeScan, -} - -// GetReverseConnectionConfigurationProxyTypeEnumValues Enumerates the set of values for ReverseConnectionConfigurationProxyTypeEnum -func GetReverseConnectionConfigurationProxyTypeEnumValues() []ReverseConnectionConfigurationProxyTypeEnum { - values := make([]ReverseConnectionConfigurationProxyTypeEnum, 0) - for _, v := range mappingReverseConnectionConfigurationProxyTypeEnum { - values = append(values, v) - } - return values -} - -// GetReverseConnectionConfigurationProxyTypeEnumStringValues Enumerates the set of values in String for ReverseConnectionConfigurationProxyTypeEnum -func GetReverseConnectionConfigurationProxyTypeEnumStringValues() []string { - return []string{ - "DNS", - "SCAN", - } -} - -// ReverseConnectionConfigurationDefaultDnsResolutionContextEnum Enum with underlying type: string -type ReverseConnectionConfigurationDefaultDnsResolutionContextEnum string - -// Set of constants representing the allowable values for ReverseConnectionConfigurationDefaultDnsResolutionContextEnum -const ( - ReverseConnectionConfigurationDefaultDnsResolutionContextService ReverseConnectionConfigurationDefaultDnsResolutionContextEnum = "SERVICE" - ReverseConnectionConfigurationDefaultDnsResolutionContextCustomer ReverseConnectionConfigurationDefaultDnsResolutionContextEnum = "CUSTOMER" -) - -var mappingReverseConnectionConfigurationDefaultDnsResolutionContextEnum = map[string]ReverseConnectionConfigurationDefaultDnsResolutionContextEnum{ - "SERVICE": ReverseConnectionConfigurationDefaultDnsResolutionContextService, - "CUSTOMER": ReverseConnectionConfigurationDefaultDnsResolutionContextCustomer, -} - -// GetReverseConnectionConfigurationDefaultDnsResolutionContextEnumValues Enumerates the set of values for ReverseConnectionConfigurationDefaultDnsResolutionContextEnum -func GetReverseConnectionConfigurationDefaultDnsResolutionContextEnumValues() []ReverseConnectionConfigurationDefaultDnsResolutionContextEnum { - values := make([]ReverseConnectionConfigurationDefaultDnsResolutionContextEnum, 0) - for _, v := range mappingReverseConnectionConfigurationDefaultDnsResolutionContextEnum { - values = append(values, v) - } - return values -} - -// GetReverseConnectionConfigurationDefaultDnsResolutionContextEnumStringValues Enumerates the set of values in String for ReverseConnectionConfigurationDefaultDnsResolutionContextEnum -func GetReverseConnectionConfigurationDefaultDnsResolutionContextEnumStringValues() []string { - return []string{ - "SERVICE", - "CUSTOMER", - } -} - -// ReverseConnectionConfigurationDefaultDnsContextTransportEnum Enum with underlying type: string -type ReverseConnectionConfigurationDefaultDnsContextTransportEnum string - -// Set of constants representing the allowable values for ReverseConnectionConfigurationDefaultDnsContextTransportEnum -const ( - ReverseConnectionConfigurationDefaultDnsContextTransportTcp ReverseConnectionConfigurationDefaultDnsContextTransportEnum = "TCP" - ReverseConnectionConfigurationDefaultDnsContextTransportUdp ReverseConnectionConfigurationDefaultDnsContextTransportEnum = "UDP" -) - -var mappingReverseConnectionConfigurationDefaultDnsContextTransportEnum = map[string]ReverseConnectionConfigurationDefaultDnsContextTransportEnum{ - "TCP": ReverseConnectionConfigurationDefaultDnsContextTransportTcp, - "UDP": ReverseConnectionConfigurationDefaultDnsContextTransportUdp, -} - -// GetReverseConnectionConfigurationDefaultDnsContextTransportEnumValues Enumerates the set of values for ReverseConnectionConfigurationDefaultDnsContextTransportEnum -func GetReverseConnectionConfigurationDefaultDnsContextTransportEnumValues() []ReverseConnectionConfigurationDefaultDnsContextTransportEnum { - values := make([]ReverseConnectionConfigurationDefaultDnsContextTransportEnum, 0) - for _, v := range mappingReverseConnectionConfigurationDefaultDnsContextTransportEnum { - values = append(values, v) - } - return values -} - -// GetReverseConnectionConfigurationDefaultDnsContextTransportEnumStringValues Enumerates the set of values in String for ReverseConnectionConfigurationDefaultDnsContextTransportEnum -func GetReverseConnectionConfigurationDefaultDnsContextTransportEnumStringValues() []string { - return []string{ - "TCP", - "UDP", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_nat_ip.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_nat_ip.go deleted file mode 100644 index 04ae0e2e5445..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_nat_ip.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ReverseConnectionNatIp The current NAT IP address that corresponds to a specific customer IP address. -// To establish a reverse connection to a customer IP address, use the NAT IP -// address as the destination. -type ReverseConnectionNatIp struct { - - // The reverse connection NAT IP's current state. - LifecycleState ReverseConnectionNatIpLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // The date and time the reverse connection NAT 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:"true" json:"timeCreated"` - - // The customer's IP address that corresponds to the reverse connection NAT IP address. - ReverseConnectionCustomerIp *string `mandatory:"true" json:"reverseConnectionCustomerIp"` - - // The reverse connection NAT IP address corresonding to the customer IP and private endpoint. - // Use this address as the destination when establishing a reverse connection to a customer's - // IP address. - ReverseConnectionNatIp *string `mandatory:"true" json:"reverseConnectionNatIp"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint - // associated with the reverse connection. - PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"` -} - -func (m ReverseConnectionNatIp) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ReverseConnectionNatIp) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingReverseConnectionNatIpLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetReverseConnectionNatIpLifecycleStateEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ReverseConnectionNatIpLifecycleStateEnum Enum with underlying type: string -type ReverseConnectionNatIpLifecycleStateEnum string - -// Set of constants representing the allowable values for ReverseConnectionNatIpLifecycleStateEnum -const ( - ReverseConnectionNatIpLifecycleStateProvisioning ReverseConnectionNatIpLifecycleStateEnum = "PROVISIONING" - ReverseConnectionNatIpLifecycleStateAvailable ReverseConnectionNatIpLifecycleStateEnum = "AVAILABLE" - ReverseConnectionNatIpLifecycleStateTerminating ReverseConnectionNatIpLifecycleStateEnum = "TERMINATING" - ReverseConnectionNatIpLifecycleStateTerminated ReverseConnectionNatIpLifecycleStateEnum = "TERMINATED" -) - -var mappingReverseConnectionNatIpLifecycleStateEnum = map[string]ReverseConnectionNatIpLifecycleStateEnum{ - "PROVISIONING": ReverseConnectionNatIpLifecycleStateProvisioning, - "AVAILABLE": ReverseConnectionNatIpLifecycleStateAvailable, - "TERMINATING": ReverseConnectionNatIpLifecycleStateTerminating, - "TERMINATED": ReverseConnectionNatIpLifecycleStateTerminated, -} - -// GetReverseConnectionNatIpLifecycleStateEnumValues Enumerates the set of values for ReverseConnectionNatIpLifecycleStateEnum -func GetReverseConnectionNatIpLifecycleStateEnumValues() []ReverseConnectionNatIpLifecycleStateEnum { - values := make([]ReverseConnectionNatIpLifecycleStateEnum, 0) - for _, v := range mappingReverseConnectionNatIpLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetReverseConnectionNatIpLifecycleStateEnumStringValues Enumerates the set of values in String for ReverseConnectionNatIpLifecycleStateEnum -func GetReverseConnectionNatIpLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_nat_ip_cidr_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_nat_ip_cidr_summary.go deleted file mode 100644 index ead2169e511d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connection_nat_ip_cidr_summary.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ReverseConnectionNatIpCidrSummary The custom CIDR in the VCN. -type ReverseConnectionNatIpCidrSummary struct { - - // The custom CIDR that Service Provider used to provision Reverse Connection - Cidr *string `mandatory:"true" json:"cidr"` -} - -func (m ReverseConnectionNatIpCidrSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ReverseConnectionNatIpCidrSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connections_source_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connections_source_ip_details.go deleted file mode 100644 index 8e29ba19ecd9..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reverse_connections_source_ip_details.go +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ReverseConnectionsSourceIpDetails IP information for reverse connection configuration. Returned as part of the `PrivateEndpoint` object. -type ReverseConnectionsSourceIpDetails struct { - - // The IP address in the customer's VCN to be used as the source IP for reverse connection packets - // traveling from the customer's VCN to the service's VCN. - // Example: `10.0.4.9` - SourceIp *string `mandatory:"false" json:"sourceIp"` -} - -func (m ReverseConnectionsSourceIpDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ReverseConnectionsSourceIpDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration.go deleted file mode 100644 index 535996289b85..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// RollbackDrgMigration Response from Drg Migration API -type RollbackDrgMigration struct { - - // The count of succesfully migrated DRGS from the batch. - SuccessCount *int `mandatory:"true" json:"successCount"` - - // The count of failed during DRGS during migration from the batch. - FailureCount *int `mandatory:"false" json:"failureCount"` - - // The OCIDs of the drgs which were successfully migrated. - SuccessfulDrgIds []string `mandatory:"false" json:"successfulDrgIds"` - - // The OCIDs of the drgs which were failed during migration. - FailedDrgIds []string `mandatory:"false" json:"failedDrgIds"` -} - -func (m RollbackDrgMigration) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m RollbackDrgMigration) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration_request_response.go deleted file mode 100644 index 559fba3cb4cf..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// RollbackDrgMigrationRequest wrapper for the RollbackDrgMigration operation -type RollbackDrgMigrationRequest struct { - - // Details for migrating batch of drgs. - RollbackDrgMigrationDetails `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 RollbackDrgMigrationRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request RollbackDrgMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request RollbackDrgMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request RollbackDrgMigrationRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request RollbackDrgMigrationRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// RollbackDrgMigrationResponse wrapper for the RollbackDrgMigration operation -type RollbackDrgMigrationResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The RollbackDrgMigration instance - RollbackDrgMigration `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 RollbackDrgMigrationResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response RollbackDrgMigrationResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_i_p_sec_connection_request_response.go deleted file mode 100644 index 0f637c4b0526..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_i_p_sec_connection_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// RollbackIPSecConnectionRequest wrapper for the RollbackIPSecConnection operation -type RollbackIPSecConnectionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. - IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - - // 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 RollbackIPSecConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request RollbackIPSecConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request RollbackIPSecConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request RollbackIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request RollbackIPSecConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// RollbackIPSecConnectionResponse wrapper for the RollbackIPSecConnection operation -type RollbackIPSecConnectionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The IpSecConnection instance - IpSecConnection `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 RollbackIPSecConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response RollbackIPSecConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_upgrade_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_upgrade_drg_request_response.go deleted file mode 100644 index 006d050fb47c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_upgrade_drg_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// RollbackUpgradeDrgRequest wrapper for the RollbackUpgradeDrg operation -type RollbackUpgradeDrgRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` - - // 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 RollbackUpgradeDrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request RollbackUpgradeDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request RollbackUpgradeDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request RollbackUpgradeDrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request RollbackUpgradeDrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// RollbackUpgradeDrgResponse wrapper for the RollbackUpgradeDrg operation -type RollbackUpgradeDrgResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 RollbackUpgradeDrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response RollbackUpgradeDrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_destination_route_target_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_destination_route_target_details.go deleted file mode 100644 index f739c3442855..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_destination_route_target_details.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// RouteDestinationRouteTargetDetails The configuration details for the destination target pair used to call remove route rules. -type RouteDestinationRouteTargetDetails struct { - - // The destination of the route rule. - Destination *string `mandatory:"true" json:"destination"` - - // The target of the route rule. - Target *string `mandatory:"true" json:"target"` -} - -func (m RouteDestinationRouteTargetDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m RouteDestinationRouteTargetDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_listener_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_listener_info.go deleted file mode 100644 index 3ca983240da4..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_listener_info.go +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ScanListenerInfo Customer's Real Application Cluster (RAC)'s SCAN listener FQDN,port or list IPs and their -// ports -type ScanListenerInfo struct { - - // FQDN of the customer's Real Application Cluster (RAC)'s SCAN listeners. - ScanListenerFqdn *string `mandatory:"false" json:"scanListenerFqdn"` - - // A SCAN listener's IP of the customer's Real Application Cluster (RAC). - ScanListenerIp *string `mandatory:"false" json:"scanListenerIp"` - - // The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on. - ScanListenerPort *int `mandatory:"false" json:"scanListenerPort"` -} - -func (m ScanListenerInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ScanListenerInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_proxy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_proxy.go deleted file mode 100644 index 144aee0a3c0c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_proxy.go +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ScanProxy Details pertaining to a scan proxy instance created for a scan listener FQDN/IPs -type ScanProxy struct { - - // An Oracle-assigned unique identifier for a scanProxy within a privateEndpoint. You specify - // this ID when you want to get or update or delete a scanProxy - Id *string `mandatory:"true" json:"id"` - - // Type indicating whether Scan listener is specified by its FQDN or list of IPs - ScanListenerType ScanProxyScanListenerTypeEnum `mandatory:"true" json:"scanListenerType"` - - // The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN - // listeners. - ScanListenerInfo []ScanListenerInfo `mandatory:"true" json:"scanListenerInfo"` - - // The port to which service DB client has to connect on scan proxy to initiate scan - // connections. - ScanProxyPort *int `mandatory:"true" json:"scanProxyPort"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint - // associated with the reverse connection. - PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"` - - // The protocol used for communication between client, scanProxy and RAC's scan - // listeners - Protocol ScanProxyProtocolEnum `mandatory:"false" json:"protocol,omitempty"` - - // The scan proxy instance's current state. - LifecycleState ScanProxyLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // The date and time the scan proxy 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:"false" json:"timeCreated"` - - ScanListenerWallet *WalletInfo `mandatory:"false" json:"scanListenerWallet"` -} - -func (m ScanProxy) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ScanProxy) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingScanProxyScanListenerTypeEnum[string(m.ScanListenerType)]; !ok && m.ScanListenerType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ScanListenerType: %s. Supported values are: %s.", m.ScanListenerType, strings.Join(GetScanProxyScanListenerTypeEnumStringValues(), ","))) - } - - if _, ok := mappingScanProxyProtocolEnum[string(m.Protocol)]; !ok && m.Protocol != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetScanProxyProtocolEnumStringValues(), ","))) - } - if _, ok := mappingScanProxyLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetScanProxyLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ScanProxyScanListenerTypeEnum Enum with underlying type: string -type ScanProxyScanListenerTypeEnum string - -// Set of constants representing the allowable values for ScanProxyScanListenerTypeEnum -const ( - ScanProxyScanListenerTypeFqdn ScanProxyScanListenerTypeEnum = "FQDN" - ScanProxyScanListenerTypeIp ScanProxyScanListenerTypeEnum = "IP" -) - -var mappingScanProxyScanListenerTypeEnum = map[string]ScanProxyScanListenerTypeEnum{ - "FQDN": ScanProxyScanListenerTypeFqdn, - "IP": ScanProxyScanListenerTypeIp, -} - -// GetScanProxyScanListenerTypeEnumValues Enumerates the set of values for ScanProxyScanListenerTypeEnum -func GetScanProxyScanListenerTypeEnumValues() []ScanProxyScanListenerTypeEnum { - values := make([]ScanProxyScanListenerTypeEnum, 0) - for _, v := range mappingScanProxyScanListenerTypeEnum { - values = append(values, v) - } - return values -} - -// GetScanProxyScanListenerTypeEnumStringValues Enumerates the set of values in String for ScanProxyScanListenerTypeEnum -func GetScanProxyScanListenerTypeEnumStringValues() []string { - return []string{ - "FQDN", - "IP", - } -} - -// ScanProxyProtocolEnum Enum with underlying type: string -type ScanProxyProtocolEnum string - -// Set of constants representing the allowable values for ScanProxyProtocolEnum -const ( - ScanProxyProtocolTcp ScanProxyProtocolEnum = "TCP" - ScanProxyProtocolTcps ScanProxyProtocolEnum = "TCPS" -) - -var mappingScanProxyProtocolEnum = map[string]ScanProxyProtocolEnum{ - "TCP": ScanProxyProtocolTcp, - "TCPS": ScanProxyProtocolTcps, -} - -// GetScanProxyProtocolEnumValues Enumerates the set of values for ScanProxyProtocolEnum -func GetScanProxyProtocolEnumValues() []ScanProxyProtocolEnum { - values := make([]ScanProxyProtocolEnum, 0) - for _, v := range mappingScanProxyProtocolEnum { - values = append(values, v) - } - return values -} - -// GetScanProxyProtocolEnumStringValues Enumerates the set of values in String for ScanProxyProtocolEnum -func GetScanProxyProtocolEnumStringValues() []string { - return []string{ - "TCP", - "TCPS", - } -} - -// ScanProxyLifecycleStateEnum Enum with underlying type: string -type ScanProxyLifecycleStateEnum string - -// Set of constants representing the allowable values for ScanProxyLifecycleStateEnum -const ( - ScanProxyLifecycleStateProvisioning ScanProxyLifecycleStateEnum = "PROVISIONING" - ScanProxyLifecycleStateAvailable ScanProxyLifecycleStateEnum = "AVAILABLE" - ScanProxyLifecycleStateUpdating ScanProxyLifecycleStateEnum = "UPDATING" - ScanProxyLifecycleStateTerminating ScanProxyLifecycleStateEnum = "TERMINATING" - ScanProxyLifecycleStateTerminated ScanProxyLifecycleStateEnum = "TERMINATED" - ScanProxyLifecycleStateFailed ScanProxyLifecycleStateEnum = "FAILED" -) - -var mappingScanProxyLifecycleStateEnum = map[string]ScanProxyLifecycleStateEnum{ - "PROVISIONING": ScanProxyLifecycleStateProvisioning, - "AVAILABLE": ScanProxyLifecycleStateAvailable, - "UPDATING": ScanProxyLifecycleStateUpdating, - "TERMINATING": ScanProxyLifecycleStateTerminating, - "TERMINATED": ScanProxyLifecycleStateTerminated, - "FAILED": ScanProxyLifecycleStateFailed, -} - -// GetScanProxyLifecycleStateEnumValues Enumerates the set of values for ScanProxyLifecycleStateEnum -func GetScanProxyLifecycleStateEnumValues() []ScanProxyLifecycleStateEnum { - values := make([]ScanProxyLifecycleStateEnum, 0) - for _, v := range mappingScanProxyLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetScanProxyLifecycleStateEnumStringValues Enumerates the set of values in String for ScanProxyLifecycleStateEnum -func GetScanProxyLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "TERMINATING", - "TERMINATED", - "FAILED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_proxy_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_proxy_summary.go deleted file mode 100644 index db0bc4b3b2cf..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/scan_proxy_summary.go +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ScanProxySummary A summary of scan proxy information. This object is returned when listing scan proxies of a -// private endpoint. -type ScanProxySummary struct { - - // An Oracle-assigned unique identifier for a scanProxy within a privateEndpoint. You specify - // this ID when you want to get or update or delete a scan ListScanProxiesProxy - Id *string `mandatory:"true" json:"id"` - - // The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN - // listeners. - ScanListenerInfo []ScanListenerInfo `mandatory:"true" json:"scanListenerInfo"` - - // The port to which service DB client has to connect on scan proxy to initiate scan - // connections. - ScanProxyPort *int `mandatory:"true" json:"scanProxyPort"` - - // Type indicating whether Scan listener is specified by its FQDN or list of IPs - ScanListenerType ScanProxyScanListenerTypeEnum `mandatory:"false" json:"scanListenerType,omitempty"` - - // The protocol used for communication between client, scanProxy and RAC's scan - // listeners - Protocol ScanProxyProtocolEnum `mandatory:"false" json:"protocol,omitempty"` - - ScanListenerWallet *WalletInfo `mandatory:"false" json:"scanListenerWallet"` - - // The scan proxy instance's current state. - LifecycleState ScanProxyLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` -} - -func (m ScanProxySummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ScanProxySummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingScanProxyScanListenerTypeEnum[string(m.ScanListenerType)]; !ok && m.ScanListenerType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ScanListenerType: %s. Supported values are: %s.", m.ScanListenerType, strings.Join(GetScanProxyScanListenerTypeEnumStringValues(), ","))) - } - if _, ok := mappingScanProxyProtocolEnum[string(m.Protocol)]; !ok && m.Protocol != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetScanProxyProtocolEnumStringValues(), ","))) - } - if _, ok := mappingScanProxyLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetScanProxyLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/set_drg_peering_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/set_drg_peering_connection_details.go deleted file mode 100644 index 86ef38ec42a5..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/set_drg_peering_connection_details.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// SetDrgPeeringConnectionDetails The representation of SetDrgPeeringConnectionDetails -type SetDrgPeeringConnectionDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" json:"drgId"` - - // The string in the form ASN:rpc_attachment_mplsLabel. - PeerRpcRouteTarget *string `mandatory:"true" json:"peerRpcRouteTarget"` - - // OCI region name to include in the routeData - PeerRegionName *string `mandatory:"true" json:"peerRegionName"` -} - -func (m SetDrgPeeringConnectionDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m SetDrgPeeringConnectionDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/set_drg_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/set_drg_peering_connection_request_response.go deleted file mode 100644 index c13ec1792480..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/set_drg_peering_connection_request_response.go +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// SetDrgPeeringConnectionRequest wrapper for the SetDrgPeeringConnection operation -type SetDrgPeeringConnectionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` - - // Details to set an RPC attachment's peering info. - SetDrgPeeringConnectionDetails `contributesTo:"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 `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 SetDrgPeeringConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request SetDrgPeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request SetDrgPeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request SetDrgPeeringConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request SetDrgPeeringConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// SetDrgPeeringConnectionResponse wrapper for the SetDrgPeeringConnection operation -type SetDrgPeeringConnectionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachment instance - DrgAttachment `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 SetDrgPeeringConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response SetDrgPeeringConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/smart_nic_vnic_attachment_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/smart_nic_vnic_attachment_info.go deleted file mode 100644 index 9fccac83dac3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/smart_nic_vnic_attachment_info.go +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// SmartNicVnicAttachmentInfo Smart NIC VNIC attachment information -type SmartNicVnicAttachmentInfo struct { - - // Substrate IP address of the smart NIC that the VNIC is attached to - SubstrateIp *string `mandatory:"true" json:"substrateIp"` - - // Slot number assigned to the VNIC on this smart NIC - SlotId *int `mandatory:"true" json:"slotId"` - - // Index of this smart NIC (X7's have two smart NIC NICs) - NicIndex *int `mandatory:"false" json:"nicIndex"` - - // VlanTag assigned to the VNIC on this smart NIC - VlanTag *int `mandatory:"false" json:"vlanTag"` - - // NAT IP assigned to the VNIC on this smart NIC - NatIp *string `mandatory:"false" json:"natIp"` -} - -func (m SmartNicVnicAttachmentInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m SmartNicVnicAttachmentInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ssl_cert_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ssl_cert_details.go deleted file mode 100644 index 49ce1b27c464..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ssl_cert_details.go +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// SslCertDetails The encoded SslCert of ClientVpn which is used in LDAP. -type SslCertDetails interface { -} - -type sslcertdetails struct { - JsonData []byte - ContentType string `json:"contentType"` -} - -// UnmarshalJSON unmarshals json -func (m *sslcertdetails) UnmarshalJSON(data []byte) error { - m.JsonData = data - type Unmarshalersslcertdetails sslcertdetails - s := struct { - Model Unmarshalersslcertdetails - }{} - err := json.Unmarshal(data, &s.Model) - if err != nil { - return err - } - m.ContentType = s.Model.ContentType - - return err -} - -// UnmarshalPolymorphicJSON unmarshals polymorphic json -func (m *sslcertdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { - - if data == nil || string(data) == "null" { - return nil, nil - } - - var err error - switch m.ContentType { - case "BASE64ENCODED": - mm := Base64SslCertDetails{} - err = json.Unmarshal(data, &mm) - return mm, err - default: - return *m, nil - } -} - -func (m sslcertdetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m sslcertdetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// SslCertDetailsContentTypeEnum Enum with underlying type: string -type SslCertDetailsContentTypeEnum string - -// Set of constants representing the allowable values for SslCertDetailsContentTypeEnum -const ( - SslCertDetailsContentTypeBase64encoded SslCertDetailsContentTypeEnum = "BASE64ENCODED" -) - -var mappingSslCertDetailsContentTypeEnum = map[string]SslCertDetailsContentTypeEnum{ - "BASE64ENCODED": SslCertDetailsContentTypeBase64encoded, -} - -// GetSslCertDetailsContentTypeEnumValues Enumerates the set of values for SslCertDetailsContentTypeEnum -func GetSslCertDetailsContentTypeEnumValues() []SslCertDetailsContentTypeEnum { - values := make([]SslCertDetailsContentTypeEnum, 0) - for _, v := range mappingSslCertDetailsContentTypeEnum { - values = append(values, v) - } - return values -} - -// GetSslCertDetailsContentTypeEnumStringValues Enumerates the set of values in String for SslCertDetailsContentTypeEnum -func GetSslCertDetailsContentTypeEnumStringValues() []string { - return []string{ - "BASE64ENCODED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/undrain_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/undrain_vnic_worker_request_response.go deleted file mode 100644 index 0c07d7c7788e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/undrain_vnic_worker_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UndrainVnicWorkerRequest wrapper for the UndrainVnicWorker operation -type UndrainVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UndrainVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UndrainVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UndrainVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UndrainVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UndrainVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UndrainVnicWorkerResponse wrapper for the UndrainVnicWorker operation -type UndrainVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 UndrainVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UndrainVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_c3_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_c3_drg_attachment_request_response.go deleted file mode 100644 index c6676cff1322..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_c3_drg_attachment_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateC3DrgAttachmentRequest wrapper for the UpdateC3DrgAttachment operation -type UpdateC3DrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` - - // Details object for updating a `DrgAttachment`. - 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 - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateC3DrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateC3DrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateC3DrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateC3DrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateC3DrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateC3DrgAttachmentResponse wrapper for the UpdateC3DrgAttachment operation -type UpdateC3DrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachment instance - DrgAttachment `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 UpdateC3DrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateC3DrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_details.go deleted file mode 100644 index 95c26f2c0a7a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_details.go +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateClientVpnDetails A request to update clientVpn. -type UpdateClientVpnDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // A subnet for openVPN clients to access servers. Default is 172.27.224.0/20 - ClientSubnetCidr *string `mandatory:"false" json:"clientSubnetCidr"` - - // A list of accessible subnets from this clientVpnEnpoint. - AccessibleSubnetCidrs []string `mandatory:"false" json:"accessibleSubnetCidrs"` - - // Whether re-route Internet traffic or not. - IsRerouteEnabled *bool `mandatory:"false" json:"isRerouteEnabled"` - - // Allowed values: - // * `NAT`: NAT mode supports one-way access. In NAT mode, client can access the Internet from server endpoint - // but server endpoint cannot access the Internet from client. - // * `ROUTING`: ROUTING mode supports two-way access. In ROUTING mode, client and server endpoint can access the - // Internet to each other. - AddressingMode UpdateClientVpnDetailsAddressingModeEnum `mandatory:"false" json:"addressingMode,omitempty"` - - RadiusConfig *RadiusConfigDetails `mandatory:"false" json:"radiusConfig"` - - LdapConfig *LdapConfigDetails `mandatory:"false" json:"ldapConfig"` - - DnsConfig *DnsConfigDetails `mandatory:"false" json:"dnsConfig"` - - SslCert SslCertDetails `mandatory:"false" json:"sslCert"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m UpdateClientVpnDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateClientVpnDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingUpdateClientVpnDetailsAddressingModeEnum[string(m.AddressingMode)]; !ok && m.AddressingMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AddressingMode: %s. Supported values are: %s.", m.AddressingMode, strings.Join(GetUpdateClientVpnDetailsAddressingModeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UnmarshalJSON unmarshals from json -func (m *UpdateClientVpnDetails) UnmarshalJSON(data []byte) (e error) { - model := struct { - DisplayName *string `json:"displayName"` - ClientSubnetCidr *string `json:"clientSubnetCidr"` - AccessibleSubnetCidrs []string `json:"accessibleSubnetCidrs"` - IsRerouteEnabled *bool `json:"isRerouteEnabled"` - AddressingMode UpdateClientVpnDetailsAddressingModeEnum `json:"addressingMode"` - RadiusConfig *RadiusConfigDetails `json:"radiusConfig"` - LdapConfig *LdapConfigDetails `json:"ldapConfig"` - DnsConfig *DnsConfigDetails `json:"dnsConfig"` - SslCert sslcertdetails `json:"sslCert"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - FreeformTags map[string]string `json:"freeformTags"` - }{} - - e = json.Unmarshal(data, &model) - if e != nil { - return - } - var nn interface{} - m.DisplayName = model.DisplayName - - m.ClientSubnetCidr = model.ClientSubnetCidr - - m.AccessibleSubnetCidrs = make([]string, len(model.AccessibleSubnetCidrs)) - for i, n := range model.AccessibleSubnetCidrs { - m.AccessibleSubnetCidrs[i] = n - } - - m.IsRerouteEnabled = model.IsRerouteEnabled - - m.AddressingMode = model.AddressingMode - - m.RadiusConfig = model.RadiusConfig - - m.LdapConfig = model.LdapConfig - - m.DnsConfig = model.DnsConfig - - nn, e = model.SslCert.UnmarshalPolymorphicJSON(model.SslCert.JsonData) - if e != nil { - return - } - if nn != nil { - m.SslCert = nn.(SslCertDetails) - } else { - m.SslCert = nil - } - - m.DefinedTags = model.DefinedTags - - m.FreeformTags = model.FreeformTags - - return -} - -// UpdateClientVpnDetailsAddressingModeEnum Enum with underlying type: string -type UpdateClientVpnDetailsAddressingModeEnum string - -// Set of constants representing the allowable values for UpdateClientVpnDetailsAddressingModeEnum -const ( - UpdateClientVpnDetailsAddressingModeNat UpdateClientVpnDetailsAddressingModeEnum = "NAT" - UpdateClientVpnDetailsAddressingModeRouting UpdateClientVpnDetailsAddressingModeEnum = "ROUTING" -) - -var mappingUpdateClientVpnDetailsAddressingModeEnum = map[string]UpdateClientVpnDetailsAddressingModeEnum{ - "NAT": UpdateClientVpnDetailsAddressingModeNat, - "ROUTING": UpdateClientVpnDetailsAddressingModeRouting, -} - -// GetUpdateClientVpnDetailsAddressingModeEnumValues Enumerates the set of values for UpdateClientVpnDetailsAddressingModeEnum -func GetUpdateClientVpnDetailsAddressingModeEnumValues() []UpdateClientVpnDetailsAddressingModeEnum { - values := make([]UpdateClientVpnDetailsAddressingModeEnum, 0) - for _, v := range mappingUpdateClientVpnDetailsAddressingModeEnum { - values = append(values, v) - } - return values -} - -// GetUpdateClientVpnDetailsAddressingModeEnumStringValues Enumerates the set of values in String for UpdateClientVpnDetailsAddressingModeEnum -func GetUpdateClientVpnDetailsAddressingModeEnumStringValues() []string { - return []string{ - "NAT", - "ROUTING", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_request_response.go deleted file mode 100644 index bb60da20ce28..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateClientVpnRequest wrapper for the UpdateClientVpn operation -type UpdateClientVpnRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // Details for updating ClientVpn - UpdateClientVpnDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateClientVpnRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateClientVpnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateClientVpnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateClientVpnRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateClientVpnRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateClientVpnResponse wrapper for the UpdateClientVpn operation -type UpdateClientVpnResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpn instance - ClientVpn `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 UpdateClientVpnResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateClientVpnResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_user_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_user_details.go deleted file mode 100644 index cc31515636b6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_user_details.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateClientVpnUserDetails The request to update clientVpnUser. -type UpdateClientVpnUserDetails struct { - - // The password of the user want to create. - Password *string `mandatory:"false" json:"password"` - - // Whether to log in the user by cert-authentication only or not. - IsCertAuthOnly *bool `mandatory:"false" json:"isCertAuthOnly"` -} - -func (m UpdateClientVpnUserDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateClientVpnUserDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_user_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_user_request_response.go deleted file mode 100644 index 542acdf4513f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_client_vpn_user_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateClientVpnUserRequest wrapper for the UpdateClientVpnUser operation -type UpdateClientVpnUserRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ClientVpn. - ClientVpnId *string `mandatory:"true" contributesTo:"path" name:"clientVpnId"` - - // The username of the ClientVpnUser. - UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` - - // Detail for updating `ClientVpnUser`. - UpdateClientVpnUserDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateClientVpnUserRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateClientVpnUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateClientVpnUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateClientVpnUserRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateClientVpnUserRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateClientVpnUserResponse wrapper for the UpdateClientVpnUser operation -type UpdateClientVpnUserResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ClientVpnUser instance - ClientVpnUser `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 UpdateClientVpnUserResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateClientVpnUserResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dav_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dav_details.go deleted file mode 100644 index a3ced6ba5b9d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dav_details.go +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateDavDetails Details to update a Direct Attached Vnic. -type UpdateDavDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // List of VCNx Attachments to a DRG. - VcnxAttachmentIds []string `mandatory:"false" json:"vcnxAttachmentIds"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` -} - -func (m UpdateDavDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateDavDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_details.go deleted file mode 100644 index 3b43bbf11b5e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_details.go +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateEndpointServiceDetails Information that can be updated for an endpoint service. -type UpdateEndpointServiceDetails struct { - - // A description of the endpoint service. For Oracle services that use the "trusted" mode of the - // private endpoint service, customers never see this description. Avoid entering confidential - // information. - Description *string `mandatory:"false" json:"description"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // Some services want to restrict access to the resources represented by an endpoint service so - // that only a single private endpoint in the customer VCN has access. - // For example, the endpoint service might represent a particular service resource (such as a - // particular database). The service might want to allow access to that particular resource - // from only a single private endpoint. - // Defaults to `false`. - // Example: `true` - AreMultiplePrivateEndpointsPerVcnAllowed *bool `mandatory:"false" json:"areMultiplePrivateEndpointsPerVcnAllowed"` - - // Reserved for future use. - IsVcnMetadataEnabled *bool `mandatory:"false" json:"isVcnMetadataEnabled"` - - // List of service IP addresses (in the service VCN) that handle requests to the endpoint service. - ServiceIps []EndpointServiceIpDetails `mandatory:"false" json:"serviceIps"` - - // The ports on the endpoint service IPs that are open for private endpoint traffic for this - // endpoint service. If you provide no ports, all open ports on the service IPs are accessible. - Ports []int `mandatory:"false" json:"ports"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m UpdateEndpointServiceDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateEndpointServiceDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_next_hop_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_next_hop_details.go deleted file mode 100644 index 5125f9d53da3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_next_hop_details.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateEndpointServiceNextHopDetails Information of a particular service's next hop -type UpdateEndpointServiceNextHopDetails struct { - - // An Internal IP address that handles requests to the substrate anycast of endpoint service. Empty string on deletion. - NextHopIp *string `mandatory:"false" json:"nextHopIp"` - - // MPLS label that identifies the substrate endpoint service. -1 indicates a delete operation - NextHopSlotId *int `mandatory:"false" json:"nextHopSlotId"` -} - -func (m UpdateEndpointServiceNextHopDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateEndpointServiceNextHopDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_next_hop_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_next_hop_request_response.go deleted file mode 100644 index b641cfa084ba..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_next_hop_request_response.go +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateEndpointServiceNextHopRequest wrapper for the UpdateEndpointServiceNextHop operation -type UpdateEndpointServiceNextHopRequest struct { - - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` - - // An IP address that handles requests to the endpoint service. - ServiceIp *string `mandatory:"true" contributesTo:"path" name:"serviceIp"` - - // The details of the backend to be updated for the substrate service. - UpdateEndpointServiceNextHopDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateEndpointServiceNextHopRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateEndpointServiceNextHopRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateEndpointServiceNextHopRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateEndpointServiceNextHopRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateEndpointServiceNextHopRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateEndpointServiceNextHopResponse wrapper for the UpdateEndpointServiceNextHop operation -type UpdateEndpointServiceNextHopResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The EndpointServiceNextHop instance - EndpointServiceNextHop `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 UpdateEndpointServiceNextHopResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateEndpointServiceNextHopResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_request_response.go deleted file mode 100644 index 0066843841a0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_endpoint_service_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateEndpointServiceRequest wrapper for the UpdateEndpointService operation -type UpdateEndpointServiceRequest struct { - - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` - - // Details for updating an endpoint service. - UpdateEndpointServiceDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateEndpointServiceRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateEndpointServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateEndpointServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateEndpointServiceRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateEndpointServiceRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateEndpointServiceResponse wrapper for the UpdateEndpointService operation -type UpdateEndpointServiceResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The EndpointService instance - EndpointService `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 UpdateEndpointServiceResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateEndpointServiceResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_attachment_details.go deleted file mode 100644 index 7c4a84f98c83..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_attachment_details.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateFlowLogConfigAttachmentDetails The representation of UpdateFlowLogConfigAttachmentDetails -type UpdateFlowLogConfigAttachmentDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` -} - -func (m UpdateFlowLogConfigAttachmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateFlowLogConfigAttachmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_attachment_request_response.go deleted file mode 100644 index a232f17d111e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_attachment_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateFlowLogConfigAttachmentRequest wrapper for the UpdateFlowLogConfigAttachment operation -type UpdateFlowLogConfigAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration attachment. - FlowLogConfigAttachmentId *string `mandatory:"true" contributesTo:"path" name:"flowLogConfigAttachmentId"` - - // Flow log configuration attachment details to be updated. - UpdateFlowLogConfigAttachmentDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateFlowLogConfigAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateFlowLogConfigAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateFlowLogConfigAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateFlowLogConfigAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateFlowLogConfigAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateFlowLogConfigAttachmentResponse wrapper for the UpdateFlowLogConfigAttachment operation -type UpdateFlowLogConfigAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The FlowLogConfigAttachment instance - FlowLogConfigAttachment `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 UpdateFlowLogConfigAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateFlowLogConfigAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_details.go deleted file mode 100644 index 2b7336930d9d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_details.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateFlowLogConfigDetails The representation of UpdateFlowLogConfigDetails -type UpdateFlowLogConfigDetails 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m UpdateFlowLogConfigDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateFlowLogConfigDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_request_response.go deleted file mode 100644 index 850d1a8cf4f7..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_flow_log_config_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateFlowLogConfigRequest wrapper for the UpdateFlowLogConfig operation -type UpdateFlowLogConfigRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flow log configuration. - FlowLogConfigId *string `mandatory:"true" contributesTo:"path" name:"flowLogConfigId"` - - // Flow log configuration details to be updated. - UpdateFlowLogConfigDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateFlowLogConfigRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateFlowLogConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateFlowLogConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateFlowLogConfigRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateFlowLogConfigRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateFlowLogConfigResponse wrapper for the UpdateFlowLogConfig operation -type UpdateFlowLogConfigResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The FlowLogConfig instance - FlowLogConfig `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 UpdateFlowLogConfigResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateFlowLogConfigResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_dns_record_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_dns_record_details.go deleted file mode 100644 index 51f517c5505d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_dns_record_details.go +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateInternalDnsRecordDetails This structure is used when updating DnsRecord for internal clients. -type UpdateInternalDnsRecordDetails struct { - - // Time to live value for the DnsRecord, according to RFC 1035 (https://tools.ietf.org/html/rfc1035). - // Defaults to 86400. - Ttl *int `mandatory:"false" json:"ttl"` - - // Value for the DnsRecord. - // -*A:* One or more IPv4 addresses. Enter addresses on separate lines. - Value *string `mandatory:"false" json:"value"` -} - -func (m UpdateInternalDnsRecordDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateInternalDnsRecordDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_dns_record_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_dns_record_request_response.go deleted file mode 100644 index f5fc5a1d0328..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_dns_record_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateInternalDnsRecordRequest wrapper for the UpdateInternalDnsRecord operation -type UpdateInternalDnsRecordRequest struct { - - // The Dns Record's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - InternalDnsRecordId *string `mandatory:"true" contributesTo:"path" name:"internalDnsRecordId"` - - // Details for updating DnsRecord. - UpdateInternalDnsRecordDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateInternalDnsRecordRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateInternalDnsRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateInternalDnsRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateInternalDnsRecordRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateInternalDnsRecordRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateInternalDnsRecordResponse wrapper for the UpdateInternalDnsRecord operation -type UpdateInternalDnsRecordResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDnsRecord instance - InternalDnsRecord `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 UpdateInternalDnsRecordResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateInternalDnsRecordResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_attachment_details.go deleted file mode 100644 index 444b9f41a532..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_attachment_details.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateInternalDrgAttachmentDetails The request to update an InternalDrgAttachment. -type UpdateInternalDrgAttachmentDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // This is the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. - RouteTableId *string `mandatory:"false" json:"routeTableId"` -} - -func (m UpdateInternalDrgAttachmentDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateInternalDrgAttachmentDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_attachment_request_response.go deleted file mode 100644 index 1abf4009b783..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_attachment_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateInternalDrgAttachmentRequest wrapper for the UpdateInternalDrgAttachment operation -type UpdateInternalDrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - InternalDrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"internalDrgAttachmentId"` - - // Details object for updating a `DrgAttachment`. - UpdateInternalDrgAttachmentDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateInternalDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateInternalDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateInternalDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateInternalDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateInternalDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateInternalDrgAttachmentResponse wrapper for the UpdateInternalDrgAttachment operation -type UpdateInternalDrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDrgAttachment instance - InternalDrgAttachment `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 UpdateInternalDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateInternalDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_request_response.go deleted file mode 100644 index 6e9063bc300e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateInternalDrgRequest wrapper for the UpdateInternalDrg operation -type UpdateInternalDrgRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - InternalDrgId *string `mandatory:"true" contributesTo:"path" name:"internalDrgId"` - - // Details object for updating a DRG. - UpdateInternalDrgDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateInternalDrgRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateInternalDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateInternalDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateInternalDrgRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateInternalDrgRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateInternalDrgResponse wrapper for the UpdateInternalDrg operation -type UpdateInternalDrgResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalDrg instance - InternalDrg `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 UpdateInternalDrgResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateInternalDrgResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_generic_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_generic_gateway_details.go deleted file mode 100644 index e13809b35bfd..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_generic_gateway_details.go +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateInternalGenericGatewayDetails Details to update an internal generic gateway. -type UpdateInternalGenericGatewayDetails struct { - - // Tuples, mapping AD and regional identifiers to the corresponding routing data - GatewayRouteMap []GatewayRouteData `mandatory:"false" json:"gatewayRouteMap"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table associated with the gateway - RouteTableId *string `mandatory:"false" json:"routeTableId"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m UpdateInternalGenericGatewayDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateInternalGenericGatewayDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_generic_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_generic_gateway_request_response.go deleted file mode 100644 index 13ec086829b6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_generic_gateway_request_response.go +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateInternalGenericGatewayRequest wrapper for the UpdateInternalGenericGateway operation -type UpdateInternalGenericGatewayRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the generic gateway. - InternalGenericGatewayId *string `mandatory:"true" contributesTo:"path" name:"internalGenericGatewayId"` - - // Request to update an internal generic gateway - UpdateInternalGenericGatewayDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateInternalGenericGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateInternalGenericGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateInternalGenericGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateInternalGenericGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateInternalGenericGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateInternalGenericGatewayResponse wrapper for the UpdateInternalGenericGateway operation -type UpdateInternalGenericGatewayResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalGenericGateway instance - InternalGenericGateway `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` -} - -func (response UpdateInternalGenericGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateInternalGenericGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_public_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_public_ip_details.go deleted file mode 100644 index 41abf2cf72f0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_public_ip_details.go +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateInternalPublicIpDetails The data to update internal public IPs -type UpdateInternalPublicIpDetails 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/iaas/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/iaas/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 entity to assign the public IP to. - // * If you set this field to an empty string, the public IP will be unassigned from the - // entity it is currently assigned to. - AssignedEntityId *string `mandatory:"false" json:"assignedEntityId"` -} - -func (m UpdateInternalPublicIpDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateInternalPublicIpDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_public_ip_request_response.go deleted file mode 100644 index 110cf6b2969c..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_public_ip_request_response.go +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateInternalPublicIpRequest wrapper for the UpdateInternalPublicIp operation -type UpdateInternalPublicIpRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal public IP. - InternalPublicIpId *string `mandatory:"true" contributesTo:"path" name:"internalPublicIpId"` - - // Internal Public IP details. - UpdateInternalPublicIpDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // This is the operation name used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzOperationName *string `mandatory:"false" contributesTo:"header" name:"internal-authz-operation-name"` - - // This is the resource kind used for authorization. This is only used when the API is called by a service as part of another API. - InternalAuthzResourceKind *string `mandatory:"false" contributesTo:"header" name:"internal-authz-resource-kind"` - - // 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 UpdateInternalPublicIpRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateInternalPublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateInternalPublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateInternalPublicIpRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateInternalPublicIpRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateInternalPublicIpResponse wrapper for the UpdateInternalPublicIp operation -type UpdateInternalPublicIpResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalPublicIp instance - InternalPublicIp `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 UpdateInternalPublicIpResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateInternalPublicIpResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_details.go deleted file mode 100644 index 65f1f7a7ece8..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_details.go +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateInternalVnicDetails This structure is used when updating vnic for internal clients. -// For more information about VNICs, see -// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). -type UpdateInternalVnicDetails struct { - - // Indicates if the VNIC is managed by a internal partner team. And customer is not allowed - // the perform update/delete operations on it directly. - // Defaults to `False` - IsManaged *bool `mandatory:"false" json:"isManaged"` - - // Type of the customer visible upstream resource that the VNIC is associated with. This property can be - // exposed to customers as part of API to list members of a network security group. - // For example, it can be set as, - // - `loadbalancer` if corresponding resourceId is a loadbalancer instance's OCID - // - `dbsystem` if corresponding resourceId is a dbsystem instance's OCID - // Note that the partner team creating/managing the VNIC is owner of this metadata. - ResourceType *string `mandatory:"false" json:"resourceType"` - - // ID of the customer visible upstream resource that the VNIC is associated with. This property is - // exposed to customers as part of API to list members of a network security group. - // For example, if the VNIC is associated with a loadbalancer or dbsystem instance, then it needs - // to be set to corresponding customer visible loadbalancer or dbsystem instance OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - // Note that the partner team creating/managing the VNIC is owner of this metadata. - ResourceId *string `mandatory:"false" json:"resourceId"` - - // Indicates if this VNIC can issue GARP requests. False by default. - IsGarpEnabled *bool `mandatory:"false" json:"isGarpEnabled"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname - // portion of the primary private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). - // Must be unique across all VNICs in the subnet and comply with - // RFC 952 (https://tools.ietf.org/html/rfc952) and - // RFC 1123 (https://tools.ietf.org/html/rfc1123). - // The value appears in the Vnic object and also the - // PrivateIp object returned by - // ListPrivateIps and - // GetPrivateIp. - // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // When launching an instance, use this `hostnameLabel` instead - // of the deprecated `hostnameLabel` in - // LaunchInstanceDetails. - // If you provide both, the values must match. - // Example: `bminstance-1` - HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` - - // A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more - // information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // Whether the source/destination check is disabled on the VNIC. - // Defaults to `false`, which means the check is performed. For information - // about why you would skip the source/destination check, see - // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). - // Example: `true` - SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"` - - // Not for general use! - // Contact sic_vcn_us_grp@oracle.com before setting this flag. - // Indicates that the Cavium should not enforce Internet ingress/egress throttling. - // Defaults to `false`, in which case we do enforce that throttling. - // Change from `true` to `false` will not change existing resource pool. - BypassInternetThrottle *bool `mandatory:"false" json:"bypassInternetThrottle"` -} - -func (m UpdateInternalVnicDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateInternalVnicDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_metadata_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_metadata_details.go deleted file mode 100644 index 973217b4f4c6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_metadata_details.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateInternalVnicMetadataDetails This structure is used when updating the metadata of a VNIC attachment -type UpdateInternalVnicMetadataDetails struct { - - // The VNIC whose attachments metadata has to be altered - VnicId *string `mandatory:"true" json:"vnicId"` - - // Property describing customer facing metrics - MetadataList []CfmMetadata `mandatory:"true" json:"metadataList"` -} - -func (m UpdateInternalVnicMetadataDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateInternalVnicMetadataDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_metadata_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_metadata_request_response.go deleted file mode 100644 index f693a95508f6..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_metadata_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateInternalVnicMetadataRequest wrapper for the UpdateInternalVnicMetadata operation -type UpdateInternalVnicMetadataRequest struct { - - // Request to update the metadata for a vnic attachment - UpdateInternalVnicMetadataDetails `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 UpdateInternalVnicMetadataRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateInternalVnicMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateInternalVnicMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateInternalVnicMetadataRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateInternalVnicMetadataRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateInternalVnicMetadataResponse wrapper for the UpdateInternalVnicMetadata operation -type UpdateInternalVnicMetadataResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 UpdateInternalVnicMetadataResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateInternalVnicMetadataResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_request_response.go deleted file mode 100644 index 64214d68ab46..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_vnic_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateInternalVnicRequest wrapper for the UpdateInternalVnic operation -type UpdateInternalVnicRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internal VNIC. - InternalVnicId *string `mandatory:"true" contributesTo:"path" name:"internalVnicId"` - - // Details object for updating an internal VNIC. - UpdateInternalVnicDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateInternalVnicRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateInternalVnicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateInternalVnicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateInternalVnicRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateInternalVnicRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateInternalVnicResponse wrapper for the UpdateInternalVnic operation -type UpdateInternalVnicResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnic instance - InternalVnic `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 UpdateInternalVnicResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateInternalVnicResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_connection_details.go deleted file mode 100644 index 676f591bfe3e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_connection_details.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateLocalPeeringConnectionDetails The representation of UpdateLocalPeeringConnectionDetails -type UpdateLocalPeeringConnectionDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` -} - -func (m UpdateLocalPeeringConnectionDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateLocalPeeringConnectionDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_connection_request_response.go deleted file mode 100644 index 6f2b4ba5c47a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_connection_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateLocalPeeringConnectionRequest wrapper for the UpdateLocalPeeringConnection operation -type UpdateLocalPeeringConnectionRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering connection. This feature is currently in preview and may change before public release. Do not use it for production workloads. - LocalPeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"localPeeringConnectionId"` - - // Details object for updating a local peering connection. - UpdateLocalPeeringConnectionDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateLocalPeeringConnectionRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateLocalPeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateLocalPeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateLocalPeeringConnectionRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateLocalPeeringConnectionRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateLocalPeeringConnectionResponse wrapper for the UpdateLocalPeeringConnection operation -type UpdateLocalPeeringConnectionResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The LocalPeeringConnection instance - LocalPeeringConnection `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 UpdateLocalPeeringConnectionResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateLocalPeeringConnectionResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_access_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_access_gateway_details.go deleted file mode 100644 index 511c5f3b8e6e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_access_gateway_details.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdatePrivateAccessGatewayDetails Information that can be updated for a private access gateway (PAG). -type UpdatePrivateAccessGatewayDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m UpdatePrivateAccessGatewayDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdatePrivateAccessGatewayDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_access_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_access_gateway_request_response.go deleted file mode 100644 index 4cc6b799c73a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_access_gateway_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdatePrivateAccessGatewayRequest wrapper for the UpdatePrivateAccessGateway operation -type UpdatePrivateAccessGatewayRequest struct { - - // The private access gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateAccessGatewayId *string `mandatory:"true" contributesTo:"path" name:"privateAccessGatewayId"` - - // Details for updating a private access gateway (PAG). - UpdatePrivateAccessGatewayDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdatePrivateAccessGatewayRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdatePrivateAccessGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdatePrivateAccessGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdatePrivateAccessGatewayRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdatePrivateAccessGatewayRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdatePrivateAccessGatewayResponse wrapper for the UpdatePrivateAccessGateway operation -type UpdatePrivateAccessGatewayResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateAccessGateway instance - PrivateAccessGateway `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 UpdatePrivateAccessGatewayResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdatePrivateAccessGatewayResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_endpoint_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_endpoint_details.go deleted file mode 100644 index cc47d8181e31..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_endpoint_details.go +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdatePrivateEndpointDetails Information that can be updated for a private endpoint. -type UpdatePrivateEndpointDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // A description of this private endpoint. - Description *string `mandatory:"false" json:"description"` - - // A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to. - // For more information about NSGs, see - // NetworkSecurityGroup. - NsgIds []string `mandatory:"false" json:"nsgIds"` - - // The three-label FQDN to use for the private endpoint. The customer VCN's DNS records are - // updated with this FQDN. - // For important information about how this attribute is used, see the discussion - // of DNS and FQDNs in PrivateEndpoint. - // Example: `xyz.oraclecloud.com` - EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"` - - // A list of additional three-label FQDNs that you can provide along with endpointFqdn. The customer VCN's DNS - // records are updated with these FQDNs. Note that you can provide value for this field only when either PE - // already has endpointFQDN or the update payload has `endpointFqdn` attribute. For more information, - // see the discussion of DNS and FQDNs in PrivateEndpoint. - AdditionalFqdns []string `mandatory:"false" json:"additionalFqdns"` - - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m UpdatePrivateEndpointDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdatePrivateEndpointDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_next_hop_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_next_hop_details.go deleted file mode 100644 index 1fa05f50cd22..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_next_hop_details.go +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdatePrivateIpNextHopDetails The data to update private IP's nextHop configuration. -type UpdatePrivateIpNextHopDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // VNICaaS will flow-hash traffic that matches the service protocol and port. Sending an - // empty list mean you want to remove all service protocol ports. - ServiceProtocolPorts []PrivateIpNextHopProtocolPort `mandatory:"false" json:"serviceProtocolPorts"` - - // Details of nextHop targets. - Targets []PrivateIpNextHopTarget `mandatory:"false" json:"targets"` -} - -func (m UpdatePrivateIpNextHopDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdatePrivateIpNextHopDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_next_hop_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_next_hop_request_response.go deleted file mode 100644 index a5b3e8be6046..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_next_hop_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdatePrivateIpNextHopRequest wrapper for the UpdatePrivateIpNextHop operation -type UpdatePrivateIpNextHopRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP. - PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` - - // Private IP nextHop configuration details. - UpdatePrivateIpNextHopDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdatePrivateIpNextHopRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdatePrivateIpNextHopRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdatePrivateIpNextHopRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdatePrivateIpNextHopRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdatePrivateIpNextHopRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdatePrivateIpNextHopResponse wrapper for the UpdatePrivateIpNextHop operation -type UpdatePrivateIpNextHopResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The PrivateIpNextHop instance - PrivateIpNextHop `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 UpdatePrivateIpNextHopResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdatePrivateIpNextHopResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_resource_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_resource_pool_request_response.go deleted file mode 100644 index 9116d6b0d38a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_resource_pool_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateResourcePoolRequest wrapper for the UpdateResourcePool operation -type UpdateResourcePoolRequest struct { - - // This resource pool id or a instance id which the resouce pool is linked to. - ResourcePoolIdOrInstanceId *string `mandatory:"true" contributesTo:"path" name:"resourcePoolIdOrInstanceId"` - - // Details to update a resource pool. - UpdateResourcePoolDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of executing that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations (for example, if a resource - // has been deleted and purged from the system, then a retry of the original creation request - // may be rejected). - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // 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 UpdateResourcePoolRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateResourcePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateResourcePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateResourcePoolRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateResourcePoolRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateResourcePoolResponse wrapper for the UpdateResourcePool operation -type UpdateResourcePoolResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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"` - - // 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 UpdateResourcePoolResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateResourcePoolResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_scan_proxy_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_scan_proxy_details.go deleted file mode 100644 index 4880d424e2ff..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_scan_proxy_details.go +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateScanProxyDetails Details for updating a scan proxy instance created for a scan listener FQDN/IPs -type UpdateScanProxyDetails struct { - - // Type indicating whether Scan listener is specified by its FQDN or list of IPs - ScanListenerType ScanProxyScanListenerTypeEnum `mandatory:"false" json:"scanListenerType,omitempty"` - - // The FQDN/IPs and port information of customer's Real Application Cluster (RAC)'s SCAN - // listeners. - ScanListenerInfo []ScanListenerInfo `mandatory:"false" json:"scanListenerInfo"` - - // The protocol used for communication between client, scanProxy and RAC's scan - // listeners - Protocol ScanProxyProtocolEnum `mandatory:"false" json:"protocol,omitempty"` - - ScanListenerWallet *WalletInfo `mandatory:"false" json:"scanListenerWallet"` -} - -func (m UpdateScanProxyDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateScanProxyDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingScanProxyScanListenerTypeEnum[string(m.ScanListenerType)]; !ok && m.ScanListenerType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ScanListenerType: %s. Supported values are: %s.", m.ScanListenerType, strings.Join(GetScanProxyScanListenerTypeEnumStringValues(), ","))) - } - if _, ok := mappingScanProxyProtocolEnum[string(m.Protocol)]; !ok && m.Protocol != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetScanProxyProtocolEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_scan_proxy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_scan_proxy_request_response.go deleted file mode 100644 index 37cbae07a56a..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_scan_proxy_request_response.go +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateScanProxyRequest wrapper for the UpdateScanProxy operation -type UpdateScanProxyRequest struct { - - // A unique ID that identifies a scanProxy within a privateEndpoint. - ScanProxyId *string `mandatory:"true" contributesTo:"path" name:"scanProxyId"` - - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // Details for updating a scan Proxy. - UpdateScanProxyDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - - // 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 UpdateScanProxyRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateScanProxyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateScanProxyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateScanProxyRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateScanProxyRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateScanProxyResponse wrapper for the UpdateScanProxy operation -type UpdateScanProxyResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ScanProxy instance - ScanProxy `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 UpdateScanProxyResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateScanProxyResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_details.go deleted file mode 100644 index 73658379add1..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_details.go +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateVcnDetails The representation of UpdateVcnDetails -type UpdateVcnDetails 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/iaas/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"` - - // A DNS label for the VCN, used in conjunction with the VNIC's hostname and - // subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC - // within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`). - // Not required to be unique, but it's a best practice to set unique DNS labels - // for VCNs in your tenancy. Must be an alphanumeric string that begins with a letter. - // The value cannot be changed. - // You must set this value if you want instances to be able to use hostnames to - // resolve other instances in the VCN. Otherwise the Internet and VCN Resolver - // will not work. - // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `vcn1` - DnsLabel *string `mandatory:"false" json:"dnsLabel"` - - // 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/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` -} - -func (m UpdateVcnDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateVcnDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_drg_attachment_request_response.go deleted file mode 100644 index 66152e43bbe0..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_drg_attachment_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateVcnDrgAttachmentRequest wrapper for the UpdateVcnDrgAttachment operation -type UpdateVcnDrgAttachmentRequest struct { - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. - DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` - - // Details object for updating a `DrgAttachment`. - 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 - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateVcnDrgAttachmentRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateVcnDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateVcnDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateVcnDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateVcnDrgAttachmentRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateVcnDrgAttachmentResponse wrapper for the UpdateVcnDrgAttachment operation -type UpdateVcnDrgAttachmentResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The DrgAttachment instance - DrgAttachment `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 UpdateVcnDrgAttachmentResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateVcnDrgAttachmentResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_shape_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_shape_details.go deleted file mode 100644 index 4011848eaf27..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_shape_details.go +++ /dev/null @@ -1,2675 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateVnicShapeDetails This structure is used when updating the shape of VNIC in VNIC attachment. -type UpdateVnicShapeDetails struct { - - // VNIC whose attachments need to be updated to the destination vnic shape. - VnicId *string `mandatory:"true" json:"vnicId"` - - // Shape of VNIC that will be used to update VNIC attachment. - VnicShape UpdateVnicShapeDetailsVnicShapeEnum `mandatory:"true" json:"vnicShape"` -} - -func (m UpdateVnicShapeDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateVnicShapeDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingUpdateVnicShapeDetailsVnicShapeEnum[string(m.VnicShape)]; !ok && m.VnicShape != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VnicShape: %s. Supported values are: %s.", m.VnicShape, strings.Join(GetUpdateVnicShapeDetailsVnicShapeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateVnicShapeDetailsVnicShapeEnum Enum with underlying type: string -type UpdateVnicShapeDetailsVnicShapeEnum string - -// Set of constants representing the allowable values for UpdateVnicShapeDetailsVnicShapeEnum -const ( - UpdateVnicShapeDetailsVnicShapeDynamic UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC" - UpdateVnicShapeDetailsVnicShapeFixed0040 UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040" - UpdateVnicShapeDetailsVnicShapeFixed0060 UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0060" - UpdateVnicShapeDetailsVnicShapeFixed0060Psm UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0060_PSM" - UpdateVnicShapeDetailsVnicShapeFixed0100 UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0100" - UpdateVnicShapeDetailsVnicShapeFixed0120 UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0120" - UpdateVnicShapeDetailsVnicShapeFixed01202x UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0120_2X" - UpdateVnicShapeDetailsVnicShapeFixed0200 UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0200" - UpdateVnicShapeDetailsVnicShapeFixed0240 UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0240" - UpdateVnicShapeDetailsVnicShapeFixed0480 UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0480" - UpdateVnicShapeDetailsVnicShapeEntirehost UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST" - UpdateVnicShapeDetailsVnicShapeDynamic25g UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC_25G" - UpdateVnicShapeDetailsVnicShapeFixed004025g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040_25G" - UpdateVnicShapeDetailsVnicShapeFixed010025g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0100_25G" - UpdateVnicShapeDetailsVnicShapeFixed020025g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0200_25G" - UpdateVnicShapeDetailsVnicShapeFixed040025g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0400_25G" - UpdateVnicShapeDetailsVnicShapeFixed080025g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0800_25G" - UpdateVnicShapeDetailsVnicShapeFixed160025g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1600_25G" - UpdateVnicShapeDetailsVnicShapeFixed240025g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2400_25G" - UpdateVnicShapeDetailsVnicShapeEntirehost25g UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST_25G" - UpdateVnicShapeDetailsVnicShapeDynamicE125g UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC_E1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0040E125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040_E1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0070E125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0070_E1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0140E125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0140_E1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0280E125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0280_E1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0560E125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0560_E1_25G" - UpdateVnicShapeDetailsVnicShapeFixed1120E125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1120_E1_25G" - UpdateVnicShapeDetailsVnicShapeFixed1680E125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1680_E1_25G" - UpdateVnicShapeDetailsVnicShapeEntirehostE125g UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST_E1_25G" - UpdateVnicShapeDetailsVnicShapeDynamicB125g UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC_B1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0040B125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040_B1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0060B125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0060_B1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0120B125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0120_B1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0240B125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0240_B1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0480B125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0480_B1_25G" - UpdateVnicShapeDetailsVnicShapeFixed0960B125g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0960_B1_25G" - UpdateVnicShapeDetailsVnicShapeEntirehostB125g UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST_B1_25G" - UpdateVnicShapeDetailsVnicShapeMicroVmFixed0048E125g UpdateVnicShapeDetailsVnicShapeEnum = "MICRO_VM_FIXED0048_E1_25G" - UpdateVnicShapeDetailsVnicShapeMicroLbFixed0001E125g UpdateVnicShapeDetailsVnicShapeEnum = "MICRO_LB_FIXED0001_E1_25G" - UpdateVnicShapeDetailsVnicShapeVnicaasFixed0200 UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_FIXED0200" - UpdateVnicShapeDetailsVnicShapeVnicaasFixed0400 UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_FIXED0400" - UpdateVnicShapeDetailsVnicShapeVnicaasFixed0700 UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_FIXED0700" - UpdateVnicShapeDetailsVnicShapeVnicaasNlbApproved10g UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_NLB_APPROVED_10G" - UpdateVnicShapeDetailsVnicShapeVnicaasNlbApproved25g UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_NLB_APPROVED_25G" - UpdateVnicShapeDetailsVnicShapeVnicaasTelesis25g UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_TELESIS_25G" - UpdateVnicShapeDetailsVnicShapeVnicaasTelesis10g UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_TELESIS_10G" - UpdateVnicShapeDetailsVnicShapeVnicaasAmbassadorFixed0100 UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_AMBASSADOR_FIXED0100" - UpdateVnicShapeDetailsVnicShapeVnicaasPrivatedns UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_PRIVATEDNS" - UpdateVnicShapeDetailsVnicShapeVnicaasFwaas UpdateVnicShapeDetailsVnicShapeEnum = "VNICAAS_FWAAS" - UpdateVnicShapeDetailsVnicShapeDynamicE350g UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0040E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0100E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0100_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0200E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0200_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0300E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0300_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0400E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0400_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0500E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0500_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0600E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0600_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0700E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0700_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0800E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0800_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed0900E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0900_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1000E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1000_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1100E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1100_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1200E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1200_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1300E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1300_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1400E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1400_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1500E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1500_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1600E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1600_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1700E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1700_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1800E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1800_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed1900E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1900_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2000E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2000_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2100E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2100_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2200E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2200_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2300E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2300_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2400E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2400_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2500E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2500_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2600E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2600_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2700E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2700_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2800E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2800_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed2900E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2900_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3000E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3000_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3100E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3100_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3200E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3200_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3300E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3300_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3400E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3400_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3500E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3500_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3600E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3600_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3700E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3700_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3800E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3800_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed3900E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3900_E3_50G" - UpdateVnicShapeDetailsVnicShapeFixed4000E350g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED4000_E3_50G" - UpdateVnicShapeDetailsVnicShapeEntirehostE350g UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST_E3_50G" - UpdateVnicShapeDetailsVnicShapeDynamicE450g UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0040E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0100E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0100_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0200E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0200_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0300E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0300_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0400E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0400_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0500E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0500_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0600E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0600_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0700E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0700_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0800E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0800_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed0900E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0900_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1000E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1000_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1100E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1100_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1200E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1200_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1300E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1300_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1400E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1400_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1500E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1500_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1600E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1600_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1700E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1700_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1800E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1800_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed1900E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1900_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2000E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2000_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2100E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2100_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2200E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2200_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2300E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2300_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2400E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2400_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2500E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2500_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2600E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2600_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2700E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2700_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2800E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2800_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed2900E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2900_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3000E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3000_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3100E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3100_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3200E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3200_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3300E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3300_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3400E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3400_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3500E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3500_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3600E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3600_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3700E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3700_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3800E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3800_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed3900E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3900_E4_50G" - UpdateVnicShapeDetailsVnicShapeFixed4000E450g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED4000_E4_50G" - UpdateVnicShapeDetailsVnicShapeEntirehostE450g UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST_E4_50G" - UpdateVnicShapeDetailsVnicShapeMicroVmFixed0050E350g UpdateVnicShapeDetailsVnicShapeEnum = "MICRO_VM_FIXED0050_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0025E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0025_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0050E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0050_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0075E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0075_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0100E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0125E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0125_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0150E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0150_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0175E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0175_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0200E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0225E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0225_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0250E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0250_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0275E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0275_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0300E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0325E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0325_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0350E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0350_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0375E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0375_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0400E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0425E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0425_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0450E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0475E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0475_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0500E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0525E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0525_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0550E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0550_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0575E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0575_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0600E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0625E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0625_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0650E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0650_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0675E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0675_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0700E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0725E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0725_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0750E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0750_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0775E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0775_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0800E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0825E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0825_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0850E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0850_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0875E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0875_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0925E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0925_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0950E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0950_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0975E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0975_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1000E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1025E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1025_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1050E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1050_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1075E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1075_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1100E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1125E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1125_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1150E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1150_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1175E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1175_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1200E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1225E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1225_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1250E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1250_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1275E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1275_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1300E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1325E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1325_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1350E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1375E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1375_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1400E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1425E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1425_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1450E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1450_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1475E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1475_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1500E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1525E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1525_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1550E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1550_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1575E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1575_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1600E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1625E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1625_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1650E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1650_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1700E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1725E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1725_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1750E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1750_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1850E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1850_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1875E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1875_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1900E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1925E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1925_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1950E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1950_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2000E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2025E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2025_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2050E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2050_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2100E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2125E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2125_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2150E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2150_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2175E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2175_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2200E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2250E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2275E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2275_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2300E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2325E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2325_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2350E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2350_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2375E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2375_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2400E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2450E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2450_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2475E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2475_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2500E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2550E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2550_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2600E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2625E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2625_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2650E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2650_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2750E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2750_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2775E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2775_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2800E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2850E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2850_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2875E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2875_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2900E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2925E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2925_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2950E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2950_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2975E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2975_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3000E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3025E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3025_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3050E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3050_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3075E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3075_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3100E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3125E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3125_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3150E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3200E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3225E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3225_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3250E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3250_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3300E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3325E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3325_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3375E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3375_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3400E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3450E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3450_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3500E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3525E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3525_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3575E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3575_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3625E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3625_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3675E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3675_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3700E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3750E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3750_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3800E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3825E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3825_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3850E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3850_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3875E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3875_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3900E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3975E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3975_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4000E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4025E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4025_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4050E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4100E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4125E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4125_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4200E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4225E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4225_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4250E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4250_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4275E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4275_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4300E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4350E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4350_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4375E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4375_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4400E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4425E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4425_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4550E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4550_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4575E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4575_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4600E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4625E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4625_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4650E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4650_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4675E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4675_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4700E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4725E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4725_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4750E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4750_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4800E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4875E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4875_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4900E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4950E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed5000E350g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_E3_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0025E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0025_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0050E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0050_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0075E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0075_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0100E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0125E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0125_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0150E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0150_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0175E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0175_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0200E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0225E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0225_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0250E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0250_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0275E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0275_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0300E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0325E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0325_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0350E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0350_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0375E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0375_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0400E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0425E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0425_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0450E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0475E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0475_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0500E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0525E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0525_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0550E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0550_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0575E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0575_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0600E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0625E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0625_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0650E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0650_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0675E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0675_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0700E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0725E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0725_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0750E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0750_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0775E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0775_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0800E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0825E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0825_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0850E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0850_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0875E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0875_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0925E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0925_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0950E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0950_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0975E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0975_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1000E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1025E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1025_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1050E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1050_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1075E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1075_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1100E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1125E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1125_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1150E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1150_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1175E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1175_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1200E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1225E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1225_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1250E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1250_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1275E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1275_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1300E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1325E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1325_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1350E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1375E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1375_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1400E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1425E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1425_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1450E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1450_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1475E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1475_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1500E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1525E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1525_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1550E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1550_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1575E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1575_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1600E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1625E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1625_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1650E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1650_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1700E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1725E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1725_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1750E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1750_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1850E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1850_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1875E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1875_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1900E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1925E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1925_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1950E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1950_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2000E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2025E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2025_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2050E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2050_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2100E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2125E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2125_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2150E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2150_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2175E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2175_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2200E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2250E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2275E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2275_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2300E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2325E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2325_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2350E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2350_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2375E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2375_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2400E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2450E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2450_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2475E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2475_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2500E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2550E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2550_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2600E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2625E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2625_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2650E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2650_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2750E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2750_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2775E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2775_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2800E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2850E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2850_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2875E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2875_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2900E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2925E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2925_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2950E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2950_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2975E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2975_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3000E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3025E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3025_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3050E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3050_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3075E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3075_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3100E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3125E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3125_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3150E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3200E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3225E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3225_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3250E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3250_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3300E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3325E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3325_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3375E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3375_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3400E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3450E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3450_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3500E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3525E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3525_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3575E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3575_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3625E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3625_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3675E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3675_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3700E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3750E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3750_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3800E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3825E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3825_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3850E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3850_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3875E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3875_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3900E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3975E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3975_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4000E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4025E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4025_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4050E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4100E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4125E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4125_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4200E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4225E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4225_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4250E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4250_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4275E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4275_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4300E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4350E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4350_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4375E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4375_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4400E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4425E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4425_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4550E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4550_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4575E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4575_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4600E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4625E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4625_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4650E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4650_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4675E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4675_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4700E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4725E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4725_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4750E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4750_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4800E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4875E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4875_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4900E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4950E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed5000E450g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_E4_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0020A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0020_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0040A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0040_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0060A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0060_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0080A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0080_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0100A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0100_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0120A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0120_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0140A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0140_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0160A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0160_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0180A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0180_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0200A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0200_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0220A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0220_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0240A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0240_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0260A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0260_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0280A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0280_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0300A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0300_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0320A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0320_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0340A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0340_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0360A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0360_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0380A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0380_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0400A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0400_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0420A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0420_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0440A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0440_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0460A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0460_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0480A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0480_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0500A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0500_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0520A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0520_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0540A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0540_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0560A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0560_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0580A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0580_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0600A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0600_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0620A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0620_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0640A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0640_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0660A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0660_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0680A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0680_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0700A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0700_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0720A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0720_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0740A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0740_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0760A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0760_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0780A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0780_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0800A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0800_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0820A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0820_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0840A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0840_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0860A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0860_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0880A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0880_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0920A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0920_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0940A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0940_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0960A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0960_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0980A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0980_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1000A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1000_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1020A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1020_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1040A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1040_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1060A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1060_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1080A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1080_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1100A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1100_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1120A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1120_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1140A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1140_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1160A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1160_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1180A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1180_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1200A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1200_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1220A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1220_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1240A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1240_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1260A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1260_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1280A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1280_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1300A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1300_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1320A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1320_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1340A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1340_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1360A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1360_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1380A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1380_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1400A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1400_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1420A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1420_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1440A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1440_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1460A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1460_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1480A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1480_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1500A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1500_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1520A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1520_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1540A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1540_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1560A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1560_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1580A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1580_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1600A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1600_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1620A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1620_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1640A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1640_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1660A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1660_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1680A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1680_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1700A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1700_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1720A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1720_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1740A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1740_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1760A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1760_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1780A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1780_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1820A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1820_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1840A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1840_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1860A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1860_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1880A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1880_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1900A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1900_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1920A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1920_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1940A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1940_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1960A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1960_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1980A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1980_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2000A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2000_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2020A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2020_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2040A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2040_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2060A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2060_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2080A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2080_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2100A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2100_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2120A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2120_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2140A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2140_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2160A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2160_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2180A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2180_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2200A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2200_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2220A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2220_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2240A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2240_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2260A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2260_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2280A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2280_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2300A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2300_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2320A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2320_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2340A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2340_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2360A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2360_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2380A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2380_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2400A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2400_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2420A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2420_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2440A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2440_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2460A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2460_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2480A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2480_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2500A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2500_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2520A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2520_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2540A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2540_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2560A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2560_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2580A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2580_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2600A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2600_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2620A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2620_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2640A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2640_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2660A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2660_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2680A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2680_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2720A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2720_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2740A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2740_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2760A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2760_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2780A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2780_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2800A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2800_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2820A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2820_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2840A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2840_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2860A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2860_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2880A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2880_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2900A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2900_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2920A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2920_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2940A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2940_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2960A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2960_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2980A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2980_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3000A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3000_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3020A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3020_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3040A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3040_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3060A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3060_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3080A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3080_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3100A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3100_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3120A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3120_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3140A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3140_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3160A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3160_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3180A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3180_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3200A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3200_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3220A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3220_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3240A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3240_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3260A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3260_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3280A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3280_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3300A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3300_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3320A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3320_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3340A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3340_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3360A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3360_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3380A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3380_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3400A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3400_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3420A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3420_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3440A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3440_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3460A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3460_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3480A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3480_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3500A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3500_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3520A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3520_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3540A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3540_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3560A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3560_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3580A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3580_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3620A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3620_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3640A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3640_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3660A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3660_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3680A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3680_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3700A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3700_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3720A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3720_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3740A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3740_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3760A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3760_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3780A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3780_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3800A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3800_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3820A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3820_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3840A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3840_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3860A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3860_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3880A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3880_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3900A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3900_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3920A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3920_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3940A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3940_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3960A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3960_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3980A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3980_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4000A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4000_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4020A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4020_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4040A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4040_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4060A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4060_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4080A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4080_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4100A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4100_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4120A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4120_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4140A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4140_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4160A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4160_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4180A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4180_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4200A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4200_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4220A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4220_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4240A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4240_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4260A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4260_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4280A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4280_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4300A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4300_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4320A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4320_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4340A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4340_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4360A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4360_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4380A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4380_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4400A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4400_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4420A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4420_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4440A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4440_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4460A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4460_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4480A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4480_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4520A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4520_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4540A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4540_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4560A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4560_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4580A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4580_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4600A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4600_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4620A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4620_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4640A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4640_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4660A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4660_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4680A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4680_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4700A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4700_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4720A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4720_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4740A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4740_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4760A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4760_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4780A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4780_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4800A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4800_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4820A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4820_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4840A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4840_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4860A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4860_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4880A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4880_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4900A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4900_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4920A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4920_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4940A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4940_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4960A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4960_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4980A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4980_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed5000A150g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED5000_A1_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0090X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0090_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0180X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0180_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0270X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0270_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0360X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0360_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0450X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0450_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0540X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0540_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0630X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0630_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0720X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0720_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0810X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0810_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0900_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0990X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED0990_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1080X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1080_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1170X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1170_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1260X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1260_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1350X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1350_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1440X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1440_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1530X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1530_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1620X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1620_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1710X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1710_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1800_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1890X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1890_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1980X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED1980_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2070X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2070_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2160X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2160_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2250X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2250_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2340X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2340_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2430X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2430_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2520X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2520_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2610X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2610_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2700_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2790X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2790_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2880X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2880_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2970X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED2970_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3060X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3060_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3150X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3150_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3240X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3240_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3330X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3330_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3420X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3420_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3510X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3510_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3600_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3690X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3690_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3780X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3780_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3870X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3870_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3960X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED3960_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4050X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4050_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4140X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4140_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4230X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4230_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4320X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4320_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4410X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4410_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4500_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4590X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4590_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4680X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4680_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4770X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4770_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4860X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4860_X9_50G" - UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4950X950g UpdateVnicShapeDetailsVnicShapeEnum = "SUBCORE_VM_FIXED4950_X9_50G" - UpdateVnicShapeDetailsVnicShapeDynamicA150g UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0040A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0100A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0100_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0200A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0200_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0300A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0300_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0400A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0400_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0500A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0500_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0600A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0600_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0700A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0700_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0800A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0800_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed0900A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0900_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1000A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1000_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1100A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1100_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1200A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1200_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1300A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1300_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1400A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1400_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1500A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1500_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1600A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1600_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1700A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1700_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1800A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1800_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed1900A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1900_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2000A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2000_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2100A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2100_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2200A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2200_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2300A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2300_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2400A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2400_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2500A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2500_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2600A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2600_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2700A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2700_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2800A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2800_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed2900A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2900_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3000A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3000_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3100A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3100_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3200A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3200_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3300A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3300_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3400A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3400_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3500A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3500_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3600A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3600_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3700A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3700_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3800A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3800_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed3900A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3900_A1_50G" - UpdateVnicShapeDetailsVnicShapeFixed4000A150g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED4000_A1_50G" - UpdateVnicShapeDetailsVnicShapeEntirehostA150g UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST_A1_50G" - UpdateVnicShapeDetailsVnicShapeDynamicX950g UpdateVnicShapeDetailsVnicShapeEnum = "DYNAMIC_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed0040X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0040_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed0400X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0400_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed0800X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED0800_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed1200X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1200_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed1600X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED1600_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed2000X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2000_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed2400X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2400_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed2800X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED2800_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed3200X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3200_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed3600X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED3600_X9_50G" - UpdateVnicShapeDetailsVnicShapeFixed4000X950g UpdateVnicShapeDetailsVnicShapeEnum = "FIXED4000_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0100X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0100_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0200X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0200_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0300X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0300_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0400X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0400_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0500X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0500_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0600X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0600_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0700X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0700_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0800X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0800_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed0900X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED0900_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1000X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1000_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1100X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1100_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1200X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1200_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1300X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1300_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1400X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1400_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1500X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1500_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1600X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1600_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1700X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1700_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1800X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1800_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed1900X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED1900_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2000X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2000_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2100X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2100_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2200X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2200_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2300X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2300_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2400X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2400_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2500X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2500_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2600X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2600_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2700X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2700_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2800X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2800_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed2900X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED2900_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3000X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3000_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3100X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3100_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3200X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3200_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3300X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3300_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3400X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3400_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3500X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3500_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3600X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3600_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3700X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3700_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3800X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3800_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed3900X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED3900_X9_50G" - UpdateVnicShapeDetailsVnicShapeStandardVmFixed4000X950g UpdateVnicShapeDetailsVnicShapeEnum = "STANDARD_VM_FIXED4000_X9_50G" - UpdateVnicShapeDetailsVnicShapeEntirehostX950g UpdateVnicShapeDetailsVnicShapeEnum = "ENTIREHOST_X9_50G" -) - -var mappingUpdateVnicShapeDetailsVnicShapeEnum = map[string]UpdateVnicShapeDetailsVnicShapeEnum{ - "DYNAMIC": UpdateVnicShapeDetailsVnicShapeDynamic, - "FIXED0040": UpdateVnicShapeDetailsVnicShapeFixed0040, - "FIXED0060": UpdateVnicShapeDetailsVnicShapeFixed0060, - "FIXED0060_PSM": UpdateVnicShapeDetailsVnicShapeFixed0060Psm, - "FIXED0100": UpdateVnicShapeDetailsVnicShapeFixed0100, - "FIXED0120": UpdateVnicShapeDetailsVnicShapeFixed0120, - "FIXED0120_2X": UpdateVnicShapeDetailsVnicShapeFixed01202x, - "FIXED0200": UpdateVnicShapeDetailsVnicShapeFixed0200, - "FIXED0240": UpdateVnicShapeDetailsVnicShapeFixed0240, - "FIXED0480": UpdateVnicShapeDetailsVnicShapeFixed0480, - "ENTIREHOST": UpdateVnicShapeDetailsVnicShapeEntirehost, - "DYNAMIC_25G": UpdateVnicShapeDetailsVnicShapeDynamic25g, - "FIXED0040_25G": UpdateVnicShapeDetailsVnicShapeFixed004025g, - "FIXED0100_25G": UpdateVnicShapeDetailsVnicShapeFixed010025g, - "FIXED0200_25G": UpdateVnicShapeDetailsVnicShapeFixed020025g, - "FIXED0400_25G": UpdateVnicShapeDetailsVnicShapeFixed040025g, - "FIXED0800_25G": UpdateVnicShapeDetailsVnicShapeFixed080025g, - "FIXED1600_25G": UpdateVnicShapeDetailsVnicShapeFixed160025g, - "FIXED2400_25G": UpdateVnicShapeDetailsVnicShapeFixed240025g, - "ENTIREHOST_25G": UpdateVnicShapeDetailsVnicShapeEntirehost25g, - "DYNAMIC_E1_25G": UpdateVnicShapeDetailsVnicShapeDynamicE125g, - "FIXED0040_E1_25G": UpdateVnicShapeDetailsVnicShapeFixed0040E125g, - "FIXED0070_E1_25G": UpdateVnicShapeDetailsVnicShapeFixed0070E125g, - "FIXED0140_E1_25G": UpdateVnicShapeDetailsVnicShapeFixed0140E125g, - "FIXED0280_E1_25G": UpdateVnicShapeDetailsVnicShapeFixed0280E125g, - "FIXED0560_E1_25G": UpdateVnicShapeDetailsVnicShapeFixed0560E125g, - "FIXED1120_E1_25G": UpdateVnicShapeDetailsVnicShapeFixed1120E125g, - "FIXED1680_E1_25G": UpdateVnicShapeDetailsVnicShapeFixed1680E125g, - "ENTIREHOST_E1_25G": UpdateVnicShapeDetailsVnicShapeEntirehostE125g, - "DYNAMIC_B1_25G": UpdateVnicShapeDetailsVnicShapeDynamicB125g, - "FIXED0040_B1_25G": UpdateVnicShapeDetailsVnicShapeFixed0040B125g, - "FIXED0060_B1_25G": UpdateVnicShapeDetailsVnicShapeFixed0060B125g, - "FIXED0120_B1_25G": UpdateVnicShapeDetailsVnicShapeFixed0120B125g, - "FIXED0240_B1_25G": UpdateVnicShapeDetailsVnicShapeFixed0240B125g, - "FIXED0480_B1_25G": UpdateVnicShapeDetailsVnicShapeFixed0480B125g, - "FIXED0960_B1_25G": UpdateVnicShapeDetailsVnicShapeFixed0960B125g, - "ENTIREHOST_B1_25G": UpdateVnicShapeDetailsVnicShapeEntirehostB125g, - "MICRO_VM_FIXED0048_E1_25G": UpdateVnicShapeDetailsVnicShapeMicroVmFixed0048E125g, - "MICRO_LB_FIXED0001_E1_25G": UpdateVnicShapeDetailsVnicShapeMicroLbFixed0001E125g, - "VNICAAS_FIXED0200": UpdateVnicShapeDetailsVnicShapeVnicaasFixed0200, - "VNICAAS_FIXED0400": UpdateVnicShapeDetailsVnicShapeVnicaasFixed0400, - "VNICAAS_FIXED0700": UpdateVnicShapeDetailsVnicShapeVnicaasFixed0700, - "VNICAAS_NLB_APPROVED_10G": UpdateVnicShapeDetailsVnicShapeVnicaasNlbApproved10g, - "VNICAAS_NLB_APPROVED_25G": UpdateVnicShapeDetailsVnicShapeVnicaasNlbApproved25g, - "VNICAAS_TELESIS_25G": UpdateVnicShapeDetailsVnicShapeVnicaasTelesis25g, - "VNICAAS_TELESIS_10G": UpdateVnicShapeDetailsVnicShapeVnicaasTelesis10g, - "VNICAAS_AMBASSADOR_FIXED0100": UpdateVnicShapeDetailsVnicShapeVnicaasAmbassadorFixed0100, - "VNICAAS_PRIVATEDNS": UpdateVnicShapeDetailsVnicShapeVnicaasPrivatedns, - "VNICAAS_FWAAS": UpdateVnicShapeDetailsVnicShapeVnicaasFwaas, - "DYNAMIC_E3_50G": UpdateVnicShapeDetailsVnicShapeDynamicE350g, - "FIXED0040_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0040E350g, - "FIXED0100_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0100E350g, - "FIXED0200_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0200E350g, - "FIXED0300_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0300E350g, - "FIXED0400_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0400E350g, - "FIXED0500_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0500E350g, - "FIXED0600_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0600E350g, - "FIXED0700_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0700E350g, - "FIXED0800_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0800E350g, - "FIXED0900_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed0900E350g, - "FIXED1000_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1000E350g, - "FIXED1100_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1100E350g, - "FIXED1200_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1200E350g, - "FIXED1300_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1300E350g, - "FIXED1400_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1400E350g, - "FIXED1500_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1500E350g, - "FIXED1600_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1600E350g, - "FIXED1700_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1700E350g, - "FIXED1800_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1800E350g, - "FIXED1900_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed1900E350g, - "FIXED2000_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2000E350g, - "FIXED2100_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2100E350g, - "FIXED2200_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2200E350g, - "FIXED2300_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2300E350g, - "FIXED2400_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2400E350g, - "FIXED2500_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2500E350g, - "FIXED2600_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2600E350g, - "FIXED2700_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2700E350g, - "FIXED2800_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2800E350g, - "FIXED2900_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed2900E350g, - "FIXED3000_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3000E350g, - "FIXED3100_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3100E350g, - "FIXED3200_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3200E350g, - "FIXED3300_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3300E350g, - "FIXED3400_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3400E350g, - "FIXED3500_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3500E350g, - "FIXED3600_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3600E350g, - "FIXED3700_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3700E350g, - "FIXED3800_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3800E350g, - "FIXED3900_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed3900E350g, - "FIXED4000_E3_50G": UpdateVnicShapeDetailsVnicShapeFixed4000E350g, - "ENTIREHOST_E3_50G": UpdateVnicShapeDetailsVnicShapeEntirehostE350g, - "DYNAMIC_E4_50G": UpdateVnicShapeDetailsVnicShapeDynamicE450g, - "FIXED0040_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0040E450g, - "FIXED0100_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0100E450g, - "FIXED0200_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0200E450g, - "FIXED0300_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0300E450g, - "FIXED0400_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0400E450g, - "FIXED0500_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0500E450g, - "FIXED0600_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0600E450g, - "FIXED0700_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0700E450g, - "FIXED0800_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0800E450g, - "FIXED0900_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed0900E450g, - "FIXED1000_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1000E450g, - "FIXED1100_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1100E450g, - "FIXED1200_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1200E450g, - "FIXED1300_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1300E450g, - "FIXED1400_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1400E450g, - "FIXED1500_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1500E450g, - "FIXED1600_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1600E450g, - "FIXED1700_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1700E450g, - "FIXED1800_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1800E450g, - "FIXED1900_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed1900E450g, - "FIXED2000_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2000E450g, - "FIXED2100_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2100E450g, - "FIXED2200_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2200E450g, - "FIXED2300_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2300E450g, - "FIXED2400_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2400E450g, - "FIXED2500_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2500E450g, - "FIXED2600_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2600E450g, - "FIXED2700_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2700E450g, - "FIXED2800_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2800E450g, - "FIXED2900_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed2900E450g, - "FIXED3000_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3000E450g, - "FIXED3100_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3100E450g, - "FIXED3200_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3200E450g, - "FIXED3300_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3300E450g, - "FIXED3400_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3400E450g, - "FIXED3500_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3500E450g, - "FIXED3600_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3600E450g, - "FIXED3700_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3700E450g, - "FIXED3800_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3800E450g, - "FIXED3900_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed3900E450g, - "FIXED4000_E4_50G": UpdateVnicShapeDetailsVnicShapeFixed4000E450g, - "ENTIREHOST_E4_50G": UpdateVnicShapeDetailsVnicShapeEntirehostE450g, - "MICRO_VM_FIXED0050_E3_50G": UpdateVnicShapeDetailsVnicShapeMicroVmFixed0050E350g, - "SUBCORE_VM_FIXED0025_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0025E350g, - "SUBCORE_VM_FIXED0050_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0050E350g, - "SUBCORE_VM_FIXED0075_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0075E350g, - "SUBCORE_VM_FIXED0100_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0100E350g, - "SUBCORE_VM_FIXED0125_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0125E350g, - "SUBCORE_VM_FIXED0150_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0150E350g, - "SUBCORE_VM_FIXED0175_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0175E350g, - "SUBCORE_VM_FIXED0200_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0200E350g, - "SUBCORE_VM_FIXED0225_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0225E350g, - "SUBCORE_VM_FIXED0250_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0250E350g, - "SUBCORE_VM_FIXED0275_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0275E350g, - "SUBCORE_VM_FIXED0300_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0300E350g, - "SUBCORE_VM_FIXED0325_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0325E350g, - "SUBCORE_VM_FIXED0350_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0350E350g, - "SUBCORE_VM_FIXED0375_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0375E350g, - "SUBCORE_VM_FIXED0400_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0400E350g, - "SUBCORE_VM_FIXED0425_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0425E350g, - "SUBCORE_VM_FIXED0450_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0450E350g, - "SUBCORE_VM_FIXED0475_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0475E350g, - "SUBCORE_VM_FIXED0500_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0500E350g, - "SUBCORE_VM_FIXED0525_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0525E350g, - "SUBCORE_VM_FIXED0550_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0550E350g, - "SUBCORE_VM_FIXED0575_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0575E350g, - "SUBCORE_VM_FIXED0600_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0600E350g, - "SUBCORE_VM_FIXED0625_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0625E350g, - "SUBCORE_VM_FIXED0650_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0650E350g, - "SUBCORE_VM_FIXED0675_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0675E350g, - "SUBCORE_VM_FIXED0700_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0700E350g, - "SUBCORE_VM_FIXED0725_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0725E350g, - "SUBCORE_VM_FIXED0750_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0750E350g, - "SUBCORE_VM_FIXED0775_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0775E350g, - "SUBCORE_VM_FIXED0800_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0800E350g, - "SUBCORE_VM_FIXED0825_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0825E350g, - "SUBCORE_VM_FIXED0850_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0850E350g, - "SUBCORE_VM_FIXED0875_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0875E350g, - "SUBCORE_VM_FIXED0900_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900E350g, - "SUBCORE_VM_FIXED0925_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0925E350g, - "SUBCORE_VM_FIXED0950_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0950E350g, - "SUBCORE_VM_FIXED0975_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0975E350g, - "SUBCORE_VM_FIXED1000_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1000E350g, - "SUBCORE_VM_FIXED1025_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1025E350g, - "SUBCORE_VM_FIXED1050_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1050E350g, - "SUBCORE_VM_FIXED1075_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1075E350g, - "SUBCORE_VM_FIXED1100_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1100E350g, - "SUBCORE_VM_FIXED1125_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1125E350g, - "SUBCORE_VM_FIXED1150_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1150E350g, - "SUBCORE_VM_FIXED1175_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1175E350g, - "SUBCORE_VM_FIXED1200_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1200E350g, - "SUBCORE_VM_FIXED1225_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1225E350g, - "SUBCORE_VM_FIXED1250_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1250E350g, - "SUBCORE_VM_FIXED1275_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1275E350g, - "SUBCORE_VM_FIXED1300_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1300E350g, - "SUBCORE_VM_FIXED1325_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1325E350g, - "SUBCORE_VM_FIXED1350_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1350E350g, - "SUBCORE_VM_FIXED1375_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1375E350g, - "SUBCORE_VM_FIXED1400_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1400E350g, - "SUBCORE_VM_FIXED1425_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1425E350g, - "SUBCORE_VM_FIXED1450_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1450E350g, - "SUBCORE_VM_FIXED1475_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1475E350g, - "SUBCORE_VM_FIXED1500_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1500E350g, - "SUBCORE_VM_FIXED1525_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1525E350g, - "SUBCORE_VM_FIXED1550_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1550E350g, - "SUBCORE_VM_FIXED1575_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1575E350g, - "SUBCORE_VM_FIXED1600_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1600E350g, - "SUBCORE_VM_FIXED1625_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1625E350g, - "SUBCORE_VM_FIXED1650_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1650E350g, - "SUBCORE_VM_FIXED1700_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1700E350g, - "SUBCORE_VM_FIXED1725_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1725E350g, - "SUBCORE_VM_FIXED1750_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1750E350g, - "SUBCORE_VM_FIXED1800_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800E350g, - "SUBCORE_VM_FIXED1850_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1850E350g, - "SUBCORE_VM_FIXED1875_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1875E350g, - "SUBCORE_VM_FIXED1900_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1900E350g, - "SUBCORE_VM_FIXED1925_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1925E350g, - "SUBCORE_VM_FIXED1950_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1950E350g, - "SUBCORE_VM_FIXED2000_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2000E350g, - "SUBCORE_VM_FIXED2025_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2025E350g, - "SUBCORE_VM_FIXED2050_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2050E350g, - "SUBCORE_VM_FIXED2100_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2100E350g, - "SUBCORE_VM_FIXED2125_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2125E350g, - "SUBCORE_VM_FIXED2150_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2150E350g, - "SUBCORE_VM_FIXED2175_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2175E350g, - "SUBCORE_VM_FIXED2200_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2200E350g, - "SUBCORE_VM_FIXED2250_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2250E350g, - "SUBCORE_VM_FIXED2275_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2275E350g, - "SUBCORE_VM_FIXED2300_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2300E350g, - "SUBCORE_VM_FIXED2325_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2325E350g, - "SUBCORE_VM_FIXED2350_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2350E350g, - "SUBCORE_VM_FIXED2375_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2375E350g, - "SUBCORE_VM_FIXED2400_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2400E350g, - "SUBCORE_VM_FIXED2450_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2450E350g, - "SUBCORE_VM_FIXED2475_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2475E350g, - "SUBCORE_VM_FIXED2500_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2500E350g, - "SUBCORE_VM_FIXED2550_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2550E350g, - "SUBCORE_VM_FIXED2600_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2600E350g, - "SUBCORE_VM_FIXED2625_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2625E350g, - "SUBCORE_VM_FIXED2650_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2650E350g, - "SUBCORE_VM_FIXED2700_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700E350g, - "SUBCORE_VM_FIXED2750_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2750E350g, - "SUBCORE_VM_FIXED2775_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2775E350g, - "SUBCORE_VM_FIXED2800_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2800E350g, - "SUBCORE_VM_FIXED2850_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2850E350g, - "SUBCORE_VM_FIXED2875_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2875E350g, - "SUBCORE_VM_FIXED2900_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2900E350g, - "SUBCORE_VM_FIXED2925_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2925E350g, - "SUBCORE_VM_FIXED2950_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2950E350g, - "SUBCORE_VM_FIXED2975_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2975E350g, - "SUBCORE_VM_FIXED3000_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3000E350g, - "SUBCORE_VM_FIXED3025_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3025E350g, - "SUBCORE_VM_FIXED3050_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3050E350g, - "SUBCORE_VM_FIXED3075_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3075E350g, - "SUBCORE_VM_FIXED3100_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3100E350g, - "SUBCORE_VM_FIXED3125_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3125E350g, - "SUBCORE_VM_FIXED3150_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3150E350g, - "SUBCORE_VM_FIXED3200_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3200E350g, - "SUBCORE_VM_FIXED3225_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3225E350g, - "SUBCORE_VM_FIXED3250_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3250E350g, - "SUBCORE_VM_FIXED3300_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3300E350g, - "SUBCORE_VM_FIXED3325_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3325E350g, - "SUBCORE_VM_FIXED3375_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3375E350g, - "SUBCORE_VM_FIXED3400_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3400E350g, - "SUBCORE_VM_FIXED3450_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3450E350g, - "SUBCORE_VM_FIXED3500_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3500E350g, - "SUBCORE_VM_FIXED3525_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3525E350g, - "SUBCORE_VM_FIXED3575_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3575E350g, - "SUBCORE_VM_FIXED3600_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600E350g, - "SUBCORE_VM_FIXED3625_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3625E350g, - "SUBCORE_VM_FIXED3675_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3675E350g, - "SUBCORE_VM_FIXED3700_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3700E350g, - "SUBCORE_VM_FIXED3750_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3750E350g, - "SUBCORE_VM_FIXED3800_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3800E350g, - "SUBCORE_VM_FIXED3825_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3825E350g, - "SUBCORE_VM_FIXED3850_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3850E350g, - "SUBCORE_VM_FIXED3875_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3875E350g, - "SUBCORE_VM_FIXED3900_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3900E350g, - "SUBCORE_VM_FIXED3975_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3975E350g, - "SUBCORE_VM_FIXED4000_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4000E350g, - "SUBCORE_VM_FIXED4025_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4025E350g, - "SUBCORE_VM_FIXED4050_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4050E350g, - "SUBCORE_VM_FIXED4100_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4100E350g, - "SUBCORE_VM_FIXED4125_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4125E350g, - "SUBCORE_VM_FIXED4200_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4200E350g, - "SUBCORE_VM_FIXED4225_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4225E350g, - "SUBCORE_VM_FIXED4250_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4250E350g, - "SUBCORE_VM_FIXED4275_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4275E350g, - "SUBCORE_VM_FIXED4300_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4300E350g, - "SUBCORE_VM_FIXED4350_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4350E350g, - "SUBCORE_VM_FIXED4375_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4375E350g, - "SUBCORE_VM_FIXED4400_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4400E350g, - "SUBCORE_VM_FIXED4425_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4425E350g, - "SUBCORE_VM_FIXED4500_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500E350g, - "SUBCORE_VM_FIXED4550_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4550E350g, - "SUBCORE_VM_FIXED4575_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4575E350g, - "SUBCORE_VM_FIXED4600_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4600E350g, - "SUBCORE_VM_FIXED4625_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4625E350g, - "SUBCORE_VM_FIXED4650_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4650E350g, - "SUBCORE_VM_FIXED4675_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4675E350g, - "SUBCORE_VM_FIXED4700_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4700E350g, - "SUBCORE_VM_FIXED4725_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4725E350g, - "SUBCORE_VM_FIXED4750_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4750E350g, - "SUBCORE_VM_FIXED4800_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4800E350g, - "SUBCORE_VM_FIXED4875_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4875E350g, - "SUBCORE_VM_FIXED4900_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4900E350g, - "SUBCORE_VM_FIXED4950_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4950E350g, - "SUBCORE_VM_FIXED5000_E3_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed5000E350g, - "SUBCORE_VM_FIXED0025_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0025E450g, - "SUBCORE_VM_FIXED0050_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0050E450g, - "SUBCORE_VM_FIXED0075_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0075E450g, - "SUBCORE_VM_FIXED0100_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0100E450g, - "SUBCORE_VM_FIXED0125_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0125E450g, - "SUBCORE_VM_FIXED0150_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0150E450g, - "SUBCORE_VM_FIXED0175_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0175E450g, - "SUBCORE_VM_FIXED0200_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0200E450g, - "SUBCORE_VM_FIXED0225_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0225E450g, - "SUBCORE_VM_FIXED0250_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0250E450g, - "SUBCORE_VM_FIXED0275_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0275E450g, - "SUBCORE_VM_FIXED0300_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0300E450g, - "SUBCORE_VM_FIXED0325_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0325E450g, - "SUBCORE_VM_FIXED0350_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0350E450g, - "SUBCORE_VM_FIXED0375_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0375E450g, - "SUBCORE_VM_FIXED0400_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0400E450g, - "SUBCORE_VM_FIXED0425_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0425E450g, - "SUBCORE_VM_FIXED0450_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0450E450g, - "SUBCORE_VM_FIXED0475_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0475E450g, - "SUBCORE_VM_FIXED0500_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0500E450g, - "SUBCORE_VM_FIXED0525_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0525E450g, - "SUBCORE_VM_FIXED0550_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0550E450g, - "SUBCORE_VM_FIXED0575_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0575E450g, - "SUBCORE_VM_FIXED0600_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0600E450g, - "SUBCORE_VM_FIXED0625_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0625E450g, - "SUBCORE_VM_FIXED0650_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0650E450g, - "SUBCORE_VM_FIXED0675_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0675E450g, - "SUBCORE_VM_FIXED0700_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0700E450g, - "SUBCORE_VM_FIXED0725_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0725E450g, - "SUBCORE_VM_FIXED0750_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0750E450g, - "SUBCORE_VM_FIXED0775_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0775E450g, - "SUBCORE_VM_FIXED0800_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0800E450g, - "SUBCORE_VM_FIXED0825_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0825E450g, - "SUBCORE_VM_FIXED0850_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0850E450g, - "SUBCORE_VM_FIXED0875_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0875E450g, - "SUBCORE_VM_FIXED0900_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900E450g, - "SUBCORE_VM_FIXED0925_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0925E450g, - "SUBCORE_VM_FIXED0950_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0950E450g, - "SUBCORE_VM_FIXED0975_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0975E450g, - "SUBCORE_VM_FIXED1000_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1000E450g, - "SUBCORE_VM_FIXED1025_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1025E450g, - "SUBCORE_VM_FIXED1050_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1050E450g, - "SUBCORE_VM_FIXED1075_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1075E450g, - "SUBCORE_VM_FIXED1100_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1100E450g, - "SUBCORE_VM_FIXED1125_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1125E450g, - "SUBCORE_VM_FIXED1150_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1150E450g, - "SUBCORE_VM_FIXED1175_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1175E450g, - "SUBCORE_VM_FIXED1200_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1200E450g, - "SUBCORE_VM_FIXED1225_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1225E450g, - "SUBCORE_VM_FIXED1250_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1250E450g, - "SUBCORE_VM_FIXED1275_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1275E450g, - "SUBCORE_VM_FIXED1300_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1300E450g, - "SUBCORE_VM_FIXED1325_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1325E450g, - "SUBCORE_VM_FIXED1350_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1350E450g, - "SUBCORE_VM_FIXED1375_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1375E450g, - "SUBCORE_VM_FIXED1400_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1400E450g, - "SUBCORE_VM_FIXED1425_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1425E450g, - "SUBCORE_VM_FIXED1450_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1450E450g, - "SUBCORE_VM_FIXED1475_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1475E450g, - "SUBCORE_VM_FIXED1500_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1500E450g, - "SUBCORE_VM_FIXED1525_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1525E450g, - "SUBCORE_VM_FIXED1550_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1550E450g, - "SUBCORE_VM_FIXED1575_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1575E450g, - "SUBCORE_VM_FIXED1600_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1600E450g, - "SUBCORE_VM_FIXED1625_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1625E450g, - "SUBCORE_VM_FIXED1650_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1650E450g, - "SUBCORE_VM_FIXED1700_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1700E450g, - "SUBCORE_VM_FIXED1725_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1725E450g, - "SUBCORE_VM_FIXED1750_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1750E450g, - "SUBCORE_VM_FIXED1800_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800E450g, - "SUBCORE_VM_FIXED1850_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1850E450g, - "SUBCORE_VM_FIXED1875_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1875E450g, - "SUBCORE_VM_FIXED1900_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1900E450g, - "SUBCORE_VM_FIXED1925_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1925E450g, - "SUBCORE_VM_FIXED1950_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1950E450g, - "SUBCORE_VM_FIXED2000_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2000E450g, - "SUBCORE_VM_FIXED2025_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2025E450g, - "SUBCORE_VM_FIXED2050_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2050E450g, - "SUBCORE_VM_FIXED2100_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2100E450g, - "SUBCORE_VM_FIXED2125_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2125E450g, - "SUBCORE_VM_FIXED2150_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2150E450g, - "SUBCORE_VM_FIXED2175_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2175E450g, - "SUBCORE_VM_FIXED2200_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2200E450g, - "SUBCORE_VM_FIXED2250_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2250E450g, - "SUBCORE_VM_FIXED2275_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2275E450g, - "SUBCORE_VM_FIXED2300_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2300E450g, - "SUBCORE_VM_FIXED2325_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2325E450g, - "SUBCORE_VM_FIXED2350_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2350E450g, - "SUBCORE_VM_FIXED2375_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2375E450g, - "SUBCORE_VM_FIXED2400_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2400E450g, - "SUBCORE_VM_FIXED2450_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2450E450g, - "SUBCORE_VM_FIXED2475_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2475E450g, - "SUBCORE_VM_FIXED2500_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2500E450g, - "SUBCORE_VM_FIXED2550_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2550E450g, - "SUBCORE_VM_FIXED2600_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2600E450g, - "SUBCORE_VM_FIXED2625_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2625E450g, - "SUBCORE_VM_FIXED2650_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2650E450g, - "SUBCORE_VM_FIXED2700_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700E450g, - "SUBCORE_VM_FIXED2750_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2750E450g, - "SUBCORE_VM_FIXED2775_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2775E450g, - "SUBCORE_VM_FIXED2800_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2800E450g, - "SUBCORE_VM_FIXED2850_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2850E450g, - "SUBCORE_VM_FIXED2875_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2875E450g, - "SUBCORE_VM_FIXED2900_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2900E450g, - "SUBCORE_VM_FIXED2925_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2925E450g, - "SUBCORE_VM_FIXED2950_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2950E450g, - "SUBCORE_VM_FIXED2975_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2975E450g, - "SUBCORE_VM_FIXED3000_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3000E450g, - "SUBCORE_VM_FIXED3025_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3025E450g, - "SUBCORE_VM_FIXED3050_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3050E450g, - "SUBCORE_VM_FIXED3075_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3075E450g, - "SUBCORE_VM_FIXED3100_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3100E450g, - "SUBCORE_VM_FIXED3125_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3125E450g, - "SUBCORE_VM_FIXED3150_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3150E450g, - "SUBCORE_VM_FIXED3200_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3200E450g, - "SUBCORE_VM_FIXED3225_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3225E450g, - "SUBCORE_VM_FIXED3250_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3250E450g, - "SUBCORE_VM_FIXED3300_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3300E450g, - "SUBCORE_VM_FIXED3325_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3325E450g, - "SUBCORE_VM_FIXED3375_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3375E450g, - "SUBCORE_VM_FIXED3400_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3400E450g, - "SUBCORE_VM_FIXED3450_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3450E450g, - "SUBCORE_VM_FIXED3500_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3500E450g, - "SUBCORE_VM_FIXED3525_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3525E450g, - "SUBCORE_VM_FIXED3575_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3575E450g, - "SUBCORE_VM_FIXED3600_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600E450g, - "SUBCORE_VM_FIXED3625_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3625E450g, - "SUBCORE_VM_FIXED3675_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3675E450g, - "SUBCORE_VM_FIXED3700_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3700E450g, - "SUBCORE_VM_FIXED3750_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3750E450g, - "SUBCORE_VM_FIXED3800_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3800E450g, - "SUBCORE_VM_FIXED3825_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3825E450g, - "SUBCORE_VM_FIXED3850_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3850E450g, - "SUBCORE_VM_FIXED3875_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3875E450g, - "SUBCORE_VM_FIXED3900_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3900E450g, - "SUBCORE_VM_FIXED3975_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3975E450g, - "SUBCORE_VM_FIXED4000_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4000E450g, - "SUBCORE_VM_FIXED4025_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4025E450g, - "SUBCORE_VM_FIXED4050_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4050E450g, - "SUBCORE_VM_FIXED4100_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4100E450g, - "SUBCORE_VM_FIXED4125_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4125E450g, - "SUBCORE_VM_FIXED4200_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4200E450g, - "SUBCORE_VM_FIXED4225_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4225E450g, - "SUBCORE_VM_FIXED4250_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4250E450g, - "SUBCORE_VM_FIXED4275_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4275E450g, - "SUBCORE_VM_FIXED4300_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4300E450g, - "SUBCORE_VM_FIXED4350_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4350E450g, - "SUBCORE_VM_FIXED4375_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4375E450g, - "SUBCORE_VM_FIXED4400_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4400E450g, - "SUBCORE_VM_FIXED4425_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4425E450g, - "SUBCORE_VM_FIXED4500_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500E450g, - "SUBCORE_VM_FIXED4550_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4550E450g, - "SUBCORE_VM_FIXED4575_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4575E450g, - "SUBCORE_VM_FIXED4600_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4600E450g, - "SUBCORE_VM_FIXED4625_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4625E450g, - "SUBCORE_VM_FIXED4650_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4650E450g, - "SUBCORE_VM_FIXED4675_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4675E450g, - "SUBCORE_VM_FIXED4700_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4700E450g, - "SUBCORE_VM_FIXED4725_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4725E450g, - "SUBCORE_VM_FIXED4750_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4750E450g, - "SUBCORE_VM_FIXED4800_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4800E450g, - "SUBCORE_VM_FIXED4875_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4875E450g, - "SUBCORE_VM_FIXED4900_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4900E450g, - "SUBCORE_VM_FIXED4950_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4950E450g, - "SUBCORE_VM_FIXED5000_E4_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed5000E450g, - "SUBCORE_VM_FIXED0020_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0020A150g, - "SUBCORE_VM_FIXED0040_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0040A150g, - "SUBCORE_VM_FIXED0060_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0060A150g, - "SUBCORE_VM_FIXED0080_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0080A150g, - "SUBCORE_VM_FIXED0100_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0100A150g, - "SUBCORE_VM_FIXED0120_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0120A150g, - "SUBCORE_VM_FIXED0140_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0140A150g, - "SUBCORE_VM_FIXED0160_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0160A150g, - "SUBCORE_VM_FIXED0180_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0180A150g, - "SUBCORE_VM_FIXED0200_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0200A150g, - "SUBCORE_VM_FIXED0220_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0220A150g, - "SUBCORE_VM_FIXED0240_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0240A150g, - "SUBCORE_VM_FIXED0260_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0260A150g, - "SUBCORE_VM_FIXED0280_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0280A150g, - "SUBCORE_VM_FIXED0300_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0300A150g, - "SUBCORE_VM_FIXED0320_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0320A150g, - "SUBCORE_VM_FIXED0340_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0340A150g, - "SUBCORE_VM_FIXED0360_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0360A150g, - "SUBCORE_VM_FIXED0380_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0380A150g, - "SUBCORE_VM_FIXED0400_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0400A150g, - "SUBCORE_VM_FIXED0420_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0420A150g, - "SUBCORE_VM_FIXED0440_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0440A150g, - "SUBCORE_VM_FIXED0460_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0460A150g, - "SUBCORE_VM_FIXED0480_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0480A150g, - "SUBCORE_VM_FIXED0500_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0500A150g, - "SUBCORE_VM_FIXED0520_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0520A150g, - "SUBCORE_VM_FIXED0540_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0540A150g, - "SUBCORE_VM_FIXED0560_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0560A150g, - "SUBCORE_VM_FIXED0580_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0580A150g, - "SUBCORE_VM_FIXED0600_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0600A150g, - "SUBCORE_VM_FIXED0620_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0620A150g, - "SUBCORE_VM_FIXED0640_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0640A150g, - "SUBCORE_VM_FIXED0660_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0660A150g, - "SUBCORE_VM_FIXED0680_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0680A150g, - "SUBCORE_VM_FIXED0700_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0700A150g, - "SUBCORE_VM_FIXED0720_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0720A150g, - "SUBCORE_VM_FIXED0740_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0740A150g, - "SUBCORE_VM_FIXED0760_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0760A150g, - "SUBCORE_VM_FIXED0780_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0780A150g, - "SUBCORE_VM_FIXED0800_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0800A150g, - "SUBCORE_VM_FIXED0820_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0820A150g, - "SUBCORE_VM_FIXED0840_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0840A150g, - "SUBCORE_VM_FIXED0860_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0860A150g, - "SUBCORE_VM_FIXED0880_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0880A150g, - "SUBCORE_VM_FIXED0900_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900A150g, - "SUBCORE_VM_FIXED0920_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0920A150g, - "SUBCORE_VM_FIXED0940_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0940A150g, - "SUBCORE_VM_FIXED0960_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0960A150g, - "SUBCORE_VM_FIXED0980_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0980A150g, - "SUBCORE_VM_FIXED1000_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1000A150g, - "SUBCORE_VM_FIXED1020_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1020A150g, - "SUBCORE_VM_FIXED1040_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1040A150g, - "SUBCORE_VM_FIXED1060_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1060A150g, - "SUBCORE_VM_FIXED1080_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1080A150g, - "SUBCORE_VM_FIXED1100_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1100A150g, - "SUBCORE_VM_FIXED1120_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1120A150g, - "SUBCORE_VM_FIXED1140_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1140A150g, - "SUBCORE_VM_FIXED1160_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1160A150g, - "SUBCORE_VM_FIXED1180_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1180A150g, - "SUBCORE_VM_FIXED1200_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1200A150g, - "SUBCORE_VM_FIXED1220_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1220A150g, - "SUBCORE_VM_FIXED1240_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1240A150g, - "SUBCORE_VM_FIXED1260_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1260A150g, - "SUBCORE_VM_FIXED1280_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1280A150g, - "SUBCORE_VM_FIXED1300_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1300A150g, - "SUBCORE_VM_FIXED1320_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1320A150g, - "SUBCORE_VM_FIXED1340_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1340A150g, - "SUBCORE_VM_FIXED1360_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1360A150g, - "SUBCORE_VM_FIXED1380_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1380A150g, - "SUBCORE_VM_FIXED1400_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1400A150g, - "SUBCORE_VM_FIXED1420_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1420A150g, - "SUBCORE_VM_FIXED1440_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1440A150g, - "SUBCORE_VM_FIXED1460_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1460A150g, - "SUBCORE_VM_FIXED1480_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1480A150g, - "SUBCORE_VM_FIXED1500_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1500A150g, - "SUBCORE_VM_FIXED1520_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1520A150g, - "SUBCORE_VM_FIXED1540_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1540A150g, - "SUBCORE_VM_FIXED1560_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1560A150g, - "SUBCORE_VM_FIXED1580_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1580A150g, - "SUBCORE_VM_FIXED1600_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1600A150g, - "SUBCORE_VM_FIXED1620_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1620A150g, - "SUBCORE_VM_FIXED1640_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1640A150g, - "SUBCORE_VM_FIXED1660_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1660A150g, - "SUBCORE_VM_FIXED1680_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1680A150g, - "SUBCORE_VM_FIXED1700_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1700A150g, - "SUBCORE_VM_FIXED1720_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1720A150g, - "SUBCORE_VM_FIXED1740_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1740A150g, - "SUBCORE_VM_FIXED1760_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1760A150g, - "SUBCORE_VM_FIXED1780_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1780A150g, - "SUBCORE_VM_FIXED1800_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800A150g, - "SUBCORE_VM_FIXED1820_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1820A150g, - "SUBCORE_VM_FIXED1840_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1840A150g, - "SUBCORE_VM_FIXED1860_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1860A150g, - "SUBCORE_VM_FIXED1880_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1880A150g, - "SUBCORE_VM_FIXED1900_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1900A150g, - "SUBCORE_VM_FIXED1920_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1920A150g, - "SUBCORE_VM_FIXED1940_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1940A150g, - "SUBCORE_VM_FIXED1960_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1960A150g, - "SUBCORE_VM_FIXED1980_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1980A150g, - "SUBCORE_VM_FIXED2000_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2000A150g, - "SUBCORE_VM_FIXED2020_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2020A150g, - "SUBCORE_VM_FIXED2040_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2040A150g, - "SUBCORE_VM_FIXED2060_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2060A150g, - "SUBCORE_VM_FIXED2080_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2080A150g, - "SUBCORE_VM_FIXED2100_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2100A150g, - "SUBCORE_VM_FIXED2120_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2120A150g, - "SUBCORE_VM_FIXED2140_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2140A150g, - "SUBCORE_VM_FIXED2160_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2160A150g, - "SUBCORE_VM_FIXED2180_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2180A150g, - "SUBCORE_VM_FIXED2200_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2200A150g, - "SUBCORE_VM_FIXED2220_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2220A150g, - "SUBCORE_VM_FIXED2240_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2240A150g, - "SUBCORE_VM_FIXED2260_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2260A150g, - "SUBCORE_VM_FIXED2280_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2280A150g, - "SUBCORE_VM_FIXED2300_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2300A150g, - "SUBCORE_VM_FIXED2320_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2320A150g, - "SUBCORE_VM_FIXED2340_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2340A150g, - "SUBCORE_VM_FIXED2360_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2360A150g, - "SUBCORE_VM_FIXED2380_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2380A150g, - "SUBCORE_VM_FIXED2400_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2400A150g, - "SUBCORE_VM_FIXED2420_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2420A150g, - "SUBCORE_VM_FIXED2440_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2440A150g, - "SUBCORE_VM_FIXED2460_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2460A150g, - "SUBCORE_VM_FIXED2480_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2480A150g, - "SUBCORE_VM_FIXED2500_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2500A150g, - "SUBCORE_VM_FIXED2520_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2520A150g, - "SUBCORE_VM_FIXED2540_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2540A150g, - "SUBCORE_VM_FIXED2560_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2560A150g, - "SUBCORE_VM_FIXED2580_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2580A150g, - "SUBCORE_VM_FIXED2600_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2600A150g, - "SUBCORE_VM_FIXED2620_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2620A150g, - "SUBCORE_VM_FIXED2640_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2640A150g, - "SUBCORE_VM_FIXED2660_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2660A150g, - "SUBCORE_VM_FIXED2680_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2680A150g, - "SUBCORE_VM_FIXED2700_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700A150g, - "SUBCORE_VM_FIXED2720_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2720A150g, - "SUBCORE_VM_FIXED2740_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2740A150g, - "SUBCORE_VM_FIXED2760_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2760A150g, - "SUBCORE_VM_FIXED2780_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2780A150g, - "SUBCORE_VM_FIXED2800_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2800A150g, - "SUBCORE_VM_FIXED2820_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2820A150g, - "SUBCORE_VM_FIXED2840_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2840A150g, - "SUBCORE_VM_FIXED2860_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2860A150g, - "SUBCORE_VM_FIXED2880_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2880A150g, - "SUBCORE_VM_FIXED2900_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2900A150g, - "SUBCORE_VM_FIXED2920_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2920A150g, - "SUBCORE_VM_FIXED2940_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2940A150g, - "SUBCORE_VM_FIXED2960_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2960A150g, - "SUBCORE_VM_FIXED2980_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2980A150g, - "SUBCORE_VM_FIXED3000_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3000A150g, - "SUBCORE_VM_FIXED3020_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3020A150g, - "SUBCORE_VM_FIXED3040_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3040A150g, - "SUBCORE_VM_FIXED3060_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3060A150g, - "SUBCORE_VM_FIXED3080_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3080A150g, - "SUBCORE_VM_FIXED3100_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3100A150g, - "SUBCORE_VM_FIXED3120_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3120A150g, - "SUBCORE_VM_FIXED3140_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3140A150g, - "SUBCORE_VM_FIXED3160_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3160A150g, - "SUBCORE_VM_FIXED3180_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3180A150g, - "SUBCORE_VM_FIXED3200_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3200A150g, - "SUBCORE_VM_FIXED3220_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3220A150g, - "SUBCORE_VM_FIXED3240_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3240A150g, - "SUBCORE_VM_FIXED3260_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3260A150g, - "SUBCORE_VM_FIXED3280_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3280A150g, - "SUBCORE_VM_FIXED3300_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3300A150g, - "SUBCORE_VM_FIXED3320_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3320A150g, - "SUBCORE_VM_FIXED3340_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3340A150g, - "SUBCORE_VM_FIXED3360_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3360A150g, - "SUBCORE_VM_FIXED3380_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3380A150g, - "SUBCORE_VM_FIXED3400_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3400A150g, - "SUBCORE_VM_FIXED3420_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3420A150g, - "SUBCORE_VM_FIXED3440_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3440A150g, - "SUBCORE_VM_FIXED3460_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3460A150g, - "SUBCORE_VM_FIXED3480_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3480A150g, - "SUBCORE_VM_FIXED3500_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3500A150g, - "SUBCORE_VM_FIXED3520_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3520A150g, - "SUBCORE_VM_FIXED3540_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3540A150g, - "SUBCORE_VM_FIXED3560_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3560A150g, - "SUBCORE_VM_FIXED3580_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3580A150g, - "SUBCORE_VM_FIXED3600_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600A150g, - "SUBCORE_VM_FIXED3620_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3620A150g, - "SUBCORE_VM_FIXED3640_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3640A150g, - "SUBCORE_VM_FIXED3660_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3660A150g, - "SUBCORE_VM_FIXED3680_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3680A150g, - "SUBCORE_VM_FIXED3700_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3700A150g, - "SUBCORE_VM_FIXED3720_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3720A150g, - "SUBCORE_VM_FIXED3740_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3740A150g, - "SUBCORE_VM_FIXED3760_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3760A150g, - "SUBCORE_VM_FIXED3780_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3780A150g, - "SUBCORE_VM_FIXED3800_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3800A150g, - "SUBCORE_VM_FIXED3820_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3820A150g, - "SUBCORE_VM_FIXED3840_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3840A150g, - "SUBCORE_VM_FIXED3860_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3860A150g, - "SUBCORE_VM_FIXED3880_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3880A150g, - "SUBCORE_VM_FIXED3900_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3900A150g, - "SUBCORE_VM_FIXED3920_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3920A150g, - "SUBCORE_VM_FIXED3940_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3940A150g, - "SUBCORE_VM_FIXED3960_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3960A150g, - "SUBCORE_VM_FIXED3980_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3980A150g, - "SUBCORE_VM_FIXED4000_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4000A150g, - "SUBCORE_VM_FIXED4020_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4020A150g, - "SUBCORE_VM_FIXED4040_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4040A150g, - "SUBCORE_VM_FIXED4060_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4060A150g, - "SUBCORE_VM_FIXED4080_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4080A150g, - "SUBCORE_VM_FIXED4100_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4100A150g, - "SUBCORE_VM_FIXED4120_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4120A150g, - "SUBCORE_VM_FIXED4140_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4140A150g, - "SUBCORE_VM_FIXED4160_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4160A150g, - "SUBCORE_VM_FIXED4180_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4180A150g, - "SUBCORE_VM_FIXED4200_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4200A150g, - "SUBCORE_VM_FIXED4220_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4220A150g, - "SUBCORE_VM_FIXED4240_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4240A150g, - "SUBCORE_VM_FIXED4260_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4260A150g, - "SUBCORE_VM_FIXED4280_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4280A150g, - "SUBCORE_VM_FIXED4300_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4300A150g, - "SUBCORE_VM_FIXED4320_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4320A150g, - "SUBCORE_VM_FIXED4340_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4340A150g, - "SUBCORE_VM_FIXED4360_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4360A150g, - "SUBCORE_VM_FIXED4380_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4380A150g, - "SUBCORE_VM_FIXED4400_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4400A150g, - "SUBCORE_VM_FIXED4420_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4420A150g, - "SUBCORE_VM_FIXED4440_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4440A150g, - "SUBCORE_VM_FIXED4460_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4460A150g, - "SUBCORE_VM_FIXED4480_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4480A150g, - "SUBCORE_VM_FIXED4500_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500A150g, - "SUBCORE_VM_FIXED4520_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4520A150g, - "SUBCORE_VM_FIXED4540_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4540A150g, - "SUBCORE_VM_FIXED4560_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4560A150g, - "SUBCORE_VM_FIXED4580_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4580A150g, - "SUBCORE_VM_FIXED4600_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4600A150g, - "SUBCORE_VM_FIXED4620_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4620A150g, - "SUBCORE_VM_FIXED4640_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4640A150g, - "SUBCORE_VM_FIXED4660_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4660A150g, - "SUBCORE_VM_FIXED4680_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4680A150g, - "SUBCORE_VM_FIXED4700_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4700A150g, - "SUBCORE_VM_FIXED4720_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4720A150g, - "SUBCORE_VM_FIXED4740_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4740A150g, - "SUBCORE_VM_FIXED4760_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4760A150g, - "SUBCORE_VM_FIXED4780_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4780A150g, - "SUBCORE_VM_FIXED4800_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4800A150g, - "SUBCORE_VM_FIXED4820_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4820A150g, - "SUBCORE_VM_FIXED4840_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4840A150g, - "SUBCORE_VM_FIXED4860_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4860A150g, - "SUBCORE_VM_FIXED4880_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4880A150g, - "SUBCORE_VM_FIXED4900_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4900A150g, - "SUBCORE_VM_FIXED4920_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4920A150g, - "SUBCORE_VM_FIXED4940_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4940A150g, - "SUBCORE_VM_FIXED4960_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4960A150g, - "SUBCORE_VM_FIXED4980_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4980A150g, - "SUBCORE_VM_FIXED5000_A1_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed5000A150g, - "SUBCORE_VM_FIXED0090_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0090X950g, - "SUBCORE_VM_FIXED0180_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0180X950g, - "SUBCORE_VM_FIXED0270_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0270X950g, - "SUBCORE_VM_FIXED0360_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0360X950g, - "SUBCORE_VM_FIXED0450_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0450X950g, - "SUBCORE_VM_FIXED0540_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0540X950g, - "SUBCORE_VM_FIXED0630_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0630X950g, - "SUBCORE_VM_FIXED0720_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0720X950g, - "SUBCORE_VM_FIXED0810_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0810X950g, - "SUBCORE_VM_FIXED0900_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0900X950g, - "SUBCORE_VM_FIXED0990_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed0990X950g, - "SUBCORE_VM_FIXED1080_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1080X950g, - "SUBCORE_VM_FIXED1170_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1170X950g, - "SUBCORE_VM_FIXED1260_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1260X950g, - "SUBCORE_VM_FIXED1350_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1350X950g, - "SUBCORE_VM_FIXED1440_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1440X950g, - "SUBCORE_VM_FIXED1530_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1530X950g, - "SUBCORE_VM_FIXED1620_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1620X950g, - "SUBCORE_VM_FIXED1710_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1710X950g, - "SUBCORE_VM_FIXED1800_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1800X950g, - "SUBCORE_VM_FIXED1890_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1890X950g, - "SUBCORE_VM_FIXED1980_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed1980X950g, - "SUBCORE_VM_FIXED2070_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2070X950g, - "SUBCORE_VM_FIXED2160_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2160X950g, - "SUBCORE_VM_FIXED2250_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2250X950g, - "SUBCORE_VM_FIXED2340_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2340X950g, - "SUBCORE_VM_FIXED2430_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2430X950g, - "SUBCORE_VM_FIXED2520_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2520X950g, - "SUBCORE_VM_FIXED2610_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2610X950g, - "SUBCORE_VM_FIXED2700_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2700X950g, - "SUBCORE_VM_FIXED2790_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2790X950g, - "SUBCORE_VM_FIXED2880_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2880X950g, - "SUBCORE_VM_FIXED2970_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed2970X950g, - "SUBCORE_VM_FIXED3060_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3060X950g, - "SUBCORE_VM_FIXED3150_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3150X950g, - "SUBCORE_VM_FIXED3240_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3240X950g, - "SUBCORE_VM_FIXED3330_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3330X950g, - "SUBCORE_VM_FIXED3420_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3420X950g, - "SUBCORE_VM_FIXED3510_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3510X950g, - "SUBCORE_VM_FIXED3600_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3600X950g, - "SUBCORE_VM_FIXED3690_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3690X950g, - "SUBCORE_VM_FIXED3780_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3780X950g, - "SUBCORE_VM_FIXED3870_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3870X950g, - "SUBCORE_VM_FIXED3960_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed3960X950g, - "SUBCORE_VM_FIXED4050_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4050X950g, - "SUBCORE_VM_FIXED4140_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4140X950g, - "SUBCORE_VM_FIXED4230_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4230X950g, - "SUBCORE_VM_FIXED4320_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4320X950g, - "SUBCORE_VM_FIXED4410_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4410X950g, - "SUBCORE_VM_FIXED4500_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4500X950g, - "SUBCORE_VM_FIXED4590_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4590X950g, - "SUBCORE_VM_FIXED4680_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4680X950g, - "SUBCORE_VM_FIXED4770_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4770X950g, - "SUBCORE_VM_FIXED4860_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4860X950g, - "SUBCORE_VM_FIXED4950_X9_50G": UpdateVnicShapeDetailsVnicShapeSubcoreVmFixed4950X950g, - "DYNAMIC_A1_50G": UpdateVnicShapeDetailsVnicShapeDynamicA150g, - "FIXED0040_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0040A150g, - "FIXED0100_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0100A150g, - "FIXED0200_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0200A150g, - "FIXED0300_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0300A150g, - "FIXED0400_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0400A150g, - "FIXED0500_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0500A150g, - "FIXED0600_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0600A150g, - "FIXED0700_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0700A150g, - "FIXED0800_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0800A150g, - "FIXED0900_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed0900A150g, - "FIXED1000_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1000A150g, - "FIXED1100_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1100A150g, - "FIXED1200_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1200A150g, - "FIXED1300_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1300A150g, - "FIXED1400_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1400A150g, - "FIXED1500_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1500A150g, - "FIXED1600_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1600A150g, - "FIXED1700_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1700A150g, - "FIXED1800_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1800A150g, - "FIXED1900_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed1900A150g, - "FIXED2000_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2000A150g, - "FIXED2100_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2100A150g, - "FIXED2200_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2200A150g, - "FIXED2300_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2300A150g, - "FIXED2400_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2400A150g, - "FIXED2500_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2500A150g, - "FIXED2600_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2600A150g, - "FIXED2700_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2700A150g, - "FIXED2800_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2800A150g, - "FIXED2900_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed2900A150g, - "FIXED3000_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3000A150g, - "FIXED3100_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3100A150g, - "FIXED3200_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3200A150g, - "FIXED3300_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3300A150g, - "FIXED3400_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3400A150g, - "FIXED3500_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3500A150g, - "FIXED3600_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3600A150g, - "FIXED3700_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3700A150g, - "FIXED3800_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3800A150g, - "FIXED3900_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed3900A150g, - "FIXED4000_A1_50G": UpdateVnicShapeDetailsVnicShapeFixed4000A150g, - "ENTIREHOST_A1_50G": UpdateVnicShapeDetailsVnicShapeEntirehostA150g, - "DYNAMIC_X9_50G": UpdateVnicShapeDetailsVnicShapeDynamicX950g, - "FIXED0040_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed0040X950g, - "FIXED0400_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed0400X950g, - "FIXED0800_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed0800X950g, - "FIXED1200_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed1200X950g, - "FIXED1600_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed1600X950g, - "FIXED2000_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed2000X950g, - "FIXED2400_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed2400X950g, - "FIXED2800_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed2800X950g, - "FIXED3200_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed3200X950g, - "FIXED3600_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed3600X950g, - "FIXED4000_X9_50G": UpdateVnicShapeDetailsVnicShapeFixed4000X950g, - "STANDARD_VM_FIXED0100_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0100X950g, - "STANDARD_VM_FIXED0200_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0200X950g, - "STANDARD_VM_FIXED0300_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0300X950g, - "STANDARD_VM_FIXED0400_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0400X950g, - "STANDARD_VM_FIXED0500_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0500X950g, - "STANDARD_VM_FIXED0600_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0600X950g, - "STANDARD_VM_FIXED0700_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0700X950g, - "STANDARD_VM_FIXED0800_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0800X950g, - "STANDARD_VM_FIXED0900_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed0900X950g, - "STANDARD_VM_FIXED1000_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1000X950g, - "STANDARD_VM_FIXED1100_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1100X950g, - "STANDARD_VM_FIXED1200_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1200X950g, - "STANDARD_VM_FIXED1300_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1300X950g, - "STANDARD_VM_FIXED1400_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1400X950g, - "STANDARD_VM_FIXED1500_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1500X950g, - "STANDARD_VM_FIXED1600_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1600X950g, - "STANDARD_VM_FIXED1700_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1700X950g, - "STANDARD_VM_FIXED1800_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1800X950g, - "STANDARD_VM_FIXED1900_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed1900X950g, - "STANDARD_VM_FIXED2000_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2000X950g, - "STANDARD_VM_FIXED2100_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2100X950g, - "STANDARD_VM_FIXED2200_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2200X950g, - "STANDARD_VM_FIXED2300_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2300X950g, - "STANDARD_VM_FIXED2400_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2400X950g, - "STANDARD_VM_FIXED2500_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2500X950g, - "STANDARD_VM_FIXED2600_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2600X950g, - "STANDARD_VM_FIXED2700_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2700X950g, - "STANDARD_VM_FIXED2800_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2800X950g, - "STANDARD_VM_FIXED2900_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed2900X950g, - "STANDARD_VM_FIXED3000_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3000X950g, - "STANDARD_VM_FIXED3100_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3100X950g, - "STANDARD_VM_FIXED3200_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3200X950g, - "STANDARD_VM_FIXED3300_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3300X950g, - "STANDARD_VM_FIXED3400_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3400X950g, - "STANDARD_VM_FIXED3500_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3500X950g, - "STANDARD_VM_FIXED3600_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3600X950g, - "STANDARD_VM_FIXED3700_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3700X950g, - "STANDARD_VM_FIXED3800_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3800X950g, - "STANDARD_VM_FIXED3900_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed3900X950g, - "STANDARD_VM_FIXED4000_X9_50G": UpdateVnicShapeDetailsVnicShapeStandardVmFixed4000X950g, - "ENTIREHOST_X9_50G": UpdateVnicShapeDetailsVnicShapeEntirehostX950g, -} - -// GetUpdateVnicShapeDetailsVnicShapeEnumValues Enumerates the set of values for UpdateVnicShapeDetailsVnicShapeEnum -func GetUpdateVnicShapeDetailsVnicShapeEnumValues() []UpdateVnicShapeDetailsVnicShapeEnum { - values := make([]UpdateVnicShapeDetailsVnicShapeEnum, 0) - for _, v := range mappingUpdateVnicShapeDetailsVnicShapeEnum { - values = append(values, v) - } - return values -} - -// GetUpdateVnicShapeDetailsVnicShapeEnumStringValues Enumerates the set of values in String for UpdateVnicShapeDetailsVnicShapeEnum -func GetUpdateVnicShapeDetailsVnicShapeEnumStringValues() []string { - return []string{ - "DYNAMIC", - "FIXED0040", - "FIXED0060", - "FIXED0060_PSM", - "FIXED0100", - "FIXED0120", - "FIXED0120_2X", - "FIXED0200", - "FIXED0240", - "FIXED0480", - "ENTIREHOST", - "DYNAMIC_25G", - "FIXED0040_25G", - "FIXED0100_25G", - "FIXED0200_25G", - "FIXED0400_25G", - "FIXED0800_25G", - "FIXED1600_25G", - "FIXED2400_25G", - "ENTIREHOST_25G", - "DYNAMIC_E1_25G", - "FIXED0040_E1_25G", - "FIXED0070_E1_25G", - "FIXED0140_E1_25G", - "FIXED0280_E1_25G", - "FIXED0560_E1_25G", - "FIXED1120_E1_25G", - "FIXED1680_E1_25G", - "ENTIREHOST_E1_25G", - "DYNAMIC_B1_25G", - "FIXED0040_B1_25G", - "FIXED0060_B1_25G", - "FIXED0120_B1_25G", - "FIXED0240_B1_25G", - "FIXED0480_B1_25G", - "FIXED0960_B1_25G", - "ENTIREHOST_B1_25G", - "MICRO_VM_FIXED0048_E1_25G", - "MICRO_LB_FIXED0001_E1_25G", - "VNICAAS_FIXED0200", - "VNICAAS_FIXED0400", - "VNICAAS_FIXED0700", - "VNICAAS_NLB_APPROVED_10G", - "VNICAAS_NLB_APPROVED_25G", - "VNICAAS_TELESIS_25G", - "VNICAAS_TELESIS_10G", - "VNICAAS_AMBASSADOR_FIXED0100", - "VNICAAS_PRIVATEDNS", - "VNICAAS_FWAAS", - "DYNAMIC_E3_50G", - "FIXED0040_E3_50G", - "FIXED0100_E3_50G", - "FIXED0200_E3_50G", - "FIXED0300_E3_50G", - "FIXED0400_E3_50G", - "FIXED0500_E3_50G", - "FIXED0600_E3_50G", - "FIXED0700_E3_50G", - "FIXED0800_E3_50G", - "FIXED0900_E3_50G", - "FIXED1000_E3_50G", - "FIXED1100_E3_50G", - "FIXED1200_E3_50G", - "FIXED1300_E3_50G", - "FIXED1400_E3_50G", - "FIXED1500_E3_50G", - "FIXED1600_E3_50G", - "FIXED1700_E3_50G", - "FIXED1800_E3_50G", - "FIXED1900_E3_50G", - "FIXED2000_E3_50G", - "FIXED2100_E3_50G", - "FIXED2200_E3_50G", - "FIXED2300_E3_50G", - "FIXED2400_E3_50G", - "FIXED2500_E3_50G", - "FIXED2600_E3_50G", - "FIXED2700_E3_50G", - "FIXED2800_E3_50G", - "FIXED2900_E3_50G", - "FIXED3000_E3_50G", - "FIXED3100_E3_50G", - "FIXED3200_E3_50G", - "FIXED3300_E3_50G", - "FIXED3400_E3_50G", - "FIXED3500_E3_50G", - "FIXED3600_E3_50G", - "FIXED3700_E3_50G", - "FIXED3800_E3_50G", - "FIXED3900_E3_50G", - "FIXED4000_E3_50G", - "ENTIREHOST_E3_50G", - "DYNAMIC_E4_50G", - "FIXED0040_E4_50G", - "FIXED0100_E4_50G", - "FIXED0200_E4_50G", - "FIXED0300_E4_50G", - "FIXED0400_E4_50G", - "FIXED0500_E4_50G", - "FIXED0600_E4_50G", - "FIXED0700_E4_50G", - "FIXED0800_E4_50G", - "FIXED0900_E4_50G", - "FIXED1000_E4_50G", - "FIXED1100_E4_50G", - "FIXED1200_E4_50G", - "FIXED1300_E4_50G", - "FIXED1400_E4_50G", - "FIXED1500_E4_50G", - "FIXED1600_E4_50G", - "FIXED1700_E4_50G", - "FIXED1800_E4_50G", - "FIXED1900_E4_50G", - "FIXED2000_E4_50G", - "FIXED2100_E4_50G", - "FIXED2200_E4_50G", - "FIXED2300_E4_50G", - "FIXED2400_E4_50G", - "FIXED2500_E4_50G", - "FIXED2600_E4_50G", - "FIXED2700_E4_50G", - "FIXED2800_E4_50G", - "FIXED2900_E4_50G", - "FIXED3000_E4_50G", - "FIXED3100_E4_50G", - "FIXED3200_E4_50G", - "FIXED3300_E4_50G", - "FIXED3400_E4_50G", - "FIXED3500_E4_50G", - "FIXED3600_E4_50G", - "FIXED3700_E4_50G", - "FIXED3800_E4_50G", - "FIXED3900_E4_50G", - "FIXED4000_E4_50G", - "ENTIREHOST_E4_50G", - "MICRO_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0025_E3_50G", - "SUBCORE_VM_FIXED0050_E3_50G", - "SUBCORE_VM_FIXED0075_E3_50G", - "SUBCORE_VM_FIXED0100_E3_50G", - "SUBCORE_VM_FIXED0125_E3_50G", - "SUBCORE_VM_FIXED0150_E3_50G", - "SUBCORE_VM_FIXED0175_E3_50G", - "SUBCORE_VM_FIXED0200_E3_50G", - "SUBCORE_VM_FIXED0225_E3_50G", - "SUBCORE_VM_FIXED0250_E3_50G", - "SUBCORE_VM_FIXED0275_E3_50G", - "SUBCORE_VM_FIXED0300_E3_50G", - "SUBCORE_VM_FIXED0325_E3_50G", - "SUBCORE_VM_FIXED0350_E3_50G", - "SUBCORE_VM_FIXED0375_E3_50G", - "SUBCORE_VM_FIXED0400_E3_50G", - "SUBCORE_VM_FIXED0425_E3_50G", - "SUBCORE_VM_FIXED0450_E3_50G", - "SUBCORE_VM_FIXED0475_E3_50G", - "SUBCORE_VM_FIXED0500_E3_50G", - "SUBCORE_VM_FIXED0525_E3_50G", - "SUBCORE_VM_FIXED0550_E3_50G", - "SUBCORE_VM_FIXED0575_E3_50G", - "SUBCORE_VM_FIXED0600_E3_50G", - "SUBCORE_VM_FIXED0625_E3_50G", - "SUBCORE_VM_FIXED0650_E3_50G", - "SUBCORE_VM_FIXED0675_E3_50G", - "SUBCORE_VM_FIXED0700_E3_50G", - "SUBCORE_VM_FIXED0725_E3_50G", - "SUBCORE_VM_FIXED0750_E3_50G", - "SUBCORE_VM_FIXED0775_E3_50G", - "SUBCORE_VM_FIXED0800_E3_50G", - "SUBCORE_VM_FIXED0825_E3_50G", - "SUBCORE_VM_FIXED0850_E3_50G", - "SUBCORE_VM_FIXED0875_E3_50G", - "SUBCORE_VM_FIXED0900_E3_50G", - "SUBCORE_VM_FIXED0925_E3_50G", - "SUBCORE_VM_FIXED0950_E3_50G", - "SUBCORE_VM_FIXED0975_E3_50G", - "SUBCORE_VM_FIXED1000_E3_50G", - "SUBCORE_VM_FIXED1025_E3_50G", - "SUBCORE_VM_FIXED1050_E3_50G", - "SUBCORE_VM_FIXED1075_E3_50G", - "SUBCORE_VM_FIXED1100_E3_50G", - "SUBCORE_VM_FIXED1125_E3_50G", - "SUBCORE_VM_FIXED1150_E3_50G", - "SUBCORE_VM_FIXED1175_E3_50G", - "SUBCORE_VM_FIXED1200_E3_50G", - "SUBCORE_VM_FIXED1225_E3_50G", - "SUBCORE_VM_FIXED1250_E3_50G", - "SUBCORE_VM_FIXED1275_E3_50G", - "SUBCORE_VM_FIXED1300_E3_50G", - "SUBCORE_VM_FIXED1325_E3_50G", - "SUBCORE_VM_FIXED1350_E3_50G", - "SUBCORE_VM_FIXED1375_E3_50G", - "SUBCORE_VM_FIXED1400_E3_50G", - "SUBCORE_VM_FIXED1425_E3_50G", - "SUBCORE_VM_FIXED1450_E3_50G", - "SUBCORE_VM_FIXED1475_E3_50G", - "SUBCORE_VM_FIXED1500_E3_50G", - "SUBCORE_VM_FIXED1525_E3_50G", - "SUBCORE_VM_FIXED1550_E3_50G", - "SUBCORE_VM_FIXED1575_E3_50G", - "SUBCORE_VM_FIXED1600_E3_50G", - "SUBCORE_VM_FIXED1625_E3_50G", - "SUBCORE_VM_FIXED1650_E3_50G", - "SUBCORE_VM_FIXED1700_E3_50G", - "SUBCORE_VM_FIXED1725_E3_50G", - "SUBCORE_VM_FIXED1750_E3_50G", - "SUBCORE_VM_FIXED1800_E3_50G", - "SUBCORE_VM_FIXED1850_E3_50G", - "SUBCORE_VM_FIXED1875_E3_50G", - "SUBCORE_VM_FIXED1900_E3_50G", - "SUBCORE_VM_FIXED1925_E3_50G", - "SUBCORE_VM_FIXED1950_E3_50G", - "SUBCORE_VM_FIXED2000_E3_50G", - "SUBCORE_VM_FIXED2025_E3_50G", - "SUBCORE_VM_FIXED2050_E3_50G", - "SUBCORE_VM_FIXED2100_E3_50G", - "SUBCORE_VM_FIXED2125_E3_50G", - "SUBCORE_VM_FIXED2150_E3_50G", - "SUBCORE_VM_FIXED2175_E3_50G", - "SUBCORE_VM_FIXED2200_E3_50G", - "SUBCORE_VM_FIXED2250_E3_50G", - "SUBCORE_VM_FIXED2275_E3_50G", - "SUBCORE_VM_FIXED2300_E3_50G", - "SUBCORE_VM_FIXED2325_E3_50G", - "SUBCORE_VM_FIXED2350_E3_50G", - "SUBCORE_VM_FIXED2375_E3_50G", - "SUBCORE_VM_FIXED2400_E3_50G", - "SUBCORE_VM_FIXED2450_E3_50G", - "SUBCORE_VM_FIXED2475_E3_50G", - "SUBCORE_VM_FIXED2500_E3_50G", - "SUBCORE_VM_FIXED2550_E3_50G", - "SUBCORE_VM_FIXED2600_E3_50G", - "SUBCORE_VM_FIXED2625_E3_50G", - "SUBCORE_VM_FIXED2650_E3_50G", - "SUBCORE_VM_FIXED2700_E3_50G", - "SUBCORE_VM_FIXED2750_E3_50G", - "SUBCORE_VM_FIXED2775_E3_50G", - "SUBCORE_VM_FIXED2800_E3_50G", - "SUBCORE_VM_FIXED2850_E3_50G", - "SUBCORE_VM_FIXED2875_E3_50G", - "SUBCORE_VM_FIXED2900_E3_50G", - "SUBCORE_VM_FIXED2925_E3_50G", - "SUBCORE_VM_FIXED2950_E3_50G", - "SUBCORE_VM_FIXED2975_E3_50G", - "SUBCORE_VM_FIXED3000_E3_50G", - "SUBCORE_VM_FIXED3025_E3_50G", - "SUBCORE_VM_FIXED3050_E3_50G", - "SUBCORE_VM_FIXED3075_E3_50G", - "SUBCORE_VM_FIXED3100_E3_50G", - "SUBCORE_VM_FIXED3125_E3_50G", - "SUBCORE_VM_FIXED3150_E3_50G", - "SUBCORE_VM_FIXED3200_E3_50G", - "SUBCORE_VM_FIXED3225_E3_50G", - "SUBCORE_VM_FIXED3250_E3_50G", - "SUBCORE_VM_FIXED3300_E3_50G", - "SUBCORE_VM_FIXED3325_E3_50G", - "SUBCORE_VM_FIXED3375_E3_50G", - "SUBCORE_VM_FIXED3400_E3_50G", - "SUBCORE_VM_FIXED3450_E3_50G", - "SUBCORE_VM_FIXED3500_E3_50G", - "SUBCORE_VM_FIXED3525_E3_50G", - "SUBCORE_VM_FIXED3575_E3_50G", - "SUBCORE_VM_FIXED3600_E3_50G", - "SUBCORE_VM_FIXED3625_E3_50G", - "SUBCORE_VM_FIXED3675_E3_50G", - "SUBCORE_VM_FIXED3700_E3_50G", - "SUBCORE_VM_FIXED3750_E3_50G", - "SUBCORE_VM_FIXED3800_E3_50G", - "SUBCORE_VM_FIXED3825_E3_50G", - "SUBCORE_VM_FIXED3850_E3_50G", - "SUBCORE_VM_FIXED3875_E3_50G", - "SUBCORE_VM_FIXED3900_E3_50G", - "SUBCORE_VM_FIXED3975_E3_50G", - "SUBCORE_VM_FIXED4000_E3_50G", - "SUBCORE_VM_FIXED4025_E3_50G", - "SUBCORE_VM_FIXED4050_E3_50G", - "SUBCORE_VM_FIXED4100_E3_50G", - "SUBCORE_VM_FIXED4125_E3_50G", - "SUBCORE_VM_FIXED4200_E3_50G", - "SUBCORE_VM_FIXED4225_E3_50G", - "SUBCORE_VM_FIXED4250_E3_50G", - "SUBCORE_VM_FIXED4275_E3_50G", - "SUBCORE_VM_FIXED4300_E3_50G", - "SUBCORE_VM_FIXED4350_E3_50G", - "SUBCORE_VM_FIXED4375_E3_50G", - "SUBCORE_VM_FIXED4400_E3_50G", - "SUBCORE_VM_FIXED4425_E3_50G", - "SUBCORE_VM_FIXED4500_E3_50G", - "SUBCORE_VM_FIXED4550_E3_50G", - "SUBCORE_VM_FIXED4575_E3_50G", - "SUBCORE_VM_FIXED4600_E3_50G", - "SUBCORE_VM_FIXED4625_E3_50G", - "SUBCORE_VM_FIXED4650_E3_50G", - "SUBCORE_VM_FIXED4675_E3_50G", - "SUBCORE_VM_FIXED4700_E3_50G", - "SUBCORE_VM_FIXED4725_E3_50G", - "SUBCORE_VM_FIXED4750_E3_50G", - "SUBCORE_VM_FIXED4800_E3_50G", - "SUBCORE_VM_FIXED4875_E3_50G", - "SUBCORE_VM_FIXED4900_E3_50G", - "SUBCORE_VM_FIXED4950_E3_50G", - "SUBCORE_VM_FIXED5000_E3_50G", - "SUBCORE_VM_FIXED0025_E4_50G", - "SUBCORE_VM_FIXED0050_E4_50G", - "SUBCORE_VM_FIXED0075_E4_50G", - "SUBCORE_VM_FIXED0100_E4_50G", - "SUBCORE_VM_FIXED0125_E4_50G", - "SUBCORE_VM_FIXED0150_E4_50G", - "SUBCORE_VM_FIXED0175_E4_50G", - "SUBCORE_VM_FIXED0200_E4_50G", - "SUBCORE_VM_FIXED0225_E4_50G", - "SUBCORE_VM_FIXED0250_E4_50G", - "SUBCORE_VM_FIXED0275_E4_50G", - "SUBCORE_VM_FIXED0300_E4_50G", - "SUBCORE_VM_FIXED0325_E4_50G", - "SUBCORE_VM_FIXED0350_E4_50G", - "SUBCORE_VM_FIXED0375_E4_50G", - "SUBCORE_VM_FIXED0400_E4_50G", - "SUBCORE_VM_FIXED0425_E4_50G", - "SUBCORE_VM_FIXED0450_E4_50G", - "SUBCORE_VM_FIXED0475_E4_50G", - "SUBCORE_VM_FIXED0500_E4_50G", - "SUBCORE_VM_FIXED0525_E4_50G", - "SUBCORE_VM_FIXED0550_E4_50G", - "SUBCORE_VM_FIXED0575_E4_50G", - "SUBCORE_VM_FIXED0600_E4_50G", - "SUBCORE_VM_FIXED0625_E4_50G", - "SUBCORE_VM_FIXED0650_E4_50G", - "SUBCORE_VM_FIXED0675_E4_50G", - "SUBCORE_VM_FIXED0700_E4_50G", - "SUBCORE_VM_FIXED0725_E4_50G", - "SUBCORE_VM_FIXED0750_E4_50G", - "SUBCORE_VM_FIXED0775_E4_50G", - "SUBCORE_VM_FIXED0800_E4_50G", - "SUBCORE_VM_FIXED0825_E4_50G", - "SUBCORE_VM_FIXED0850_E4_50G", - "SUBCORE_VM_FIXED0875_E4_50G", - "SUBCORE_VM_FIXED0900_E4_50G", - "SUBCORE_VM_FIXED0925_E4_50G", - "SUBCORE_VM_FIXED0950_E4_50G", - "SUBCORE_VM_FIXED0975_E4_50G", - "SUBCORE_VM_FIXED1000_E4_50G", - "SUBCORE_VM_FIXED1025_E4_50G", - "SUBCORE_VM_FIXED1050_E4_50G", - "SUBCORE_VM_FIXED1075_E4_50G", - "SUBCORE_VM_FIXED1100_E4_50G", - "SUBCORE_VM_FIXED1125_E4_50G", - "SUBCORE_VM_FIXED1150_E4_50G", - "SUBCORE_VM_FIXED1175_E4_50G", - "SUBCORE_VM_FIXED1200_E4_50G", - "SUBCORE_VM_FIXED1225_E4_50G", - "SUBCORE_VM_FIXED1250_E4_50G", - "SUBCORE_VM_FIXED1275_E4_50G", - "SUBCORE_VM_FIXED1300_E4_50G", - "SUBCORE_VM_FIXED1325_E4_50G", - "SUBCORE_VM_FIXED1350_E4_50G", - "SUBCORE_VM_FIXED1375_E4_50G", - "SUBCORE_VM_FIXED1400_E4_50G", - "SUBCORE_VM_FIXED1425_E4_50G", - "SUBCORE_VM_FIXED1450_E4_50G", - "SUBCORE_VM_FIXED1475_E4_50G", - "SUBCORE_VM_FIXED1500_E4_50G", - "SUBCORE_VM_FIXED1525_E4_50G", - "SUBCORE_VM_FIXED1550_E4_50G", - "SUBCORE_VM_FIXED1575_E4_50G", - "SUBCORE_VM_FIXED1600_E4_50G", - "SUBCORE_VM_FIXED1625_E4_50G", - "SUBCORE_VM_FIXED1650_E4_50G", - "SUBCORE_VM_FIXED1700_E4_50G", - "SUBCORE_VM_FIXED1725_E4_50G", - "SUBCORE_VM_FIXED1750_E4_50G", - "SUBCORE_VM_FIXED1800_E4_50G", - "SUBCORE_VM_FIXED1850_E4_50G", - "SUBCORE_VM_FIXED1875_E4_50G", - "SUBCORE_VM_FIXED1900_E4_50G", - "SUBCORE_VM_FIXED1925_E4_50G", - "SUBCORE_VM_FIXED1950_E4_50G", - "SUBCORE_VM_FIXED2000_E4_50G", - "SUBCORE_VM_FIXED2025_E4_50G", - "SUBCORE_VM_FIXED2050_E4_50G", - "SUBCORE_VM_FIXED2100_E4_50G", - "SUBCORE_VM_FIXED2125_E4_50G", - "SUBCORE_VM_FIXED2150_E4_50G", - "SUBCORE_VM_FIXED2175_E4_50G", - "SUBCORE_VM_FIXED2200_E4_50G", - "SUBCORE_VM_FIXED2250_E4_50G", - "SUBCORE_VM_FIXED2275_E4_50G", - "SUBCORE_VM_FIXED2300_E4_50G", - "SUBCORE_VM_FIXED2325_E4_50G", - "SUBCORE_VM_FIXED2350_E4_50G", - "SUBCORE_VM_FIXED2375_E4_50G", - "SUBCORE_VM_FIXED2400_E4_50G", - "SUBCORE_VM_FIXED2450_E4_50G", - "SUBCORE_VM_FIXED2475_E4_50G", - "SUBCORE_VM_FIXED2500_E4_50G", - "SUBCORE_VM_FIXED2550_E4_50G", - "SUBCORE_VM_FIXED2600_E4_50G", - "SUBCORE_VM_FIXED2625_E4_50G", - "SUBCORE_VM_FIXED2650_E4_50G", - "SUBCORE_VM_FIXED2700_E4_50G", - "SUBCORE_VM_FIXED2750_E4_50G", - "SUBCORE_VM_FIXED2775_E4_50G", - "SUBCORE_VM_FIXED2800_E4_50G", - "SUBCORE_VM_FIXED2850_E4_50G", - "SUBCORE_VM_FIXED2875_E4_50G", - "SUBCORE_VM_FIXED2900_E4_50G", - "SUBCORE_VM_FIXED2925_E4_50G", - "SUBCORE_VM_FIXED2950_E4_50G", - "SUBCORE_VM_FIXED2975_E4_50G", - "SUBCORE_VM_FIXED3000_E4_50G", - "SUBCORE_VM_FIXED3025_E4_50G", - "SUBCORE_VM_FIXED3050_E4_50G", - "SUBCORE_VM_FIXED3075_E4_50G", - "SUBCORE_VM_FIXED3100_E4_50G", - "SUBCORE_VM_FIXED3125_E4_50G", - "SUBCORE_VM_FIXED3150_E4_50G", - "SUBCORE_VM_FIXED3200_E4_50G", - "SUBCORE_VM_FIXED3225_E4_50G", - "SUBCORE_VM_FIXED3250_E4_50G", - "SUBCORE_VM_FIXED3300_E4_50G", - "SUBCORE_VM_FIXED3325_E4_50G", - "SUBCORE_VM_FIXED3375_E4_50G", - "SUBCORE_VM_FIXED3400_E4_50G", - "SUBCORE_VM_FIXED3450_E4_50G", - "SUBCORE_VM_FIXED3500_E4_50G", - "SUBCORE_VM_FIXED3525_E4_50G", - "SUBCORE_VM_FIXED3575_E4_50G", - "SUBCORE_VM_FIXED3600_E4_50G", - "SUBCORE_VM_FIXED3625_E4_50G", - "SUBCORE_VM_FIXED3675_E4_50G", - "SUBCORE_VM_FIXED3700_E4_50G", - "SUBCORE_VM_FIXED3750_E4_50G", - "SUBCORE_VM_FIXED3800_E4_50G", - "SUBCORE_VM_FIXED3825_E4_50G", - "SUBCORE_VM_FIXED3850_E4_50G", - "SUBCORE_VM_FIXED3875_E4_50G", - "SUBCORE_VM_FIXED3900_E4_50G", - "SUBCORE_VM_FIXED3975_E4_50G", - "SUBCORE_VM_FIXED4000_E4_50G", - "SUBCORE_VM_FIXED4025_E4_50G", - "SUBCORE_VM_FIXED4050_E4_50G", - "SUBCORE_VM_FIXED4100_E4_50G", - "SUBCORE_VM_FIXED4125_E4_50G", - "SUBCORE_VM_FIXED4200_E4_50G", - "SUBCORE_VM_FIXED4225_E4_50G", - "SUBCORE_VM_FIXED4250_E4_50G", - "SUBCORE_VM_FIXED4275_E4_50G", - "SUBCORE_VM_FIXED4300_E4_50G", - "SUBCORE_VM_FIXED4350_E4_50G", - "SUBCORE_VM_FIXED4375_E4_50G", - "SUBCORE_VM_FIXED4400_E4_50G", - "SUBCORE_VM_FIXED4425_E4_50G", - "SUBCORE_VM_FIXED4500_E4_50G", - "SUBCORE_VM_FIXED4550_E4_50G", - "SUBCORE_VM_FIXED4575_E4_50G", - "SUBCORE_VM_FIXED4600_E4_50G", - "SUBCORE_VM_FIXED4625_E4_50G", - "SUBCORE_VM_FIXED4650_E4_50G", - "SUBCORE_VM_FIXED4675_E4_50G", - "SUBCORE_VM_FIXED4700_E4_50G", - "SUBCORE_VM_FIXED4725_E4_50G", - "SUBCORE_VM_FIXED4750_E4_50G", - "SUBCORE_VM_FIXED4800_E4_50G", - "SUBCORE_VM_FIXED4875_E4_50G", - "SUBCORE_VM_FIXED4900_E4_50G", - "SUBCORE_VM_FIXED4950_E4_50G", - "SUBCORE_VM_FIXED5000_E4_50G", - "SUBCORE_VM_FIXED0020_A1_50G", - "SUBCORE_VM_FIXED0040_A1_50G", - "SUBCORE_VM_FIXED0060_A1_50G", - "SUBCORE_VM_FIXED0080_A1_50G", - "SUBCORE_VM_FIXED0100_A1_50G", - "SUBCORE_VM_FIXED0120_A1_50G", - "SUBCORE_VM_FIXED0140_A1_50G", - "SUBCORE_VM_FIXED0160_A1_50G", - "SUBCORE_VM_FIXED0180_A1_50G", - "SUBCORE_VM_FIXED0200_A1_50G", - "SUBCORE_VM_FIXED0220_A1_50G", - "SUBCORE_VM_FIXED0240_A1_50G", - "SUBCORE_VM_FIXED0260_A1_50G", - "SUBCORE_VM_FIXED0280_A1_50G", - "SUBCORE_VM_FIXED0300_A1_50G", - "SUBCORE_VM_FIXED0320_A1_50G", - "SUBCORE_VM_FIXED0340_A1_50G", - "SUBCORE_VM_FIXED0360_A1_50G", - "SUBCORE_VM_FIXED0380_A1_50G", - "SUBCORE_VM_FIXED0400_A1_50G", - "SUBCORE_VM_FIXED0420_A1_50G", - "SUBCORE_VM_FIXED0440_A1_50G", - "SUBCORE_VM_FIXED0460_A1_50G", - "SUBCORE_VM_FIXED0480_A1_50G", - "SUBCORE_VM_FIXED0500_A1_50G", - "SUBCORE_VM_FIXED0520_A1_50G", - "SUBCORE_VM_FIXED0540_A1_50G", - "SUBCORE_VM_FIXED0560_A1_50G", - "SUBCORE_VM_FIXED0580_A1_50G", - "SUBCORE_VM_FIXED0600_A1_50G", - "SUBCORE_VM_FIXED0620_A1_50G", - "SUBCORE_VM_FIXED0640_A1_50G", - "SUBCORE_VM_FIXED0660_A1_50G", - "SUBCORE_VM_FIXED0680_A1_50G", - "SUBCORE_VM_FIXED0700_A1_50G", - "SUBCORE_VM_FIXED0720_A1_50G", - "SUBCORE_VM_FIXED0740_A1_50G", - "SUBCORE_VM_FIXED0760_A1_50G", - "SUBCORE_VM_FIXED0780_A1_50G", - "SUBCORE_VM_FIXED0800_A1_50G", - "SUBCORE_VM_FIXED0820_A1_50G", - "SUBCORE_VM_FIXED0840_A1_50G", - "SUBCORE_VM_FIXED0860_A1_50G", - "SUBCORE_VM_FIXED0880_A1_50G", - "SUBCORE_VM_FIXED0900_A1_50G", - "SUBCORE_VM_FIXED0920_A1_50G", - "SUBCORE_VM_FIXED0940_A1_50G", - "SUBCORE_VM_FIXED0960_A1_50G", - "SUBCORE_VM_FIXED0980_A1_50G", - "SUBCORE_VM_FIXED1000_A1_50G", - "SUBCORE_VM_FIXED1020_A1_50G", - "SUBCORE_VM_FIXED1040_A1_50G", - "SUBCORE_VM_FIXED1060_A1_50G", - "SUBCORE_VM_FIXED1080_A1_50G", - "SUBCORE_VM_FIXED1100_A1_50G", - "SUBCORE_VM_FIXED1120_A1_50G", - "SUBCORE_VM_FIXED1140_A1_50G", - "SUBCORE_VM_FIXED1160_A1_50G", - "SUBCORE_VM_FIXED1180_A1_50G", - "SUBCORE_VM_FIXED1200_A1_50G", - "SUBCORE_VM_FIXED1220_A1_50G", - "SUBCORE_VM_FIXED1240_A1_50G", - "SUBCORE_VM_FIXED1260_A1_50G", - "SUBCORE_VM_FIXED1280_A1_50G", - "SUBCORE_VM_FIXED1300_A1_50G", - "SUBCORE_VM_FIXED1320_A1_50G", - "SUBCORE_VM_FIXED1340_A1_50G", - "SUBCORE_VM_FIXED1360_A1_50G", - "SUBCORE_VM_FIXED1380_A1_50G", - "SUBCORE_VM_FIXED1400_A1_50G", - "SUBCORE_VM_FIXED1420_A1_50G", - "SUBCORE_VM_FIXED1440_A1_50G", - "SUBCORE_VM_FIXED1460_A1_50G", - "SUBCORE_VM_FIXED1480_A1_50G", - "SUBCORE_VM_FIXED1500_A1_50G", - "SUBCORE_VM_FIXED1520_A1_50G", - "SUBCORE_VM_FIXED1540_A1_50G", - "SUBCORE_VM_FIXED1560_A1_50G", - "SUBCORE_VM_FIXED1580_A1_50G", - "SUBCORE_VM_FIXED1600_A1_50G", - "SUBCORE_VM_FIXED1620_A1_50G", - "SUBCORE_VM_FIXED1640_A1_50G", - "SUBCORE_VM_FIXED1660_A1_50G", - "SUBCORE_VM_FIXED1680_A1_50G", - "SUBCORE_VM_FIXED1700_A1_50G", - "SUBCORE_VM_FIXED1720_A1_50G", - "SUBCORE_VM_FIXED1740_A1_50G", - "SUBCORE_VM_FIXED1760_A1_50G", - "SUBCORE_VM_FIXED1780_A1_50G", - "SUBCORE_VM_FIXED1800_A1_50G", - "SUBCORE_VM_FIXED1820_A1_50G", - "SUBCORE_VM_FIXED1840_A1_50G", - "SUBCORE_VM_FIXED1860_A1_50G", - "SUBCORE_VM_FIXED1880_A1_50G", - "SUBCORE_VM_FIXED1900_A1_50G", - "SUBCORE_VM_FIXED1920_A1_50G", - "SUBCORE_VM_FIXED1940_A1_50G", - "SUBCORE_VM_FIXED1960_A1_50G", - "SUBCORE_VM_FIXED1980_A1_50G", - "SUBCORE_VM_FIXED2000_A1_50G", - "SUBCORE_VM_FIXED2020_A1_50G", - "SUBCORE_VM_FIXED2040_A1_50G", - "SUBCORE_VM_FIXED2060_A1_50G", - "SUBCORE_VM_FIXED2080_A1_50G", - "SUBCORE_VM_FIXED2100_A1_50G", - "SUBCORE_VM_FIXED2120_A1_50G", - "SUBCORE_VM_FIXED2140_A1_50G", - "SUBCORE_VM_FIXED2160_A1_50G", - "SUBCORE_VM_FIXED2180_A1_50G", - "SUBCORE_VM_FIXED2200_A1_50G", - "SUBCORE_VM_FIXED2220_A1_50G", - "SUBCORE_VM_FIXED2240_A1_50G", - "SUBCORE_VM_FIXED2260_A1_50G", - "SUBCORE_VM_FIXED2280_A1_50G", - "SUBCORE_VM_FIXED2300_A1_50G", - "SUBCORE_VM_FIXED2320_A1_50G", - "SUBCORE_VM_FIXED2340_A1_50G", - "SUBCORE_VM_FIXED2360_A1_50G", - "SUBCORE_VM_FIXED2380_A1_50G", - "SUBCORE_VM_FIXED2400_A1_50G", - "SUBCORE_VM_FIXED2420_A1_50G", - "SUBCORE_VM_FIXED2440_A1_50G", - "SUBCORE_VM_FIXED2460_A1_50G", - "SUBCORE_VM_FIXED2480_A1_50G", - "SUBCORE_VM_FIXED2500_A1_50G", - "SUBCORE_VM_FIXED2520_A1_50G", - "SUBCORE_VM_FIXED2540_A1_50G", - "SUBCORE_VM_FIXED2560_A1_50G", - "SUBCORE_VM_FIXED2580_A1_50G", - "SUBCORE_VM_FIXED2600_A1_50G", - "SUBCORE_VM_FIXED2620_A1_50G", - "SUBCORE_VM_FIXED2640_A1_50G", - "SUBCORE_VM_FIXED2660_A1_50G", - "SUBCORE_VM_FIXED2680_A1_50G", - "SUBCORE_VM_FIXED2700_A1_50G", - "SUBCORE_VM_FIXED2720_A1_50G", - "SUBCORE_VM_FIXED2740_A1_50G", - "SUBCORE_VM_FIXED2760_A1_50G", - "SUBCORE_VM_FIXED2780_A1_50G", - "SUBCORE_VM_FIXED2800_A1_50G", - "SUBCORE_VM_FIXED2820_A1_50G", - "SUBCORE_VM_FIXED2840_A1_50G", - "SUBCORE_VM_FIXED2860_A1_50G", - "SUBCORE_VM_FIXED2880_A1_50G", - "SUBCORE_VM_FIXED2900_A1_50G", - "SUBCORE_VM_FIXED2920_A1_50G", - "SUBCORE_VM_FIXED2940_A1_50G", - "SUBCORE_VM_FIXED2960_A1_50G", - "SUBCORE_VM_FIXED2980_A1_50G", - "SUBCORE_VM_FIXED3000_A1_50G", - "SUBCORE_VM_FIXED3020_A1_50G", - "SUBCORE_VM_FIXED3040_A1_50G", - "SUBCORE_VM_FIXED3060_A1_50G", - "SUBCORE_VM_FIXED3080_A1_50G", - "SUBCORE_VM_FIXED3100_A1_50G", - "SUBCORE_VM_FIXED3120_A1_50G", - "SUBCORE_VM_FIXED3140_A1_50G", - "SUBCORE_VM_FIXED3160_A1_50G", - "SUBCORE_VM_FIXED3180_A1_50G", - "SUBCORE_VM_FIXED3200_A1_50G", - "SUBCORE_VM_FIXED3220_A1_50G", - "SUBCORE_VM_FIXED3240_A1_50G", - "SUBCORE_VM_FIXED3260_A1_50G", - "SUBCORE_VM_FIXED3280_A1_50G", - "SUBCORE_VM_FIXED3300_A1_50G", - "SUBCORE_VM_FIXED3320_A1_50G", - "SUBCORE_VM_FIXED3340_A1_50G", - "SUBCORE_VM_FIXED3360_A1_50G", - "SUBCORE_VM_FIXED3380_A1_50G", - "SUBCORE_VM_FIXED3400_A1_50G", - "SUBCORE_VM_FIXED3420_A1_50G", - "SUBCORE_VM_FIXED3440_A1_50G", - "SUBCORE_VM_FIXED3460_A1_50G", - "SUBCORE_VM_FIXED3480_A1_50G", - "SUBCORE_VM_FIXED3500_A1_50G", - "SUBCORE_VM_FIXED3520_A1_50G", - "SUBCORE_VM_FIXED3540_A1_50G", - "SUBCORE_VM_FIXED3560_A1_50G", - "SUBCORE_VM_FIXED3580_A1_50G", - "SUBCORE_VM_FIXED3600_A1_50G", - "SUBCORE_VM_FIXED3620_A1_50G", - "SUBCORE_VM_FIXED3640_A1_50G", - "SUBCORE_VM_FIXED3660_A1_50G", - "SUBCORE_VM_FIXED3680_A1_50G", - "SUBCORE_VM_FIXED3700_A1_50G", - "SUBCORE_VM_FIXED3720_A1_50G", - "SUBCORE_VM_FIXED3740_A1_50G", - "SUBCORE_VM_FIXED3760_A1_50G", - "SUBCORE_VM_FIXED3780_A1_50G", - "SUBCORE_VM_FIXED3800_A1_50G", - "SUBCORE_VM_FIXED3820_A1_50G", - "SUBCORE_VM_FIXED3840_A1_50G", - "SUBCORE_VM_FIXED3860_A1_50G", - "SUBCORE_VM_FIXED3880_A1_50G", - "SUBCORE_VM_FIXED3900_A1_50G", - "SUBCORE_VM_FIXED3920_A1_50G", - "SUBCORE_VM_FIXED3940_A1_50G", - "SUBCORE_VM_FIXED3960_A1_50G", - "SUBCORE_VM_FIXED3980_A1_50G", - "SUBCORE_VM_FIXED4000_A1_50G", - "SUBCORE_VM_FIXED4020_A1_50G", - "SUBCORE_VM_FIXED4040_A1_50G", - "SUBCORE_VM_FIXED4060_A1_50G", - "SUBCORE_VM_FIXED4080_A1_50G", - "SUBCORE_VM_FIXED4100_A1_50G", - "SUBCORE_VM_FIXED4120_A1_50G", - "SUBCORE_VM_FIXED4140_A1_50G", - "SUBCORE_VM_FIXED4160_A1_50G", - "SUBCORE_VM_FIXED4180_A1_50G", - "SUBCORE_VM_FIXED4200_A1_50G", - "SUBCORE_VM_FIXED4220_A1_50G", - "SUBCORE_VM_FIXED4240_A1_50G", - "SUBCORE_VM_FIXED4260_A1_50G", - "SUBCORE_VM_FIXED4280_A1_50G", - "SUBCORE_VM_FIXED4300_A1_50G", - "SUBCORE_VM_FIXED4320_A1_50G", - "SUBCORE_VM_FIXED4340_A1_50G", - "SUBCORE_VM_FIXED4360_A1_50G", - "SUBCORE_VM_FIXED4380_A1_50G", - "SUBCORE_VM_FIXED4400_A1_50G", - "SUBCORE_VM_FIXED4420_A1_50G", - "SUBCORE_VM_FIXED4440_A1_50G", - "SUBCORE_VM_FIXED4460_A1_50G", - "SUBCORE_VM_FIXED4480_A1_50G", - "SUBCORE_VM_FIXED4500_A1_50G", - "SUBCORE_VM_FIXED4520_A1_50G", - "SUBCORE_VM_FIXED4540_A1_50G", - "SUBCORE_VM_FIXED4560_A1_50G", - "SUBCORE_VM_FIXED4580_A1_50G", - "SUBCORE_VM_FIXED4600_A1_50G", - "SUBCORE_VM_FIXED4620_A1_50G", - "SUBCORE_VM_FIXED4640_A1_50G", - "SUBCORE_VM_FIXED4660_A1_50G", - "SUBCORE_VM_FIXED4680_A1_50G", - "SUBCORE_VM_FIXED4700_A1_50G", - "SUBCORE_VM_FIXED4720_A1_50G", - "SUBCORE_VM_FIXED4740_A1_50G", - "SUBCORE_VM_FIXED4760_A1_50G", - "SUBCORE_VM_FIXED4780_A1_50G", - "SUBCORE_VM_FIXED4800_A1_50G", - "SUBCORE_VM_FIXED4820_A1_50G", - "SUBCORE_VM_FIXED4840_A1_50G", - "SUBCORE_VM_FIXED4860_A1_50G", - "SUBCORE_VM_FIXED4880_A1_50G", - "SUBCORE_VM_FIXED4900_A1_50G", - "SUBCORE_VM_FIXED4920_A1_50G", - "SUBCORE_VM_FIXED4940_A1_50G", - "SUBCORE_VM_FIXED4960_A1_50G", - "SUBCORE_VM_FIXED4980_A1_50G", - "SUBCORE_VM_FIXED5000_A1_50G", - "SUBCORE_VM_FIXED0090_X9_50G", - "SUBCORE_VM_FIXED0180_X9_50G", - "SUBCORE_VM_FIXED0270_X9_50G", - "SUBCORE_VM_FIXED0360_X9_50G", - "SUBCORE_VM_FIXED0450_X9_50G", - "SUBCORE_VM_FIXED0540_X9_50G", - "SUBCORE_VM_FIXED0630_X9_50G", - "SUBCORE_VM_FIXED0720_X9_50G", - "SUBCORE_VM_FIXED0810_X9_50G", - "SUBCORE_VM_FIXED0900_X9_50G", - "SUBCORE_VM_FIXED0990_X9_50G", - "SUBCORE_VM_FIXED1080_X9_50G", - "SUBCORE_VM_FIXED1170_X9_50G", - "SUBCORE_VM_FIXED1260_X9_50G", - "SUBCORE_VM_FIXED1350_X9_50G", - "SUBCORE_VM_FIXED1440_X9_50G", - "SUBCORE_VM_FIXED1530_X9_50G", - "SUBCORE_VM_FIXED1620_X9_50G", - "SUBCORE_VM_FIXED1710_X9_50G", - "SUBCORE_VM_FIXED1800_X9_50G", - "SUBCORE_VM_FIXED1890_X9_50G", - "SUBCORE_VM_FIXED1980_X9_50G", - "SUBCORE_VM_FIXED2070_X9_50G", - "SUBCORE_VM_FIXED2160_X9_50G", - "SUBCORE_VM_FIXED2250_X9_50G", - "SUBCORE_VM_FIXED2340_X9_50G", - "SUBCORE_VM_FIXED2430_X9_50G", - "SUBCORE_VM_FIXED2520_X9_50G", - "SUBCORE_VM_FIXED2610_X9_50G", - "SUBCORE_VM_FIXED2700_X9_50G", - "SUBCORE_VM_FIXED2790_X9_50G", - "SUBCORE_VM_FIXED2880_X9_50G", - "SUBCORE_VM_FIXED2970_X9_50G", - "SUBCORE_VM_FIXED3060_X9_50G", - "SUBCORE_VM_FIXED3150_X9_50G", - "SUBCORE_VM_FIXED3240_X9_50G", - "SUBCORE_VM_FIXED3330_X9_50G", - "SUBCORE_VM_FIXED3420_X9_50G", - "SUBCORE_VM_FIXED3510_X9_50G", - "SUBCORE_VM_FIXED3600_X9_50G", - "SUBCORE_VM_FIXED3690_X9_50G", - "SUBCORE_VM_FIXED3780_X9_50G", - "SUBCORE_VM_FIXED3870_X9_50G", - "SUBCORE_VM_FIXED3960_X9_50G", - "SUBCORE_VM_FIXED4050_X9_50G", - "SUBCORE_VM_FIXED4140_X9_50G", - "SUBCORE_VM_FIXED4230_X9_50G", - "SUBCORE_VM_FIXED4320_X9_50G", - "SUBCORE_VM_FIXED4410_X9_50G", - "SUBCORE_VM_FIXED4500_X9_50G", - "SUBCORE_VM_FIXED4590_X9_50G", - "SUBCORE_VM_FIXED4680_X9_50G", - "SUBCORE_VM_FIXED4770_X9_50G", - "SUBCORE_VM_FIXED4860_X9_50G", - "SUBCORE_VM_FIXED4950_X9_50G", - "DYNAMIC_A1_50G", - "FIXED0040_A1_50G", - "FIXED0100_A1_50G", - "FIXED0200_A1_50G", - "FIXED0300_A1_50G", - "FIXED0400_A1_50G", - "FIXED0500_A1_50G", - "FIXED0600_A1_50G", - "FIXED0700_A1_50G", - "FIXED0800_A1_50G", - "FIXED0900_A1_50G", - "FIXED1000_A1_50G", - "FIXED1100_A1_50G", - "FIXED1200_A1_50G", - "FIXED1300_A1_50G", - "FIXED1400_A1_50G", - "FIXED1500_A1_50G", - "FIXED1600_A1_50G", - "FIXED1700_A1_50G", - "FIXED1800_A1_50G", - "FIXED1900_A1_50G", - "FIXED2000_A1_50G", - "FIXED2100_A1_50G", - "FIXED2200_A1_50G", - "FIXED2300_A1_50G", - "FIXED2400_A1_50G", - "FIXED2500_A1_50G", - "FIXED2600_A1_50G", - "FIXED2700_A1_50G", - "FIXED2800_A1_50G", - "FIXED2900_A1_50G", - "FIXED3000_A1_50G", - "FIXED3100_A1_50G", - "FIXED3200_A1_50G", - "FIXED3300_A1_50G", - "FIXED3400_A1_50G", - "FIXED3500_A1_50G", - "FIXED3600_A1_50G", - "FIXED3700_A1_50G", - "FIXED3800_A1_50G", - "FIXED3900_A1_50G", - "FIXED4000_A1_50G", - "ENTIREHOST_A1_50G", - "DYNAMIC_X9_50G", - "FIXED0040_X9_50G", - "FIXED0400_X9_50G", - "FIXED0800_X9_50G", - "FIXED1200_X9_50G", - "FIXED1600_X9_50G", - "FIXED2000_X9_50G", - "FIXED2400_X9_50G", - "FIXED2800_X9_50G", - "FIXED3200_X9_50G", - "FIXED3600_X9_50G", - "FIXED4000_X9_50G", - "STANDARD_VM_FIXED0100_X9_50G", - "STANDARD_VM_FIXED0200_X9_50G", - "STANDARD_VM_FIXED0300_X9_50G", - "STANDARD_VM_FIXED0400_X9_50G", - "STANDARD_VM_FIXED0500_X9_50G", - "STANDARD_VM_FIXED0600_X9_50G", - "STANDARD_VM_FIXED0700_X9_50G", - "STANDARD_VM_FIXED0800_X9_50G", - "STANDARD_VM_FIXED0900_X9_50G", - "STANDARD_VM_FIXED1000_X9_50G", - "STANDARD_VM_FIXED1100_X9_50G", - "STANDARD_VM_FIXED1200_X9_50G", - "STANDARD_VM_FIXED1300_X9_50G", - "STANDARD_VM_FIXED1400_X9_50G", - "STANDARD_VM_FIXED1500_X9_50G", - "STANDARD_VM_FIXED1600_X9_50G", - "STANDARD_VM_FIXED1700_X9_50G", - "STANDARD_VM_FIXED1800_X9_50G", - "STANDARD_VM_FIXED1900_X9_50G", - "STANDARD_VM_FIXED2000_X9_50G", - "STANDARD_VM_FIXED2100_X9_50G", - "STANDARD_VM_FIXED2200_X9_50G", - "STANDARD_VM_FIXED2300_X9_50G", - "STANDARD_VM_FIXED2400_X9_50G", - "STANDARD_VM_FIXED2500_X9_50G", - "STANDARD_VM_FIXED2600_X9_50G", - "STANDARD_VM_FIXED2700_X9_50G", - "STANDARD_VM_FIXED2800_X9_50G", - "STANDARD_VM_FIXED2900_X9_50G", - "STANDARD_VM_FIXED3000_X9_50G", - "STANDARD_VM_FIXED3100_X9_50G", - "STANDARD_VM_FIXED3200_X9_50G", - "STANDARD_VM_FIXED3300_X9_50G", - "STANDARD_VM_FIXED3400_X9_50G", - "STANDARD_VM_FIXED3500_X9_50G", - "STANDARD_VM_FIXED3600_X9_50G", - "STANDARD_VM_FIXED3700_X9_50G", - "STANDARD_VM_FIXED3800_X9_50G", - "STANDARD_VM_FIXED3900_X9_50G", - "STANDARD_VM_FIXED4000_X9_50G", - "ENTIREHOST_X9_50G", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_shape_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_shape_request_response.go deleted file mode 100644 index 346c9f074e89..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_shape_request_response.go +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateVnicShapeRequest wrapper for the UpdateVnicShape operation -type UpdateVnicShapeRequest struct { - - // Request to change the shape of vnic attachment. - UpdateVnicShapeDetails `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"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateVnicShapeRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateVnicShapeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateVnicShapeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateVnicShapeRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateVnicShapeRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateVnicShapeResponse wrapper for the UpdateVnicShape operation -type UpdateVnicShapeResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InternalVnicAttachment instance - InternalVnicAttachment `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 UpdateVnicShapeResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateVnicShapeResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_worker_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_worker_details.go deleted file mode 100644 index 291dfd0f6bf3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_worker_details.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateVnicWorkerDetails The data to update vnicWorker. -type UpdateVnicWorkerDetails struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // List of vnicWorker IP OCIDs. - WorkerIps []string `mandatory:"false" json:"workerIps"` -} - -func (m UpdateVnicWorkerDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateVnicWorkerDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_worker_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_worker_request_response.go deleted file mode 100644 index 19cfa4c6efbf..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_worker_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// UpdateVnicWorkerRequest wrapper for the UpdateVnicWorker operation -type UpdateVnicWorkerRequest struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the vnicWorker. - VnicWorkerId *string `mandatory:"true" contributesTo:"path" name:"vnicWorkerId"` - - // VnicWorker details. - UpdateVnicWorkerDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` - // parameter to the value of the etag from a previous GET or POST response for that resource. The resource - // will be updated or deleted only if the etag you provide matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique 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 UpdateVnicWorkerRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateVnicWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateVnicWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateVnicWorkerRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateVnicWorkerRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateVnicWorkerResponse wrapper for the UpdateVnicWorker operation -type UpdateVnicWorkerResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The VnicWorker instance - VnicWorker `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 UpdateVnicWorkerResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateVnicWorkerResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vtap_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vtap_details.go deleted file mode 100644 index 6aec9c4b338e..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vtap_details.go +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// UpdateVtapDetails These details can be included in a request to update a virtual test access point (VTAP). -type UpdateVtapDetails 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). - // 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 source point where packets are captured. - SourceId *string `mandatory:"false" json:"sourceId"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. - TargetId *string `mandatory:"false" json:"targetId"` - - // The IP address of the destination resource where mirrored packets are sent. - TargetIp *string `mandatory:"false" json:"targetIp"` - - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). - CaptureFilterId *string `mandatory:"false" json:"captureFilterId"` - - // Defines an encapsulation header type for the VTAP's mirrored traffic. - EncapsulationProtocol UpdateVtapDetailsEncapsulationProtocolEnum `mandatory:"false" json:"encapsulationProtocol,omitempty"` - - // The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN. - VxlanNetworkIdentifier *int64 `mandatory:"false" json:"vxlanNetworkIdentifier"` - - // Used to start or stop a `Vtap` resource. - // * `TRUE` directs the VTAP to start mirroring traffic. - // * `FALSE` (Default) directs the VTAP to stop mirroring traffic. - IsVtapEnabled *bool `mandatory:"false" json:"isVtapEnabled"` - - // Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT - TrafficMode UpdateVtapDetailsTrafficModeEnum `mandatory:"false" json:"trafficMode,omitempty"` - - // The maximum size of the packets to be included in the filter. - MaxPacketSize *int `mandatory:"false" json:"maxPacketSize"` - - // The IP Address of the source private endpoint. - SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. - SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"` -} - -func (m UpdateVtapDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateVtapDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingUpdateVtapDetailsEncapsulationProtocolEnum[string(m.EncapsulationProtocol)]; !ok && m.EncapsulationProtocol != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncapsulationProtocol: %s. Supported values are: %s.", m.EncapsulationProtocol, strings.Join(GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues(), ","))) - } - if _, ok := mappingUpdateVtapDetailsTrafficModeEnum[string(m.TrafficMode)]; !ok && m.TrafficMode != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TrafficMode: %s. Supported values are: %s.", m.TrafficMode, strings.Join(GetUpdateVtapDetailsTrafficModeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateVtapDetailsEncapsulationProtocolEnum Enum with underlying type: string -type UpdateVtapDetailsEncapsulationProtocolEnum string - -// Set of constants representing the allowable values for UpdateVtapDetailsEncapsulationProtocolEnum -const ( - UpdateVtapDetailsEncapsulationProtocolVxlan UpdateVtapDetailsEncapsulationProtocolEnum = "VXLAN" -) - -var mappingUpdateVtapDetailsEncapsulationProtocolEnum = map[string]UpdateVtapDetailsEncapsulationProtocolEnum{ - "VXLAN": UpdateVtapDetailsEncapsulationProtocolVxlan, -} - -// GetUpdateVtapDetailsEncapsulationProtocolEnumValues Enumerates the set of values for UpdateVtapDetailsEncapsulationProtocolEnum -func GetUpdateVtapDetailsEncapsulationProtocolEnumValues() []UpdateVtapDetailsEncapsulationProtocolEnum { - values := make([]UpdateVtapDetailsEncapsulationProtocolEnum, 0) - for _, v := range mappingUpdateVtapDetailsEncapsulationProtocolEnum { - values = append(values, v) - } - return values -} - -// GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsEncapsulationProtocolEnum -func GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues() []string { - return []string{ - "VXLAN", - } -} - -// UpdateVtapDetailsTrafficModeEnum Enum with underlying type: string -type UpdateVtapDetailsTrafficModeEnum string - -// Set of constants representing the allowable values for UpdateVtapDetailsTrafficModeEnum -const ( - UpdateVtapDetailsTrafficModeDefault UpdateVtapDetailsTrafficModeEnum = "DEFAULT" - UpdateVtapDetailsTrafficModePriority UpdateVtapDetailsTrafficModeEnum = "PRIORITY" -) - -var mappingUpdateVtapDetailsTrafficModeEnum = map[string]UpdateVtapDetailsTrafficModeEnum{ - "DEFAULT": UpdateVtapDetailsTrafficModeDefault, - "PRIORITY": UpdateVtapDetailsTrafficModePriority, -} - -// GetUpdateVtapDetailsTrafficModeEnumValues Enumerates the set of values for UpdateVtapDetailsTrafficModeEnum -func GetUpdateVtapDetailsTrafficModeEnumValues() []UpdateVtapDetailsTrafficModeEnum { - values := make([]UpdateVtapDetailsTrafficModeEnum, 0) - for _, v := range mappingUpdateVtapDetailsTrafficModeEnum { - values = append(values, v) - } - return values -} - -// GetUpdateVtapDetailsTrafficModeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsTrafficModeEnum -func GetUpdateVtapDetailsTrafficModeEnumStringValues() []string { - return []string{ - "DEFAULT", - "PRIORITY", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validate_drg_routes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validate_drg_routes_request_response.go deleted file mode 100644 index 43b8e74a5c0f..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validate_drg_routes_request_response.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "net/http" - "strings" -) - -// ValidateDrgRoutesRequest wrapper for the ValidateDrgRoutes operation -type ValidateDrgRoutesRequest struct { - - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // The State of the DRG (Classical/Migrated/Upgraded) of the DRG. - DrgState DrgUpgradeStateStateEnum `mandatory:"false" contributesTo:"query" name:"drgState" omitEmpty:"true"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` - - // 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 ValidateDrgRoutesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ValidateDrgRoutesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ValidateDrgRoutesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ValidateDrgRoutesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ValidateDrgRoutesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := mappingDrgUpgradeStateStateEnum[string(request.DrgState)]; !ok && request.DrgState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DrgState: %s. Supported values are: %s.", request.DrgState, strings.Join(GetDrgUpgradeStateStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ValidateDrgRoutesResponse wrapper for the ValidateDrgRoutes operation -type ValidateDrgRoutesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ValidationStatusInfo instance - ValidationStatusInfo `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"` - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 ValidateDrgRoutesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ValidateDrgRoutesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validation_status_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validation_status_info.go deleted file mode 100644 index 515fcde63a30..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validation_status_info.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// ValidationStatusInfo Array of DRGs and their corresponding validation status -type ValidationStatusInfo struct { - - // Array of DRGs and their corresponding validation status' - ValidationStatus []DrgValidationStatus `mandatory:"true" json:"validationStatus"` -} - -func (m ValidationStatusInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ValidationStatusInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_create_details.go deleted file mode 100644 index 71f510c50162..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_create_details.go +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// VirtualCircuitDrgAttachmentNetworkCreateDetails The representation of VirtualCircuitDrgAttachmentNetworkCreateDetails -type VirtualCircuitDrgAttachmentNetworkCreateDetails struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment that contains the Virtual Circuit. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The BGP ASN to use for the Virtual Circuit's route target - RegionalOciAsn *string `mandatory:"true" json:"regionalOciAsn"` - - // Whether the Fast Connect exists through an edge pop region. - // Example: `true` - IsEdgePop *bool `mandatory:"false" json:"isEdgePop"` - - // The OCI region name - RegionName *string `mandatory:"false" json:"regionName"` -} - -// GetId returns Id -func (m VirtualCircuitDrgAttachmentNetworkCreateDetails) GetId() *string { - return m.Id -} - -func (m VirtualCircuitDrgAttachmentNetworkCreateDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m VirtualCircuitDrgAttachmentNetworkCreateDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m VirtualCircuitDrgAttachmentNetworkCreateDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeVirtualCircuitDrgAttachmentNetworkCreateDetails VirtualCircuitDrgAttachmentNetworkCreateDetails - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeVirtualCircuitDrgAttachmentNetworkCreateDetails - }{ - "VIRTUAL_CIRCUIT", - (MarshalTypeVirtualCircuitDrgAttachmentNetworkCreateDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_update_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_update_details.go deleted file mode 100644 index dc898e70da5b..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_update_details.go +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "encoding/json" - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// VirtualCircuitDrgAttachmentNetworkUpdateDetails Specifies the update details for the virtual circuit attachment. -type VirtualCircuitDrgAttachmentNetworkUpdateDetails struct { - - // Whether the Fast Connect is an FFAB VirtualCircuit. - // Example: `true` - IsFFAB *bool `mandatory:"false" json:"isFFAB"` - - // The BGP ASN to use for the virtual circuit's route target. - RegionalOciAsn *string `mandatory:"false" json:"regionalOciAsn"` - - // Indicates whether FastConnect extends through an edge POP region. - // Example: `true` - IsEdgePop *bool `mandatory:"false" json:"isEdgePop"` - - // The OCI region name - RegionName *string `mandatory:"false" json:"regionName"` -} - -func (m VirtualCircuitDrgAttachmentNetworkUpdateDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m VirtualCircuitDrgAttachmentNetworkUpdateDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MarshalJSON marshals to json representation -func (m VirtualCircuitDrgAttachmentNetworkUpdateDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeVirtualCircuitDrgAttachmentNetworkUpdateDetails VirtualCircuitDrgAttachmentNetworkUpdateDetails - s := struct { - DiscriminatorParam string `json:"type"` - MarshalTypeVirtualCircuitDrgAttachmentNetworkUpdateDetails - }{ - "VIRTUAL_CIRCUIT", - (MarshalTypeVirtualCircuitDrgAttachmentNetworkUpdateDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_worker.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_worker.go deleted file mode 100644 index f20ae041d08d..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_worker.go +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// VnicWorker Details of a vnicWorker. -type VnicWorker struct { - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `vnicWorker`. - Id *string `mandatory:"false" json:"id"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VNIC worker. - CompartmentId *string `mandatory:"false" json:"compartmentId"` - - // The `vnicWorker`'s current state. - LifecycleState VnicWorkerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated service VNIC. - ServiceVnicId *string `mandatory:"false" json:"serviceVnicId"` - - // Details of vnicWorker IPs config. - WorkerIpsConfig []VnicWorkerIpConfig `mandatory:"false" json:"workerIpsConfig"` - - // The MAC address of the vnicWorker. - WorkerMacAddress *string `mandatory:"false" json:"workerMacAddress"` - - // The instance where vnicWorker is attached. - WorkerInstanceId *string `mandatory:"false" json:"workerInstanceId"` - - // Which physical network interface card (NIC) the VNIC worker uses. - // Certain bare metal instance shapes have two active physical NICs (0 and 1). If - // you add a VNIC worker to one of these instances, you can specify which NIC - // the VNIC worker will use. Note that it is required for NIC to have at least a single - // VNIC attached before attaching a VNIC worker. - WorkerNicIndex *int `mandatory:"false" json:"workerNicIndex"` - - // The VLAN tag assigned to `vnicWorker`. - WorkerVlanTag *int `mandatory:"false" json:"workerVlanTag"` - - WorkerPrimaryIpConfig *VnicWorkerIpConfig `mandatory:"false" json:"workerPrimaryIpConfig"` - - // Specifies whether the `vnicWorker` had been enabled for forwarding traffic. - IsEnabled *bool `mandatory:"false" json:"isEnabled"` - - // Specifies whether the `vnicWorker` is in draining mode. - IsDraining *bool `mandatory:"false" json:"isDraining"` -} - -func (m VnicWorker) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m VnicWorker) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := mappingVnicWorkerLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVnicWorkerLifecycleStateEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} - -// VnicWorkerLifecycleStateEnum Enum with underlying type: string -type VnicWorkerLifecycleStateEnum string - -// Set of constants representing the allowable values for VnicWorkerLifecycleStateEnum -const ( - VnicWorkerLifecycleStateProvisioning VnicWorkerLifecycleStateEnum = "PROVISIONING" - VnicWorkerLifecycleStateAvailable VnicWorkerLifecycleStateEnum = "AVAILABLE" - VnicWorkerLifecycleStateTerminating VnicWorkerLifecycleStateEnum = "TERMINATING" - VnicWorkerLifecycleStateTerminated VnicWorkerLifecycleStateEnum = "TERMINATED" -) - -var mappingVnicWorkerLifecycleStateEnum = map[string]VnicWorkerLifecycleStateEnum{ - "PROVISIONING": VnicWorkerLifecycleStateProvisioning, - "AVAILABLE": VnicWorkerLifecycleStateAvailable, - "TERMINATING": VnicWorkerLifecycleStateTerminating, - "TERMINATED": VnicWorkerLifecycleStateTerminated, -} - -// GetVnicWorkerLifecycleStateEnumValues Enumerates the set of values for VnicWorkerLifecycleStateEnum -func GetVnicWorkerLifecycleStateEnumValues() []VnicWorkerLifecycleStateEnum { - values := make([]VnicWorkerLifecycleStateEnum, 0) - for _, v := range mappingVnicWorkerLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetVnicWorkerLifecycleStateEnumStringValues Enumerates the set of values in String for VnicWorkerLifecycleStateEnum -func GetVnicWorkerLifecycleStateEnumStringValues() []string { - return []string{ - "PROVISIONING", - "AVAILABLE", - "TERMINATING", - "TERMINATED", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/wallet_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/wallet_info.go deleted file mode 100644 index ab1d89a05ace..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/wallet_info.go +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 -// -// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), -// compute instances, and block storage volumes. For more information, see the console -// documentation for 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. -// - -package core - -import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "strings" -) - -// WalletInfo Oracle Wallet that serves as a container to carry certificates, public key, private key, -// and list of CAs to be trusted -type WalletInfo struct { - - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Vault Service secret, holding - // the Oracle Wallet to be used for SCAN proxy. - ScanWalletSecretId *string `mandatory:"false" json:"scanWalletSecretId"` - - // The version of secret that SCAN proxy should use to fetch the Oracle Wallet content for. - ScanWalletSecretVersion *string `mandatory:"false" json:"scanWalletSecretVersion"` -} - -func (m WalletInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m WalletInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/pom.xml b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/pom.xml deleted file mode 100644 index 0e8ff36f2d34..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/pom.xml +++ /dev/null @@ -1,9826 +0,0 @@ - - - 4.0.0 - com.oci.sdk - go-sdk - 0.0.1 - Public Go SDK - - 2.0.0 - 2.0.0 - ${project.build.directory}/swagger - ${project.build.directory}/preferred - ${project.build.directory}/preprocessed - ${project.basedir}/preview-sdk.txt - ${project.basedir}/codegenConfig/enabledGroups - ${project.basedir}/featureId.yaml - ${project.basedir}/codegenConfig/featureIds - ${env.PROJECT_NAME} - PREVIEW - 2017 - source/coreservices-api-spec-20160918.cond.yaml - source/identity-control-plane-api-spec-20160918.cond.yaml - source/casper-api.cond.yaml - source/spec-20170115.cond.yaml - source/dbaas-api-spec-20160918.cond.yaml - source/fss-api-spec-20171215.cond.yaml - source/hemlock-api-20190901.cond.yaml - source/email-api-spec.cond.yaml - source/public-dns-api-spec.cond.yaml - source/api.cond.yaml - source/kms-api-spec-20180608.cond.yaml - source/rqs.cond.yaml - source/clusters-api-spec.cond.yaml - source/telemetry-api.cond.yaml - workrequests-api-spec.cond.yaml - source/notification-api.cond.yaml - health-checks-api-spec-20180501.cond.yaml - source/api.cond.yaml - specs/oracache-public-api-20190501.cond.yaml - source/consumer-service-api.cond.yaml - source/autoscaling-api-spec.cond.yaml - usageproxyapi.cond.yaml - source/announcement-service.cond.yaml - source/oci-waas-api-spec.cond.yaml - source/batchservice.cond.yaml - source/functions-api-spec.cond.yaml - source/budget.api.cond.yaml - quotas-control-plane-api-spec-20181025.cond.yaml - source/digital-assistant-api.cond.yaml - source/storage-gateway-api.cond.yaml - datats-customer-control-plane.cond.yaml - source/api.cond.yaml - source/events-control-plane-spec.cond.yaml - api.cond.yaml - source/api.cond.yaml - datacatalog-api-spec.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/bds-cp.cond.yaml - source/analytics-api-spec.cond.yaml - source/api.cond.yaml - source/kam-api-spec.cond.yaml - source/api.cond.yaml - source/ams-api.cond.yaml - specs/service_api.cond.yaml - source/mysqlaas-api-spec.cond.yaml - source/oci-sms-dp-api-spec.cond.yaml - source/oci-sms-api-spec.cond.yaml - source/blockchain-api.cond.yaml - api.cond.yaml - source/api.cond.yaml - source/dis-api.cond.yaml - source/public-api-20200531.cond.yaml - source/api.cond.yaml - source/usage-api.api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/public-api.cond.yaml - source/api.cond.yaml - source/public-api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.external.cond.yaml - source/dbmgmt-dbadmin-api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/artifacts-api-spec.cond.yaml - release/api.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/generic-artifacts-api-spec.cond.yaml - release/api.yaml - source/api.cond.yaml - source/api.cond.yaml - ./source/api.cond.yaml - source/service-catalog-api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/oci-certs-dp-api-spec.cond.yaml - source/oci-certs-cp-api-spec.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/identity-data-plane-api-spec.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/dcms-api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/identity-data-plane-api-spec.cond.yaml - source/api.cond.yaml - source/service-manager-proxy.api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/osp-gateway-20191001-api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/announcement-service.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/api.cond.yaml - source/swagger-usagecomputation-20210501.cond.yaml - source/swagger-subscription-20210501.cond.yaml - source/swagger-organizationsubscription-20210501.cond.yaml - source/swagger-billingschedule-20210501.cond.yaml - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.0.0 - - - timestamp-property - - timestamp-property - - validate - - current.year - yyyy - - - - - - com.oracle.oci.sdk.utilities - dex-get-spec-artifact-plugin - ${oci.get.spec.artifact.plugin.version} - - - unpack-coreservices-api-spec - initialize - - unpack - - - - - com.oracle.pic.commons - coreservices-api-spec - jar - **/* - ${spec-temp-dir}/coreservices-api-spec - - - - - - unpack-identity-control-plane-api-spec - initialize - - unpack - - - - - com.oracle.pic.identity - identity-control-plane-api-spec - jar - **/* - ${spec-temp-dir}/identity-control-plane-api-spec - - - - - - unpack-casper-api-spec - initialize - - unpack - - - - - com.oracle.pic.casper - casper-api-spec - jar - **/* - ${spec-temp-dir}/casper-api-spec - - - - - - unpack-oralb-api-spec - initialize - - unpack - - - - - com.oracle.pic.lb - oralb-api-spec - jar - **/* - ${spec-temp-dir}/oralb-api-spec - - - - - - unpack-dbaas-api-spec - initialize - - unpack - - - - - com.oracle.pic.dbaas - dbaas-api-spec - jar - **/* - ${spec-temp-dir}/dbaas-api-spec - - - - - - unpack-fss-api-spec - initialize - - unpack - - - - - com.oracle.pic.ffsw - fss-api-spec - jar - **/* - ${spec-temp-dir}/fss-api-spec - - - - - - unpack-hemlock-spec - initialize - - unpack - - - - - com.oracle.pic.sherlock - hemlock-spec - jar - **/* - ${spec-temp-dir}/hemlock-spec - - - - - - unpack-email-api-spec - initialize - - unpack - - - - - com.oracle.pic.email - email-api-spec - jar - **/* - ${spec-temp-dir}/email-api-spec - - - - - - unpack-public-dns-api-spec - initialize - - unpack - - - - - com.oracle.pic.dns.pub - public-dns-api-spec - jar - **/* - ${spec-temp-dir}/public-dns-api-spec - - - - - - unpack-maestro-spec - initialize - - unpack - - - - - com.oracle.pic.orchestration.orm - maestro-spec - jar - **/* - ${spec-temp-dir}/maestro-spec - - - - - - unpack-kms-api-spec - initialize - - unpack - - - - - com.oracle.pic.kms - kms-api-spec - jar - **/* - ${spec-temp-dir}/kms-api-spec - - - - - - unpack-resource-query-service-spec - initialize - - unpack - - - - - com.oracle.pic.query - resource-query-service-spec - jar - **/* - ${spec-temp-dir}/resource-query-service-spec - - - - - - unpack-clusters-api-spec - initialize - - unpack - - - - - com.oracle.pic.clusters - clusters-api-spec - jar - **/* - ${spec-temp-dir}/clusters-api-spec - - - - - - unpack-telemetry-public-api-spec - initialize - - unpack - - - - - com.oracle.pic.telemetry.api - telemetry-public-api-spec - jar - **/* - ${spec-temp-dir}/telemetry-public-api-spec - - - - - - unpack-workrequests-api-spec - initialize - - unpack - - - - - com.oracle.pic.commons.workrequests - workrequests-api-spec - jar - **/* - ${spec-temp-dir}/workrequests-api-spec - - - - - - unpack-ons-gateway-spec - initialize - - unpack - - - - - com.oracle.pic.ons - ons-gateway-spec - jar - **/* - ${spec-temp-dir}/ons-gateway-spec - - - - - - unpack-healthchecks-api-spec - initialize - - unpack - - - - - com.oracle.oci - healthchecks-api-spec - jar - **/* - ${spec-temp-dir}/healthchecks-api-spec - - - - - - unpack-rest-api-spec - initialize - - unpack - - - - - com.oracle.pic.oss - rest-api-spec - jar - **/* - ${spec-temp-dir}/rest-api-spec - - - - - - unpack-oracache-public-api - initialize - - unpack - - - - - com.oracle.oracache - oracache-public-api - jar - **/* - ${spec-temp-dir}/oracache-public-api - - - - - - unpack-marketplace-consumer-service-spec - initialize - - unpack - - - - - com.oracle.oci.marketplace - marketplace-consumer-service-spec - jar - **/* - ${spec-temp-dir}/marketplace-consumer-service-spec - - - - - - unpack-autoscaling-public-api-spec - initialize - - unpack - - - - - com.oracle.pic.autoscaling.api - autoscaling-public-api-spec - jar - **/* - ${spec-temp-dir}/autoscaling-public-api-spec - - - - - - unpack-usage-proxy-spec - initialize - - unpack - - - - - com.oracle.pic.usage - usage-proxy-spec - jar - **/* - ${spec-temp-dir}/usage-proxy-spec - - - - - - unpack-announcements-service-spec - initialize - - unpack - - - - - com.oracle.pic.announcements - announcements-service-spec - jar - **/* - ${spec-temp-dir}/announcements-service-spec - - - - - - unpack-oci-waas-api-spec - initialize - - unpack - - - - - com.oracle.oci.waas - oci-waas-api-spec - jar - **/* - ${spec-temp-dir}/oci-waas-api-spec - - - - - - unpack-batchservice-api-spec - initialize - - unpack - - - - - com.oracle.pic.obcs - batchservice-api-spec - jar - **/* - ${spec-temp-dir}/batchservice-api-spec - - - - - - unpack-fn-api-spec - initialize - - unpack - - - - - com.oracle.pic.functions - fn-api-spec - jar - **/* - ${spec-temp-dir}/fn-api-spec - - - - - - unpack-budgets-control-plane-spec - initialize - - unpack - - - - - com.oracle.oci.usage.budgets - budgets-control-plane-spec - jar - **/* - ${spec-temp-dir}/budgets-control-plane-spec - - - - - - unpack-quotas-control-plane-api-spec - initialize - - unpack - - - - - com.oracle.oci.quotas - quotas-control-plane-api-spec - jar - **/* - ${spec-temp-dir}/quotas-control-plane-api-spec - - - - - - unpack-digital-assistant-spec - initialize - - unpack - - - - - com.oracle.pic.oda.cp - digital-assistant-spec - jar - **/* - ${spec-temp-dir}/digital-assistant-spec - - - - - - unpack-csg-api-spec - initialize - - unpack - - - - - com.oracle.oci.csg - csg-api-spec - jar - **/* - ${spec-temp-dir}/csg-api-spec - - - - - - unpack-dts-api-spec - initialize - - unpack - - - - - com.oracle.pic.rhino - dts-api-spec - jar - **/* - ${spec-temp-dir}/dts-api-spec - - - - - - unpack-public-api-spec - initialize - - unpack - - - - - com.oracle.pic.apigw - public-api-spec - jar - **/* - ${spec-temp-dir}/public-api-spec - - - - - - unpack-events-control-plane-spec - initialize - - unpack - - - - - com.oracle.pic.events - events-control-plane-spec - jar - **/* - ${spec-temp-dir}/events-control-plane-spec - - - - - - unpack-cloud-incident-management-service-spec - initialize - - unpack - - - - - com.oracle.custops.cims - cloud-incident-management-service-spec - jar - **/* - ${spec-temp-dir}/cloud-incident-management-service-spec - - - - - - unpack-ndcs-control-plane-spec - initialize - - unpack - - - - - oracle.nosql.oci.controlplane - ndcs-control-plane-spec - jar - **/* - ${spec-temp-dir}/ndcs-control-plane-spec - - - - - - unpack-datacatalog-api-spec - initialize - - unpack - - - - - com.oracle.pic.dcat - datacatalog-api-spec - jar - **/* - ${spec-temp-dir}/datacatalog-api-spec - - - - - - unpack-cec-public-spec - initialize - - unpack - - - - - com.oracle.cec.provisioning.controlplane - cec-public-spec - jar - **/* - ${spec-temp-dir}/cec-public-spec - - - - - - unpack-odsc-pegasus-control-plane-spec - initialize - - unpack - - - - - com.oracle.pic.odsc.pegasus - odsc-pegasus-control-plane-spec - jar - **/* - ${spec-temp-dir}/odsc-pegasus-control-plane-spec - - - - - - unpack-bds-cp-spec - initialize - - unpack - - - - - com.oracle.bds - bds-cp-spec - jar - **/* - ${spec-temp-dir}/bds-cp-spec - - - - - - unpack-analytics-control-plane-api-spec - initialize - - unpack - - - - - com.oracle.pic.analytics - analytics-control-plane-api-spec - jar - **/* - ${spec-temp-dir}/analytics-control-plane-api-spec - - - - - - unpack-oracle-integration-cp-apiserver-user-spec - initialize - - unpack - - - - - com.oracle.oracleintegration.spec - oracle-integration-cp-apiserver-user-spec - jar - **/* - ${spec-temp-dir}/oracle-integration-cp-apiserver-user-spec - - - - - - unpack-kam-api-spec - initialize - - unpack - - - - - com.oracle.pic.kam - kam-api-spec - jar - **/* - ${spec-temp-dir}/kam-api-spec - - - - - - unpack-osms-spec - initialize - - unpack - - - - - com.oracle.osms.api - osms-spec - jar - **/* - ${spec-temp-dir}/osms-spec - - - - - - unpack-ams-spec - initialize - - unpack - - - - - com.oracle.pic.migration.application - ams-spec - jar - **/* - ${spec-temp-dir}/ams-spec - - - - - - unpack-service_api_spec - initialize - - unpack - - - - - oracle.dfcs.server - service_api_spec - jar - **/* - ${spec-temp-dir}/service_api_spec - - - - - - unpack-mysqlaas-api-spec - initialize - - unpack - - - - - com.oracle.oci.mysql - mysqlaas-api-spec - jar - **/* - ${spec-temp-dir}/mysqlaas-api-spec - - - - - - unpack-oci-sms-dp-api-spec - initialize - - unpack - - - - - com.oracle.pic.ocisms.dataplane - oci-sms-dp-api-spec - jar - **/* - ${spec-temp-dir}/oci-sms-dp-api-spec - - - - - - unpack-oci-sms-api-spec - initialize - - unpack - - - - - com.oracle.pic.ocisms.controlplane - oci-sms-api-spec - jar - **/* - ${spec-temp-dir}/oci-sms-api-spec - - - - - - unpack-oracle-blockchain-platform-spec - initialize - - unpack - - - - - com.oracle.blockchain - oracle-blockchain-platform-spec - jar - **/* - ${spec-temp-dir}/oracle-blockchain-platform-spec - - - - - - unpack-ads-control-plane-spec - initialize - - unpack - - - - - com.oracle.ads.admin.cp - ads-control-plane-spec - jar - **/* - ${spec-temp-dir}/ads-control-plane-spec - - - - - - unpack-compliance-document-service-spec - initialize - - unpack - - - - - com.oracle.pic.compdocs - compliance-document-service-spec - jar - **/* - ${spec-temp-dir}/compliance-document-service-spec - - - - - - unpack-dis-sdk-spec - initialize - - unpack - - - - - com.oracle.dis - dis-sdk-spec - jar - **/* - ${spec-temp-dir}/dis-sdk-spec - - - - - - unpack-hydra-controlplane-api-spec - initialize - - unpack - - - - - com.oracle.hydra.controlplane - hydra-controlplane-api-spec - jar - **/* - ${spec-temp-dir}/hydra-controlplane-api-spec - - - - - - unpack-vmware-provision-service-spec - initialize - - unpack - - - - - com.oracle.pic.vmware.ocvp - vmware-provision-service-spec - jar - **/* - ${spec-temp-dir}/vmware-provision-service-spec - - - - - - unpack-usage-api-spec - initialize - - unpack - - - - - com.oracle.pic.metering.usagestore.api - usage-api-spec - jar - **/* - ${spec-temp-dir}/usage-api-spec - - - - - - unpack-cloudguard-cp-api-spec - initialize - - unpack - - - - - com.oracle.oci.cloudguard - cloudguard-cp-api-spec - jar - **/* - ${spec-temp-dir}/cloudguard-cp-api-spec - - - - - - unpack-opsi-api-spec - initialize - - unpack - - - - - com.oracle.oci.opsi.api - opsi-api-spec - jar - **/* - ${spec-temp-dir}/opsi-api-spec - - - - - - unpack-management-dashboard-spec - initialize - - unpack - - - - - com.oracle.pic.dashx - management-dashboard-spec - jar - **/* - ${spec-temp-dir}/management-dashboard-spec - - - - - - unpack-connectors-spec - initialize - - unpack - - - - - com.oracle.pic.connectors - connectors-spec - jar - **/* - ${spec-temp-dir}/connectors-spec - - - - - - unpack-optimizer-spec - initialize - - unpack - - - - - com.oracle.oci.optimizer - optimizer-spec - jar - **/* - ${spec-temp-dir}/optimizer-spec - - - - - - unpack-mgmtagent-cloud-services-spec - initialize - - unpack - - - - - com.oracle.macs - mgmtagent-cloud-services-spec - jar - **/* - ${spec-temp-dir}/mgmtagent-cloud-services-spec - - - - - - unpack-instance-agent-service-api-spec - initialize - - unpack - - - - - com.oracle.pic.compute.ias - instance-agent-service-api-spec - jar - **/* - ${spec-temp-dir}/instance-agent-service-api-spec - - - - - - unpack-hydra-pika-frontend-public-api-spec - initialize - - unpack - - - - - com.oracle.hydra.pika.frontend - hydra-pika-frontend-public-api-spec - jar - **/* - ${spec-temp-dir}/hydra-pika-frontend-public-api-spec - - - - - - unpack-oci-bastions-spec - initialize - - unpack - - - - - com.oracle.pic.ocibstn.controlplane.resources - oci-bastions-spec - jar - **/* - ${spec-temp-dir}/oci-bastions-spec - - - - - - unpack-ibex-frontend-public-spec - initialize - - unpack - - - - - com.oracle.oci.hydra.ibex - ibex-frontend-public-spec - jar - **/* - ${spec-temp-dir}/ibex-frontend-public-spec - - - - - - unpack-rover-cloud-service-spec - initialize - - unpack - - - - - com.oracle.pic.rover - rover-cloud-service-spec - jar - **/* - ${spec-temp-dir}/rover-cloud-service-spec - - - - - - unpack-logan-api-spec - initialize - - unpack - - - - - com.oracle.loganalytics.api - logan-api-spec - jar - **/* - ${spec-temp-dir}/logan-api-spec - - - - - - unpack-customer-controlled-access-spec - initialize - - unpack - - - - - com.oracle.db.cca - customer-controlled-access-spec - jar - **/* - ${spec-temp-dir}/customer-controlled-access-spec - - - - - - unpack-ggs-control-plane-spec - initialize - - unpack - - - - - com.oracle.ggs - ggs-control-plane-spec - jar - **/* - ${spec-temp-dir}/ggs-control-plane-spec - - - - - - unpack-tenant-manager-spec - initialize - - unpack - - - - - com.oracle.accmgmt.tenantmgr.controlplane - tenant-manager-spec - jar - **/* - ${spec-temp-dir}/tenant-manager-spec - - - - - - unpack-dbmgmt-dbadmin-spec - initialize - - unpack - - - - - com.oracle.oci.dpd.dbmgmt.api - dbmgmt-dbadmin-spec - jar - **/* - ${spec-temp-dir}/dbmgmt-dbadmin-spec - - - - - - unpack-aj-control-plane-spec - initialize - - unpack - - - - - com.oracle.aj - aj-control-plane-spec - jar - **/* - ${spec-temp-dir}/aj-control-plane-spec - - - - - - unpack-apm-synapi-spec - initialize - - unpack - - - - - com.oracle.apm.service.synapi - apm-synapi-spec - jar - **/* - ${spec-temp-dir}/apm-synapi-spec - - - - - - unpack-artifacts-api-spec - initialize - - unpack - - - - - com.oracle.pic.artifacts - artifacts-api-spec - jar - **/* - ${spec-temp-dir}/artifacts-api-spec - - - - - - unpack-vss-cp-spec - initialize - - unpack - - - - - com.oracle.pic.vss - vss-cp-spec - jar - **/* - ${spec-temp-dir}/vss-cp-spec - - - - - - unpack-network-load-balancer-spec - initialize - - unpack - - - - - com.oracle.pic.nlb - network-load-balancer-spec - jar - **/* - ${spec-temp-dir}/network-load-balancer-spec - - - - - - unpack-cloudbridge-spec - initialize - - unpack - - - - - com.oracle.pic.cloudbridge - cloudbridge-spec - jar - **/* - ${spec-temp-dir}/cloudbridge-spec - - - - - - unpack-apm-dataserver-spec - initialize - - unpack - - - - - com.oracle.apm.service.dataserver.spec - apm-dataserver-spec - jar - **/* - ${spec-temp-dir}/apm-dataserver-spec - - - - - - unpack-escs-sm-spec - initialize - - unpack - - - - - com.oracle.pic.exascale - escs-sm-spec - jar - **/* - ${spec-temp-dir}/escs-sm-spec - - - - - - unpack-apm-controller-spec - initialize - - unpack - - - - - com.oracle.apm.controller.spec - apm-controller-spec - jar - **/* - ${spec-temp-dir}/apm-controller-spec - - - - - - unpack-generic-artifacts-api-spec - initialize - - unpack - - - - - com.oracle.pic.artifacts.generic - generic-artifacts-api-spec - jar - **/* - ${spec-temp-dir}/generic-artifacts-api-spec - - - - - - unpack-msz-cp-spec - initialize - - unpack - - - - - com.oracle.pic.msz - msz-cp-spec - jar - **/* - ${spec-temp-dir}/msz-cp-spec - - - - - - unpack-dbrs-control-plane-spec - initialize - - unpack - - - - - com.oracle.pic.dbrs - dbrs-control-plane-spec - jar - **/* - ${spec-temp-dir}/dbrs-control-plane-spec - - - - - - unpack-devops-service-spec - initialize - - unpack - - - - - com.oracle.pic.dlc - devops-service-spec - jar - **/* - ${spec-temp-dir}/devops-service-spec - - - - - - unpack-zdmcs-spec - initialize - - unpack - - - - - com.oracle.zdmcs - zdmcs-spec - jar - **/* - ${spec-temp-dir}/zdmcs-spec - - - - - - unpack-service-catalog-spec - initialize - - unpack - - - - - com.oracle.oci.servicecatalog - service-catalog-spec - jar - **/* - ${spec-temp-dir}/service-catalog-spec - - - - - - unpack-dashboard-service-spec - initialize - - unpack - - - - - com.oracle.pic.dashboard - dashboard-service-spec - jar - **/* - ${spec-temp-dir}/dashboard-service-spec - - - - - - unpack-ai-service-control-plane-spec - initialize - - unpack - - - - - com.oracle.pic.ocas - ai-service-control-plane-spec - jar - **/* - ${spec-temp-dir}/ai-service-control-plane-spec - - - - - - unpack-oci-certs-dp-api-spec - initialize - - unpack - - - - - com.oracle.pic.ocicerts.dataplane - oci-certs-dp-api-spec - jar - **/* - ${spec-temp-dir}/oci-certs-dp-api-spec - - - - - - unpack-oci-certs-cp-api-spec - initialize - - unpack - - - - - com.oracle.pic.ocicerts.controlplane - oci-certs-cp-api-spec - jar - **/* - ${spec-temp-dir}/oci-certs-cp-api-spec - - - - - - unpack-vbs-controlplane-instance-spec - initialize - - unpack - - - - - com.oracle.vbs.instance - vbs-controlplane-instance-spec - jar - **/* - ${spec-temp-dir}/vbs-controlplane-instance-spec - - - - - - unpack-queue-spec - initialize - - unpack - - - - - com.oracle.pic.queue.cp - queue-spec - jar - **/* - ${spec-temp-dir}/queue-spec - - - - - - unpack-sparkline-service-spec - initialize - - unpack - - - - - oracle.sparkline.dlap - sparkline-service-spec - jar - **/* - ${spec-temp-dir}/sparkline-service-spec - - - - - - unpack-apm-config-api - initialize - - unpack - - - - - com.oracle.apm.service.config - apm-config-api - jar - **/* - ${spec-temp-dir}/apm-config-api - - - - - - unpack-waf-control-plane-spec - initialize - - unpack - - - - - com.oracle.oci.waf.controlplane - waf-control-plane-spec - jar - **/* - ${spec-temp-dir}/waf-control-plane-spec - - - - - - unpack-dbtools-service-api-spec - initialize - - unpack - - - - - com.oracle.pic.dbtools - dbtools-service-api-spec - jar - **/* - ${spec-temp-dir}/dbtools-service-api-spec - - - - - - unpack-ad-control-plane-spec - initialize - - unpack - - - - - com.oracle.pic.ocas - ad-control-plane-spec - jar - **/* - ${spec-temp-dir}/ad-control-plane-spec - - - - - - unpack-ocm-discovery-spec - initialize - - unpack - - - - - com.oracle.pic.ocm.discovery - ocm-discovery-spec - jar - **/* - ${spec-temp-dir}/ocm-discovery-spec - - - - - - unpack-identity-data-plane-api-spec - initialize - - unpack - - - - - com.oracle.pic.identity - identity-data-plane-api-spec - jar - **/* - ${spec-temp-dir}/identity-data-plane-api-spec - - - - - - unpack-dls-data-plane-spec - initialize - - unpack - - - - - com.oracle.dls.dp - dls-data-plane-spec - jar - **/* - ${spec-temp-dir}/dls-data-plane-spec - - - - - - unpack-data-labeling-service-spec - initialize - - unpack - - - - - com.oracle.dls.cp.dataset - data-labeling-service-spec - jar - **/* - ${spec-temp-dir}/data-labeling-service-spec - - - - - - unpack-sdk-spec - initialize - - unpack - - - - - com.oracle.dcms-dp - sdk-spec - jar - **/* - ${spec-temp-dir}/sdk-spec - - - - - - unpack-ocm-migration-spec - initialize - - unpack - - - - - com.oracle.pic.ocm.migration - ocm-migration-spec - jar - **/* - ${spec-temp-dir}/ocm-migration-spec - - - - - - unpack-inframon-query-spec - initialize - - unpack - - - - - com.oracle.pic.inframon.query - inframon-query-spec - jar - **/* - ${spec-temp-dir}/inframon-query-spec - - - - - - unpack-identity-data-plane-api-spec-preview - initialize - - unpack - - - - - com.oracle.pic.identity - identity-data-plane-api-spec-preview - jar - **/* - ${spec-temp-dir}/identity-data-plane-api-spec-preview - - - - - - unpack-vb-cp-apiserver-user-spec - initialize - - unpack - - - - - com.oracle.vb.cp.spec - vb-cp-apiserver-user-spec - jar - **/* - ${spec-temp-dir}/vb-cp-apiserver-user-spec - - - - - - unpack-service-manager-proxy-spec - initialize - - unpack - - - - - com.oracle.pic.smproxy - service-manager-proxy-spec - jar - **/* - ${spec-temp-dir}/service-manager-proxy-spec - - - - - - unpack-speech-service-control-plane-spec - initialize - - unpack - - - - - com.oracle.pic.ocas.speech - speech-service-control-plane-spec - jar - **/* - ${spec-temp-dir}/speech-service-control-plane-spec - - - - - - unpack-ocm-inventory-spec - initialize - - unpack - - - - - com.oracle.pic.inventory - ocm-inventory-spec - jar - **/* - ${spec-temp-dir}/ocm-inventory-spec - - - - - - unpack-inframon-control-plane-spec - initialize - - unpack - - - - - com.oracle.pic.inframon.cp - inframon-control-plane-spec - jar - **/* - ${spec-temp-dir}/inframon-control-plane-spec - - - - - - unpack-mesh-public-api-spec - initialize - - unpack - - - - - com.oracle.pic.mesh - mesh-public-api-spec - jar - **/* - ${spec-temp-dir}/mesh-public-api-spec - - - - - - unpack-fa-control-plane-spec - initialize - - unpack - - - - - com.oracle.facontrolplane - fa-control-plane-spec - jar - **/* - ${spec-temp-dir}/fa-control-plane-spec - - - - - - unpack-osp-gateway-api-spec - initialize - - unpack - - - - - com.oracle.store - osp-gateway-api-spec - jar - **/* - ${spec-temp-dir}/osp-gateway-api-spec - - - - - - unpack-threat-intel-control-plane-spec - initialize - - unpack - - - - - com.oracle.oci.threatintelcp - threat-intel-control-plane-spec - jar - **/* - ${spec-temp-dir}/threat-intel-control-plane-spec - - - - - - unpack-stack-monitoring-spec - initialize - - unpack - - - - - com.oracle.pic.stackmonitoring - stack-monitoring-spec - jar - **/* - ${spec-temp-dir}/stack-monitoring-spec - - - - - - unpack-announcements-spec - initialize - - unpack - - - - - com.oracle.pic.announcements - announcements-spec - jar - **/* - ${spec-temp-dir}/announcements-spec - - - - - - unpack-vision-service-api-spec - initialize - - unpack - - - - - com.oracle.pic.ocas.vision - vision-service-api-spec - jar - **/* - ${spec-temp-dir}/vision-service-api-spec - - - - - - unpack-network-firewall-public-spec - initialize - - unpack - - - - - com.oracle.nfw.public - network-firewall-public-spec - jar - **/* - ${spec-temp-dir}/network-firewall-public-spec - - - - - - unpack-management-plane-spec - initialize - - unpack - - - - - com.oracle.pic.elasticsearch.mp - management-plane-spec - jar - **/* - ${spec-temp-dir}/management-plane-spec - - - - - - unpack-dig-media-spec - initialize - - unpack - - - - - com.oracle.oci.dmp - dig-media-spec - jar - **/* - ${spec-temp-dir}/dig-media-spec - - - - - - unpack-onesubscription-gateway-spec-usagecomputation21 - initialize - - unpack - - - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-usagecomputation21 - jar - **/* - ${spec-temp-dir}/onesubscription-gateway-spec-usagecomputation21 - - - - - - unpack-onesubscription-gateway-spec-subscription21 - initialize - - unpack - - - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-subscription21 - jar - **/* - ${spec-temp-dir}/onesubscription-gateway-spec-subscription21 - - - - - - unpack-onesubscription-gateway-spec-organizationsubscription - initialize - - unpack - - - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-organizationsubscription - jar - **/* - ${spec-temp-dir}/onesubscription-gateway-spec-organizationsubscription - - - - - - unpack-onesubscription-gateway-spec-billingschedule - initialize - - unpack - - - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-billingschedule - jar - **/* - ${spec-temp-dir}/onesubscription-gateway-spec-billingschedule - - - - - - - - com.oracle.oci.sdk.utilities - spec-conditionals-preprocessor-plugin - ${preprocessor-version} - - - spec-conditionals-prefer-coreservices-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/coreservices-api-spec/source/${coreservices-api-spec-spec-file} - ${spec-temp-dir}/coreservices-api-spec/${coreservices-api-spec-spec-file} - - ${preferred-temp-dir}/coreservices-api-spec/${coreservices-api-spec-spec-file} - - - - spec-conditionals-preprocess-coreservices-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/coreservices-api-spec/${coreservices-api-spec-spec-file} - ${preprocessed-temp-dir}/coreservices-api-spec/${coreservices-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-identity-control-plane-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/identity-control-plane-api-spec/source/${identity-control-plane-api-spec-spec-file} - ${spec-temp-dir}/identity-control-plane-api-spec/${identity-control-plane-api-spec-spec-file} - - ${preferred-temp-dir}/identity-control-plane-api-spec/${identity-control-plane-api-spec-spec-file} - - - - spec-conditionals-preprocess-identity-control-plane-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/identity-control-plane-api-spec/${identity-control-plane-api-spec-spec-file} - ${preprocessed-temp-dir}/identity-control-plane-api-spec/${identity-control-plane-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-casper-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/casper-api-spec/source/${casper-api-spec-spec-file} - ${spec-temp-dir}/casper-api-spec/${casper-api-spec-spec-file} - - ${preferred-temp-dir}/casper-api-spec/${casper-api-spec-spec-file} - - - - spec-conditionals-preprocess-casper-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/casper-api-spec/${casper-api-spec-spec-file} - ${preprocessed-temp-dir}/casper-api-spec/${casper-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oralb-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/oralb-api-spec/source/${oralb-api-spec-spec-file} - ${spec-temp-dir}/oralb-api-spec/${oralb-api-spec-spec-file} - - ${preferred-temp-dir}/oralb-api-spec/${oralb-api-spec-spec-file} - - - - spec-conditionals-preprocess-oralb-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oralb-api-spec/${oralb-api-spec-spec-file} - ${preprocessed-temp-dir}/oralb-api-spec/${oralb-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dbaas-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/dbaas-api-spec/source/${dbaas-api-spec-spec-file} - ${spec-temp-dir}/dbaas-api-spec/${dbaas-api-spec-spec-file} - - ${preferred-temp-dir}/dbaas-api-spec/${dbaas-api-spec-spec-file} - - - - spec-conditionals-preprocess-dbaas-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dbaas-api-spec/${dbaas-api-spec-spec-file} - ${preprocessed-temp-dir}/dbaas-api-spec/${dbaas-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-fss-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/fss-api-spec/source/${fss-api-spec-spec-file} - ${spec-temp-dir}/fss-api-spec/${fss-api-spec-spec-file} - - ${preferred-temp-dir}/fss-api-spec/${fss-api-spec-spec-file} - - - - spec-conditionals-preprocess-fss-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/fss-api-spec/${fss-api-spec-spec-file} - ${preprocessed-temp-dir}/fss-api-spec/${fss-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-hemlock-spec - initialize - - prefer - - - - ${spec-temp-dir}/hemlock-spec/source/${hemlock-spec-spec-file} - ${spec-temp-dir}/hemlock-spec/${hemlock-spec-spec-file} - - ${preferred-temp-dir}/hemlock-spec/${hemlock-spec-spec-file} - - - - spec-conditionals-preprocess-hemlock-spec - initialize - - preprocess - - - ${preferred-temp-dir}/hemlock-spec/${hemlock-spec-spec-file} - ${preprocessed-temp-dir}/hemlock-spec/${hemlock-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-email-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/email-api-spec/source/${email-api-spec-spec-file} - ${spec-temp-dir}/email-api-spec/${email-api-spec-spec-file} - - ${preferred-temp-dir}/email-api-spec/${email-api-spec-spec-file} - - - - spec-conditionals-preprocess-email-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/email-api-spec/${email-api-spec-spec-file} - ${preprocessed-temp-dir}/email-api-spec/${email-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-public-dns-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/public-dns-api-spec/source/${public-dns-api-spec-spec-file} - ${spec-temp-dir}/public-dns-api-spec/${public-dns-api-spec-spec-file} - - ${preferred-temp-dir}/public-dns-api-spec/${public-dns-api-spec-spec-file} - - - - spec-conditionals-preprocess-public-dns-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/public-dns-api-spec/${public-dns-api-spec-spec-file} - ${preprocessed-temp-dir}/public-dns-api-spec/${public-dns-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-maestro-spec - initialize - - prefer - - - - ${spec-temp-dir}/maestro-spec/source/${maestro-spec-spec-file} - ${spec-temp-dir}/maestro-spec/${maestro-spec-spec-file} - - ${preferred-temp-dir}/maestro-spec/${maestro-spec-spec-file} - - - - spec-conditionals-preprocess-maestro-spec - initialize - - preprocess - - - ${preferred-temp-dir}/maestro-spec/${maestro-spec-spec-file} - ${preprocessed-temp-dir}/maestro-spec/${maestro-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-kms-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/kms-api-spec/source/${kms-api-spec-spec-file} - ${spec-temp-dir}/kms-api-spec/${kms-api-spec-spec-file} - - ${preferred-temp-dir}/kms-api-spec/${kms-api-spec-spec-file} - - - - spec-conditionals-preprocess-kms-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/kms-api-spec/${kms-api-spec-spec-file} - ${preprocessed-temp-dir}/kms-api-spec/${kms-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-resource-query-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/resource-query-service-spec/source/${resource-query-service-spec-spec-file} - ${spec-temp-dir}/resource-query-service-spec/${resource-query-service-spec-spec-file} - - ${preferred-temp-dir}/resource-query-service-spec/${resource-query-service-spec-spec-file} - - - - spec-conditionals-preprocess-resource-query-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/resource-query-service-spec/${resource-query-service-spec-spec-file} - ${preprocessed-temp-dir}/resource-query-service-spec/${resource-query-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-clusters-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/clusters-api-spec/source/${clusters-api-spec-spec-file} - ${spec-temp-dir}/clusters-api-spec/${clusters-api-spec-spec-file} - - ${preferred-temp-dir}/clusters-api-spec/${clusters-api-spec-spec-file} - - - - spec-conditionals-preprocess-clusters-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/clusters-api-spec/${clusters-api-spec-spec-file} - ${preprocessed-temp-dir}/clusters-api-spec/${clusters-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-telemetry-public-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/telemetry-public-api-spec/source/${telemetry-public-api-spec-spec-file} - ${spec-temp-dir}/telemetry-public-api-spec/${telemetry-public-api-spec-spec-file} - - ${preferred-temp-dir}/telemetry-public-api-spec/${telemetry-public-api-spec-spec-file} - - - - spec-conditionals-preprocess-telemetry-public-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/telemetry-public-api-spec/${telemetry-public-api-spec-spec-file} - ${preprocessed-temp-dir}/telemetry-public-api-spec/${telemetry-public-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-workrequests-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/workrequests-api-spec/source/${workrequests-api-spec-spec-file} - ${spec-temp-dir}/workrequests-api-spec/${workrequests-api-spec-spec-file} - - ${preferred-temp-dir}/workrequests-api-spec/${workrequests-api-spec-spec-file} - - - - spec-conditionals-preprocess-workrequests-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/workrequests-api-spec/${workrequests-api-spec-spec-file} - ${preprocessed-temp-dir}/workrequests-api-spec/${workrequests-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ons-gateway-spec - initialize - - prefer - - - - ${spec-temp-dir}/ons-gateway-spec/source/${ons-gateway-spec-spec-file} - ${spec-temp-dir}/ons-gateway-spec/${ons-gateway-spec-spec-file} - - ${preferred-temp-dir}/ons-gateway-spec/${ons-gateway-spec-spec-file} - - - - spec-conditionals-preprocess-ons-gateway-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ons-gateway-spec/${ons-gateway-spec-spec-file} - ${preprocessed-temp-dir}/ons-gateway-spec/${ons-gateway-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-healthchecks-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/healthchecks-api-spec/source/${healthchecks-api-spec-spec-file} - ${spec-temp-dir}/healthchecks-api-spec/${healthchecks-api-spec-spec-file} - - ${preferred-temp-dir}/healthchecks-api-spec/${healthchecks-api-spec-spec-file} - - - - spec-conditionals-preprocess-healthchecks-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/healthchecks-api-spec/${healthchecks-api-spec-spec-file} - ${preprocessed-temp-dir}/healthchecks-api-spec/${healthchecks-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-rest-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/rest-api-spec/source/${rest-api-spec-spec-file} - ${spec-temp-dir}/rest-api-spec/${rest-api-spec-spec-file} - - ${preferred-temp-dir}/rest-api-spec/${rest-api-spec-spec-file} - - - - spec-conditionals-preprocess-rest-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/rest-api-spec/${rest-api-spec-spec-file} - ${preprocessed-temp-dir}/rest-api-spec/${rest-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oracache-public-api - initialize - - prefer - - - - ${spec-temp-dir}/oracache-public-api/source/${oracache-public-api-spec-file} - ${spec-temp-dir}/oracache-public-api/${oracache-public-api-spec-file} - - ${preferred-temp-dir}/oracache-public-api/${oracache-public-api-spec-file} - - - - spec-conditionals-preprocess-oracache-public-api - initialize - - preprocess - - - ${preferred-temp-dir}/oracache-public-api/${oracache-public-api-spec-file} - ${preprocessed-temp-dir}/oracache-public-api/${oracache-public-api-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-marketplace-consumer-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/marketplace-consumer-service-spec/source/${marketplace-consumer-service-spec-spec-file} - ${spec-temp-dir}/marketplace-consumer-service-spec/${marketplace-consumer-service-spec-spec-file} - - ${preferred-temp-dir}/marketplace-consumer-service-spec/${marketplace-consumer-service-spec-spec-file} - - - - spec-conditionals-preprocess-marketplace-consumer-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/marketplace-consumer-service-spec/${marketplace-consumer-service-spec-spec-file} - ${preprocessed-temp-dir}/marketplace-consumer-service-spec/${marketplace-consumer-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-autoscaling-public-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/autoscaling-public-api-spec/source/${autoscaling-public-api-spec-spec-file} - ${spec-temp-dir}/autoscaling-public-api-spec/${autoscaling-public-api-spec-spec-file} - - ${preferred-temp-dir}/autoscaling-public-api-spec/${autoscaling-public-api-spec-spec-file} - - - - spec-conditionals-preprocess-autoscaling-public-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/autoscaling-public-api-spec/${autoscaling-public-api-spec-spec-file} - ${preprocessed-temp-dir}/autoscaling-public-api-spec/${autoscaling-public-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-usage-proxy-spec - initialize - - prefer - - - - ${spec-temp-dir}/usage-proxy-spec/source/${usage-proxy-spec-spec-file} - ${spec-temp-dir}/usage-proxy-spec/${usage-proxy-spec-spec-file} - - ${preferred-temp-dir}/usage-proxy-spec/${usage-proxy-spec-spec-file} - - - - spec-conditionals-preprocess-usage-proxy-spec - initialize - - preprocess - - - ${preferred-temp-dir}/usage-proxy-spec/${usage-proxy-spec-spec-file} - ${preprocessed-temp-dir}/usage-proxy-spec/${usage-proxy-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-announcements-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/announcements-service-spec/source/${announcements-service-spec-spec-file} - ${spec-temp-dir}/announcements-service-spec/${announcements-service-spec-spec-file} - - ${preferred-temp-dir}/announcements-service-spec/${announcements-service-spec-spec-file} - - - - spec-conditionals-preprocess-announcements-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/announcements-service-spec/${announcements-service-spec-spec-file} - ${preprocessed-temp-dir}/announcements-service-spec/${announcements-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oci-waas-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/oci-waas-api-spec/source/${oci-waas-api-spec-spec-file} - ${spec-temp-dir}/oci-waas-api-spec/${oci-waas-api-spec-spec-file} - - ${preferred-temp-dir}/oci-waas-api-spec/${oci-waas-api-spec-spec-file} - - - - spec-conditionals-preprocess-oci-waas-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oci-waas-api-spec/${oci-waas-api-spec-spec-file} - ${preprocessed-temp-dir}/oci-waas-api-spec/${oci-waas-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-batchservice-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/batchservice-api-spec/source/${batchservice-api-spec-spec-file} - ${spec-temp-dir}/batchservice-api-spec/${batchservice-api-spec-spec-file} - - ${preferred-temp-dir}/batchservice-api-spec/${batchservice-api-spec-spec-file} - - - - spec-conditionals-preprocess-batchservice-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/batchservice-api-spec/${batchservice-api-spec-spec-file} - ${preprocessed-temp-dir}/batchservice-api-spec/${batchservice-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-fn-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/fn-api-spec/source/${fn-api-spec-spec-file} - ${spec-temp-dir}/fn-api-spec/${fn-api-spec-spec-file} - - ${preferred-temp-dir}/fn-api-spec/${fn-api-spec-spec-file} - - - - spec-conditionals-preprocess-fn-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/fn-api-spec/${fn-api-spec-spec-file} - ${preprocessed-temp-dir}/fn-api-spec/${fn-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-budgets-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/budgets-control-plane-spec/source/${budgets-control-plane-spec-spec-file} - ${spec-temp-dir}/budgets-control-plane-spec/${budgets-control-plane-spec-spec-file} - - ${preferred-temp-dir}/budgets-control-plane-spec/${budgets-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-budgets-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/budgets-control-plane-spec/${budgets-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/budgets-control-plane-spec/${budgets-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-quotas-control-plane-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/quotas-control-plane-api-spec/source/${quotas-control-plane-api-spec-spec-file} - ${spec-temp-dir}/quotas-control-plane-api-spec/${quotas-control-plane-api-spec-spec-file} - - ${preferred-temp-dir}/quotas-control-plane-api-spec/${quotas-control-plane-api-spec-spec-file} - - - - spec-conditionals-preprocess-quotas-control-plane-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/quotas-control-plane-api-spec/${quotas-control-plane-api-spec-spec-file} - ${preprocessed-temp-dir}/quotas-control-plane-api-spec/${quotas-control-plane-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-digital-assistant-spec - initialize - - prefer - - - - ${spec-temp-dir}/digital-assistant-spec/source/${digital-assistant-spec-spec-file} - ${spec-temp-dir}/digital-assistant-spec/${digital-assistant-spec-spec-file} - - ${preferred-temp-dir}/digital-assistant-spec/${digital-assistant-spec-spec-file} - - - - spec-conditionals-preprocess-digital-assistant-spec - initialize - - preprocess - - - ${preferred-temp-dir}/digital-assistant-spec/${digital-assistant-spec-spec-file} - ${preprocessed-temp-dir}/digital-assistant-spec/${digital-assistant-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-csg-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/csg-api-spec/source/${csg-api-spec-spec-file} - ${spec-temp-dir}/csg-api-spec/${csg-api-spec-spec-file} - - ${preferred-temp-dir}/csg-api-spec/${csg-api-spec-spec-file} - - - - spec-conditionals-preprocess-csg-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/csg-api-spec/${csg-api-spec-spec-file} - ${preprocessed-temp-dir}/csg-api-spec/${csg-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dts-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/dts-api-spec/source/${dts-api-spec-spec-file} - ${spec-temp-dir}/dts-api-spec/${dts-api-spec-spec-file} - - ${preferred-temp-dir}/dts-api-spec/${dts-api-spec-spec-file} - - - - spec-conditionals-preprocess-dts-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dts-api-spec/${dts-api-spec-spec-file} - ${preprocessed-temp-dir}/dts-api-spec/${dts-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-public-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/public-api-spec/source/${public-api-spec-spec-file} - ${spec-temp-dir}/public-api-spec/${public-api-spec-spec-file} - - ${preferred-temp-dir}/public-api-spec/${public-api-spec-spec-file} - - - - spec-conditionals-preprocess-public-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/public-api-spec/${public-api-spec-spec-file} - ${preprocessed-temp-dir}/public-api-spec/${public-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-events-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/events-control-plane-spec/source/${events-control-plane-spec-spec-file} - ${spec-temp-dir}/events-control-plane-spec/${events-control-plane-spec-spec-file} - - ${preferred-temp-dir}/events-control-plane-spec/${events-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-events-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/events-control-plane-spec/${events-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/events-control-plane-spec/${events-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-cloud-incident-management-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/cloud-incident-management-service-spec/source/${cloud-incident-management-service-spec-spec-file} - ${spec-temp-dir}/cloud-incident-management-service-spec/${cloud-incident-management-service-spec-spec-file} - - ${preferred-temp-dir}/cloud-incident-management-service-spec/${cloud-incident-management-service-spec-spec-file} - - - - spec-conditionals-preprocess-cloud-incident-management-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/cloud-incident-management-service-spec/${cloud-incident-management-service-spec-spec-file} - ${preprocessed-temp-dir}/cloud-incident-management-service-spec/${cloud-incident-management-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ndcs-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/ndcs-control-plane-spec/source/${ndcs-control-plane-spec-spec-file} - ${spec-temp-dir}/ndcs-control-plane-spec/${ndcs-control-plane-spec-spec-file} - - ${preferred-temp-dir}/ndcs-control-plane-spec/${ndcs-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-ndcs-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ndcs-control-plane-spec/${ndcs-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/ndcs-control-plane-spec/${ndcs-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-datacatalog-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/datacatalog-api-spec/source/${datacatalog-api-spec-spec-file} - ${spec-temp-dir}/datacatalog-api-spec/${datacatalog-api-spec-spec-file} - - ${preferred-temp-dir}/datacatalog-api-spec/${datacatalog-api-spec-spec-file} - - - - spec-conditionals-preprocess-datacatalog-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/datacatalog-api-spec/${datacatalog-api-spec-spec-file} - ${preprocessed-temp-dir}/datacatalog-api-spec/${datacatalog-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-cec-public-spec - initialize - - prefer - - - - ${spec-temp-dir}/cec-public-spec/source/${cec-public-spec-spec-file} - ${spec-temp-dir}/cec-public-spec/${cec-public-spec-spec-file} - - ${preferred-temp-dir}/cec-public-spec/${cec-public-spec-spec-file} - - - - spec-conditionals-preprocess-cec-public-spec - initialize - - preprocess - - - ${preferred-temp-dir}/cec-public-spec/${cec-public-spec-spec-file} - ${preprocessed-temp-dir}/cec-public-spec/${cec-public-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-odsc-pegasus-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/odsc-pegasus-control-plane-spec/source/${odsc-pegasus-control-plane-spec-spec-file} - ${spec-temp-dir}/odsc-pegasus-control-plane-spec/${odsc-pegasus-control-plane-spec-spec-file} - - ${preferred-temp-dir}/odsc-pegasus-control-plane-spec/${odsc-pegasus-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-odsc-pegasus-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/odsc-pegasus-control-plane-spec/${odsc-pegasus-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/odsc-pegasus-control-plane-spec/${odsc-pegasus-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-bds-cp-spec - initialize - - prefer - - - - ${spec-temp-dir}/bds-cp-spec/source/${bds-cp-spec-spec-file} - ${spec-temp-dir}/bds-cp-spec/${bds-cp-spec-spec-file} - - ${preferred-temp-dir}/bds-cp-spec/${bds-cp-spec-spec-file} - - - - spec-conditionals-preprocess-bds-cp-spec - initialize - - preprocess - - - ${preferred-temp-dir}/bds-cp-spec/${bds-cp-spec-spec-file} - ${preprocessed-temp-dir}/bds-cp-spec/${bds-cp-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-analytics-control-plane-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/analytics-control-plane-api-spec/source/${analytics-control-plane-api-spec-spec-file} - ${spec-temp-dir}/analytics-control-plane-api-spec/${analytics-control-plane-api-spec-spec-file} - - ${preferred-temp-dir}/analytics-control-plane-api-spec/${analytics-control-plane-api-spec-spec-file} - - - - spec-conditionals-preprocess-analytics-control-plane-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/analytics-control-plane-api-spec/${analytics-control-plane-api-spec-spec-file} - ${preprocessed-temp-dir}/analytics-control-plane-api-spec/${analytics-control-plane-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oracle-integration-cp-apiserver-user-spec - initialize - - prefer - - - - ${spec-temp-dir}/oracle-integration-cp-apiserver-user-spec/source/${oracle-integration-cp-apiserver-user-spec-spec-file} - ${spec-temp-dir}/oracle-integration-cp-apiserver-user-spec/${oracle-integration-cp-apiserver-user-spec-spec-file} - - ${preferred-temp-dir}/oracle-integration-cp-apiserver-user-spec/${oracle-integration-cp-apiserver-user-spec-spec-file} - - - - spec-conditionals-preprocess-oracle-integration-cp-apiserver-user-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oracle-integration-cp-apiserver-user-spec/${oracle-integration-cp-apiserver-user-spec-spec-file} - ${preprocessed-temp-dir}/oracle-integration-cp-apiserver-user-spec/${oracle-integration-cp-apiserver-user-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-kam-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/kam-api-spec/source/${kam-api-spec-spec-file} - ${spec-temp-dir}/kam-api-spec/${kam-api-spec-spec-file} - - ${preferred-temp-dir}/kam-api-spec/${kam-api-spec-spec-file} - - - - spec-conditionals-preprocess-kam-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/kam-api-spec/${kam-api-spec-spec-file} - ${preprocessed-temp-dir}/kam-api-spec/${kam-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-osms-spec - initialize - - prefer - - - - ${spec-temp-dir}/osms-spec/source/${osms-spec-spec-file} - ${spec-temp-dir}/osms-spec/${osms-spec-spec-file} - - ${preferred-temp-dir}/osms-spec/${osms-spec-spec-file} - - - - spec-conditionals-preprocess-osms-spec - initialize - - preprocess - - - ${preferred-temp-dir}/osms-spec/${osms-spec-spec-file} - ${preprocessed-temp-dir}/osms-spec/${osms-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ams-spec - initialize - - prefer - - - - ${spec-temp-dir}/ams-spec/source/${ams-spec-spec-file} - ${spec-temp-dir}/ams-spec/${ams-spec-spec-file} - - ${preferred-temp-dir}/ams-spec/${ams-spec-spec-file} - - - - spec-conditionals-preprocess-ams-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ams-spec/${ams-spec-spec-file} - ${preprocessed-temp-dir}/ams-spec/${ams-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-service_api_spec - initialize - - prefer - - - - ${spec-temp-dir}/service_api_spec/source/${service_api_spec-spec-file} - ${spec-temp-dir}/service_api_spec/${service_api_spec-spec-file} - - ${preferred-temp-dir}/service_api_spec/${service_api_spec-spec-file} - - - - spec-conditionals-preprocess-service_api_spec - initialize - - preprocess - - - ${preferred-temp-dir}/service_api_spec/${service_api_spec-spec-file} - ${preprocessed-temp-dir}/service_api_spec/${service_api_spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-mysqlaas-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/mysqlaas-api-spec/source/${mysqlaas-api-spec-spec-file} - ${spec-temp-dir}/mysqlaas-api-spec/${mysqlaas-api-spec-spec-file} - - ${preferred-temp-dir}/mysqlaas-api-spec/${mysqlaas-api-spec-spec-file} - - - - spec-conditionals-preprocess-mysqlaas-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/mysqlaas-api-spec/${mysqlaas-api-spec-spec-file} - ${preprocessed-temp-dir}/mysqlaas-api-spec/${mysqlaas-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oci-sms-dp-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/oci-sms-dp-api-spec/source/${oci-sms-dp-api-spec-spec-file} - ${spec-temp-dir}/oci-sms-dp-api-spec/${oci-sms-dp-api-spec-spec-file} - - ${preferred-temp-dir}/oci-sms-dp-api-spec/${oci-sms-dp-api-spec-spec-file} - - - - spec-conditionals-preprocess-oci-sms-dp-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oci-sms-dp-api-spec/${oci-sms-dp-api-spec-spec-file} - ${preprocessed-temp-dir}/oci-sms-dp-api-spec/${oci-sms-dp-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oci-sms-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/oci-sms-api-spec/source/${oci-sms-api-spec-spec-file} - ${spec-temp-dir}/oci-sms-api-spec/${oci-sms-api-spec-spec-file} - - ${preferred-temp-dir}/oci-sms-api-spec/${oci-sms-api-spec-spec-file} - - - - spec-conditionals-preprocess-oci-sms-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oci-sms-api-spec/${oci-sms-api-spec-spec-file} - ${preprocessed-temp-dir}/oci-sms-api-spec/${oci-sms-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oracle-blockchain-platform-spec - initialize - - prefer - - - - ${spec-temp-dir}/oracle-blockchain-platform-spec/source/${oracle-blockchain-platform-spec-spec-file} - ${spec-temp-dir}/oracle-blockchain-platform-spec/${oracle-blockchain-platform-spec-spec-file} - - ${preferred-temp-dir}/oracle-blockchain-platform-spec/${oracle-blockchain-platform-spec-spec-file} - - - - spec-conditionals-preprocess-oracle-blockchain-platform-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oracle-blockchain-platform-spec/${oracle-blockchain-platform-spec-spec-file} - ${preprocessed-temp-dir}/oracle-blockchain-platform-spec/${oracle-blockchain-platform-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ads-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/ads-control-plane-spec/source/${ads-control-plane-spec-spec-file} - ${spec-temp-dir}/ads-control-plane-spec/${ads-control-plane-spec-spec-file} - - ${preferred-temp-dir}/ads-control-plane-spec/${ads-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-ads-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ads-control-plane-spec/${ads-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/ads-control-plane-spec/${ads-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-compliance-document-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/compliance-document-service-spec/source/${compliance-document-service-spec-spec-file} - ${spec-temp-dir}/compliance-document-service-spec/${compliance-document-service-spec-spec-file} - - ${preferred-temp-dir}/compliance-document-service-spec/${compliance-document-service-spec-spec-file} - - - - spec-conditionals-preprocess-compliance-document-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/compliance-document-service-spec/${compliance-document-service-spec-spec-file} - ${preprocessed-temp-dir}/compliance-document-service-spec/${compliance-document-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dis-sdk-spec - initialize - - prefer - - - - ${spec-temp-dir}/dis-sdk-spec/source/${dis-sdk-spec-spec-file} - ${spec-temp-dir}/dis-sdk-spec/${dis-sdk-spec-spec-file} - - ${preferred-temp-dir}/dis-sdk-spec/${dis-sdk-spec-spec-file} - - - - spec-conditionals-preprocess-dis-sdk-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dis-sdk-spec/${dis-sdk-spec-spec-file} - ${preprocessed-temp-dir}/dis-sdk-spec/${dis-sdk-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-hydra-controlplane-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/hydra-controlplane-api-spec/source/${hydra-controlplane-api-spec-spec-file} - ${spec-temp-dir}/hydra-controlplane-api-spec/${hydra-controlplane-api-spec-spec-file} - - ${preferred-temp-dir}/hydra-controlplane-api-spec/${hydra-controlplane-api-spec-spec-file} - - - - spec-conditionals-preprocess-hydra-controlplane-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/hydra-controlplane-api-spec/${hydra-controlplane-api-spec-spec-file} - ${preprocessed-temp-dir}/hydra-controlplane-api-spec/${hydra-controlplane-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-vmware-provision-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/vmware-provision-service-spec/source/${vmware-provision-service-spec-spec-file} - ${spec-temp-dir}/vmware-provision-service-spec/${vmware-provision-service-spec-spec-file} - - ${preferred-temp-dir}/vmware-provision-service-spec/${vmware-provision-service-spec-spec-file} - - - - spec-conditionals-preprocess-vmware-provision-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/vmware-provision-service-spec/${vmware-provision-service-spec-spec-file} - ${preprocessed-temp-dir}/vmware-provision-service-spec/${vmware-provision-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-usage-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/usage-api-spec/source/${usage-api-spec-spec-file} - ${spec-temp-dir}/usage-api-spec/${usage-api-spec-spec-file} - - ${preferred-temp-dir}/usage-api-spec/${usage-api-spec-spec-file} - - - - spec-conditionals-preprocess-usage-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/usage-api-spec/${usage-api-spec-spec-file} - ${preprocessed-temp-dir}/usage-api-spec/${usage-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-cloudguard-cp-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/cloudguard-cp-api-spec/source/${cloudguard-cp-api-spec-spec-file} - ${spec-temp-dir}/cloudguard-cp-api-spec/${cloudguard-cp-api-spec-spec-file} - - ${preferred-temp-dir}/cloudguard-cp-api-spec/${cloudguard-cp-api-spec-spec-file} - - - - spec-conditionals-preprocess-cloudguard-cp-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/cloudguard-cp-api-spec/${cloudguard-cp-api-spec-spec-file} - ${preprocessed-temp-dir}/cloudguard-cp-api-spec/${cloudguard-cp-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-opsi-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/opsi-api-spec/source/${opsi-api-spec-spec-file} - ${spec-temp-dir}/opsi-api-spec/${opsi-api-spec-spec-file} - - ${preferred-temp-dir}/opsi-api-spec/${opsi-api-spec-spec-file} - - - - spec-conditionals-preprocess-opsi-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/opsi-api-spec/${opsi-api-spec-spec-file} - ${preprocessed-temp-dir}/opsi-api-spec/${opsi-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-management-dashboard-spec - initialize - - prefer - - - - ${spec-temp-dir}/management-dashboard-spec/source/${management-dashboard-spec-spec-file} - ${spec-temp-dir}/management-dashboard-spec/${management-dashboard-spec-spec-file} - - ${preferred-temp-dir}/management-dashboard-spec/${management-dashboard-spec-spec-file} - - - - spec-conditionals-preprocess-management-dashboard-spec - initialize - - preprocess - - - ${preferred-temp-dir}/management-dashboard-spec/${management-dashboard-spec-spec-file} - ${preprocessed-temp-dir}/management-dashboard-spec/${management-dashboard-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-connectors-spec - initialize - - prefer - - - - ${spec-temp-dir}/connectors-spec/source/${connectors-spec-spec-file} - ${spec-temp-dir}/connectors-spec/${connectors-spec-spec-file} - - ${preferred-temp-dir}/connectors-spec/${connectors-spec-spec-file} - - - - spec-conditionals-preprocess-connectors-spec - initialize - - preprocess - - - ${preferred-temp-dir}/connectors-spec/${connectors-spec-spec-file} - ${preprocessed-temp-dir}/connectors-spec/${connectors-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-optimizer-spec - initialize - - prefer - - - - ${spec-temp-dir}/optimizer-spec/source/${optimizer-spec-spec-file} - ${spec-temp-dir}/optimizer-spec/${optimizer-spec-spec-file} - - ${preferred-temp-dir}/optimizer-spec/${optimizer-spec-spec-file} - - - - spec-conditionals-preprocess-optimizer-spec - initialize - - preprocess - - - ${preferred-temp-dir}/optimizer-spec/${optimizer-spec-spec-file} - ${preprocessed-temp-dir}/optimizer-spec/${optimizer-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-mgmtagent-cloud-services-spec - initialize - - prefer - - - - ${spec-temp-dir}/mgmtagent-cloud-services-spec/source/${mgmtagent-cloud-services-spec-spec-file} - ${spec-temp-dir}/mgmtagent-cloud-services-spec/${mgmtagent-cloud-services-spec-spec-file} - - ${preferred-temp-dir}/mgmtagent-cloud-services-spec/${mgmtagent-cloud-services-spec-spec-file} - - - - spec-conditionals-preprocess-mgmtagent-cloud-services-spec - initialize - - preprocess - - - ${preferred-temp-dir}/mgmtagent-cloud-services-spec/${mgmtagent-cloud-services-spec-spec-file} - ${preprocessed-temp-dir}/mgmtagent-cloud-services-spec/${mgmtagent-cloud-services-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-instance-agent-service-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/instance-agent-service-api-spec/source/${instance-agent-service-api-spec-spec-file} - ${spec-temp-dir}/instance-agent-service-api-spec/${instance-agent-service-api-spec-spec-file} - - ${preferred-temp-dir}/instance-agent-service-api-spec/${instance-agent-service-api-spec-spec-file} - - - - spec-conditionals-preprocess-instance-agent-service-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/instance-agent-service-api-spec/${instance-agent-service-api-spec-spec-file} - ${preprocessed-temp-dir}/instance-agent-service-api-spec/${instance-agent-service-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-hydra-pika-frontend-public-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/hydra-pika-frontend-public-api-spec/source/${hydra-pika-frontend-public-api-spec-spec-file} - ${spec-temp-dir}/hydra-pika-frontend-public-api-spec/${hydra-pika-frontend-public-api-spec-spec-file} - - ${preferred-temp-dir}/hydra-pika-frontend-public-api-spec/${hydra-pika-frontend-public-api-spec-spec-file} - - - - spec-conditionals-preprocess-hydra-pika-frontend-public-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/hydra-pika-frontend-public-api-spec/${hydra-pika-frontend-public-api-spec-spec-file} - ${preprocessed-temp-dir}/hydra-pika-frontend-public-api-spec/${hydra-pika-frontend-public-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oci-bastions-spec - initialize - - prefer - - - - ${spec-temp-dir}/oci-bastions-spec/source/${oci-bastions-spec-spec-file} - ${spec-temp-dir}/oci-bastions-spec/${oci-bastions-spec-spec-file} - - ${preferred-temp-dir}/oci-bastions-spec/${oci-bastions-spec-spec-file} - - - - spec-conditionals-preprocess-oci-bastions-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oci-bastions-spec/${oci-bastions-spec-spec-file} - ${preprocessed-temp-dir}/oci-bastions-spec/${oci-bastions-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ibex-frontend-public-spec - initialize - - prefer - - - - ${spec-temp-dir}/ibex-frontend-public-spec/source/${ibex-frontend-public-spec-spec-file} - ${spec-temp-dir}/ibex-frontend-public-spec/${ibex-frontend-public-spec-spec-file} - - ${preferred-temp-dir}/ibex-frontend-public-spec/${ibex-frontend-public-spec-spec-file} - - - - spec-conditionals-preprocess-ibex-frontend-public-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ibex-frontend-public-spec/${ibex-frontend-public-spec-spec-file} - ${preprocessed-temp-dir}/ibex-frontend-public-spec/${ibex-frontend-public-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-rover-cloud-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/rover-cloud-service-spec/source/${rover-cloud-service-spec-spec-file} - ${spec-temp-dir}/rover-cloud-service-spec/${rover-cloud-service-spec-spec-file} - - ${preferred-temp-dir}/rover-cloud-service-spec/${rover-cloud-service-spec-spec-file} - - - - spec-conditionals-preprocess-rover-cloud-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/rover-cloud-service-spec/${rover-cloud-service-spec-spec-file} - ${preprocessed-temp-dir}/rover-cloud-service-spec/${rover-cloud-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-logan-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/logan-api-spec/source/${logan-api-spec-spec-file} - ${spec-temp-dir}/logan-api-spec/${logan-api-spec-spec-file} - - ${preferred-temp-dir}/logan-api-spec/${logan-api-spec-spec-file} - - - - spec-conditionals-preprocess-logan-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/logan-api-spec/${logan-api-spec-spec-file} - ${preprocessed-temp-dir}/logan-api-spec/${logan-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-customer-controlled-access-spec - initialize - - prefer - - - - ${spec-temp-dir}/customer-controlled-access-spec/source/${customer-controlled-access-spec-spec-file} - ${spec-temp-dir}/customer-controlled-access-spec/${customer-controlled-access-spec-spec-file} - - ${preferred-temp-dir}/customer-controlled-access-spec/${customer-controlled-access-spec-spec-file} - - - - spec-conditionals-preprocess-customer-controlled-access-spec - initialize - - preprocess - - - ${preferred-temp-dir}/customer-controlled-access-spec/${customer-controlled-access-spec-spec-file} - ${preprocessed-temp-dir}/customer-controlled-access-spec/${customer-controlled-access-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ggs-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/ggs-control-plane-spec/source/${ggs-control-plane-spec-spec-file} - ${spec-temp-dir}/ggs-control-plane-spec/${ggs-control-plane-spec-spec-file} - - ${preferred-temp-dir}/ggs-control-plane-spec/${ggs-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-ggs-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ggs-control-plane-spec/${ggs-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/ggs-control-plane-spec/${ggs-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-tenant-manager-spec - initialize - - prefer - - - - ${spec-temp-dir}/tenant-manager-spec/source/${tenant-manager-spec-spec-file} - ${spec-temp-dir}/tenant-manager-spec/${tenant-manager-spec-spec-file} - - ${preferred-temp-dir}/tenant-manager-spec/${tenant-manager-spec-spec-file} - - - - spec-conditionals-preprocess-tenant-manager-spec - initialize - - preprocess - - - ${preferred-temp-dir}/tenant-manager-spec/${tenant-manager-spec-spec-file} - ${preprocessed-temp-dir}/tenant-manager-spec/${tenant-manager-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dbmgmt-dbadmin-spec - initialize - - prefer - - - - ${spec-temp-dir}/dbmgmt-dbadmin-spec/source/${dbmgmt-dbadmin-spec-spec-file} - ${spec-temp-dir}/dbmgmt-dbadmin-spec/${dbmgmt-dbadmin-spec-spec-file} - - ${preferred-temp-dir}/dbmgmt-dbadmin-spec/${dbmgmt-dbadmin-spec-spec-file} - - - - spec-conditionals-preprocess-dbmgmt-dbadmin-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dbmgmt-dbadmin-spec/${dbmgmt-dbadmin-spec-spec-file} - ${preprocessed-temp-dir}/dbmgmt-dbadmin-spec/${dbmgmt-dbadmin-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-aj-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/aj-control-plane-spec/source/${aj-control-plane-spec-spec-file} - ${spec-temp-dir}/aj-control-plane-spec/${aj-control-plane-spec-spec-file} - - ${preferred-temp-dir}/aj-control-plane-spec/${aj-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-aj-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/aj-control-plane-spec/${aj-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/aj-control-plane-spec/${aj-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-apm-synapi-spec - initialize - - prefer - - - - ${spec-temp-dir}/apm-synapi-spec/source/${apm-synapi-spec-spec-file} - ${spec-temp-dir}/apm-synapi-spec/${apm-synapi-spec-spec-file} - - ${preferred-temp-dir}/apm-synapi-spec/${apm-synapi-spec-spec-file} - - - - spec-conditionals-preprocess-apm-synapi-spec - initialize - - preprocess - - - ${preferred-temp-dir}/apm-synapi-spec/${apm-synapi-spec-spec-file} - ${preprocessed-temp-dir}/apm-synapi-spec/${apm-synapi-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-artifacts-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/artifacts-api-spec/source/${artifacts-api-spec-spec-file} - ${spec-temp-dir}/artifacts-api-spec/${artifacts-api-spec-spec-file} - - ${preferred-temp-dir}/artifacts-api-spec/${artifacts-api-spec-spec-file} - - - - spec-conditionals-preprocess-artifacts-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/artifacts-api-spec/${artifacts-api-spec-spec-file} - ${preprocessed-temp-dir}/artifacts-api-spec/${artifacts-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-vss-cp-spec - initialize - - prefer - - - - ${spec-temp-dir}/vss-cp-spec/source/${vss-cp-spec-spec-file} - ${spec-temp-dir}/vss-cp-spec/${vss-cp-spec-spec-file} - - ${preferred-temp-dir}/vss-cp-spec/${vss-cp-spec-spec-file} - - - - spec-conditionals-preprocess-vss-cp-spec - initialize - - preprocess - - - ${preferred-temp-dir}/vss-cp-spec/${vss-cp-spec-spec-file} - ${preprocessed-temp-dir}/vss-cp-spec/${vss-cp-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-network-load-balancer-spec - initialize - - prefer - - - - ${spec-temp-dir}/network-load-balancer-spec/source/${network-load-balancer-spec-spec-file} - ${spec-temp-dir}/network-load-balancer-spec/${network-load-balancer-spec-spec-file} - - ${preferred-temp-dir}/network-load-balancer-spec/${network-load-balancer-spec-spec-file} - - - - spec-conditionals-preprocess-network-load-balancer-spec - initialize - - preprocess - - - ${preferred-temp-dir}/network-load-balancer-spec/${network-load-balancer-spec-spec-file} - ${preprocessed-temp-dir}/network-load-balancer-spec/${network-load-balancer-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-cloudbridge-spec - initialize - - prefer - - - - ${spec-temp-dir}/cloudbridge-spec/source/${cloudbridge-spec-spec-file} - ${spec-temp-dir}/cloudbridge-spec/${cloudbridge-spec-spec-file} - - ${preferred-temp-dir}/cloudbridge-spec/${cloudbridge-spec-spec-file} - - - - spec-conditionals-preprocess-cloudbridge-spec - initialize - - preprocess - - - ${preferred-temp-dir}/cloudbridge-spec/${cloudbridge-spec-spec-file} - ${preprocessed-temp-dir}/cloudbridge-spec/${cloudbridge-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-apm-dataserver-spec - initialize - - prefer - - - - ${spec-temp-dir}/apm-dataserver-spec/source/${apm-dataserver-spec-spec-file} - ${spec-temp-dir}/apm-dataserver-spec/${apm-dataserver-spec-spec-file} - - ${preferred-temp-dir}/apm-dataserver-spec/${apm-dataserver-spec-spec-file} - - - - spec-conditionals-preprocess-apm-dataserver-spec - initialize - - preprocess - - - ${preferred-temp-dir}/apm-dataserver-spec/${apm-dataserver-spec-spec-file} - ${preprocessed-temp-dir}/apm-dataserver-spec/${apm-dataserver-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-escs-sm-spec - initialize - - prefer - - - - ${spec-temp-dir}/escs-sm-spec/source/${escs-sm-spec-spec-file} - ${spec-temp-dir}/escs-sm-spec/${escs-sm-spec-spec-file} - - ${preferred-temp-dir}/escs-sm-spec/${escs-sm-spec-spec-file} - - - - spec-conditionals-preprocess-escs-sm-spec - initialize - - preprocess - - - ${preferred-temp-dir}/escs-sm-spec/${escs-sm-spec-spec-file} - ${preprocessed-temp-dir}/escs-sm-spec/${escs-sm-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-apm-controller-spec - initialize - - prefer - - - - ${spec-temp-dir}/apm-controller-spec/source/${apm-controller-spec-spec-file} - ${spec-temp-dir}/apm-controller-spec/${apm-controller-spec-spec-file} - - ${preferred-temp-dir}/apm-controller-spec/${apm-controller-spec-spec-file} - - - - spec-conditionals-preprocess-apm-controller-spec - initialize - - preprocess - - - ${preferred-temp-dir}/apm-controller-spec/${apm-controller-spec-spec-file} - ${preprocessed-temp-dir}/apm-controller-spec/${apm-controller-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-generic-artifacts-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/generic-artifacts-api-spec/source/${generic-artifacts-api-spec-spec-file} - ${spec-temp-dir}/generic-artifacts-api-spec/${generic-artifacts-api-spec-spec-file} - - ${preferred-temp-dir}/generic-artifacts-api-spec/${generic-artifacts-api-spec-spec-file} - - - - spec-conditionals-preprocess-generic-artifacts-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/generic-artifacts-api-spec/${generic-artifacts-api-spec-spec-file} - ${preprocessed-temp-dir}/generic-artifacts-api-spec/${generic-artifacts-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-msz-cp-spec - initialize - - prefer - - - - ${spec-temp-dir}/msz-cp-spec/source/${msz-cp-spec-spec-file} - ${spec-temp-dir}/msz-cp-spec/${msz-cp-spec-spec-file} - - ${preferred-temp-dir}/msz-cp-spec/${msz-cp-spec-spec-file} - - - - spec-conditionals-preprocess-msz-cp-spec - initialize - - preprocess - - - ${preferred-temp-dir}/msz-cp-spec/${msz-cp-spec-spec-file} - ${preprocessed-temp-dir}/msz-cp-spec/${msz-cp-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dbrs-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/dbrs-control-plane-spec/source/${dbrs-control-plane-spec-spec-file} - ${spec-temp-dir}/dbrs-control-plane-spec/${dbrs-control-plane-spec-spec-file} - - ${preferred-temp-dir}/dbrs-control-plane-spec/${dbrs-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-dbrs-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dbrs-control-plane-spec/${dbrs-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/dbrs-control-plane-spec/${dbrs-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-devops-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/devops-service-spec/source/${devops-service-spec-spec-file} - ${spec-temp-dir}/devops-service-spec/${devops-service-spec-spec-file} - - ${preferred-temp-dir}/devops-service-spec/${devops-service-spec-spec-file} - - - - spec-conditionals-preprocess-devops-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/devops-service-spec/${devops-service-spec-spec-file} - ${preprocessed-temp-dir}/devops-service-spec/${devops-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-zdmcs-spec - initialize - - prefer - - - - ${spec-temp-dir}/zdmcs-spec/source/${zdmcs-spec-spec-file} - ${spec-temp-dir}/zdmcs-spec/${zdmcs-spec-spec-file} - - ${preferred-temp-dir}/zdmcs-spec/${zdmcs-spec-spec-file} - - - - spec-conditionals-preprocess-zdmcs-spec - initialize - - preprocess - - - ${preferred-temp-dir}/zdmcs-spec/${zdmcs-spec-spec-file} - ${preprocessed-temp-dir}/zdmcs-spec/${zdmcs-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-service-catalog-spec - initialize - - prefer - - - - ${spec-temp-dir}/service-catalog-spec/source/${service-catalog-spec-spec-file} - ${spec-temp-dir}/service-catalog-spec/${service-catalog-spec-spec-file} - - ${preferred-temp-dir}/service-catalog-spec/${service-catalog-spec-spec-file} - - - - spec-conditionals-preprocess-service-catalog-spec - initialize - - preprocess - - - ${preferred-temp-dir}/service-catalog-spec/${service-catalog-spec-spec-file} - ${preprocessed-temp-dir}/service-catalog-spec/${service-catalog-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dashboard-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/dashboard-service-spec/source/${dashboard-service-spec-spec-file} - ${spec-temp-dir}/dashboard-service-spec/${dashboard-service-spec-spec-file} - - ${preferred-temp-dir}/dashboard-service-spec/${dashboard-service-spec-spec-file} - - - - spec-conditionals-preprocess-dashboard-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dashboard-service-spec/${dashboard-service-spec-spec-file} - ${preprocessed-temp-dir}/dashboard-service-spec/${dashboard-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ai-service-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/ai-service-control-plane-spec/source/${ai-service-control-plane-spec-spec-file} - ${spec-temp-dir}/ai-service-control-plane-spec/${ai-service-control-plane-spec-spec-file} - - ${preferred-temp-dir}/ai-service-control-plane-spec/${ai-service-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-ai-service-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ai-service-control-plane-spec/${ai-service-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/ai-service-control-plane-spec/${ai-service-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oci-certs-dp-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/oci-certs-dp-api-spec/source/${oci-certs-dp-api-spec-spec-file} - ${spec-temp-dir}/oci-certs-dp-api-spec/${oci-certs-dp-api-spec-spec-file} - - ${preferred-temp-dir}/oci-certs-dp-api-spec/${oci-certs-dp-api-spec-spec-file} - - - - spec-conditionals-preprocess-oci-certs-dp-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oci-certs-dp-api-spec/${oci-certs-dp-api-spec-spec-file} - ${preprocessed-temp-dir}/oci-certs-dp-api-spec/${oci-certs-dp-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-oci-certs-cp-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/oci-certs-cp-api-spec/source/${oci-certs-cp-api-spec-spec-file} - ${spec-temp-dir}/oci-certs-cp-api-spec/${oci-certs-cp-api-spec-spec-file} - - ${preferred-temp-dir}/oci-certs-cp-api-spec/${oci-certs-cp-api-spec-spec-file} - - - - spec-conditionals-preprocess-oci-certs-cp-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/oci-certs-cp-api-spec/${oci-certs-cp-api-spec-spec-file} - ${preprocessed-temp-dir}/oci-certs-cp-api-spec/${oci-certs-cp-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-vbs-controlplane-instance-spec - initialize - - prefer - - - - ${spec-temp-dir}/vbs-controlplane-instance-spec/source/${vbs-controlplane-instance-spec-spec-file} - ${spec-temp-dir}/vbs-controlplane-instance-spec/${vbs-controlplane-instance-spec-spec-file} - - ${preferred-temp-dir}/vbs-controlplane-instance-spec/${vbs-controlplane-instance-spec-spec-file} - - - - spec-conditionals-preprocess-vbs-controlplane-instance-spec - initialize - - preprocess - - - ${preferred-temp-dir}/vbs-controlplane-instance-spec/${vbs-controlplane-instance-spec-spec-file} - ${preprocessed-temp-dir}/vbs-controlplane-instance-spec/${vbs-controlplane-instance-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-queue-spec - initialize - - prefer - - - - ${spec-temp-dir}/queue-spec/source/${queue-spec-spec-file} - ${spec-temp-dir}/queue-spec/${queue-spec-spec-file} - - ${preferred-temp-dir}/queue-spec/${queue-spec-spec-file} - - - - spec-conditionals-preprocess-queue-spec - initialize - - preprocess - - - ${preferred-temp-dir}/queue-spec/${queue-spec-spec-file} - ${preprocessed-temp-dir}/queue-spec/${queue-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-sparkline-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/sparkline-service-spec/source/${sparkline-service-spec-spec-file} - ${spec-temp-dir}/sparkline-service-spec/${sparkline-service-spec-spec-file} - - ${preferred-temp-dir}/sparkline-service-spec/${sparkline-service-spec-spec-file} - - - - spec-conditionals-preprocess-sparkline-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/sparkline-service-spec/${sparkline-service-spec-spec-file} - ${preprocessed-temp-dir}/sparkline-service-spec/${sparkline-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-apm-config-api - initialize - - prefer - - - - ${spec-temp-dir}/apm-config-api/source/${apm-config-api-spec-file} - ${spec-temp-dir}/apm-config-api/${apm-config-api-spec-file} - - ${preferred-temp-dir}/apm-config-api/${apm-config-api-spec-file} - - - - spec-conditionals-preprocess-apm-config-api - initialize - - preprocess - - - ${preferred-temp-dir}/apm-config-api/${apm-config-api-spec-file} - ${preprocessed-temp-dir}/apm-config-api/${apm-config-api-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-waf-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/waf-control-plane-spec/source/${waf-control-plane-spec-spec-file} - ${spec-temp-dir}/waf-control-plane-spec/${waf-control-plane-spec-spec-file} - - ${preferred-temp-dir}/waf-control-plane-spec/${waf-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-waf-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/waf-control-plane-spec/${waf-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/waf-control-plane-spec/${waf-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dbtools-service-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/dbtools-service-api-spec/source/${dbtools-service-api-spec-spec-file} - ${spec-temp-dir}/dbtools-service-api-spec/${dbtools-service-api-spec-spec-file} - - ${preferred-temp-dir}/dbtools-service-api-spec/${dbtools-service-api-spec-spec-file} - - - - spec-conditionals-preprocess-dbtools-service-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dbtools-service-api-spec/${dbtools-service-api-spec-spec-file} - ${preprocessed-temp-dir}/dbtools-service-api-spec/${dbtools-service-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ad-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/ad-control-plane-spec/source/${ad-control-plane-spec-spec-file} - ${spec-temp-dir}/ad-control-plane-spec/${ad-control-plane-spec-spec-file} - - ${preferred-temp-dir}/ad-control-plane-spec/${ad-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-ad-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ad-control-plane-spec/${ad-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/ad-control-plane-spec/${ad-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ocm-discovery-spec - initialize - - prefer - - - - ${spec-temp-dir}/ocm-discovery-spec/source/${ocm-discovery-spec-spec-file} - ${spec-temp-dir}/ocm-discovery-spec/${ocm-discovery-spec-spec-file} - - ${preferred-temp-dir}/ocm-discovery-spec/${ocm-discovery-spec-spec-file} - - - - spec-conditionals-preprocess-ocm-discovery-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ocm-discovery-spec/${ocm-discovery-spec-spec-file} - ${preprocessed-temp-dir}/ocm-discovery-spec/${ocm-discovery-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-identity-data-plane-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/identity-data-plane-api-spec/source/${identity-data-plane-api-spec-spec-file} - ${spec-temp-dir}/identity-data-plane-api-spec/${identity-data-plane-api-spec-spec-file} - - ${preferred-temp-dir}/identity-data-plane-api-spec/${identity-data-plane-api-spec-spec-file} - - - - spec-conditionals-preprocess-identity-data-plane-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/identity-data-plane-api-spec/${identity-data-plane-api-spec-spec-file} - ${preprocessed-temp-dir}/identity-data-plane-api-spec/${identity-data-plane-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dls-data-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/dls-data-plane-spec/source/${dls-data-plane-spec-spec-file} - ${spec-temp-dir}/dls-data-plane-spec/${dls-data-plane-spec-spec-file} - - ${preferred-temp-dir}/dls-data-plane-spec/${dls-data-plane-spec-spec-file} - - - - spec-conditionals-preprocess-dls-data-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dls-data-plane-spec/${dls-data-plane-spec-spec-file} - ${preprocessed-temp-dir}/dls-data-plane-spec/${dls-data-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-data-labeling-service-spec - initialize - - prefer - - - - ${spec-temp-dir}/data-labeling-service-spec/source/${data-labeling-service-spec-spec-file} - ${spec-temp-dir}/data-labeling-service-spec/${data-labeling-service-spec-spec-file} - - ${preferred-temp-dir}/data-labeling-service-spec/${data-labeling-service-spec-spec-file} - - - - spec-conditionals-preprocess-data-labeling-service-spec - initialize - - preprocess - - - ${preferred-temp-dir}/data-labeling-service-spec/${data-labeling-service-spec-spec-file} - ${preprocessed-temp-dir}/data-labeling-service-spec/${data-labeling-service-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-sdk-spec - initialize - - prefer - - - - ${spec-temp-dir}/sdk-spec/source/${sdk-spec-spec-file} - ${spec-temp-dir}/sdk-spec/${sdk-spec-spec-file} - - ${preferred-temp-dir}/sdk-spec/${sdk-spec-spec-file} - - - - spec-conditionals-preprocess-sdk-spec - initialize - - preprocess - - - ${preferred-temp-dir}/sdk-spec/${sdk-spec-spec-file} - ${preprocessed-temp-dir}/sdk-spec/${sdk-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ocm-migration-spec - initialize - - prefer - - - - ${spec-temp-dir}/ocm-migration-spec/source/${ocm-migration-spec-spec-file} - ${spec-temp-dir}/ocm-migration-spec/${ocm-migration-spec-spec-file} - - ${preferred-temp-dir}/ocm-migration-spec/${ocm-migration-spec-spec-file} - - - - spec-conditionals-preprocess-ocm-migration-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ocm-migration-spec/${ocm-migration-spec-spec-file} - ${preprocessed-temp-dir}/ocm-migration-spec/${ocm-migration-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-inframon-query-spec - initialize - - prefer - - - - ${spec-temp-dir}/inframon-query-spec/source/${inframon-query-spec-spec-file} - ${spec-temp-dir}/inframon-query-spec/${inframon-query-spec-spec-file} - - ${preferred-temp-dir}/inframon-query-spec/${inframon-query-spec-spec-file} - - - - spec-conditionals-preprocess-inframon-query-spec - initialize - - preprocess - - - ${preferred-temp-dir}/inframon-query-spec/${inframon-query-spec-spec-file} - ${preprocessed-temp-dir}/inframon-query-spec/${inframon-query-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-identity-data-plane-api-spec-preview - initialize - - prefer - - - - ${spec-temp-dir}/identity-data-plane-api-spec-preview/source/${identity-data-plane-api-spec-preview-spec-file} - ${spec-temp-dir}/identity-data-plane-api-spec-preview/${identity-data-plane-api-spec-preview-spec-file} - - ${preferred-temp-dir}/identity-data-plane-api-spec-preview/${identity-data-plane-api-spec-preview-spec-file} - - - - spec-conditionals-preprocess-identity-data-plane-api-spec-preview - initialize - - preprocess - - - ${preferred-temp-dir}/identity-data-plane-api-spec-preview/${identity-data-plane-api-spec-preview-spec-file} - ${preprocessed-temp-dir}/identity-data-plane-api-spec-preview/${identity-data-plane-api-spec-preview-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-vb-cp-apiserver-user-spec - initialize - - prefer - - - - ${spec-temp-dir}/vb-cp-apiserver-user-spec/source/${vb-cp-apiserver-user-spec-spec-file} - ${spec-temp-dir}/vb-cp-apiserver-user-spec/${vb-cp-apiserver-user-spec-spec-file} - - ${preferred-temp-dir}/vb-cp-apiserver-user-spec/${vb-cp-apiserver-user-spec-spec-file} - - - - spec-conditionals-preprocess-vb-cp-apiserver-user-spec - initialize - - preprocess - - - ${preferred-temp-dir}/vb-cp-apiserver-user-spec/${vb-cp-apiserver-user-spec-spec-file} - ${preprocessed-temp-dir}/vb-cp-apiserver-user-spec/${vb-cp-apiserver-user-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-service-manager-proxy-spec - initialize - - prefer - - - - ${spec-temp-dir}/service-manager-proxy-spec/source/${service-manager-proxy-spec-spec-file} - ${spec-temp-dir}/service-manager-proxy-spec/${service-manager-proxy-spec-spec-file} - - ${preferred-temp-dir}/service-manager-proxy-spec/${service-manager-proxy-spec-spec-file} - - - - spec-conditionals-preprocess-service-manager-proxy-spec - initialize - - preprocess - - - ${preferred-temp-dir}/service-manager-proxy-spec/${service-manager-proxy-spec-spec-file} - ${preprocessed-temp-dir}/service-manager-proxy-spec/${service-manager-proxy-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-speech-service-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/speech-service-control-plane-spec/source/${speech-service-control-plane-spec-spec-file} - ${spec-temp-dir}/speech-service-control-plane-spec/${speech-service-control-plane-spec-spec-file} - - ${preferred-temp-dir}/speech-service-control-plane-spec/${speech-service-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-speech-service-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/speech-service-control-plane-spec/${speech-service-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/speech-service-control-plane-spec/${speech-service-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-ocm-inventory-spec - initialize - - prefer - - - - ${spec-temp-dir}/ocm-inventory-spec/source/${ocm-inventory-spec-spec-file} - ${spec-temp-dir}/ocm-inventory-spec/${ocm-inventory-spec-spec-file} - - ${preferred-temp-dir}/ocm-inventory-spec/${ocm-inventory-spec-spec-file} - - - - spec-conditionals-preprocess-ocm-inventory-spec - initialize - - preprocess - - - ${preferred-temp-dir}/ocm-inventory-spec/${ocm-inventory-spec-spec-file} - ${preprocessed-temp-dir}/ocm-inventory-spec/${ocm-inventory-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-inframon-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/inframon-control-plane-spec/source/${inframon-control-plane-spec-spec-file} - ${spec-temp-dir}/inframon-control-plane-spec/${inframon-control-plane-spec-spec-file} - - ${preferred-temp-dir}/inframon-control-plane-spec/${inframon-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-inframon-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/inframon-control-plane-spec/${inframon-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/inframon-control-plane-spec/${inframon-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-mesh-public-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/mesh-public-api-spec/source/${mesh-public-api-spec-spec-file} - ${spec-temp-dir}/mesh-public-api-spec/${mesh-public-api-spec-spec-file} - - ${preferred-temp-dir}/mesh-public-api-spec/${mesh-public-api-spec-spec-file} - - - - spec-conditionals-preprocess-mesh-public-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/mesh-public-api-spec/${mesh-public-api-spec-spec-file} - ${preprocessed-temp-dir}/mesh-public-api-spec/${mesh-public-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-fa-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/fa-control-plane-spec/source/${fa-control-plane-spec-spec-file} - ${spec-temp-dir}/fa-control-plane-spec/${fa-control-plane-spec-spec-file} - - ${preferred-temp-dir}/fa-control-plane-spec/${fa-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-fa-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/fa-control-plane-spec/${fa-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/fa-control-plane-spec/${fa-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-osp-gateway-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/osp-gateway-api-spec/source/${osp-gateway-api-spec-spec-file} - ${spec-temp-dir}/osp-gateway-api-spec/${osp-gateway-api-spec-spec-file} - - ${preferred-temp-dir}/osp-gateway-api-spec/${osp-gateway-api-spec-spec-file} - - - - spec-conditionals-preprocess-osp-gateway-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/osp-gateway-api-spec/${osp-gateway-api-spec-spec-file} - ${preprocessed-temp-dir}/osp-gateway-api-spec/${osp-gateway-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-threat-intel-control-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/threat-intel-control-plane-spec/source/${threat-intel-control-plane-spec-spec-file} - ${spec-temp-dir}/threat-intel-control-plane-spec/${threat-intel-control-plane-spec-spec-file} - - ${preferred-temp-dir}/threat-intel-control-plane-spec/${threat-intel-control-plane-spec-spec-file} - - - - spec-conditionals-preprocess-threat-intel-control-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/threat-intel-control-plane-spec/${threat-intel-control-plane-spec-spec-file} - ${preprocessed-temp-dir}/threat-intel-control-plane-spec/${threat-intel-control-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-stack-monitoring-spec - initialize - - prefer - - - - ${spec-temp-dir}/stack-monitoring-spec/source/${stack-monitoring-spec-spec-file} - ${spec-temp-dir}/stack-monitoring-spec/${stack-monitoring-spec-spec-file} - - ${preferred-temp-dir}/stack-monitoring-spec/${stack-monitoring-spec-spec-file} - - - - spec-conditionals-preprocess-stack-monitoring-spec - initialize - - preprocess - - - ${preferred-temp-dir}/stack-monitoring-spec/${stack-monitoring-spec-spec-file} - ${preprocessed-temp-dir}/stack-monitoring-spec/${stack-monitoring-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-announcements-spec - initialize - - prefer - - - - ${spec-temp-dir}/announcements-spec/source/${announcements-spec-spec-file} - ${spec-temp-dir}/announcements-spec/${announcements-spec-spec-file} - - ${preferred-temp-dir}/announcements-spec/${announcements-spec-spec-file} - - - - spec-conditionals-preprocess-announcements-spec - initialize - - preprocess - - - ${preferred-temp-dir}/announcements-spec/${announcements-spec-spec-file} - ${preprocessed-temp-dir}/announcements-spec/${announcements-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-vision-service-api-spec - initialize - - prefer - - - - ${spec-temp-dir}/vision-service-api-spec/source/${vision-service-api-spec-spec-file} - ${spec-temp-dir}/vision-service-api-spec/${vision-service-api-spec-spec-file} - - ${preferred-temp-dir}/vision-service-api-spec/${vision-service-api-spec-spec-file} - - - - spec-conditionals-preprocess-vision-service-api-spec - initialize - - preprocess - - - ${preferred-temp-dir}/vision-service-api-spec/${vision-service-api-spec-spec-file} - ${preprocessed-temp-dir}/vision-service-api-spec/${vision-service-api-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-network-firewall-public-spec - initialize - - prefer - - - - ${spec-temp-dir}/network-firewall-public-spec/source/${network-firewall-public-spec-spec-file} - ${spec-temp-dir}/network-firewall-public-spec/${network-firewall-public-spec-spec-file} - - ${preferred-temp-dir}/network-firewall-public-spec/${network-firewall-public-spec-spec-file} - - - - spec-conditionals-preprocess-network-firewall-public-spec - initialize - - preprocess - - - ${preferred-temp-dir}/network-firewall-public-spec/${network-firewall-public-spec-spec-file} - ${preprocessed-temp-dir}/network-firewall-public-spec/${network-firewall-public-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-management-plane-spec - initialize - - prefer - - - - ${spec-temp-dir}/management-plane-spec/source/${management-plane-spec-spec-file} - ${spec-temp-dir}/management-plane-spec/${management-plane-spec-spec-file} - - ${preferred-temp-dir}/management-plane-spec/${management-plane-spec-spec-file} - - - - spec-conditionals-preprocess-management-plane-spec - initialize - - preprocess - - - ${preferred-temp-dir}/management-plane-spec/${management-plane-spec-spec-file} - ${preprocessed-temp-dir}/management-plane-spec/${management-plane-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-dig-media-spec - initialize - - prefer - - - - ${spec-temp-dir}/dig-media-spec/source/${dig-media-spec-spec-file} - ${spec-temp-dir}/dig-media-spec/${dig-media-spec-spec-file} - - ${preferred-temp-dir}/dig-media-spec/${dig-media-spec-spec-file} - - - - spec-conditionals-preprocess-dig-media-spec - initialize - - preprocess - - - ${preferred-temp-dir}/dig-media-spec/${dig-media-spec-spec-file} - ${preprocessed-temp-dir}/dig-media-spec/${dig-media-spec-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-onesubscription-gateway-spec-usagecomputation21 - initialize - - prefer - - - - ${spec-temp-dir}/onesubscription-gateway-spec-usagecomputation21/source/${onesubscription-gateway-spec-usagecomputation21-spec-file} - ${spec-temp-dir}/onesubscription-gateway-spec-usagecomputation21/${onesubscription-gateway-spec-usagecomputation21-spec-file} - - ${preferred-temp-dir}/onesubscription-gateway-spec-usagecomputation21/${onesubscription-gateway-spec-usagecomputation21-spec-file} - - - - spec-conditionals-preprocess-onesubscription-gateway-spec-usagecomputation21 - initialize - - preprocess - - - ${preferred-temp-dir}/onesubscription-gateway-spec-usagecomputation21/${onesubscription-gateway-spec-usagecomputation21-spec-file} - ${preprocessed-temp-dir}/onesubscription-gateway-spec-usagecomputation21/${onesubscription-gateway-spec-usagecomputation21-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-onesubscription-gateway-spec-subscription21 - initialize - - prefer - - - - ${spec-temp-dir}/onesubscription-gateway-spec-subscription21/source/${onesubscription-gateway-spec-subscription21-spec-file} - ${spec-temp-dir}/onesubscription-gateway-spec-subscription21/${onesubscription-gateway-spec-subscription21-spec-file} - - ${preferred-temp-dir}/onesubscription-gateway-spec-subscription21/${onesubscription-gateway-spec-subscription21-spec-file} - - - - spec-conditionals-preprocess-onesubscription-gateway-spec-subscription21 - initialize - - preprocess - - - ${preferred-temp-dir}/onesubscription-gateway-spec-subscription21/${onesubscription-gateway-spec-subscription21-spec-file} - ${preprocessed-temp-dir}/onesubscription-gateway-spec-subscription21/${onesubscription-gateway-spec-subscription21-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-onesubscription-gateway-spec-organizationsubscription - initialize - - prefer - - - - ${spec-temp-dir}/onesubscription-gateway-spec-organizationsubscription/source/${onesubscription-gateway-spec-organizationsubscription-spec-file} - ${spec-temp-dir}/onesubscription-gateway-spec-organizationsubscription/${onesubscription-gateway-spec-organizationsubscription-spec-file} - - ${preferred-temp-dir}/onesubscription-gateway-spec-organizationsubscription/${onesubscription-gateway-spec-organizationsubscription-spec-file} - - - - spec-conditionals-preprocess-onesubscription-gateway-spec-organizationsubscription - initialize - - preprocess - - - ${preferred-temp-dir}/onesubscription-gateway-spec-organizationsubscription/${onesubscription-gateway-spec-organizationsubscription-spec-file} - ${preprocessed-temp-dir}/onesubscription-gateway-spec-organizationsubscription/${onesubscription-gateway-spec-organizationsubscription-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - spec-conditionals-prefer-onesubscription-gateway-spec-billingschedule - initialize - - prefer - - - - ${spec-temp-dir}/onesubscription-gateway-spec-billingschedule/source/${onesubscription-gateway-spec-billingschedule-spec-file} - ${spec-temp-dir}/onesubscription-gateway-spec-billingschedule/${onesubscription-gateway-spec-billingschedule-spec-file} - - ${preferred-temp-dir}/onesubscription-gateway-spec-billingschedule/${onesubscription-gateway-spec-billingschedule-spec-file} - - - - spec-conditionals-preprocess-onesubscription-gateway-spec-billingschedule - initialize - - preprocess - - - ${preferred-temp-dir}/onesubscription-gateway-spec-billingschedule/${onesubscription-gateway-spec-billingschedule-spec-file} - ${preprocessed-temp-dir}/onesubscription-gateway-spec-billingschedule/${onesubscription-gateway-spec-billingschedule-spec-file} - ${enabled-groups-file} - ${enabled-groups-dir} - - - - - - com.oracle.bmc.sdk - bmc-sdk-swagger-maven-plugin - 1.174-SNAPSHOT - - true - - - - go-public-sdk-identity-control-plane-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/identity-control-plane-api-spec/${identity-control-plane-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ${generationType} - identity - - identity - ${fullyQualifiedProjectName} - identity - true - - ${project.basedir}/featureId.yaml - ${project.basedir}/codegenConfig/featureIds - PT4M - - - - go-public-sdk-coreservices-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/coreservices-api-spec/${coreservices-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - core - ${generationType} - - core - ${fullyQualifiedProjectName} - iaas - true - true - true - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-casper-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/casper-api-spec/${casper-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - objectstorage - ${generationType} - - objectstorage - ${fullyQualifiedProjectName} - objectstorage - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-oralb-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oralb-api-spec/${oralb-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - loadbalancer - ${generationType} - - loadbalancer - ${fullyQualifiedProjectName} - iaas - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-dbaas-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dbaas-api-spec/${dbaas-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - database - ${generationType} - - database - ${fullyQualifiedProjectName} - database - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-fss-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/fss-api-spec/${fss-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - filestorage - ${generationType} - - filestorage - ${fullyQualifiedProjectName} - filestorage - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-hemlock-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/hemlock-spec/${hemlock-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - audit - ${generationType} - - audit - ${fullyQualifiedProjectName} - audit - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-email-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/email-api-spec/${email-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - email - ${generationType} - - email - ${fullyQualifiedProjectName} - email - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-public-dns-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/public-dns-api-spec/${public-dns-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - dns - ${generationType} - - dns - ${fullyQualifiedProjectName} - dns - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-maestro-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/maestro-spec/${maestro-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - resourcemanager - ${generationType} - - resourcemanager - ${fullyQualifiedProjectName} - resourcemanager - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-kms-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/kms-api-spec/${kms-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - keymanagement - ${generationType} - - keymanagement - ${fullyQualifiedProjectName} - kms - false - false - true - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-resource-query-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/resource-query-service-spec/${resource-query-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - resourcesearch - ${generationType} - - resourcesearch - ${fullyQualifiedProjectName} - query - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-clusters-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/clusters-api-spec/${clusters-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - OCI - ${generationType} - ${project.basedir}/renaming_configs/container_engine.yaml - - containerengine - ${fullyQualifiedProjectName} - containerengine - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-telemetry-public-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/telemetry-public-api-spec/${telemetry-public-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - monitoring - ${generationType} - - monitoring - ${fullyQualifiedProjectName} - telemetry - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-workrequests-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/workrequests-api-spec/${workrequests-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - workrequests - ${generationType} - - workrequests - ${fullyQualifiedProjectName} - iaas - true - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-ons-gateway-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ons-gateway-spec/${ons-gateway-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ons - ${generationType} - - ons - ${fullyQualifiedProjectName} - notification - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-healthchecks-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/healthchecks-api-spec/${healthchecks-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - healthchecks - ${generationType} - - healthchecks - ${fullyQualifiedProjectName} - healthchecks - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-rest-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/rest-api-spec/${rest-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - streaming - ${generationType} - - streaming - ${fullyQualifiedProjectName} - streams - false - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oracache-public-api - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oracache-public-api/${oracache-public-api-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - cache - ${generationType} - - cache - ${fullyQualifiedProjectName} - caching - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-marketplace-consumer-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/marketplace-consumer-service-spec/${marketplace-consumer-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - marketplace - ${generationType} - - marketplace - ${fullyQualifiedProjectName} - marketplace - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-autoscaling-public-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/autoscaling-public-api-spec/${autoscaling-public-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - autoscaling - ${generationType} - - autoscaling - ${fullyQualifiedProjectName} - autoscaling - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-usage-proxy-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/usage-proxy-spec/${usage-proxy-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - usage - ${generationType} - - usage - ${fullyQualifiedProjectName} - identity - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-announcements-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/announcements-service-spec/${announcements-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - announcementsservice - ${generationType} - - announcementsservice - ${fullyQualifiedProjectName} - announcements - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oci-waas-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oci-waas-api-spec/${oci-waas-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - waas - ${generationType} - - waas - ${fullyQualifiedProjectName} - waas - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-batchservice-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/batchservice-api-spec/${batchservice-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - batch - ${generationType} - - batch - ${fullyQualifiedProjectName} - batch - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-fn-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/fn-api-spec/${fn-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - functions - ${generationType} - - functions - ${fullyQualifiedProjectName} - functions - false - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-budgets-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/budgets-control-plane-spec/${budgets-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - budget - ${generationType} - - budget - ${fullyQualifiedProjectName} - None - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-quotas-control-plane-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/quotas-control-plane-api-spec/${quotas-control-plane-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - limits - ${generationType} - - limits - ${fullyQualifiedProjectName} - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-digital-assistant-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/digital-assistant-spec/${digital-assistant-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - oda - ${generationType} - - oda - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-csg-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/csg-api-spec/${csg-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - storagegateway - ${generationType} - - storagegateway - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dts-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dts-api-spec/${dts-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - dts - ${generationType} - - dts - ${fullyQualifiedProjectName} - true - true - true - true - true - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-public-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/public-api-spec/${public-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - apigateway - ${generationType} - - apigateway - ${fullyQualifiedProjectName} - true - true - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-events-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/events-control-plane-spec/${events-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - events - ${generationType} - - events - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-cloud-incident-management-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/cloud-incident-management-service-spec/${cloud-incident-management-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - cims - ${generationType} - - cims - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ndcs-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ndcs-control-plane-spec/${ndcs-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - nosql - ${generationType} - - nosql - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-datacatalog-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/datacatalog-api-spec/${datacatalog-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - datacatalog - ${generationType} - - datacatalog - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-cec-public-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/cec-public-spec/${cec-public-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - oce - ${generationType} - - oce - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-odsc-pegasus-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/odsc-pegasus-control-plane-spec/${odsc-pegasus-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - datascience - ${generationType} - - datascience - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-bds-cp-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/bds-cp-spec/${bds-cp-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - bds - ${generationType} - - bds - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-analytics-control-plane-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/analytics-control-plane-api-spec/${analytics-control-plane-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - analytics - ${generationType} - - analytics - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oracle-integration-cp-apiserver-user-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oracle-integration-cp-apiserver-user-spec/${oracle-integration-cp-apiserver-user-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - integration - ${generationType} - - integration - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-kam-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/kam-api-spec/${kam-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - kam - ${generationType} - - kam - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-osms-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/osms-spec/${osms-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - osmanagement - ${generationType} - - osmanagement - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ams-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ams-spec/${ams-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - applicationmigration - ${generationType} - - applicationmigration - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-service_api_spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/service_api_spec/${service_api_spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - dataflow - ${generationType} - - dataflow - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-mysqlaas-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/mysqlaas-api-spec/${mysqlaas-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - mysql - ${generationType} - - mysql - ${fullyQualifiedProjectName} - true - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oci-sms-dp-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oci-sms-dp-api-spec/${oci-sms-dp-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - secrets - ${generationType} - - secrets - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oci-sms-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oci-sms-api-spec/${oci-sms-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - vault - ${generationType} - - vault - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oracle-blockchain-platform-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oracle-blockchain-platform-spec/${oracle-blockchain-platform-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - blockchain - ${generationType} - - blockchain - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ads-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ads-control-plane-spec/${ads-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - datasafe - ${generationType} - - datasafe - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-compliance-document-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/compliance-document-service-spec/${compliance-document-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - compdocsapi - ${generationType} - - compdocsapi - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dis-sdk-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dis-sdk-spec/${dis-sdk-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - dataintegration - ${generationType} - - dataintegration - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-hydra-controlplane-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/hydra-controlplane-api-spec/${hydra-controlplane-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - logging - ${generationType} - - logging - ${fullyQualifiedProjectName} - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-vmware-provision-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/vmware-provision-service-spec/${vmware-provision-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ocvp - ${generationType} - - ocvp - ${fullyQualifiedProjectName} - true - true - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-usage-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/usage-api-spec/${usage-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - usageapi - ${generationType} - - usageapi - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-cloudguard-cp-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/cloudguard-cp-api-spec/${cloudguard-cp-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - cloudguard - ${generationType} - - cloudguard - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-opsi-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/opsi-api-spec/${opsi-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - operationsinsights - ${generationType} - - operationsinsights - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-management-dashboard-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/management-dashboard-spec/${management-dashboard-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - managementdashboard - ${generationType} - - managementdashboard - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-connectors-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/connectors-spec/${connectors-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - sch - ${generationType} - - sch - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-optimizer-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/optimizer-spec/${optimizer-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - optimizer - ${generationType} - - optimizer - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-mgmtagent-cloud-services-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/mgmtagent-cloud-services-spec/${mgmtagent-cloud-services-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - managementagent - ${generationType} - - managementagent - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-instance-agent-service-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/instance-agent-service-api-spec/${instance-agent-service-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - computeinstanceagent - ${generationType} - - computeinstanceagent - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-hydra-pika-frontend-public-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/hydra-pika-frontend-public-api-spec/${hydra-pika-frontend-public-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - loggingingestion - ${generationType} - - loggingingestion - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oci-bastions-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oci-bastions-spec/${oci-bastions-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - bastion - ${generationType} - - bastion - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ibex-frontend-public-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ibex-frontend-public-spec/${ibex-frontend-public-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - loggingsearch - ${generationType} - - loggingsearch - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-rover-cloud-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/rover-cloud-service-spec/${rover-cloud-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - rover - ${generationType} - - rover - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-logan-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/logan-api-spec/${logan-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - loganalytics - ${generationType} - - loganalytics - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - true - - - - go-public-sdk-customer-controlled-access-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/customer-controlled-access-spec/${customer-controlled-access-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - operatoraccesscontrol - ${generationType} - - operatoraccesscontrol - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ggs-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ggs-control-plane-spec/${ggs-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - goldengate - ${generationType} - - goldengate - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-tenant-manager-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/tenant-manager-spec/${tenant-manager-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - tenantmanagercontrolplane - ${generationType} - - tenantmanagercontrolplane - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dbmgmt-dbadmin-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dbmgmt-dbadmin-spec/${dbmgmt-dbadmin-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - databasemanagement - ${generationType} - - databasemanagement - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-aj-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/aj-control-plane-spec/${aj-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - jms - ${generationType} - - jms - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-apm-synapi-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/apm-synapi-spec/${apm-synapi-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - apmsynthetics - ${generationType} - - apmsynthetics - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-artifacts-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/artifacts-api-spec/${artifacts-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - artifacts - ${generationType} - - artifacts - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-vss-cp-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/vss-cp-spec/${vss-cp-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - vulnerabilityscanning - ${generationType} - - vulnerabilityscanning - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-network-load-balancer-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/network-load-balancer-spec/${network-load-balancer-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - networkloadbalancer - ${generationType} - - networkloadbalancer - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-cloudbridge-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/cloudbridge-spec/${cloudbridge-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - cloudbridge - ${generationType} - - cloudbridge - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-apm-dataserver-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/apm-dataserver-spec/${apm-dataserver-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - apmtraces - ${generationType} - - apmtraces - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-escs-sm-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/escs-sm-spec/${escs-sm-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - exascale - ${generationType} - - exascale - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-apm-controller-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/apm-controller-spec/${apm-controller-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - apmcontrolplane - ${generationType} - - apmcontrolplane - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-generic-artifacts-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/generic-artifacts-api-spec/${generic-artifacts-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - genericartifactscontent - ${generationType} - - genericartifactscontent - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-msz-cp-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/msz-cp-spec/${msz-cp-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - securityzones - ${generationType} - - securityzones - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dbrs-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dbrs-control-plane-spec/${dbrs-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - databaserecoverysystem - ${generationType} - - databaserecoverysystem - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-devops-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/devops-service-spec/${devops-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - devops - ${generationType} - - devops - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-zdmcs-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/zdmcs-spec/${zdmcs-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - databasemigration - ${generationType} - - databasemigration - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-service-catalog-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/service-catalog-spec/${service-catalog-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - servicecatalog - ${generationType} - - servicecatalog - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dashboard-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dashboard-service-spec/${dashboard-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - dashboardservice - ${generationType} - - dashboardservice - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ai-service-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ai-service-control-plane-spec/${ai-service-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ailanguage - ${generationType} - - ailanguage - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oci-certs-dp-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oci-certs-dp-api-spec/${oci-certs-dp-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - certificates - ${generationType} - - certificates - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-oci-certs-cp-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/oci-certs-cp-api-spec/${oci-certs-cp-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - certificatesmanagement - ${generationType} - - certificatesmanagement - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-vbs-controlplane-instance-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/vbs-controlplane-instance-spec/${vbs-controlplane-instance-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - vbsinst - ${generationType} - - vbsinst - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-queue-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/queue-spec/${queue-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - queue - ${generationType} - - queue - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-sparkline-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/sparkline-service-spec/${sparkline-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - dataflowinteractive - ${generationType} - - dataflowinteractive - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-apm-config-api - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/apm-config-api/${apm-config-api-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - apmconfig - ${generationType} - - apmconfig - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-waf-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/waf-control-plane-spec/${waf-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - waf - ${generationType} - - waf - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dbtools-service-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dbtools-service-api-spec/${dbtools-service-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - databasetools - ${generationType} - - databasetools - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ad-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ad-control-plane-spec/${ad-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - aianomalydetection - ${generationType} - - aianomalydetection - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ocm-discovery-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ocm-discovery-spec/${ocm-discovery-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ocmdis - ${generationType} - - ocmdis - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-identity-data-plane-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/identity-data-plane-api-spec/${identity-data-plane-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - iddataplane - ${generationType} - - iddataplane - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dls-data-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dls-data-plane-spec/${dls-data-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - datalabelingservicedataplane - ${generationType} - - datalabelingservicedataplane - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-data-labeling-service-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/data-labeling-service-spec/${data-labeling-service-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - datalabelingservice - ${generationType} - - datalabelingservice - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-sdk-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/sdk-spec/${sdk-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - dataconnectivity - ${generationType} - - dataconnectivity - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ocm-migration-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ocm-migration-spec/${ocm-migration-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ocmmigrationapi - ${generationType} - - ocmmigrationapi - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-inframon-query-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/inframon-query-spec/${inframon-query-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - appmgmt - ${generationType} - - appmgmt - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-identity-data-plane-api-spec-preview - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/identity-data-plane-api-spec-preview/${identity-data-plane-api-spec-preview-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - identitydataplane - ${generationType} - - identitydataplane - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-vb-cp-apiserver-user-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/vb-cp-apiserver-user-spec/${vb-cp-apiserver-user-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - visualbuilder - ${generationType} - - visualbuilder - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-service-manager-proxy-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/service-manager-proxy-spec/${service-manager-proxy-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - servicemanagerproxy - ${generationType} - - servicemanagerproxy - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-speech-service-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/speech-service-control-plane-spec/${speech-service-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - aispeech - ${generationType} - - aispeech - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-ocm-inventory-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/ocm-inventory-spec/${ocm-inventory-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ocminv - ${generationType} - - ocminv - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-inframon-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/inframon-control-plane-spec/${inframon-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - appmgmtcontrol - ${generationType} - - appmgmtcontrol - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-mesh-public-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/mesh-public-api-spec/${mesh-public-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - servicemesh - ${generationType} - - servicemesh - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-fa-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/fa-control-plane-spec/${fa-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - faaas - ${generationType} - - faaas - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-osp-gateway-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/osp-gateway-api-spec/${osp-gateway-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ospgateway - ${generationType} - - ospgateway - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-threat-intel-control-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/threat-intel-control-plane-spec/${threat-intel-control-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - threatintelligence - ${generationType} - - threatintelligence - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-stack-monitoring-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/stack-monitoring-spec/${stack-monitoring-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - stackmonitoring - ${generationType} - - stackmonitoring - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-announcements-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/announcements-spec/${announcements-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - announcementservice - ${generationType} - - announcementservice - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-vision-service-api-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/vision-service-api-spec/${vision-service-api-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - aivision - ${generationType} - - aivision - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-network-firewall-public-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/network-firewall-public-spec/${network-firewall-public-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - networkfirewall - ${generationType} - - networkfirewall - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-management-plane-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/management-plane-spec/${management-plane-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - ociforopensearch - ${generationType} - - ociforopensearch - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-dig-media-spec - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/dig-media-spec/${dig-media-spec-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - mediaservices - ${generationType} - - mediaservices - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-onesubscription-gateway-spec-usagecomputation21 - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/onesubscription-gateway-spec-usagecomputation21/${onesubscription-gateway-spec-usagecomputation21-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - osubusage - ${generationType} - - osubusage - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-onesubscription-gateway-spec-subscription21 - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/onesubscription-gateway-spec-subscription21/${onesubscription-gateway-spec-subscription21-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - osubsubscription - ${generationType} - - osubsubscription - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-onesubscription-gateway-spec-organizationsubscription - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/onesubscription-gateway-spec-organizationsubscription/${onesubscription-gateway-spec-organizationsubscription-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - osuborganizationsubscription - ${generationType} - - osuborganizationsubscription - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - go-public-sdk-onesubscription-gateway-spec-billingschedule - compile - - generate - - - oracle-go-sdk - ${preprocessed-temp-dir}/onesubscription-gateway-spec-billingschedule/${onesubscription-gateway-spec-billingschedule-spec-file} - ${env.GOPATH}/src/${fullyQualifiedProjectName} - osubbillingschedule - ${generationType} - - osubbillingschedule - ${fullyQualifiedProjectName} - - ${feature-id-file} - ${feature-id-dir} - - - - - - maven-clean-plugin - 3.0.0 - - - - .yardoc - - **/* - - - - doc - - **/* - - - - variants - - **/* - - - - lib/oci/core - - **/* - - - - lib/oci/identity - - **/* - - - - lib/oci/loadbalancer - - **/* - - - - lib/oci/database - - **/* - - - - lib/oci/objectstorage - - util.rb - transfer - transfer/* - transfer/multipart/* - transfer/multipart/internal/* - - - **/* - - - - lib/oci/audit - - **/* - - - - .yardoc - - **/* - - - - doc - - **/* - - - - variants - - **/* - - - - lib/oci/dns - - **/* - - - - lib/oci/filestorage - - **/* - - - - lib/oci/email - - **/* - - - - lib/oci/kms - - **/* - - - - lib/oci/resourcesearch - - **/* - - - - lib/oci/containerengine - - **/* - - - - lib/oci/resourcemanager - - **/* - - - - lib/oci/telemetry - - **/* - - - - lib/oci/workrequests - - **/* - - - - lib/oci/ons - - **/* - - - - lib/oci/healthchecks - - **/* - - - - lib/oci/streaming - - **/* - - - - lib/oci/cache - - **/* - - - - lib/oci/marketplace - - **/* - - - - lib/oci/autoscaling - - **/* - - - - lib/oci/usage - - **/* - - - - lib/oci/announcementsservice - - **/* - - - - lib/oci/waas - - **/* - - - - lib/oci/batch - - **/* - - - - lib/oci/functions - - **/* - - - - lib/oci/budget - - **/* - - - - lib/oci/limits - - **/* - - - - lib/oci/oda - - **/* - - - - lib/oci/storagegateway - - **/* - - - - lib/oci/dts - - **/* - - - - lib/oci/apigateway - - **/* - - - - lib/oci/events - - **/* - - - - lib/oci/cims - - **/* - - - - lib/oci/nosql - - **/* - - - - lib/oci/datacatalog - - **/* - - - - lib/oci/oce - - **/* - - - - lib/oci/datascience - - **/* - - - - lib/oci/bds - - **/* - - - - lib/oci/analytics - - **/* - - - - lib/oci/integration - - **/* - - - - lib/oci/kam - - **/* - - - - lib/oci/osmanagement - - **/* - - - - lib/oci/applicationmigration - - **/* - - - - lib/oci/dataflow - - **/* - - - - lib/oci/mysql - - **/* - - - - lib/oci/secrets - - **/* - - - - lib/oci/vault - - **/* - - - - lib/oci/blockchain - - **/* - - - - lib/oci/datasafe - - **/* - - - - lib/oci/compdocsapi - - **/* - - - - lib/oci/dataintegration - - **/* - - - - lib/oci/logging - - **/* - - - - lib/oci/ocvp - - **/* - - - - lib/oci/usageapi - - **/* - - - - lib/oci/cloudguard - - **/* - - - - lib/oci/operationsinsights - - **/* - - - - lib/oci/managementdashboard - - **/* - - - - lib/oci/sch - - **/* - - - - lib/oci/optimizer - - **/* - - - - lib/oci/managementagent - - **/* - - - - lib/oci/computeinstanceagent - - **/* - - - - lib/oci/loggingingestion - - **/* - - - - lib/oci/bastion - - **/* - - - - lib/oci/loggingsearch - - **/* - - - - lib/oci/rover - - **/* - - - - lib/oci/loganalytics - - **/* - - - - lib/oci/operatoraccesscontrol - - **/* - - - - lib/oci/goldengate - - **/* - - - - lib/oci/tenantmanagercontrolplane - - **/* - - - - lib/oci/databasemanagement - - **/* - - - - lib/oci/jms - - **/* - - - - lib/oci/apmsynthetics - - **/* - - - - lib/oci/artifacts - - **/* - - - - lib/oci/vulnerabilityscanning - - **/* - - - - lib/oci/networkloadbalancer - - **/* - - - - lib/oci/cloudbridge - - **/* - - - - lib/oci/apmtraces - - **/* - - - - lib/oci/exascale - - **/* - - - - lib/oci/apmcontrolplane - - **/* - - - - lib/oci/genericartifactscontent - - **/* - - - - lib/oci/securityzones - - **/* - - - - lib/oci/databaserecoverysystem - - **/* - - - - lib/oci/devops - - **/* - - - - lib/oci/databasemigration - - **/* - - - - lib/oci/servicecatalog - - **/* - - - - lib/oci/dashboardservice - - **/* - - - - lib/oci/ailanguage - - **/* - - - - lib/oci/certificates - - **/* - - - - lib/oci/certificatesmanagement - - **/* - - - - lib/oci/vbsinst - - **/* - - - - lib/oci/queue - - **/* - - - - lib/oci/dataflowinteractive - - **/* - - - - lib/oci/apmconfig - - **/* - - - - lib/oci/waf - - **/* - - - - lib/oci/databasetools - - **/* - - - - lib/oci/aianomalydetection - - **/* - - - - lib/oci/ocmdis - - **/* - - - - lib/oci/iddataplane - - **/* - - - - lib/oci/datalabelingservicedataplane - - **/* - - - - lib/oci/datalabelingservice - - **/* - - - - lib/oci/dataconnectivity - - **/* - - - - lib/oci/ocmmigrationapi - - **/* - - - - lib/oci/appmgmt - - **/* - - - - lib/oci/identitydataplane - - **/* - - - - lib/oci/visualbuilder - - **/* - - - - lib/oci/servicemanagerproxy - - **/* - - - - lib/oci/aispeech - - **/* - - - - lib/oci/ocminv - - **/* - - - - lib/oci/appmgmtcontrol - - **/* - - - - lib/oci/servicemesh - - **/* - - - - lib/oci/faaas - - **/* - - - - lib/oci/ospgateway - - **/* - - - - lib/oci/threatintelligence - - **/* - - - - lib/oci/stackmonitoring - - **/* - - - - lib/oci/announcementservice - - **/* - - - - lib/oci/aivision - - **/* - - - - lib/oci/networkfirewall - - **/* - - - - lib/oci/ociforopensearch - - **/* - - - - lib/oci/mediaservices - - **/* - - - - lib/oci/osubusage - - **/* - - - - lib/oci/osubsubscription - - **/* - - - - lib/oci/osuborganizationsubscription - - **/* - - - - lib/oci/osubbillingschedule - - **/* - - - - - - - com.mycila - license-maven-plugin - 3.0 - false - - - ${project.basedir}/license_header_definition.xml - -
${project.basedir}/licenseheader.txt
- - DOUBLESLASH_STYLE - - - common/*.go - common/auth/*.go - example/*.go - example/*/*.go - - - common/version.go - - - ${current.year} - -
- - - oci-go-sdk - package - - format - - - -
-
-
- - - - com.oracle.pic.commons - coreservices-api-spec - 1.0.449 - - - com.oracle.pic.identity - identity-control-plane-api-spec - 0.4.249 - - - com.oracle.pic.casper - casper-api-spec - 1.1.410 - - - com.oracle.pic.lb - oralb-api-spec - 296 - - - com.oracle.pic.dbaas - dbaas-api-spec - 0.1.854 - - - com.oracle.pic.ffsw - fss-api-spec - 0.0.84 - - - com.oracle.pic.sherlock - hemlock-spec - 1.0.4 - - - com.oracle.pic.email - email-api-spec - 1.1.12 - - - com.oracle.pic.dns.pub - public-dns-api-spec - 2.0.100 - - - com.oracle.pic.orchestration.orm - maestro-spec - 0.1.36 - - - com.oracle.pic.kms - kms-api-spec - 0.3.100 - - - com.oracle.pic.query - resource-query-service-spec - 0.0.97 - - - com.oracle.pic.clusters - clusters-api-spec - 1.2.33 - - - com.oracle.pic.telemetry.api - telemetry-public-api-spec - 2.0.1 - - - com.oracle.pic.commons.workrequests - workrequests-api-spec - 0.0.20 - - - com.oracle.pic.ons - ons-gateway-spec - 2.1.839 - - - com.oracle.oci - healthchecks-api-spec - 1.2.0-20190917.134531-2 - - - com.oracle.pic.oss - rest-api-spec - 0.4.1 - - - com.oracle.oracache - oracache-public-api - 1.0.0-26 - - - com.oracle.oci.marketplace - marketplace-consumer-service-spec - 0.1.4408 - - - com.oracle.pic.autoscaling.api - autoscaling-public-api-spec - 0.0.77 - - - com.oracle.pic.usage - usage-proxy-spec - 0.0.14 - - - com.oracle.pic.announcements - announcements-service-spec - 1.0.33 - - - com.oracle.oci.waas - oci-waas-api-spec - 1.2.11274 - - - com.oracle.pic.obcs - batchservice-api-spec - 0.1.14 - - - com.oracle.pic.functions - fn-api-spec - 1.4.20 - - - com.oracle.oci.usage.budgets - budgets-control-plane-spec - 2.4.9 - - - com.oracle.oci.quotas - quotas-control-plane-api-spec - 0.0.16 - - - com.oracle.pic.oda.cp - digital-assistant-spec - 0.0.8 - - - com.oracle.oci.csg - csg-api-spec - 1.0.21 - - - com.oracle.pic.rhino - dts-api-spec - 1.0.017 - - - com.oracle.pic.apigw - public-api-spec - 1.11.81 - - - com.oracle.pic.events - events-control-plane-spec - 0.1.29 - - - com.oracle.custops.cims - cloud-incident-management-service-spec - 2.0.241 - - - oracle.nosql.oci.controlplane - ndcs-control-plane-spec - 1.0.6 - - - com.oracle.pic.dcat - datacatalog-api-spec - 1.9.0-2111230547 - - - com.oracle.cec.provisioning.controlplane - cec-public-spec - 21.121.3 - - - com.oracle.pic.odsc.pegasus - odsc-pegasus-control-plane-spec - 0.1.1103 - - - com.oracle.bds - bds-cp-spec - 1.0.62 - - - com.oracle.pic.analytics - analytics-control-plane-api-spec - 1.4.0 - - - com.oracle.oracleintegration.spec - oracle-integration-cp-apiserver-user-spec - 1.0.28 - - - com.oracle.pic.kam - kam-api-spec - 0.0.1-20191023.164232-5 - - - com.oracle.osms.api - osms-spec - 0.3.0-128 - - - com.oracle.pic.migration.application - ams-spec - 0.1.56 - - - oracle.dfcs.server - service_api_spec - 1.0.254-RELEASEPREVIEW - - - com.oracle.oci.mysql - mysqlaas-api-spec - 14.29.0 - - - com.oracle.pic.ocisms.dataplane - oci-sms-dp-api-spec - 0.0.16 - - - com.oracle.pic.ocisms.controlplane - oci-sms-api-spec - 0.0.16 - - - com.oracle.blockchain - oracle-blockchain-platform-spec - 21.4.1 - - - com.oracle.ads.admin.cp - ads-control-plane-spec - 220120.00 - - - com.oracle.pic.compdocs - compliance-document-service-spec - 0.1.173 - - - com.oracle.dis - dis-sdk-spec - 1.2.0-5044 - - - com.oracle.hydra.controlplane - hydra-controlplane-api-spec - 0.0.1520 - - - com.oracle.pic.vmware.ocvp - vmware-provision-service-spec - 0.1.1631 - - - com.oracle.pic.metering.usagestore.api - usage-api-spec - 1.9 - - - com.oracle.oci.cloudguard - cloudguard-cp-api-spec - 2.1.571 - - - com.oracle.oci.opsi.api - opsi-api-spec - 5.1.21 - - - com.oracle.pic.dashx - management-dashboard-spec - 1.0.417 - - - com.oracle.pic.connectors - connectors-spec - 0.2.56 - - - com.oracle.oci.optimizer - optimizer-spec - 0.1.514 - - - com.oracle.macs - mgmtagent-cloud-services-spec - 1.2.216 - - - com.oracle.pic.compute.ias - instance-agent-service-api-spec - 0.0.39 - - - com.oracle.hydra.pika.frontend - hydra-pika-frontend-public-api-spec - 0.0.1603 - - - com.oracle.pic.ocibstn.controlplane.resources - oci-bastions-spec - 0.1.1010 - - - com.oracle.oci.hydra.ibex - ibex-frontend-public-spec - 1.0.2177 - - - com.oracle.pic.rover - rover-cloud-service-spec - 3.0.13781 - - - com.oracle.loganalytics.api - logan-api-spec - 0.1.314 - - - com.oracle.db.cca - customer-controlled-access-spec - 1.1.184 - - - com.oracle.ggs - ggs-control-plane-spec - 1.1.21-PREVIEW - - - com.oracle.accmgmt.tenantmgr.controlplane - tenant-manager-spec - 0.1.899 - - - com.oracle.oci.dpd.dbmgmt.api - dbmgmt-dbadmin-spec - 20201101.107 - - - com.oracle.aj - aj-control-plane-spec - 3.0.241 - - - com.oracle.apm.service.synapi - apm-synapi-spec - 0.1.1529 - - - com.oracle.pic.artifacts - artifacts-api-spec - 0.2.10 - - - com.oracle.pic.vss - vss-cp-spec - 0.1.380 - - - com.oracle.pic.nlb - network-load-balancer-spec - 0.1.1096 - - - com.oracle.pic.cloudbridge - cloudbridge-spec - 0.1.157 - - - com.oracle.apm.service.dataserver.spec - apm-dataserver-spec - 20200630.4.117 - - - com.oracle.pic.exascale - escs-sm-spec - 2102.1.1 - - - com.oracle.apm.controller.spec - apm-controller-spec - 20200630.4.14 - - - com.oracle.pic.artifacts.generic - generic-artifacts-api-spec - 0.1.6 - - - com.oracle.pic.msz - msz-cp-spec - 0.2.197 - - - com.oracle.pic.dbrs - dbrs-control-plane-spec - 0.1.49 - - - com.oracle.pic.dlc - devops-service-spec - 0.2.17 - - - com.oracle.zdmcs - zdmcs-spec - 0.1.86 - - - com.oracle.oci.servicecatalog - service-catalog-spec - 0.1.4171 - - - com.oracle.pic.dashboard - dashboard-service-spec - 0.1.148 - - - com.oracle.pic.ocas - ai-service-control-plane-spec - 1.0.16 - - - com.oracle.pic.ocicerts.dataplane - oci-certs-dp-api-spec - 0.1.22 - - - com.oracle.pic.ocicerts.controlplane - oci-certs-cp-api-spec - 0.1.46 - - - com.oracle.vbs.instance - vbs-controlplane-instance-spec - 0.1.56 - - - com.oracle.pic.queue.cp - queue-spec - 0.0.40 - - - oracle.sparkline.dlap - sparkline-service-spec - 0.1.724 - - - com.oracle.apm.service.config - apm-config-api - 0.1.263 - - - com.oracle.oci.waf.controlplane - waf-control-plane-spec - 1.0.2-RELEASEPREVIEW - - - com.oracle.pic.dbtools - dbtools-service-api-spec - 0.2.434 - - - com.oracle.pic.ocas - ad-control-plane-spec - 1.0.14-preview - - - com.oracle.pic.ocm.discovery - ocm-discovery-spec - 0.1.23 - - - com.oracle.pic.identity - identity-data-plane-api-spec - 0.1.1 - - - com.oracle.dls.dp - dls-data-plane-spec - 1.0.113 - - - com.oracle.dls.cp.dataset - data-labeling-service-spec - 1.0.113 - - - com.oracle.dcms-dp - sdk-spec - 2.1.0-293 - - - com.oracle.pic.ocm.migration - ocm-migration-spec - 0.1.404 - - - com.oracle.pic.inframon.query - inframon-query-spec - 0.2.12 - - - com.oracle.pic.identity - identity-data-plane-api-spec-preview - 0.2.69 - - - com.oracle.vb.cp.spec - vb-cp-apiserver-user-spec - 1.0.4 - - - com.oracle.pic.smproxy - service-manager-proxy-spec - 0.1.514 - - - com.oracle.pic.ocas.speech - speech-service-control-plane-spec - 1.0.19 - - - com.oracle.pic.inventory - ocm-inventory-spec - 0.1.223 - - - com.oracle.pic.inframon.cp - inframon-control-plane-spec - 0.1.95 - - - com.oracle.pic.mesh - mesh-public-api-spec - 1.0.7 - - - com.oracle.facontrolplane - fa-control-plane-spec - 0.3.3297 - - - com.oracle.store - osp-gateway-api-spec - 0.2.9 - - - com.oracle.oci.threatintelcp - threat-intel-control-plane-spec - 0.1.10-PREVIEW - - - com.oracle.pic.stackmonitoring - stack-monitoring-spec - 0.3.20 - - - com.oracle.pic.announcements - announcements-spec - 2.0.123 - - - com.oracle.pic.ocas.vision - vision-service-api-spec - 0.3.85 - - - com.oracle.nfw.public - network-firewall-public-spec - 0.1.13 - - - com.oracle.pic.elasticsearch.mp - management-plane-spec - 0.2.208 - - - com.oracle.oci.dmp - dig-media-spec - 0.4.13 - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-usagecomputation21 - 21.05.01 - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-subscription21 - 21.05.01 - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-organizationsubscription - 21.05.01 - - - oal.oracle.apps.csa.service.api - onesubscription-gateway-spec-billingschedule - 21.05.01 - - - -
\ No newline at end of file diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/preview-sdk.txt b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/preview-sdk.txt deleted file mode 100644 index f4406205a8c3..000000000000 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/preview-sdk.txt +++ /dev/null @@ -1,142 +0,0 @@ -# This configuration file determines which conditional groups are enabled. -# Use --group_file enabled.txt or -f enabled.txt -# -# The hash '#' character starts a comment -# -# Group names can contain the characters A-Z, a-z, 0-9 and the underscore '_' and the hyphen '-'. -# Whitespace before or after the group name is ignored. -# -# GROUP1 # comment -# GROUP2 # comment - -AttachEmulatedVolumeDetails_internal_preview # udx-188 -AttachServiceDeterminedVolumeDetails_internal_preview # udx-188 -BootVolumeBackupIdPathParam_internal_preview -BootVolumeBackup_internal_preview -BootVolumeSource_internal_preview -BootVolume_definedTags_internal_preview -BootVolume_freeformTags_internal_preview -BootVolume_isHydrated_internal_preview -BootVolume_sourceDetails_internal_preview -CaptureConsoleHistoryDetails_additionalProperties_internal_preview -CreateBootVolumeBackupDetails_internal_preview -CreateBootVolumeDetails_internal_preview -CreateInstanceConfigurationDetails_internal_preview # udx-810 -CreateIscsiVolumeAttachmentDetails_internal_preview # udx-552 -CreateServiceGatewayDetails_internal_preview # udx-677 -CreateVolumeAttachmentDetails_internal_preview # udx-552 -CreateVolumeDetails_kmsKeyId_internal_preview # udx-181 -CreateVolumeGroupBackupDetails_internal_preview -CreateVolumeGroupDetails_internal_preview -EgressSecurityRule_destination_internal_preview # udx-677 -EmulatedVolumeAttachment_internal_preview # udx-188 -ImageSourceDetails_operatingSystem_internal_preview # udx-80 -IngressSecurityRule_source_internal_preview # udx-677 -InstanceConfigurationIdPathParam_internal_preview # udx-810 -InstanceConfiguration_internal_preview # udx-810 -Instance_faultDomain_internal_preview # udx-588 -LaunchInstanceDetails_faultDomain_internal_preview # udx-588 -LaunchInstanceDetails_volumeAttachments_internal_preview # udx-552 -RouteRule_destination_internal_preview # udx-677 -ServiceGatewayIdPathParam_internal_preview # udx-677 -ServiceGatewayIdQueryParam_internal_preview # udx-677 -ServiceIdPathParam_internal_preview # udx-677 -UpdateBootVolumeBackupDetails_internal_preview -UpdateBootVolumeDetails_definedTags_internal_preview -UpdateBootVolumeDetails_freeformTags_internal_preview -UpdateImageDetails_operatingSystem_internal_preview # udx-80 -UpdateServiceGatewayDetails_internal_preview # udx-677 -UpdateVolumeGroupBackupDetails_internal_preview -UpdateVolumeGroupDetails_internal_preview -natGateways_internal_preview # udx-788 -CreateNatGatewayDetails_internal_preview # udx-788 -NatGatewayIdPathParam_internal_preview # udx-788 -NatGateway_internal_preview # udx-788 -UpdateNatGatewayDetails_internal_preview # udx-788 -LifecycleStateQueryParam_internal_preview -VolumeGroup_internal_preview -Volume_kmsKeyId_internal_preview # udx-181 -bootVolumeBackups_internal_preview -bootVolumes_post_internal_preview -instanceConfigurations_internal_preview # udx-810 -isLearningEnabled_internal_preview # udx-1043 -isShareable_internal_preview # udx-74 -volumeGroupBackups_internal_preview -volumeGroupId_internal_preview -volumeGroups_internal_preview -AcceptLocalPeeringTokenDetails_preview_only -ConnectLocalPeeringConnectionsDetails_preview_only -CreateLocalPeeringConnectionDetails_preview_only -DisplayNameQueryParam_preview_only -FastConnectProviderService_displayHint_preview_only -LocalPeeringConnectionIdPathParam_preview_only -LocalPeeringConnection_preview_only -LocalPeeringTokenDetails_preview_only -UpdateLocalPeeringConnectionDetails_preview_only -VirtualCircuit_displayHint_preview_only -XCrossTenancyRequestHeader_preview_only -cidrBlock_preview_only -localPeeringConnections_preview_only -serviceGateways_internal_preview # udx-677 -udx-1044 -UDX-1071 -sdk_team_hide_GetInstanceDefaultCredentials -sdk_team_hide_CreateImageDetails_launchOptions -GET_OBJECT_RANGE #udx-847 - -# Requested by @rcohenma -no_cidrBlock_internal_only - -# Address breaking change from 5/11 -udx-753 -# Fixes case issues found in https://jira.aka.lgl.grungy.us/browse/DEX-3416 -udx-958 -# Implements Cross-region Backup Copy -udx-497 -# DEX-3304 - GA31 -udx-190 -# DEX-3523 -udx-788 -udx-677 -udx-1043 -udx-74 -udx-80 -udx-188 -udx-552 -udx-588 -udx-810 -udx-181 -udx-775 -udx-1176 -udx-672 -udx-834 -udx-921 -udx-1128 -udx-1012 -udx-847 -udx-1181 -udx-1017 -UDX-1044 -udx-98 -udx-1014 -UDX-1192 -UDX-1247 -1240 -udx-1135 -UDX-497 -UDX-859 -udx-1215 -udx-574 -UDX-1036-RebootMigration -udx-198 -UDX-1137 -UDX-847 -UDX-181 -UDX-941 -udx-1257 -UDX-181 -UDX-1168 -udx-1281 -UDX-497 -UDX-1329 -UDX-497 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/CHANGELOG.md b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/CHANGELOG.md new file mode 100644 index 000000000000..71f6b537dc66 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/CHANGELOG.md @@ -0,0 +1,2692 @@ +# CHANGELOG + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/) + +## 65.36.1 - 2023-04-25 +### Added +- Support for enabling mTLS authentication with Listener and for providing custom value for TLS port and Non-TLS Port during AVM Cluster Creation in Database service +- Support for usedDataStorageSizeInGbs property for autonomous database in the Database service +- Support for csiNumber organization in Tenant Manager Control Plane service +- Support for creating and updating an infrastructure with LACP support in Database service +- Support for changePrivateEndpointOutboundConnection operation in Integration Cloud service +- Support for Enable Process in Integration Cloud service +- Support for Disaster Recovery, DR enablement, switchover, and failover feature in Fusion Apps service +- Support for discovery and monitoring of External Exadata infrastructure in Database Management Service + +## 65.36.0 - 2023-04-18 +### Added +- Support for private endpoints in the Digital Assistant service +- Support for canceling backups in the Database service +- Support for improved labeling of key/value pairs in the Data Labeling service + +### Breaking Changes +- Support for retries by default on operations of the Digital Assistant service +- The property `LifetimeLogicalClock` was removed from the models `Record`, `Dataset` and `Annotation` in the Data Labeling service +- The property `OpcRetryToken` was removed from the models `ConfigureDigitalAssistantParametersRequest`, `RotateChannelKeysRequest`, `StartChannelRequest`, `StopChannelRequest` in the Data Labeling service +- The property `DigitalAssistantId` was renamed to `Id` in the `ListDigitalAssistantsRequest` model in the Data Labeling service +- The property `IsLatestSkillOnly` was renamed to `IsLatestVersionOnly` in the `ListPackagesRequest` model in the Data Labeling service +- The property `IsLatestSkillOnly` was renamed to `IsLatestVersionOnly` in the `ListPackagesRequest` model in the Data Labeling service +- The property `SkillId` was renamed to `Id` in the `ListSkillsRequest` model in the Data Labeling service +- The properties `AuthorizationEndpointUrl` and `SubjectClaim` were made optional in the `AuthenticationProvider` model in the Data Labeling service + +## 65.35.0 - 2023-04-11 +### Added +- Support for rotation of certificates on autonomous VM clusters on Exadata Cloud at Customer in the Database service +- Support for ACD and OKV wallet naming for autonomous databases and dedicated autonomous databases on Exadata Cloud at Customer in the Database service +- Support for Exadata cloud service application virtual IPs (VIPs) in the Database service +- Support for additional manageability features for large sensitive data models and masking policies in the Data Safe service +- Support for getting user profile details and assignments for databases and fleets in the Data Safe service +- Support for enabling ADDM spotlight for databases in the Operations Insights service + +### Breaking Changes +- The property `AdditionalDatabaseStatus` was removed from the models `AutonomousDatabase`, `AutonomousDatabaseSummary`, `AutonomousDataWarehouse`and `AutonomousDataWarehouseSummary` in the Database service + + +## 65.34.0 - 2023-04-04 +### Added +- Support for pre-emptible worker nodes in the Container Engine for Kubernetes service +- Support for larger data storage (now up to 128TB) in the MySQL Database service +- Support for HTTP health checks for HTTPS backend sets in the Load Balancer service + +### Breaking Changes +- The property `BackendSetName` was made required in the `ForwardToBackendSet` model in the Load Balancer service +- Support for the Data Connectivity Management service was removed + + +## 65.33.1 - 2023-03-28 +### Added +- Support for ACD and OKV wallet naming for autonomous databases and dedicated autonomous databases on Exadata Cloud at Customer in the Database service +- Support for validating the credentials of a connection in the DevOps service +- Support for GoldenGate Replicat performance profiles when creating a migration in the Database Migration service +- Support for connection diagnostics on registered databases in the Database Migration service +- Support for launching bare metal instances in an RDMA network in the Compute service + + +## 65.33.0 - 2023-03-21 +### Added +- Support for backup automation integration with the Database Recovery service in the Database service +- Support for changing the disaster recovery configuration of an autonomous database in remote regions of its disaster recovery association in the Database service +- Support for creating a remote disaster recovery association clone of an autonomous database in the Database service +- Support for managed build stages to be configured to use custom shape build runners in the DevOps service +- Support for listing pre-built functions and creating functions from pre-built functions in the Functions service +- Support for connections types for database resources of type Amazon S3, HDFS, SQL Server, Java Messaging service, Mongo DB, Oracle NoSQL, and Snowflake in the GoldenGate service + +### Changes +- Upgraded golang.org/x/sys package version to v0.6.0 + +### Breaking Changes +- The enum value `LAKE_HOUSE_CONNECTION` was renamed to `LAKE_CONNECTION` in the enum ModelTypeEnum in the Connection, ConnectionDetails, ConnectionSummary, CreateConnectionDetails and UpdateConnectionDetails models in the Data Integration Service +- The enum value `LAKE_HOUSE_DATA_ASSET` was renamed to `LAKE_DATA_ASSET` in the enum ModelTypeEnum in the DataAsset, CreateDataAssetDetails, DataAssetSummary, and UpdateDataAssetDetails models in the Data Integration Service +- `DefaultValue` is now a required param in `BuildPipelineParameter` model in the Devops service + + +## 65.32.1 - 2023-03-14 +### Added +- Support for the Identity Domains service +- Support for long-term backups for autonomous databases on Exadata Cloud at Customer in the Database service +- Support for database OS patching in the Database service +- Support for managing enhanced clusters, cluster add-ons, and serverless virtual node pools in the Container Engine for Kubernetes service +- Support for templates and copy object requests in the Data Integration service +- Support for maintenance features in the GoldenGate service +- Support for `AMD_MILAN_BM_GPU` configuration type on instances in the Compute service +- Support for host storage metrics and network metrics as part of host capacity planning in the Operations Insights service + + +## 65.32.0 - 2023-03-07 +### Added +- Support for creating and updating autonomous database long-term backup schedules in the Database service +- Support for creating, updating, and deleting autonomous database long-term backups in the Database service +- Support for model deployment resources to use customized container images containing runtime dependencies of ML models and custom web servers to handle inference requests in the Data Science service +- Support for using the compartmentIdInSubtree parameter when summarizing management agent counts in the Management Agent Cloud service +- Support for getting agent property details in the Management Agent Cloud service +- Support for filtering by gateway ID when listing agents in the Management Agent Cloud service +- Support for the Hebrew and Greek languages during AI language text translation in the AI Language service +- Support for auto-detection when analyzing text with pre-trained models in the AI Language service +- Support for specifying update operation constraints when updating an instance in the Compute Service +- Support for disaster recovery in the Content Management service +- Support for advanced autonomous databases insights in the Operations Insights service + +### Breaking Changes +- Support for retries by default on operations of the Analytics Cloud service +- The enum member `ACTIVE` was removed from the enum LifecycleDetailsActive is removed from OCE service + + +## 65.31.1 - 2023-02-28 +### Added +- Support for calling Oracle Cloud Infrastructure services in the eu-dcc-rating-1, eu-dcc-rating-2, eu-dcc-dublin-1, eu-dcc-dublin-2, and eu-dcc-milan-2 regions +- Support for on-demand bootstrap script execution in the Big Data Service + + +## 65.31.0 - 2023-02-21 +### Added +- Support for async jobs in the AI Anomaly Detection service +- Support for specifying algorithm hints and windows sizes during model training in the AI Anomaly Detection service +- Support for specifying a sensitivity value during model detection in the AI Anomaly Detection service +- Support for discovery and monitoring of external Oracle database infrastructure components in the Database Management service + +### Breaking Changes +- The type for property `SystemTags` was changed from `map[string]map[string]interface{}` to `map[string]interface{}` for `ProjectSummary`, `Project`, `ModelSummary`, `Model`, `DataAssetSummary`, `DataAsset`, `AiPrivateEndpointSummary`, `AiPrivateEndpoint` models in the AI Anomaly Detection service +- Support for retries by default on operations of the AI Anomaly Detection service + + +## 65.30.0 - 2023-02-14 +### Added +- Support for the Visual Builder Studio service +- Support for the Autonomous Recovery service +- Support for selecting specific database servers when creating autonomous VM clusters in the Database service +- Support for creating autonomous VMs during the creation of autonomous VM clusters in the Database service + +### Breaking Changes +- Support for retries by default on operations of the Compute service + + +## 65.29.0 - 2023-02-07 +### Added +- Support for changing Data Guard role of a database instance within the Database service +- Support for listing autonomous container database versions in the Database service +- Support for specifying a database version when creating or updating an autonomous container database in the Database service +- Support for specifying an eCPU count when creating or updating autonomous shared databases in the Database service +- Support for Helm attestation and Helm arguments on deploy operations in the DevOps service +- Support for uploading master key wallets for deployments in the GoldenGate service +- Support for custom configurations in the Operations Insights service +- Support for refreshing the session token in SessionTokenAuthenticationDetailsProvider + +### Breaking Changes +- The property `CpuCoreCount` has been made optional in `AutonomousDatabase` and `AutonomousDatabaseSummary` model in the Database service + + +## 65.28.3 - 2023-01-31 +### Added +- Support for ECPU billing for autonomous databases and dedicated autonomous databases on Exadata Cloud at Customer in the Database service +- Support for providing a vault secret ID when creating or updating autonomous shared databases in the Database service +- Support for including ORDS and database transform URLs as autonomous database connections in the Database service +- Support for role-based access control on OpenSearch clusters in the Search service +- Support for managed shell stages on deployments in the DevOps service +- Support for memory encryption on confidential VMs in the Compute service +- Support for configuration items, and reporting ownership of configuration items, in the Application Performance Monitoring service + + +## 65.28.2 - 2023-01-24 +### Added +- Support for the Cloud Migrations service +- Support for setting up custom private IPs while creating private endpoints in the Database service +- Support for machine learning pipelines in the Data Science service +- Support for personally identifiable information detection in the AI Language service + + +## 65.28.1 - 2023-01-17 +### Added +- Support for calling Oracle Cloud Infrastructure services in the us-chicago-1 region +- Support for cross-region replication in the File Storage service +- Support for setting up private DNS on ExaCS systems during provisioning in the Database service +- Support for elastic storage expansion on infrastructure resources for Exadata Cloud at Customer in the Database service +- Support for target versions during infrastructure patching on Cloud Exadata infrastructure in the Database service +- Support for creating model version sets in the model catalog in the Data Science service +- Support for associating a model with a model version set in the Data Science service +- Support for custom key/value annotations on documents in the Data Labeling service +- Support for configurable timeouts in the Service Mesh service + + +## 65.28.0 - 2022-12-13 +### Added +- Support for the Queue service +- Support for Intel X9 shapes when launching VM database systems in the Database service +- Support for enabling, disabling, and editing Database Management service connections on pluggable databases in the Database service +- Support for availability configurations and maintenance window schedules on synthetic monitors in the Application Performance Monitoring service +- Support for scheduling cascading deletes on a project in the DevOps service +- Support for cancelling a scheduled cascading delete on a project in the DevOps service +- Support for issue and action fields on job phases of validation and migration processes in the Database Migration service +- Support for cluster profiles in the Big Data service +- Support for egress-only services in the Service Mesh service +- Support for optional listeners and service discovery metadata on virtual deployments in the Service Mesh service +- Support for canceling work requests in the accepted state in the Service Mesh service +- Support for filtering work requests on associated resource id and operation status in the Service Mesh service +- Support for sorting while listing work requests, listing work request logs, and listing work request errors in the Service Mesh service + + +### Breaking Changes +- The type for property `RouteRules` was changed from a List of `VirtualServiceTrafficRouteRule` to a List of `VirtualServiceTrafficRouteRuleDetails` in the models `UpdateVirtualServiceRouteTableDetails` and `CreateVirtualServiceRouteTableDetails` in the Service Mesh service +- The type for property `Mtls` was changed from `CreateMutualTransportLayerSecurityDetails` to `VirtualServiceMutualTransportLayerSecurityDetails` in the models `UpdateVirtualServiceDetails` and `CreateVirtualServiceDetails.` in the Service Mesh service +- The type for property `RouteRules` was changed from a List of `IngressGatewayTrafficRouteRule` to a List of `IngressGatewayTrafficRouteRuleDetails` in the models `UpdateIngressGatewayRouteTableDetails` and `CreateIngressGatewayRouteTableDetails` in the Service Mesh service +- The type for property `Mtls` was changed from `CreateIngressGatewayMutualTransportLayerSecurityDetails` to `IngressGatewayMutualTransportLayerSecurityDetails` in the models `UpdateIngressGatewayDetails` and `CreateIngressGatewayDetails` in the Service Mesh service +- The type for property `Rules` was changed from a List of `AccessPolicyRule` to a List of `AccessPolicyRuleDetails` in the models `UpdateAccessPolicyDetails` and `CreateAccessPolicyDetails` in the Service Mesh service +- Support for default retries on operations of the Service Mesh service +- Support for default retries on operations of the Database Migration service +- Support for default retries on operations of the Fusion Apps as a Service service + + +## 65.27.0 - 2022-12-06 +### Added +- Support for the Container Instances service +- Support for the Document Understanding service +- Support for creating stacks from OCI DevOps service and Bitbucket Cloud/Server as source control management in the Resource Manager service +- Support for deployment stage level parameters in the DevOps service +- Support for PeopleSoft discovery in the Stack Monitoring service +- Support for Apache Tomcat discovery in the Stack Monitoring service +- Support for SQL Server discovery in the Stack Monitoring service +- Support for OpenId Connect in the API Gateway service +- Support for returning compartment ids when listing backups in the MySQL Database service +- Support for adding a load balancer endpoint to a DB system in the MySQL Database service +- Support for managed read replicas in the MySQL Database service +- Support for setting replication filters on channels in the MySQL Database service +- Support for replicating from a source configured without global transaction identifiers into a channel in the MySQL Database service +- Support for time zone and language preferences in the Announcements service +- Support for adding report schedules for activity auditing and alerts reports in the Data Safe service +- Support for bulk operations on alerts in the Data Safe service +- Support for Java server usage reporting in the Java Management service +- Support for Java library usage reporting in the Java Management service +- Support for cryptographic roadmap impact analysis in the Java Management service +- Support for Java Flight Recorder recordings in the Java Management service +- Support for post-installation steps in the Java Management service +- Support for restricting management of advanced functionality in the Java Management service +- Support for plugin improvements in the Java Management service +- Support for collecting diagnostics on deployments in the GoldenGate service +- Support for onboarding Exadata Public Cloud (ExaCS) targets to the Operations Insights service + +### Breaking Changes +- A required property `CompartmentId` was added to `PatchAlertsDetails` model in the Data Safe service +- The property `items` is changed from optional to required in `PatchAlertsDetails` model in the Data Safe service +- The property `datasafePrivateEndpointId` is changed from optional to required in the `PrivateEndpoint` model in the Data Safe service +- The properties `ListenerPort` and `ServiceName` were made required in `InstalledDatabaseDetails` model in the Data Safe service +- The property `serviceName` is is changed from optional to required in `DatabaseCloudServiceDetails` model in the Data Safe service +- The property `AutonomousDatabaseId` was made required in `AutonomousDatabaseDetails` model in the Data Safe service +- The property `OnPremConnectorId` was made required in `OnPremiseConnector` model in the Data Safe service + + +## 65.26.1 - 2022-11-15 +### Added +- Support for mTLS authentication with listeners during Autonomous VM Cluster creation on Exadata Cloud at Customer in the Database service +- Support for providing custom values for TLS and non-TLS ports during Autonomous VM Cluster creation on Exadata Cloud at Customer in the Database service +- Support for creating multiple Autonomous VM Clusters in the same Exadata infrastructure in the Database service +- Support for listing resources associated with a job in the Resource Manager service +- Support for listing resources associated with a stack in the Resource Manager service +- Support for listing outputs associated with a job in the Resource Manager service +- Support for the Oracle distribution of Apache Hadoop 2.0 in the Big Data service + + +## 65.26.0 - 2022-11-08 +### Added +- Support for listing local and cross-region refreshable clones in the Database service +- Support for adding multiple cloud VM clusters in the Database service +- Support for creating rollback jobs in the Resource Manager service +- Support for edge nodes in the Big Data service +- Support for Single Client Access Name (SCAN) in the Data Flow service +- Support for additional filters when listing application dependencies in the Application Dependency Management service +- Support for additional properties when reading Vulnerability Audit resources in the Application Dependency Management service +- Support for optionally passing compartment IDs when creating Vulnerability Audit resources in the Application Dependency Management service + +### Breaking Changes +- The property `CertificateId` was made required in `PrivateServerConfigDetails` model in the Resource Manager service + + +## 65.25.0 - 2022-11-01 +### Added +- Support for cloning from a backup from the last available timestamp in the Database service +- Support for third-party scanning using Qualys in the Vulnerability Scanning service +- Support for customer-provided encryption keys in the Logging Analytics service +- Support for connections for database resources in the GoldenGate service + +### Breaking Changes +- HostScanAgentConfigurationVendorEnum is removed from vulnerability scanning service +- CompartmentId, TimeDataEnded and DataType properties are no longer a mandatory field in StorageWorkRequestSummary model + + +## 65.24.0 - 2022-10-25 +### Added +- Support for the Disaster Recovery service +- Support for running code interactively with session applications using statements in the Data Flow service +- Support for language custom models and language translation in the AI Language service + +### Breaking Changes +- `TextClassificationDocument` and `KeyPhraseDocument` modles are removed from ailanguage service +- Document parameter in `BatchDetectLanguage` related models changed to `TextDocument` type + +## 65.23.0 - 2022-10-04 +### Added +- Support for calling Oracle Cloud Infrastructure services in the eu-dcc-milan-1 region +- Support for target host identification and SOCKS support on dynamic port forwarding sessions in the Bastion service +- Support for viewing top processes running at a particular point of time in the Operations Insights service +- Support for filtering top processes by a single process to view that process's trend over time in the Operations Insights service +- Support for creating Enterprise Manager-based Windows host targets in the Operations Insights service +- Support for creating Management Agent Cloud-based Windows and Solaris host targets in the Operations Insights service + +### Breaking Changes +- The property `TargetResourcePort` was removed from the models `TargetResourceDetails` and `CreateSessionTargetResourceDetails` in the Bastion service + +## 65.22.0 - 2022-09-27 +### Added +- Support for search capabilities for monitored resources in the Stack Monitoring service +- Support for deleting monitored resources with their members in the Stack Monitoring service +- Support for creating host-type monitored resources in the Stack Monitoring service +- Support for associating external resources during creation of monitored resources in the Stack Monitoring service +- Support for uploading bulk data in the NoSQL Database Cloud service +- Support for examining query execution plans in the NoSQL Database Cloud service +- Support for starting and stopping clusters in the Big Data service +- Support for additional compute shapes in the Big Data service +- Support for backwards pagination in the Search service +- Support for elastic compute for Exadata Cloud at Customer in the Database service + +### Breaking Changes +- Support for default retries on operations of the NoSQL Database Cloud service + +## 65.21.0 - 2022-09-20 +### Added Support for the Cloud Bridge service +- Support for the Cloud Migrations service +- Support for display banners, trails, and sizes in the GoldenGate service +- Support for generic REST data assets, flattening of data in Data Flow, and runtime information on pipelines in the Data Integration service +- Support for expanded search functionality in the Threat Intelligence service +- Support for ingest-time rules and specifying logsets and query strings during recalls in the Logging Analytics service +- Support for repository mirroring from Visual Builder Studio in the DevOps service +- Support for running a managed build stage with the source code hosted in a Visual Builder Studio repository in the DevOps service +- Support for triggering a build run based on an event in a Visual Builder Studio repository in the DevOps service +- Support for additional parameters during cost management scheduling in the Usage service + +### Breaking Changes +- Support for retries by default on operations of the GoldenGate service +- Support for retries by default on operations of the Threat Intelligence service +- PreviousDeploymentId and DeployStageId are now mandatory parameters in operations in devops service + + +## 65.20.0 - 2022-09-13 +### Added +- Support for calling Oracle Cloud Infrastructure services in the eu-madrid-1 region +- Support for exporting and importing larger model artifacts in the model catalog in the Data Science service +- Support for Request Based Authorization in the API Gateway service +- Support for Dynamic Authentication in the API Gateway service +- Support for Dynamic Routing Backend in the API Gateway service + +### Breaking Changes +- Support for retries by default on some operations of the Data Science service + +## 65.19.0 - 2022-09-06 +### Added +- Support for generic REST, OCI Streaming service, and Lake House connectors in the Data Connectivity Management service +- Support for connecting to the Data Catalog service in the Data Connectivity Management service +- Support for Kerberos and SSL for HDFS operations in the Data Connectivity Management service +- Support for excel-formatted data and default columns in the Data Connectivity Management service +- Support for reporting connector usage in the Data Connectivity Management service +- Support for preferred credentials for performing privileged operations in the Database Management service +- Support for passing a content encoding when posting metrics in the Monitoring service +- Support for Session Token authentication + +### Breaking Changes +- The operations `DeleteConnectionValidation` and `ListConnectionValidations` were removed from `DataConnectivityManagementClient` in the Data Connectivity Management service +- The operation `ListConnectionValidationsResponseEnumerator` was removed from `DataConnectivityManagementPaginators` in the Data Connectivity Management service +- The models `ListConnectionValidationsResponse`, `ListConnectionValidationsRequest` and `DeleteConnectionValidationRequest` were removed in the Data Connectivity Management service +- The return type of property `LifecycleState` was changed to `LifecycleStateEnum` from `Registry.LifecycleStateEnum` in `ListRegistriesRequest` model in the Data Connectivity Management service + +## 65.18.1 - 2022-08-30 +### Added +- Support for opting out of guest VM event collection, health metrics, diagnostics logs, and traces in the Database service +- Support for in-place upgrades for software-defined data centers in the VMWare Solution service +- Support for single-client access name protocol as a data source for private access channels in the Analytics Cloud service +- Support for network security groups, egress control on public datasources, and GitHub access in the Analytics Cloud service +- Support for performance-based autotuning of block and boot volumes in the Block Storage service + +## 65.18.0 - 2022-08-23 +### Added +- Support for the Enterprise Manager Warehouse service +- Support for additional configuration variables in the MySQL Database service +- Support for file filters in the DevOps service +- Support for support rewards redemption summaries in the Usage service +- Support for the parent tenancy of an organization to view child tenancy categories, recommendations, and resource actions in the Optimizer service +- Support for choosing prior versions during infrastructure maintenance on Exadata Cloud at Customer in the Database service + +### Breaking Changes +- The property `parameters` has its object value type changed from `string` to `any` +- EmDataLakeClient is renamed to EmWarehouseClient for the EM Warehouse service. + +### Changed +- Compute Out of Capacity error improvement for Go SDK + +## 65.17.0 - 2022-08-16 +### Added +- Support for Logging Analytics as a streaming source target in the Service Connector Hub service +- Support for data sources for logging query registration in the Cloud Guard service +- Support for custom detector rules on insight detector recipes in the Cloud Guard service +- Support for fetching data source events and problem entities in the Cloud Guard service +- Support for E3, E4, Standard3, and Optimized3 flexible compute shapes on notebooks, model deployment, and jobs in the Data Science service +- Support for streaming application logs to the Logging service in the Data Flow service + +### Breaking Changes +- Support for retries by default on operations of the Dataflow service + +## 65.16.0 - 2022-08-09 +### Added +- Support for single-host software-defined data centers in the VMWare Solution service +- Support for Java download and installation in the Java Management service +- Support for lifecycle management for Windows in the Java Management service +- Support for installation scripts in the Java Management service +- Support for unlimited-installation keys in the Java Management service +- Support for configuring automatic usage tracking in the Java Management service +- Support for STANDARDX and ENTERPRISEX instance types in Integration service +- Support for additional languages and multimedia formats in transcription jobs in the AI Speech service +- Support for maintenance run history for Exadata Cloud at Customer in the Database service +- Support for Optimizer statistics monitoring and management on various database administration operations in the Database Management service +- Support for OCI Compute instances in the Operations Insights service +- Support for moving resources in the Console Dashboard service +- Support for round-robin alerting in the Application Performance Monitoring service +- Support for aggregated network data of synthetic monitors in the Application Performance Monitoring service +- Support for etags on operations in the Load Balancing service + + +### Breaking Changes +- The enum `UsageUnit` was replaced by `UsageUnitEnum` in the Operations Insights service +- Property `inventoryLog` changed from optional to required in the model `CreateFleetDetails` in Java Management Service + +## 65.15.0 - 2022-08-02 +### Added +- Support for OpenSearch in the Search service +- Support for child tables in the NoSQL Database Cloud service +- Support for private repositories in the DevOps service + +### Breaking Changes +- Support for retries by default on operations of the Quotas service + +## 65.14.0 - 2022-07-26 +### Added +- Support for the Fusion Apps as a Service service +- Support for the Digital Media service +- Support for accessing all Terraform providers from Hashicorp Registry, as well as bringing your own providers, in the Resource Manager service +- Support for runtime configurations in notebook sessions in the Data Science service +- Support for compartmentIdInSubtree and accessLevel filters when listing management agents in the Management Agent Cloud service +- Support for filtering by type when listing work requests in the Management Agent Cloud service +- Support for filtering by agent id when listing management agent plugins in the Management Agent Cloud service +- Support for specifying size preference when requesting a data transfer appliance in the Data Transfer service +- Support for encryption of boot and block volumes associated with a cluster using customer-specified KMS keys in the Big Data service +- Support for the VM.Standard.E4.Flex shape for Cloud SQL (CSQL) nodes in the Big Data service +- Support for listing block and boot volumes, as well as block and boot volume replicas, within a volume group in the Block Volume service +- Support for dedicated autonomous databases in the Operator Access Control service +- Support for viewing automatic workload repository (AWR) data for databases added to AWRHub in the Operations Insights service +- Support for ports, protocols, roles, and SSL secrets when enabling or modifying database management in the Database service +- Support for monthly security maintenance runs in the Database service +- Support for monthly infrastructure patching for Exadata Cloud at Customer resources in the Database service + +### Breaking Changes +- `DataMaskingActivityClient`,`FusionEnvironmentClient`, `FusionEnvironmentFamilyClient`, `RefreshActivityClient`,`ScheduledActivityClient`, and `ServiceAttachmentClient` clients were merged into a single client `FusionApplicationsClient` for the Fusion Apps as a Service service +- Properties `addressee`, `address1`, `cityOrLocality`, `stateOrRegion`, `zipcode`, `country` are changed from optional to required for ShippingAddress model in Data Transfer Service. + +## 65.13.1 - 2022-07-19 +### Added +- Support for calling Oracle Cloud Infrastructure services in the `mx-queretaro-1` region +- Support for the Process Automation service +- Support for the Managed Access service +- Support for extending maintenance reboot due dates on virtual machines in the Compute service +- Support for ingress routing tables on NAT gateways and internet gateways in the Networking service +- Support for container database and pluggable database discovery in the Stack Monitoring service +- Support for displaying rack serial numbers for Exadata infrastructure resources in the Database service +- Support for grace periods for wallet rotation on autonomous databases in the Database service +- Support for hosting models on flexible compute shapes with customizable OCPUs and memory in the Data Science service + +## 65.13.0 - 2022-07-12 +### Added +- Support for DBCS databases in the Operations Insights service +- Support for point-in-time recovery for non-highly-available database systems in the MySQL Database service +- Support for triggering reboot migration on instances with pending maintenance in the Compute service +- Support for native pod networking in the Container Engine for Kubernetes service +- Support for creating Data Guard associations with new database systems in the Database service +- Fix for double encoding in URL + +### Breaking Changes +- The data type of the property `HostType` was changed from a List of `string` to a List of `HostTypeEnum` in ListHostInsightsRequest in the Operations Insights service +- The property `PreserveDataVolumes` was removed from the TerminateInstanceRequest in the Compute service + +## 65.12.0 - 2022-07-05 +### Added +- Support for backup policies returned as part of the database system list operation in the MySQL Database service + +### Breaking Changes +- Support for retries by default on some operations of the Bastion service + +## 65.11.0 - 2022-06-27 +### Added +- Support for the Network Monitoring service +- Support for specifying application scan settings when creating or updating host scan recipes in the Vulnerability Scanning service +- Support for moving data into an autonomous data warehouse in the Operations Insights service +- Support for shared infrastructure autonomous database character sets in the Database service +- Support for data collection logging events on Exadata instances in the Database service +- Support for specifying boot volume VPUs when launching instances from images in the Compute service +- Support for safe-deleting nodes in the Container Engine for Kubernetes service + +### Breaking Changes +- Support for retries by default on operations of the Logging Analytics service + +## 65.10.0 - 2022-06-21 +### Added +- Support for the Network Firewall service +- Support for smaller and larger HeatWave cluster nodes in the MySQL Database service +- Support for CSV file type datasets for text labeling and JSONL in the Data Labeling service +- Support for diagnostics in the Database Management service + +### Breaking Changes +- Support for retries by default on operations of the Network Firewall service +- Support for retries by default on the createAnnotation operation of the Data Labeling service + +## 65.9.0 - 2022-06-14 +### Added +- Support for the Web Application Acceleration (WAA) service +- Support for the Governance Rules service +- Support for the OneSubscription service +- Support for resource locking in the Identity service +- Support for quota resource locking in the Limits service +- Support for returning the backup with the requested changes in the MySQL Database service +- Support for time zone in Cloud Autonomous VM (CAVM) clusters in the Database service +- Support for configuration options in the Application Performance Monitoring service +- Support for MySQL connections in the Database Tools service + +### Breaking Changes +- Support for retries by default on operations in the Database Tools service +- Model `DatabaseToolsAllowedNetworkSources`, `DatabaseToolsVirtualSource` and `ServiceCapability` removed in Database Tools service +- `SecretId` is a required property in `DatabaseToolsUserPasswordSecretIdDetails` model in Databasetools service + +## 65.8.1 - 2022-06-07 +### Added +- Support for calling Oracle Cloud Infrastructure services in the eu-paris-1 region +- Support for private endpoints in Resource Manager service +- Support downloading generated Terraform plan output in JSON or binary format in Resource Manager service +- Support for querying OPSI Data Objects in the Operations Insights service +- Added 400-ResourceDisabled to EventualConsistency retry +### Changed +- Network security groups (NSGs) are now optional for autonomous databases on private endpoints in the Database service +- Changed the scope of `DefaultSDKLogger`, `SetSDKLogger` and `NewSDKLogger` functions to public for enabling logs by code + +## 65.8.0 - 2022-05-31 +### Added +- Support for in-depth monitoring, diagnostics capabilities, and advanced management functionality for on-premise Oracle databases in the Database Management service +- Support for using Oracle Cloud Agent to perform iSCSI login and logout for non-multipath-enabled iSCSI attachments in the Container Engine for Kubernetes service +- Support for Fault Domain placement in the Container Engine for Kubernetes service +- Support for worker node images in the Container Engine for Kubernetes service +- Support for flexible shapes using the driverShapeConfig and executorShapeConfig properties in the Data Flow service + +### Breaking Changes +- Support for retries by default on operations in the Application Dependency Management service + +## 65.7.0 - 2022-05-24 +### Added +- Support for the License Manager service +- Support for usage plans in the API Gateway service +- Support for packaged skill and instance metadata management, role-based access options on instance creation, and assigned ownership in the Digital Assistant service +- Support for compute capacity reservations in the VMWare Solution service +- Support for Oracle Linux 8 application streams in the OS Management service + +### Breaking Changes +- Support for retries by default on operations in the API Gateway service +- Property `specification` is changed from optional to required from model `Deployment` and `CreateDeploymentDetails` in the API Gateway service + +## 65.6.0 - 2022-05-17 +### Added +- Support for information requests in the Operator Access Control service +- Support for Helm charts and repositories on deployments in the DevOps service +- Support for Application Dependency Management service scan results on builds in the DevOps service +- Support for build resources to use Bitbucket Cloud repositories for source code in the DevOps service +- Support for character set selection on autonomous dedicated databases in the Database service +- Support for listing autonomous dedicated database supported character sets in the Database service +- Support for AMD E4 flex shapes on virtual machine database systems in the Database service +- Support for terraform and improvements for cross-region ADGs in the Database service + +### Breaking Changes +- Support for retries by default on GET and LIST operations in the Visual Builder service + + +## 65.5.0 - 2022-05-10 +### Added +- Support for getting usage information for autonomous databases and Cloud at Customer autonomous databases in the Database service +- Support for the `standby` lifecycle state on autonomous databases in the Database service +- Support for BIP connections and dataflow operators in the Data Integration service + +### Breaking Changes +- Support for retries by default on WAF Edge Policy GET / LIST operations in the Web Application Acceleration and Security service +- Support for retries by default on some operations in the Stack Monitoring service +- Support for retries by default on some resource discovery and monitoring operations in the Application Management service +- Support for retries by default on some operations in the MySQL Database service + +## 65.4.0 - 2022-05-03 +### Added +- Support for the Application Dependency Management service +- Support for platform configuration options on some bare metal shapes in the Compute service +- Support for shielded instances for BM.Standard.E4.128 and BM.Standard3.64 shapes in the Compute service +- Support for E4 dense VMs on launch and update instance operations in the Compute service +- Support for reboot migration on DenseIO shapes in the Compute service +- Support for an increased database name maximum length, from 14 to 30 characters, in the Database service +- Support for provisioned concurrency in the Functions service + +### Breaking +- Support for retries by default on operations in the Vault service +- Support for retries by default on operations in the DNS service +- Support for retries by default on operations in the Content Management service +- Support for retries by default on operations in the Console Dashboard service +- Support for retries by default on Web Application Firewall operations in the Web Application Acceleration and Security service +- Support for retries by default on operations in the Data Science service + +## 65.3.0 - 2022-04-26 +### Added +- Support for the Service Mesh service +- Support for security zones in the Cloud Guard service +- Support for virtual test access points (VTAPs) in the Networking service +- Support for monitoring as a source in the Service Connector Hub service +- Support for creating budgets that target subscriptions and child tenancies in the Budgets service +- Support for listing shapes and specifying a shape during creation of a node in the Roving Edge Infrastructure service +- Support for bringing your own key in the Roving Edge Infrastructure service +- Support for enabling inspection of HTTP request bodies in the Web Application Acceleration and Security +- Support for cost management schedules in the Usage service +- Support for TCPS on external containers as well as non-container and pluggable databases in the Database service +- Support for autoscaling on Open Data Hub (ODH) clusters in the Big Data service +- Support for creating Open Data Hub (ODH) 0.9 clusters in the Big Data service +- Support for Open Data Hub (ODH) patch management in the Big Data service +- Support for customizable Kerberos realm names in the Big Data service +- Support for dedicated vantage points in the Application Performance Monitoring service +- Support for reactivating child tenancies in the Organizations service +- Support for punctuation and the SRT transcription format in the AI Speech service + +### Breaking Changes +- Support for default retries on some operations in the Networking service +- Support for default retries on all operations in the Data Safe service +- Support for default retries on some additional operations in the Application Performance Monitoring service +- The deprecated parameter `RiskScore` was removed in the sighting model in the Cloud Guard service + +## 65.2.0 - 2022-04-19 +### Added +- Support for the Stack Monitoring service +- Support for stack monitoring on external databases in the Database service +- Support for upgrading VM database systems in place in the Database service +- Support for viewing supported VMWare software versions when listing host shapes in the VMWare Solution service +- Support for choosing compute shapes when creating SDDCs and ESXi hosts in the VMWare Solution service +- Support for work requests on delete operations in the Vulnerability Scanning service +- Support for additional scan metadata in reports, including CVE descriptions, in the Vulnerability Scanning service +- Support for redemption codes in the Usage service + +### Breaking Changes +- The property `Etag` was removed from ListRedeemableUsersResponse model in the Usage service + + +## 65.1.0 - 2022-04-12 +### Added +- Support for bringing your own IPv6 addresses in the Networking service +- Support for specifying database edition and maximum CPU core count when creating or updating an autonomous database in the Database service +- Support for enabling and disabling data collection options when creating or updating Exadata Cloud at Customer VM clusters in the Database service + +### Breaking Changes +- Support for retries by default on operations in the Identity service +- Support for retries by default on operations in the Operations Insights service + +## 65.0.0 - 2022-04-05 +### Added +- Support for content length and content type response headers when downloading PDFs in the Account Management service +- Support for creating Enterprise Manager-based zLinux host targets, creating alarms, and viewing top process analytics in the Operations Insights service +- Support for diagnostic reboots on VM instances in the Compute service + +### Breaking Changes +- The return type of property LifecycleState was changed from `LifecycleState` to `TargetDatabaseLifecycleState` for TargetDatabase and TargetDatabaseSummary model in the Data Safe service + +## 64.0.0 - 2022-03-29 +### Added +- Support for returning the number of network ports as part of listing shapes in the Compute service +- Support for Java runtime removal and custom logs in the Java Management service +- Support for new parameters for BGP admin state and enabling/disabling BFD in the Networking service +- Support for private OKE clusters and blue-green deployments in the DevOps service +- Support for international customers to consume and launch third-party paid listings in the Marketplace service +- Support for additional fields on entities, attributes, and folders in the Data Catalog service + +### Breaking Changes +- Support for retries by default on operations in the Marketplace service + +## 63.0.0 - 2022-03-22 +### Added +- Support for getting the storage utilization of a deployment on deployment list and get operations in the GoldenGate service +- Support for virtual machines, bare metal machines, and Exadata databases with private endpoints in the Operations Insights service +- Support for setting deletion policies on database systems in the MySQL Database service + +### Breaking Changes +- Support for retries by default on operations in the Data Labeling service (data plane and control plane) + +## 62.0.0 - 2022-03-15 +### Added +- Support for Ubuntu platforms and unlimited installation keys in the Management Agent Cloud service +- Support for shielded instances in the VMWare Solution service +- Support for application resources in the Data Integration service +- Support for multi-AVM on Exadata Cloud at Customer infrastructure in the Database service +- Support for heterogeneous (VM and AVM) clusters on Exadata Cloud at Customer infrastructure in the Database service +- Support for custom maintenance schedules for AVM clusters on Exadata Cloud at Customer infrastructure in the Database service +- Support for listing vulnerabilities, vulnerability-impacted containers, and vulnerability-impacted hosts in the Vulnerability Scanning service +- Support for specifying an image count when creating or updating container scan recipes in the Vulnerability Scanning service + +### Changed +- Improved error message for service error, auth provider error, upload manager and other miscellaneous errors + +### Breaking Changes +- LifecycleState type in `workspace_summary` model in dataintegration service changed from `WorkspaceLifecycleStateEnum` to `WorkspaceSummaryLifecycleStateEnum` + +## 61.0.0 - 2022-03-08 +### Added +- Support for the Sales Accelerator license option in the Content Management service +- Support for VCN hostname cluster endpoints in the Container Engine for Kubernetes service +- Support for optionally specifying an admin username and password when creating a database system during a restore operation in the MySQL Database service +- Support for automatic tablespace creation on non-autonomous and autonomous database dedicated targets in the Database Migration service +- Support for reporting excluded objects based on static exclusion rules and dynamic exclusion settings in the Database Migration service +- Support for removing, listing, and adding database objects reported by the Cloud Premigration Advisor Tool (CPAT) in the Database Migration service +- Support for migrating Oracle databases from the AWS RDS service to OCI as autonomous databases, using the AWS S3 service and DBLINK for data transfer, in the Database Migration service +- Support for querying additional fields of a resource using return clauses in the Search service +- Support for clusters and station clusters in the Roving Edge Infrastructure service +- Support for creating database systems and database homes using customer-managed keys in the Database service + +### Breaking Changes +- Support for retries enabled by default on operations in the Container Engine for Kubernetes service +- Support for retries enabled by default on operations in the Resource Manager service +- Support for retries enabled by default on operations in the Search service + +## 60.0.0 - 2022-03-01 +### Added +- Support for DRG route distribution statements to be specified with a new match type 'MATCH_ALL' for matching criteria in the Networking service +- Support for VCN route types on DRG attachments for deciding whether to import VCN CIDRs or subnet CIDRs into route rules in the Networking service +- Support for CPS offline reports in the Database service +- Support for infrastructure patching v2 features in the Database service +- Support for auto-scaling the storage of an autonomous database, as well as shrinking an autonomous database, in the Database service +- Support for managed egress via a default networking option on jobs and notebooks in the Data Science service +- Support for more types of saved search enums in the Management Dashboard service +### Breaking Changes +- Support for retries enabled by default on some operations in the AI Vision service + + +## 59.0.0 - 2022-02-22 +### Added +- Support for the Data Connectivity Management service +- Support for the AI Speech service +- Support for disabling crash recovery in the MySQL Database service +- Support for detector recipes of type 'threat', new detector rule of type 'rogue user', and sightings operations in the Cloud Guard service +- Support for more VM shape configurations when listing shapes in the Compute service +- Support for customer-managed encryption keys in the Analytics Cloud service +- Support for FastConnect device information in the Networking service + +### Breaking Changes +- Update the property `riskLevel` from required to optional in `TargetDetectorDetails` in Cloud Guard service. +- Update the property `riskLevel` from required to optional in `DetectorDetails` in Cloud Guard service. +- Support for retries enabled by default on all operations in the Application Performance Monitoring control plane service + +## 58.0.0 - 2022-02-15 +### Added +- Support for the AI Vision service +- Support for the Threat Intelligence service +- Support for creation of NoSQL database tables with on-demand throughput capacity in the NoSQL Database Cloud service +- Support for tagging features in the Oracle Container Engine for Kubernetes (OKE) service +- Support for trace snapshots in the Application Performance Monitoring service +- Support for auditing and alerts in the Data Safe service +- Support for data discovery and data masking in the Data Safe service +- Support for customized subscriptions and delivery of announcements by email and SMS in the Announcements service +- Support for case insensitive validation for enum values +### Breaking Changes +- API `QueryOld` is removed from QueryClient in APM Traces service + +## 57.0.0 - 2022-02-08 +### Added +- Support for managing tablespaces in the Database Management service +- Support for upgrading and managing payment for subscriptions in the Account Management service +- Support for listing fast launch job configurations in the Data Science service + +### Breaking Changes +- Support for retries enabled by default on all operations in the Application Performance Monitoring service +- Support for enum value validation when sending API requests +- The data type of the property BillToAddress was changed from `Address` to `BillToAddress` for the Invoice model of the Account Management service + +## 56.1.0 - 2022-02-01 +### Added +- Support for calling Oracle Cloud Infrastructure services in the ap-dcc-canberra-1 region +- Support for the Console Dashboard service +- Support for capacity reservation in the Container Engine for Kubernetes service +- Support for tagging in the Container Engine for Kubernetes service +- Support for fetching listings by image OCID in the Marketplace service +- Support for underscores and hyphens in project resource names in the DevOps service +- Support for cross-region cloning in the Database service + +## 56.0.0 - 2022-01-25 +### Added +- Support for OneSubscription services +- Support for specifying if a run or application is streaming or batch in the Data Flow service +- Support for updating the Instance Configuration of an Instance Pool within a Cluster Network in the Compute Management service +- Updated documentation for Cross Region ADG feature for Autonomous Database in the Database service + +### Breaking Changes +- Support for retries enabled by default on all operations in the Object Storage service + +## 55.1.0 - 2022-01-18 +### Added +- Support for calling Oracle Cloud Infrastructure services in the me-dcc-muscat-1 region +- Support for the Visual Builder service +- Support for cross-region replication of volume groups in the Block Storage service +- Support for boot volume encryption in the Container Engine for Kubernetes service +- Support for adding metadata to records when creating and updating records in the Data Labeling service +- Support for global export formats in snapshot datasets in the Data Labeling service +- Support for adding labeling instructions to datasets in the Data Labeling service +- Support for updating autonomous dataguard associations for autonomous container databases in the Database service +- Support for setting up automatic failover when creating autonomous container databases in the Database service +- Support for setting the RECO storage size when updating a database system in the Database service +- Support for reconnecting refreshable clones to source for autonomous databases on shared infrastructure in the Database service +- Support for checking if an autonomous database on shared infrastructure can be reconnected to source, in the Database service + +## 55.0.0 - 2022-01-11 +### Added +- Support for calling Oracle Cloud Infrastructure services in the af-johannesburg-1 and eu-stockholm-1 regions +- Support for multiple protocols on the same listener in the Network Load Balancing service +- IPv6 support in the Network Load Balancing service +- Support for creating Enterprise Manager-based Solaris and SunOS host targets in the Operations Insights service +- Support for choosing Data Guard type (Active Data Guard or regular) on databases in the Database service + +### Breaking Changes +- Support for retries enabled by default on all operations in the Java Management service' + +## 54.0.0 - 2021-12-14 +### Added +- Support for node replacement in the VMWare Solution service +- Support for ingestion of SQL stats metrics in the Operations Insights service +- Support for AWR hub integration in the Operations Insights service +- Support for automatically generating logical entities from filename patterns and relationships between business terms across glossaries in the Data Catalog service +- Support for automatic start/stop at scheduled times in the Database service +- Support for cloud VM cluster resources on autonomous dedicated databases in the Database service +- Support for external Hive metastores in the Big Data service +- Support for batch detection/inference in the AI Language service +- Support for dimensions on monitoring targets in the Service Connector Hub service +- Support for invoice operations in the Account Management service +- Support for custom CA trust stores in the API Gateway service +- Support for generating scoped database tokens in the Identity service +- Support for database passwords for users, for logging into database accounts, in the Identity service + +### Breaking changes +- Support for retries enabled by default on some operations in the Data Catalog service +- Support for retries enabled by default on all operations in the Ocvp service + +## 53.1.0 - 2021-12-07 +### Added +- Support for the Application Management service +- Support for getting the inventory of JMS resources and listing Java runtime usage in a specified host in the Java Management service +- Support for categories, entity topology, and verifying scheduled tasks in the Logging Analytics service +- Support for RAC databases in the GoldenGate service +- Support for querying additional fields of a resource using return clauses in the Search service +- Support for key versions and key version OCIDs in the Key Management service + +## 53.0.0 - 2021-11-30 +### Added +- Support for SQL Tuning Advisor in the Database Management service +- Support for listing users and getting user details in the Database Management service +- Support for autonomous databases in the Database Management service +- Support for enabling and disabling Database Management features on autonomous databases in the Database service +- Support for the Solaris platform in the Management Agent Cloud service +- Support for cross-compartment operations in the Operations Insights service +- Support for listing deployment backups in the GoldenGate service +- Support for standard tags in the Identity service +- Support for viewing problems for deleted targets in the Cloud Guard service +- Support for choosing a platform version while creating a platform instance in the Blockchain Platform service +- Support for custom IPSec connection tunnel internet key exchange phase 1 and phase 2 encryption algorithms in the Networking service +- Support for pagination when listing work requests corresponding to an APM domain in the Application Performance Monitoring service +- Support for the "deleted" lifecycle state on APM domains in the Application Performance Monitoring service +- Support for calling Oracle Cloud Infrastructure services in the eu-milan-1 and me-abudhabi-1 regions + +### Breaking +- Support for retries enabled by default in all operations of the DevOps, Build, and Source Code Management services + +## 52.0.0 - 2021-11-17 +### Added +- Support for getting subnet topology in the Networking service +- Support for encrypted FastConnect resources in the Networking service +- Support for performance and high availability, as well as recommendation metrics, in the Optimizer service +- Support for optional TDE wallet passwords in the Database service +- Support for Object Storage service integration in the Big Data service + +### Breaking +- Circuit breakers enabled by default in all services except Streaming and Compute +- Retries enabled by default in all operations of the Functions and Roving Edge services, and in some operations of the Streaming service. + +## 51.0.0 - 2021-11-09 +### Added +- Support for drill down metadata in the Management Dashboard service +- Support for operator access control on dedicated autonomous databases in the Operator Access Control service + +### Breaking changes +- `OperatorControlName`, `ApproverGroupsList` and `IsFullyPreApproved` changed from optional to required in UpdateOperatorControlDetails +- `IsEnforcedAlways` changed from optional to required in UpdateOperatorControlAssignmentDetails +- `ResourceType` in OperatorControlAssignmentSummary changed return type from *string to ResourceTypesEnum +- `ApproverGroupsList`, `IsFullyPreApproved` and `ResourceType` in CreateOperatorControlDetails changed from optional to required +- `ResourceType` and `IsEnforcedAlways` in CreateOperatorControlAssignmentDetail changed from optional to required + +## 50.1.0 - 2021-11-02 +### Added +- Support for the Database Tools service +- Support for scan listener port TCP and TCP SSL on cloud VM clusters in the Database service +- Support for domains in the Identity service +- Support for redeemable users and support rewards in the Usage service +- Support for calling Oracle Cloud Infrastructure services in the ap-singapore-1 and eu-marseille-1 regions +- Endpoint for Identity service changed to include ".oci" subdomain +- Support for unknown region fallback to secondary level domain configured through environment variable `OCI_DEFAULT_REALM` + +## 50.0.0 - 2021-10-26 +### Added +- Support for the Source Code Management service +- Support for the Build service +- Support for the Certificates service +- Support to create child tenancies in an organization and manage subscriptions in the Organizations service +- Support for Certificates service integration in the Load Balancing service +- Support for creating hosts in specific availability domains in the VMWare Solution service +- Support for user-defined functions and libraries, as well as scheduling and orchestration, in the Data Integration service +- Support for EM-managed Exadatas and EM-managed hosts in the Operations Insights service + +### Breaking changes +- Model `ComputeInstanceGroupBlueGreenDeployStageExecutionProgress`, `ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress`, +`ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress`, `ComputeInstanceGroupCanaryDeployStageExecutionProgress`, + `ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress`, `RunPipelineDeployStageExecutionProgress` and + `RunValidationTestOnComputeInstanceDeployStageExecutionProgress` were removed in the Build service + +## 49.2.0 - 2021-10-19 +### Added +- Support for creating database systems from backups with database software images in the Database service +- Support for optionally providing a SID prefix during Exadata database creation in the Database service +- Support for node subsetting on VM clusters in the Database service +- Support for non-CDB to PDB conversion in the Database service +- Support for default homepages, unprocessed data buckets, and parsing geostats in the Logging Analytics service +- Support for creating instance principal delegation token in a specific region +- Support for circuit breaker feature + +## 49.1.0 - 2021-10-12 +### Added +- Support for the Data Labeling Service +- Support for the Web Application Firewall service +- Support for querying and setting Application Performance Monitoring configurations in the Application Performance Monitoring service +- Support for the run-once monitor feature and network data collection in the Application Performance Monitoring service +- Support for Oracle Enterprise Manager bridges, source auto-association, source event types mapping, and partitioning and searching data by LogSet in the Logging Analytics service +- Support for Log events APIs used by plugins like fluentd, fluentbit, etc. to upload data in the Logging Analytics service +- Support for a new ActionType: FAILED in work requests in the VMware Provisioning service +- Support for calling Oracle Cloud Infrastructure services in the il-jerusalem-1 region + +## 49.0.0 - 2021-10-05 +### Added +- Support for configuring Binlog variables in the MySQL Database service. +- Support new response value "OPERATOR" for backup creationType in list and get MDS - backup API in the MySQL Database service. +- Support for SetAutoUpgradableConfig and GetAutoUpgradableConfig operations in - Management Agent Cloud service. +- Support for additional installType filter for List Management Agents, Images and Count - API operations in Management Agent Cloud service. +- Support for list and read DeploymentUpgrade, cancel and restore DeploymentBackup in - the Golden Gate service. +- Support for non-autonomous databases targets, executing Pre-Migration advisor, - uploading Datapump logs into Object Storage bucket, and filtering Database Objects in - the Database Migration service. +- Support for calling Oracle Cloud Infrastructure services in the ap-ibaraki-1 region. + +### Breaking +- Property `Display` was removed from `ListWorkRequestErrorRequest`, `ListWorkRequestLogsRequest`, `ListWorkRequestsRequest` models in Database Migration service +- Property `LifecycleState` was changed to `MigrationLifecycleStatesEnum` type from `Migration`, `MigrationSummary` models in Database Migration service +- Property `CompartmentId` was removed from `UpdateAgentDetails` model in Database Migration service +- Property `TimeStamp` was renamed to `Timestamp` from `WorkRequestError`, `WorkRequestLogEntry` models in Database Migration service +- Property `IsAgentAutoUpgradable` was removed from `UpdateManagementAgentDetails` model in Management Agent service + +## 48.0.0 - 2021-09-28 +### Added +- Support for autonomous databases and clones on shared infrastructure not requiring mTLS in the Database service +- Support for server-side encryption using object-specific KMS keys in the Object Storage service +- Support for Windows in the Java Management service +- Support for using network security groups in the API Gateway service +- Support for network security groups in the Functions service +- Support for signed container images in the Functions service +- Support for setting message format when creating and updating alarms in the Monitoring service +- Support for user and security assessment features in the Data Safe service + +### Breaking changes +- Model `RequestSummarizedApplicationUsageDetails`, `RequestSummarizedInstallationUsageDetails`, `RequestSummarizedJreUsageDetails` + and `RequestSummarizedManagedInstanceUsageDetails` were removed in the Java Management service +- Operation `RequestSummarizedApplicationUsage`, `RequestSummarizedInstallationUsage`, `RequestSummarizedJreUsage` and +`RequestSummarizedManagedInstanceUsage` were removed in the Java Management service + + +## 47.1.0 - 2021-09-14 +### Added +- Support for serviceHostKeyFingerprint property for InstanceConsoleConnection in Core service +- Support for Shielded Instances in Core service +- Support for ML Jobs in the Data Science service + +## 47.0.0 - 2021-09-07 +### Added +- Support for terraform advanced options (detailed log level, refresh, and parallelism) on jobs in the Resource Manager service +- Support for forced cancellation when cancelling jobs in the Resource Manager service +- Support for getting the detailed log content of a job in the Resource Manager service +- Support for provider information in the responses of list operations in the Management Dashboard service +- Support for scheduled jobs in Database Management service +- Support for monitoring and management of OCI virtual machine, bare metal, and ExaCS databases in the Database Management service +- Support for a unified way of managing both external and cloud databases in the Database Management service +- Support for metrics and Performance Hub on virtual machine, bare metal, and ExaCS databases in the Database Management service + +### Breaking changes: +- Parameter `OciSplatGeneratedOcids` was removed from operation `CreateTemplate` in the Resource Manager service + +## 46.2.0 - 2021-08-31 +### Added +- Support for Oracle Analytics Cloud and OCI Vault integration on connections in the Data Catalog service +- Support for critical event monitoring in the OS Management service +- Added eventual consistency for retry strategies + +## 46.1.0 - 2021-08-24 +### Added +- Support for generating recommended VM cluster networks in the Database service +- Support for creating VM cluster networks with a specified listener port in the Database service + +## 46.0.0 - 2021-08-17 +### Added +- Support for getting management agent hosts which are eligible to create Operations Insights host resources on, in the Operations Insights service +- Support for getting summarized agent counts and summarized plugin counts in the Management Agent Cloud service + +### Breaking +- The type for property `PluginName` was changed from `*string` to `[]string` for `ListManagementAgentsRequest` model under the ManagementAgent service +- The type for property `Version` was changed from `*string` to `[]string` for `ListManagementAgentsRequest` model under the ManagementAgent service +- The type for property `PlatformType` was changed from `ListManagementAgentsPlatformTypeEnum` to `[]PlatformTypesEnum` for `ListManagementAgentsRequest` model under the ManagementAgent service + +## 45.2.0 - 2021-08-03 +### Added +- Support for manually copying volume group backups across regions in the Block Volume service +- Support for work requests for the copy volume backup and copy boot volume backup operations in the Block Volume service +- Support for specifying external Hive metastores during application creation in the Data Flow service +- Support for changing the compartment of a backup in the MySQL Database service +- Support for model catalog features including provenance, metadata, schemas, and artifact introspection in the Data Science service +- Support for Exadata system network bonding in the Database service +- Support for creating autonomous databases with early patching enabled in the Database service + +## 45.1.0 - 2021-07-27 +### Added +- Support for filtering by tag on capacity planning and SQL warehouse list operations in the Operations Insights service +- Support for creating cross-region autonomous data guards in the Database service +- Support for the customer contacts feature on cloud exadata infrastructure in the Database service +- Support for cost analysis custom tables in the Usage service +- Updated THIRD_PARTY_LICENSES and added THIRD_PARTY_LICENSES_DEV file + +## 45.0.0 - 2021-07-20 +### Added +- Support for schedules, schedule tasks, REST tasks, operators, S3, and Fusion Apps in the Data Integration service +- Support for getting available updates and update histories for VM clusters in the Database service +- Support for downloading network validation reports for Exadata network resources in the Database service +- Support for patch and upgrade of Grid Infrastructure (GI), and update of DomU OS software for VM clusters in the Database service +- Support for updating data guard associations in the Database service + +### Breaking +- The property `ModelType` was removed and property `BucketName` was replaced by `BucketSchema` in the models OracleAdwcWriteAttributes and OracleAtpWriteAttributes under the Data Integration service +- The type for property `Type` was changed from `BaseType` to `*interface{}` for Parameter model under the Data Integration service +- The type for property `Type` was changed from `*string` to `*interface{}` for ShapeField and NativeShapeField models under the Data Integration service +- Added extraHeaders parameter to `HTTPRequest` method in OCIRquest interface + +## 44.0.0 - 2021-07-13 +### Added +- Support for the AI Anomaly Detection service +- Support for retrieving a DNS zone as a zone file in the DNS service +- Support for querying manual adjustments in the Usage service +- Support for searching Marketplace listings in the Marketplace service +- Support for new cluster type 'ODH' in the Big Data service +- Support for availability domain as an optional parameter when creating VLANs in the Networking service +- Support for search domain type on DHCP options, to support multi-level domain search in the Networking service + +### Breaking +- Parameter `Tsig` in model `external_master` was removed in the DNS service +- model `create_custom_table_details`, `create_schedule_report_details`, `custom_table`, `custom_table_collection`, `custom_table_summary`, `saved_schedule_report`, `schedule_report`, `schedule_report_collection`, `schedule_report_summary`, `update_custom_table_details`, `update_schedule_report_details` were removed in the Usage service + +## 43.1.0 - 2021-07-06 +### Added +- Support for order activation in the Organizations service +- Support for resource principal authorization on Enterprise Manager bridge resources in the Operations Insights service +- Support for the starter edition license type in the Content and Experience service +- Support for the Generic Artifacts service's new domain name + +## 43.0.0 - 2021-06-29 +### Added +- Support for the DevOps service +- Support for configuring network security groups for node pools in the Container Engine for Kubernetes service +- Support for optionally specifying CPU core count and data storage size when creating autonomous databases in the Database service +- Support for metastore and initial data asset import/export in the Data Catalog service +- Support for associating domain names to emails and managing email domain names / DKIM in the Email Delivery service +- Support for email domain names on senders and suppressions in the Email Delivery service +- Add multipart download example + +### Breaking changes +- Property `LifecycleState` in model `SenderSummary`'s type was changed from `SenderSummaryLifecycleStateEnum` to `SenderLifecycleStateEnum` + in the Email Delivery service +- Parameter `SoryBy` in the operation `ListJobExecutions`'s type `ListJobExecutionsSortByEnum`, item `ListJobExecutionsSortByDisplayname` + was removed in the Data Catalog service + + + +## 42.1.0 - 2021-06-22 +### Added +- Support for virtual machine and bare metal pluggable databases in the Database service + +## 42.0.0 - 2021-06-15 +### Added +- Support for elastic storage on Exadata Infrastructure resources for Cloud at Customer in the Database service +- Support for registration and management of target databases in the Data Safe service +- Support for config on metadata in the Management Dashboard service +- Support for a new work request operation type for node pool reconciliation events in the Container Engine for Kubernetes service +- Support for migrating clusters with a public Kubernetes API endpoint which are not integrated with a customer's VCN to a VCN-native cluster in the Container Engine for Kubernetes service +- Support for getting the spark version of applications, and filtering applications by spark version, in the Data Flow service + +### Breaking +- Propertry `FreeformTags` and `DefinedTags` were removed from the management_dashboard_export_details model in the Management Dashboard service + +## 41.2.0 - 2021-06-08 +### Added +- Support for Java Management service +- Support for resource principals for the Enterprise Manager bridge resource in Operations Insights service +- Support for encryptionInTransitType in BootVolumeAttachment and IScsiVolumeAttachment in Core service +- Support for updating iscsiLoginState for VolumeAttachment in Core service +- Support for a new type of Source called Import for use with the Export tool in Application Migration service +- Support for Expect/100-continue HTTP header. Expect headers are added by default for all PUT/POST operations + +## 41.1.0 - 2021-06-01 +### Added +- Support for configuration of autonomous database KMS keys in the Database service +- Support for creating database software images with any supported RUs in the Database service +- Support for creating database software images from an existing database home in the Database service +- Support for listing all NSGs associated with a given VLAN in the Networking service +- Support for a duration windows, task failure reasons, and next execution times on scheduled tasks in the Logging Analytics service +- Support for calling Oracle Cloud Infrastructure services in the sa-vinhedo-1 region + +## 41.0.0 - 2021-05-25 +### Added +- Support for the Generic Artifacts service +- Support for the Bastion service +- Support for reading secrets by name in the Vault service +- Support for the isDynamic field when listing definitions in the Limits service +- Support for getting billable image sizes in the Compute service +- Support for getting Automatic Workload Repository (AWR) data on external databases in the Database Management service +- Support for the VM.Standard.E3.Flex flexible compute shape with customizable OCPUs and memory on notebooks in the Data Science service +- Support for container images and generic artifacts billing in the Registry service +- Support for the HCX Enterprise add-on in the VMware Solution service + +### Breaking changes +- Property `Name` of Model `SupportedSkuSummary` type changed from `SupportedSkuSummaryNameEnum` to `SkuEnum` in the VMware Solution service + +## 40.4.0 - 2021-05-18 +### Added +- Support for spark-submit compatible options in the Data Flow service +- Support for Object Storage as a configuration source in the Resource Manager service + +### Fixed +- Fixed UploadManager creates too many small parts issue + +## 40.3.0 - 2021-05-11 +### Added +- Support for creating notebook sessions with larger block volumes in the Data Science service +- Support for database maintenance run patch modes in the Database service + +## 40.2.0 - 2021-05-04 +### Added +- Support for the Operator Access Control service +- Support for the Service Catalog service +- Support for the AI Language service +- Support for autonomous database on Exadata Cloud at Customer infrastructure patching in the Database service +- Added default retry policy, which retries on 409(IncorrectState), 429(TooManyRequests) and any 5XX errors except + 501(MethodNotImplemented), and uses exponential backoff + + + + +## 40.1.0 - 2021-04-27 +### Added +- VCN id parameters were moved from being required to being optional on all list operations in the Networking service +- Support for RACs (real application clusters) for external container, non-container, and pluggable databases in the Database service +- Support for data masking in the Cloud Guard service +- Support for opting out of DNS records during instance launch, as well as attaching secondary VNICs, in the Compute service +- Support for mutable sizes on cluster networks in the Autoscaling service +- Support for auto-tiering on buckets in the Object Storage service + + + + +## 40.0.0 - 2021-04-20 +### Added +- Support for opting in/out of live migration on instances in the Compute service +- Support for enabling/disabling Operations Insights on external non-container and external pluggable databases in the Database service +- Support for a GraphStudio URL as a connection URL on databases in the Database service +- Support for adding customer contacts on autonomous databases in the Database service +- Support for name annotations on harvested objects in the Data Catalog service +- Fixed retry doesn't work once the request is with binary request body issue, for detail, can refer https://github.com/oracle/oci-go-sdk/blob/master/oci.go#L271 + +### Breaking changes +- Added a method `BinaryRequestBody()` to interface `OCIRetryableRequest`, any data type inherit the interface has to implement the method + +## 39.0.0 - 2021-04-13 +### Added +- Support for the Database Migration service +- Support for the Networking Topology service +- Support for getting the id of peered VCNs on local peering gateways in the Networking service +- Support for burstable instances in the Compute service +- Support for preemptible instances in the Compute service +- Support for fractional resource usage and availability in the Limits service +- Support for streaming analytics in the Service Connector Hub service +- Support for flexible routing inside DRGs to enable packet flow between any two attachments in the Networking service +- Support for routing policy to customize dynamic import/export of routes in the Networking service +- Support for IPv6, including on FastConnect and IPsec resources, in the Networking service +- Support for request validation policies in the API Gateway service +- Support for RESP-compliant (e.g. REDIS) response caches, and for configuring response caching per-route in the API Gateway service +- Support for flexible billing in the VMWare Solution service +- Support for new DNS format for the Web Application Acceleration and Security service +- Support for configuring APM tracing on applications and functions in the Functions service +- Support for Enterprise Manager external databases and Management Agent Service managed external databases and hosts in the Operations Insights service +- Support for getting cluster cache metrics for RAC CDB managed databases in the Database Management service + +### Breaking Changes +- Property `IsInternetAccessAllowed` in model `CreateIpv6Details` was removed in the Networking service +- Property `Ipv6CidrBlock` in model `CreateVcnDetails` was removed in the Networking service +- Property `IsInternetAccessAllowed` and `PublicIpAddress` in model `Ipv6` were removed in the Networking service +- Property `Ipv6PublicCidrBlock` in model `Subnet` was removed in the Networking service +- Property `IsInternetAccessAllowed` in model `UpdateIpv6Details` was removed in the Networking service +- Property `Ipv6CidrBlock` and `Ipv6PublicCidrBlock` in model `Vcn` were removed in the Networking service +- Property `CurrentSku` in model `CreateEsxiHostDetails` was added in the VMWare Solution service +- Property `InitialSku` in model `CreateSddcDetails` was added in the VMWare Solution service +- Model `DatabaseInsightSummary` type was changed from struct to interface in the Operations Insights service + +## 38.1.0 - 2021-04-06 +### Added +- Support for scheduling the suspension and resumption of compute instance pools based on predefined schedules in the Autoscaling service +- Support for database software images for Cloud@Customer in the Database service +- Support for OCIC IDCS authorization details in the Application Migration service +- Support for cross-region asynchronous volume replication in the Block Storage service +- Support for SDK generation in the API Gateway service +- Support for container image signing in the Registry service +- Support for cluster features as a part of the Container Engine for Kubernetes service +- Support for filtering dedicated virtual machine hosts by remaining memory and OCPUs in the Compute service +- Support for read/write-any object from buckets using pre-authenticated requests in the Object Storage service +- Support for restricting pre-authenticated requests by prefix in the Object Storage service +- Support for route filtering on public virtual circuits in the Virtual Networking service + +## 38.0.0 - 2021-03-30 +### Added +- Support for the Vulnerability Scanning service +- Support for vSphere 7.0 in the VMware Solution service +- Support for forecasting in the Usage service +- Support for viewing, searching, and modifying parameters for on-premise Oracle databases in the Database Management service +- Support for listing tablespaces of managed databases in the Database Management service +- Support for cross-regional replication of keys in the Key Management service +- Support for highly-available database systems in the MySQL Database service +- Support for Oracle Enterprise Manager bridges, source auto-association, source event type mappings, and plugins to upload data in the Logging Analytics service + +### Breaking changes +- Model `Forecast`'s Enum value was changed from `ForecastForcastTypeEnum` to `ForecastForecastTypeEnum` in the Usage service +- Operation `ListLookups`'s Enum value was changed from `ListLookupsStatusSuccesful` to `ListLookupsStatusSuccessful` in the +Logging Analytics service + +## 37.0.0 - 2021-03-23 +### Added +- Support for the Network Load Balancing service +- Support for maintenance runs on autonomous databases in the Database service +- Support for announcement preferences in the Announcements service +- Support for domain claiming in the Organizations service +- Support for saved reports in the Usage service +- Support for the HeatWave in-memory analytics accelerator in the MySQL Database service +- Support for community applications in the Marketplace service +- Support for capacity reservations in the Compute service + +### Breaking changes +- Operation `ListWorkRequests`'s param `Status`'s type was changed from `[]ListWorkRequestsStatusEnum` to +`[]WorkRequestStatusEnum` in the Analytics service +- Operation `RequestSummarizedProblems`'s parameter `ListDimensions`'s type was changed from +`[]RequestSummarizedProblemsListDimensionsEnum` to `[]ProblemDimensionEnum` in the Cloudguard service +- Operation `RequestSummarizedResponderExecutions`'s parameter `ResponderExecutionsDimensions`'s type was changed from +`[]RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum` to `[]ResponderDimensionEnum` in the Cloudguard service +- Operation `ListClusters`'s parameter `LifecycleState`'s type was changed from `[]ListClustersLifecycleStateEnum` to +`[]ClusterLifecycleStateEnum` in the ContainerEngine service +- Model `Attribute`'s property `AssociatedRuleTypes`'s type was changed from `[]AttributeAssociatedRuleTypesEnum` to +`[]RuleTypeEnum` in the Datacatalog service +- Model `AttributeSummary`'s property `AssociatedRuleTypes`'s type was changed from `[]AttributeSummaryAssociatedRuleTypesEnum` +to `[]RuleTypeEnum` in the Datacatalog service +- Operation `ListCustomProperties`'s parameter `DataTypes`'s type was changed from `[]ListCustomPropertiesDataTypesEnum` to +`[]CustomPropertyDataTypeEnum` in the Datacatalog service +- Operation `Recommendations`'s parameter `RecommendationType`'s type was changed from `[]RecommendationsRecommendationTypeEnum` +to `[]RecommendationTypeEnum` in the Datacatalog service +- Operation `ListListings`'s parameter `Pricing`'s type was changed from `[]ListListingsPricingEnum` to `[]PricingTypeEnumEnum` +in the Marketplace service +- Operation `ListListings`'s parameter `ListingTypes`'s type was changed from `[]ListListingsListingTypesEnum` to `[]ListingTypeEnum` +in the Marketplace service +- Operation `ListAddressLists`'s parameter `LifecycleState`'s type was changed from `[]ListAddressListsLifecycleStateEnum` to +`LifecycleStatesEnum` in the Waas service +- Operation `ListCertificates`'s parameter `LifecycleState`'s type was changed from `[]ListCertificatesLifecycleStateEnum` to +`[]LifecycleStatesEnum` in the Waas service +- Operation `ListCustomProtectionRules`'s parameter `LifecycleState`'s type was changed from `[]ListCustomProtectionRulesLifecycleStateEnum` +to `[]LifecycleStatesEnum` in the Waas service +- Operation `ListHttpRedirects`'s parameter `LifecycleState`'s type was changed from `[]ListHttpRedirectsLifecycleStateEnum` +to `[]LifecycleStatesEnum` in the Waas service +- Operation `ListWaasPolicies`'s parameter `LifecycleState`'s type was changed from `[]ListWaasPoliciesLifecycleStateEnum` to +`LifecycleStatesEnum` in the Waas service +- Operation `ListWorkRequestErrors`'s parameter `CompartmentId` was removed in the Tenantmanagercontrolplane Service +- Model `Ipv6`'s property `VnicId` was tagged as mandatory in the VCN service +- Model `CreateIpv6Details`'s property `VnicId` was tagged as mandatory in the VCN service + +## 36.2.0 - 2021-03-16 +### Added +- Support for routing policies and HTTP2 listener protocols in the Load Balancing service +- Support for model deployments in the Data Science service +- Support for private clusters in the Container Engine for Kubernetes service +- Support for updating an instance's usage type in the Content and Experience service + +## 36.1.0 - 2021-03-09 +### Added +- Support for the Application Performance Monitoring service +- Support for the Golden Gate service +- Support for SMS subscriptions in the Notifications service +- Support for friendly-formatted messages in the Service Connector Hub service +- Support for attaching and detaching instances to instance pools in the Autoscaling service + +## 36.0.0 - 2021-03-02 +### Added +- Support for pipelines, pipeline tasks, and favorites in the Data Integration service +- Support for publishing tasks to OCI Data Flow in the Data Integration service +- Support for clones in the File Storage service + +### Breaking changes +- Changed model `UniqueKey` type from struct to interface in the Data Integration service +- Removed property `ModelType` from Model `PrimaryKey` in the Data Integration service +- Changed model `ForeignKey` property `ReferenceUniqueKey` type from `*UniqueKey` to `UniqueKey` in the Data Integration service +- Removed KeyModelTypeEnum enum type `PRIMARY_KEY` and `UNIQUE_KEY` from model `key` in the Data Integration service + +## 35.3.0 - 2021-02-23 +### Added +- Support for the OCI Registry service +- Support for exporting an existing running VM, or a copy of VM, into a VMDK, QCOW2, VDI, VHD, or OCI formatted image in the Compute service +- Support for platform configurations on instances in the Compute service +- Support for providing target tags and target compartments on profiles in the Optimizer service +- Support for the 'Fix it' feature in the Optimizer service + +## 35.2.0 - 2021-02-16 +### Added +- Support for scan DNS names and zone ids on database system, cloud VM cluster, and autonomous Exadata infrastructure responses in the Database service +- Support for specifying ACL rules to limit ingress into public load balancers in the Integration service +- Support for Cloud at Customer as a source type in the Application Migration service +- Support for selective migration of specific resources in the Application Migration service + +## 35.1.0 - 2021-02-09 +### Added +- Support for the Database Management service +- Support for setting an offset for budget processing in the Budgets service +- Support for enabling and disabling Oracle Cloud Agent plugins in the Compute service +- Support for listing available plugins and for getting the status of plugins in the Oracle Cloud Agent service +- Support for one-off patching in autonomous transaction processing - dedicated databases in the Database service +- Support for additional database upgrade options in the Database service +- Support for glossary term recommendations in the Data Catalog service +- Support for listing errata in the OS Management service + +## 35.0.0 - 2021-02-02 +### Added +- Support for checking if a contact for Exadata infrastructure is valid in My Oracle Support in the Database service +- Support for checking if Exadata infrastructure is in a degraded state in the Database service +- Support for updating the operating system on a VM cluster in the Database service +- Support for external databases in the Database service +- Support for uploading objects to the infrequent access storage tier in the Object Storage service +- Support for changing the storage tier of existing objects in the Object Storage service +- Support for private templates in the Resource Manager service +- Support for multiple encryption domains on IPSec tunnels in the Networking service + +### Breaking changes +- Header Parameter `Etag` in Operation `ListAppCatalogListingResourceVersions` response was removed from the Core service +- Property `VnicId` in model `Ipv6` was removed from from the Core service +- Const `GetObjectArchivalStateAvailable` was removed from operation `GetObject` response from the Object Storage service + +## 34.0.0 - 2021-01-26 +### Added +- Support for creating, managing, and using asymmetric keys in the Key Management service +- Support for peer ACD unique names in Exadata Cloud at Customer in the Database service +- Support for ACLs on autonomous databases in Exadata Cloud at Customer Data Guard in the Database service +- Support for drift detection on individual resources of a stack in the Resource Manager service +- Support for private access channels and vanity URLs in the Analytics Cloud service +- Support for updating load balancer shapes in the Blockchain Platform service +- Support for assigning volume backup policies to volume groups in the Block Volume service + +### Breaking changes +- Property `IdcsAccessToken` in model `CreateBlockchainPlatformDetails` changed from `optional` to `required` in the Blockchain Platform service +- Const `WrappedImportKeyWrappingAlgorithmRsaOaepSha256` was removed from model `WrappedImportKey` in the Key Management service + +## 33.0.0 - 2021-01-19 +### Added +- Support for Logging Analytics as a target in the Service Connector Hub service +- Support for lookups, agent collection warnings, task commands, and data archive/recall in the Logging Analytics service + +### Fixed +- Fixed a bug in the endpoint used for the Management Dashboard service + +### Breaking changes +- Parameter `SortBy` type in request `ListMetaSourceTypesRequest` changed from `*string` to `ListMetaSourceTypesSortByEnum` in the Logging Analytics service +- Parameter `SortBy` type in request `ListParserFunctionsRequest` changed from `*string` to `ListParserFunctionsSortByEnum` in the Logging Analytics service +- Parameter `SortBy` type in request `ListParserMetaPluginsRequest` changed from `*string` to `ListParserMetaPluginsSortByEnum` in the Logging Analytics service +- Parameter `SortBy` type in request `ListSourceLabelOperatorsRequest` changed from `*string` to `ListSourceLabelOperatorsSortByEnum` in the Logging Analytics service +- Parameter `SortBy` type in request `ListSourceMetaFunctionsRequest` changed from `*string` to `ListSourceMetaFunctionsSortByEnum` in the Logging Analytics service +- Model `UpdateScheduledTaskDetails` type changed from struct to interface +- Model `ScheduledTask` type changed from struct to interface in the Logging Analytics service + +## 32.0.0 - 2021-01-12 +### Added +- Support for auto-scaling in the Big Data service +- Documentation fixes for the Logging Search service + +### Breaking changes +- Removed `NodeLifecycleStateStarting` and `NodeLifecycleStateStopping` from the model of `NodeLifecycleStateEnum` in the Big Data service +- Removed `BdsInstanceLifecycleStateUpdatingInfra` from `BdsInstanceLifecycleStateEnum` from the model of `BdsInstance` in the Big Data service + +## 31.0.0 - 2020-12-15 +### Added +- Support for filtering listKeys based on KeyShape in KeyManagement service +- Support for the Oracle Roving Edge Infrastructure service +- Support for flexible ShapeDetails in Load Balancer service +- Support for listing of harvested Rules, additional filtering for Logical Entity list calls in Data Catalog service +- Support second level domain for audit SDK +- Support for listing flex components in Database service +- Support for APEX service for ADBS on OCI console for Database service +- Support for Customer-Managed Key features as a part of the Database service +- Support for Github configuration source provider as part of the Resource Manager service + +### Breaking changes +- Removed deprecated API `CreateAutonomousDataWarehouse` from Database service +- Removed deprecated API `CreateAutonomousDataWarehouseBackup` from Database service +- Removed deprecated API `DeleteAutonomousDataWarehouse` from Database service +- Removed deprecated API `GenerateAutonomousDataWarehouseWallet` from Database service +- Removed deprecated API `GetAutonomousDataWarehouse` from Database service +- Removed deprecated API `GetAutonomousDataWarehouseBackup` from Database service +- Removed deprecated API `ListAutonomousDataWarehouseBackups` from Database service +- Removed deprecated API `ListAutonomousDataWarehouses` from Database service +- Removed deprecated API `RestoreAutonomousDataWarehouse` from Database service +- Removed deprecated API `StartAutonomousDataWarehouse` from Database service +- Removed deprecated API `StopAutonomousDataWarehouse` from Database service +- Removed deprecated API `UpdateAutonomousDataWarehouse` from Database service +- Method GetLifecycleState()'s return type in the interface `ConfigurationSourceProviderSummary` was changed from +`ConfigurationSourceProviderSummary` to `ConfigurationSourceProviderLifecycleStateEnum` + +## 30.1.0 - 2020-12-08 +### Added +- Support for Integration Service custom endpoint feature +- Support for metadata field in IdentityProvider Get and List response +- Support for fine-grained data analysis and improved SQL insights +- Support for ADB Dedicated - ORDS and SSL cert rotation at AEI +- Support for Maintenance Schedule feature for Exadata Infrastructure resources for ExaCC + +## 30.0.0 - 2020-12-01 +### Added +- Support for calling Oracle Cloud Infrastructure services in the sa-santiago-1 region +- Support for peer and OSN resources, as well as retry tokens, in the - Blockchain Platform service +- Support for getting the availability status of management agents in the Management Agent service +- Support for the on-prem-connector resource type in the Data Safe service +- Support for service channels in the MySQL Database service +- Support for getting the creation type of backups, and for filtering backups by creation type in the MySQL Database service + +### Breaking changes +- Update property `IsEnabled` in model `EnableDataSafeConfigurationDetails` of service `datasafe` + +## 29.0.0 - 2020-11-17 +### Added +- Support for specifying memory for AMD E3 shapes during node pool creation and update in the Container Engine for Kubernetes service +- Support for upgrading a database on a VM database system in the Database service +- Support for listing autonomous database clones in the Database service +- Support for Data Guard with autonomous container databases on Exadata Cloud at Customer in the Database service +- Support for getting the last login time of a user in the Identity service +- Support to bulk editing tags on resources in the Identity service + +### Breaking changes +- Models `AgentUpload`, `Attribute`, `CreateNamespaceDetails`, `FieldMap`, `GenerateAgentObjectNameDetails`, +`LogAnalytics`, `LogAnalyticsCollectionWarning`, `LogAnalyticsSummary`, `OutOfBoxEntityTypeDetails`, `Query`, +`QueryWorkRequestResource`, `RegisterEntityTypesDetails`, `ServiceTenancy`, `StringListDetails` and property +`SortOrdersEnum` are removed in loganalytics service +- Property 'Id' type changed from *interface{} to *string of model `LogAnalyticsParserFilter` in loganalytics service +- Property `mappingAbstractCommandDescriptorName` key `CUSLTER_SPLIT` and value `AbstractCommandDescriptorNameCuslterSplit` +were changed to `CLUSTER_SPLIT` and `AbstractCommandDescriptorNameClusterSplit` in loganalytics service + +## 28.0.0 - 2020-11-10 +### Added +- Support for the 21C autonomous database version in the Database service +- Support for creating a Data Guard association with a standby database from a database software image in the Database service +- Support for specifying a TDE wallet password when creating a database or database system in the Database service +- Support for enabling access control lists for autonomous databases on Exadata Cloud At Customer in the Database service +- Support for private DNS resolvers, resolver endpoints, and views in the DNS service +- Support for getting a VCN and resolver association in the Networking service +- Support for additional parameters when updating subnets and VLANs in the Networking service +- Support for analytics clusters (database accelerators) in the MySQL Database service +- Support for migrations to Java Cloud Service and Oracle Weblogic Server instances that use existing databases in the Application Migration service +- Support for specifying reserved IPs when creating load balancers in the Load Balancing service +- Fix once request header content-length is 0, request body is not nil, then send chunked-encoding header issue + +### Breaking changes +- Parameter `LifecycleState` type in `listMigrations` API from applicationmigration service is changed to `ListMigrationsLifecycleStateEnum` +- Parameter `LifecycleState` type in `listSources` API from applicationmigration service is changed to `ListSourcesLifecycleStateEnum` + +## 27.3.0 - 2020-11-03 +### Added +- Support for calling Oracle Cloud Infrastructure services in the uk-cardiff-1 region +- Support for the Organizations service +- Support for the Optimizer service +- Support for tenancy ID and name on responses in the Usage service +- Support for object versioning in object lifecycle management in the Object Storage service +- Support for specifying a syslog URL for applications in the Functions service +- Support for creation of always-free NoSQL database tables in the NoSQL Database service + +## 27.2.0 - 2020-10-27 +### Added +- Support for the Compute Instance Agent service +- Support for key store resources and operations in the Database service +- Support for specifying a key store when creating autonomous container databases in the Database service + +## 27.1.0 - 2020-10-20 +### Added +- Support for the Operations Insights service +- Support for updating autonomous databases to enable/disable Operations Insights service integration, in the Database service +- Support for the NEEDS_ATTENTION lifecycle state on database systems in the Database service +- Support for HCX in the VMware Solutions service + +## 27.0.0 - 2020-10-13 +### Added +- Support for API definitions in the API Gateway service +- Support for pattern-based logical entities, namespace-bound custom properties, and faceted search in the Data Catalog service +- Support for autonomous Data Guard on autonomous infrastructure in the Database service +- Support for creating a Data Guard association on an existing standby database home in the Database service +- Support for upgrading cloud VM cluster grid infrastructure in the Database service +- Support for applying same retry policy across multiple requests in the same service +- Support for resource principal v1.1 authentication. + +### Breaking changes +- Removed property `IsQuickStart` from model `LogSavedSearch`, `LogSavedSearchSummary`, `UpdateLogSavedSearchDetails` and +`CreateLogSavedSearchDetails` in logging service. +- Removed LogSavedSearchLifecycleStateEnum `DELETED` in logging service + +## 26.0.0 - 2020-10-06 +### Added +- Support for calling Oracle Cloud Infrastructure services in the me-dubai-1 region +- Support for rotating keys on autonomous container databases and autonomous databases in the Database service +- Support for cloud Exadata infrastructure and cloud VM clusters in the Database service +- Support for controlling the display of tax banners in the Marketplace service +- Support for application references, patch changes, generic JDBC and MySQL data asset types, and publishing tasks to OCI Dataflow in the Data Integration service +- Support for disabling the legacy Instance Metadata endpoints v1 in the Compute service +- Support for instance configurations specifying instance options in the Compute Management service + +### Breaking changes +- Removed model `TypedNamePatternRule` method `UnmarshalJSON` in dataintegration service. + +## 25.2.0 - 2020-09-29 +### Added +- Support for specifying custom content dispositions when downloading objects in the Object Storage service +- Support for the “bring your own IP address” feature in the Virtual Networking service +- Support for updating the tags of instance console connections in the Compute service +- Support for custom SSL certificates on gateways in the API Gateway service + +## 25.1.0 - 2020-09-22 +### Added +- Support for software keys in the Key Management service +- Support for customer contacts on Exadata Cloud at Customer in the Database service +- Support for updating open modes and permission levels of autonomous databases in the Database service +- Support for flexible memory on VM instances in the Compute and Compute Management services + +## 25.0.0 - 2020-09-15 +### Added +- Support for the Cloud Guard service +- Support for specifying desired consumption models when creating instances in the Integration service +- Support for dynamic shapes in the Load Balancing service +- Support for allowing clients to return their currently configured endpoint +- Support for running existing code/samples which call the SDK in Cloud Shell without any changes +- Support for dumping request/response body in SDK logging error for 4XX/5XX errors +- Support for Go Modules + +### Breaking changes +- All oci-go-sdk imports need to add specific major version for go module users, for more information please refer README.md +- Method `AuthType()` was added to the interface `ConfigurationProvider`, any interface/struct that inherits the interface is expected to implement AuthType() +- Client end logging level was updated from debug to info level for errors in `client.HTTPClient.Do(request)` + +## 24.3.0 - 2020-09-08 +### Added +- Support for Logging Service +- Support for Logging Analytics Service +- Support for Logging Search Service +- Support for Logging Ingestion Service +- Support for Management Agent Cloud Service +- Support for Management Dashboard Service +- Support for Service Connector Hub service +- Support for Policy based Request/Response transformation in the API Gateway Service +- Support for sending diagnostic interrupt to a VM instance in the Compute Service +- Support for custom Database Software Images in the Database Service +- Support for getting and listing container database patches for Autonomous Container Database resources in the Database Service +- Support for updating patch id on maintenance run for Autonomous Container Database resources in the Database Service +- Support for searching Oracle Cloud resources across tenancies in the Search Service +- Documentation update for Logging Policies in the API Gateway service + +## 24.2.0 - 2020-09-01 +### Added +- Support for calling Oracle Cloud Infrastructure services in the ap-chiyoda-1 region +- Support for VM database cloning in the Database service +- Support for the MAINTENANCE_IN_PROGRESS lifecycle state on database systems, VM clusters, and Cloud Exadata in the Database service +- Support for provisioning refreshable clones in the Database service +- Support for new options on listeners and backend sets for specifying SSL protocols, SSL cipher suites, and server ordering preferences in the Load Balancing service +- Support for AMD flexible shapes with configurable CPU in the Container Engine for Kubernetes service +- Support for network sources in authentication policies in the Identity service + +## 24.1.0 - 2020-08-18 +### Added +- Support for custom boot volume size and other node pool updates in the Container Engine for Kubernetes service +- Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service +- Support for stopping VM instances after scheduled maintenance or hypervisor reboots in the Compute service +- Support for creating and managing private endpoints in the Data Flow service +- Fix upload manager upload extreme large file out of memory issue +- Temporarily remove go mod feature + +## 24.0.0 - 2020-08-11 +### Added +- Support for autonomous json databases in the Database service +- Support for cleaning up uncommitted multipart uploads in the Object Storage service +- Support for additional list API filters in the Data Catalog service +- Support for Go SDK logging to file +- Support for Go Modules + +### Breaking changes +- Some unusable region enums were removed from the Support Management service +- `CreateIncidentRequest` parameter `OpcRetryToken` was removed from the Support Management service + +## 23.0.0 - 2020-08-04 +### Added +- Support for calling Oracle Cloud Infrastructure services in the uk-gov-cardiff-1 region +- Support for creating and managing private endpoints in the Data Flow service +- Support for changing instance shapes and restarting nodes in the Big Data service +- Support for additional versions (for example CSQL) in the Big Data service +- Support for creating stacks from compartments in the Resource Manager service + +### Breaking changes +- Updated the property of `LifeCycleDetails` to `LifecycleDetails` from the model of `BlockchainPlatformSummary` and `BlockchainPlatformByHostname` in the blockchain service + +## 22.0.0 - 2020-07-28 +### Added +- Support for calling Oracle Cloud Infrastructure services in the us-sanjose-1 region +- Support for PKCS#8 format API Keys +- Support for updating the fault domain and launch options of VM instances in the Compute service +- Support for image capability schemas and schema versions in the Compute service +- Support for 'Patch Now' maintenance runs for autonomous Exadata infrastructure and autonomous container database resources in the Database service +- Support for automatic performance and cost tuning on volumes in the Block Storage service + +### Breaking changes +- Removed the accessToken field from the GitlabAccessTokenConfigurationSourceProvider model in the Resource Manager service + +## 21.4.0 - 2020-07-21 +### Added +- Support for license types on instances in the Content and Experience service + +## 21.3.0 - 2020-07-14 +### Added +- Support for the Blockchain service +- Support for failing over an autonomous database that has Data Guard enabled in the Database service +- Support for switching over an autonomous database that has Data Guard enabled in the Database service +- Support for git configuration sources in the Resource Manager service +- Support for optionally specifying a VCN id on list operations of DHCP options, subnets, security lists, route tables, internet gateways, and local peering gateways in the Networking service + +## 21.2.0 - 2020-07-07 +### Added +- Support for registering and deregistering autonomous dedicated databases with Data Safe in the Database service +- Support for switching between non-private-endpoints and private endpoints on autonomous databases in the Database service +- Support for returning group names when listing identity provider groups in the Identity service +- Support for server-side object re-encryption in the Object Storage service +- Support for private endpoint (ingress) and public endpoint whitelisting in the Analytics Cloud service + +### Fixed +- Fixed a bug where setting a Content-Type header twice in the same request + +## 21.1.0 - 2020-06-30 +### Added +- Support for the Usage service +- Support for the VMware Provisioning service +- Support for applying one-off patches to databases in the Database service +- Support for layer-2 virtualization features on vlans in the Networking service +- Support for all AttachVolumeDetails and ParavirtualizedAttachVolumeDetails properties on instance configurations in the Compute Management service +- Support for setting HTTP header size and allowing invalid characters in HTTP request headers in the Load Balancing service + +## 21.0.0 - 2020-06-23 +### Added +- Support for the Data Integration service +- Support for updating database home IDs on databases in the Database service +- Support for backing up autonomous databases on Cloud at Customer in the Database service +- Support for managing autonomous VM clusters on Cloud at Customer in the Database service +- Support for accessing data assets via private endpoints in the Data Catalog service +- Support for dependency archive zip files to be specified for use by applications in the Data Flow service + +### Breaking changes +- Property `LifecycleState` type changed from `JobLifecycleStateEnum` to `ListJobsLifecycleStateEnum` in the Data Catalog service +- Property `JobType` type changed from `JobTypeEnum` to `ListJobsJobTypeEnum` in the Data Catalog service + +## 20.1.0 - 2020-06-16 +### Added +- Support for creating a new database from an existing database based on a given timestamp in the Database service +- Support for enabling archive log backups of databases in the Database service +- Support for returning the database version on autonomous container databases in the Database service +- Support for the new DNS format of the Data Transfer service +- Support for scheduled autoscaling, which allows for scaling actions triggered at particular times based on CRON expressions, in the Compute Autoscaling service +- Support for filtering of list APIs for groups, identity providers, identity provider groups, compartments, dynamic groups, network sources, policies, and users by name or lifecycle state in the Identity Service + +## 20.0.0 - 2020-06-09 +### Added +- Support for returning the database version of backups in the Database service +- Support for patching on Exadata Cloud at Customer resources in the Database service +- Support for new lifecycle substates on instances in the Digital Assistant service +- Support for file servers in the Integration service +- Support for deleting non-empty tag namespaces and bulk deleting tags in the Identity service +- Support for bulk move and bulk delete of resources by compartment in the Identity service +- Support for allowing config file location to be set via env var + +### Breaking changes +- Updated property DataStorageSizeInTBs type from *int to *float64 in the database service +- Removed state 'OFFLINE' and added 'DISCONNECTED' for property ExadataInfrastructureLifecycleStateEnum in database service + + +## 19.4.0 - 2020-06-02 +### Added +- Support for optionally supplying a signature when deleting an agreement in the Marketplace service +- Support for launching paid listings in non-US regions in the Marketplace service +- Support for returning the image id of packages in the Marketplace service +- Support for calling Oracle Cloud Infrastructure services in the ap-chuncheon-1 region +- Support security-token based authentication for all services + + +## 19.3.0 - 2020-05-18 +### Added +- Support for returning the private IP of a private endpoint database in the Database service +- Support for native JWT validation in the API Gateway service + + +## 19.2.0 - 2020-05-12 +### Added +- Support for drift detection in the Resource Manager service + + +## 19.1.0 - 2020-05-05 +### Added +- Support for updating the license type of database systems in the Database service +- Support for updating the version of 19c autonomous databases in the Database service +- Support for backup and restore functionality in the Key Management service +- Support for reports in the Marketplace service +- Support for calling Oracle Cloud Infrastructure services in the ap-hyderabad-1 region + +## 19.0.0 - 2020-04-28 +### Added +- Support for the MySQL Database service +- Support for updating the database home of a database in the Database service +- Support for government regions in the Marketplace service +- Support for starting and stopping instances in the Integration service +- Support for installing Windows updates in the OS Management service + +### Breaking changes +- Removed the models of `UpdatablePackageSummary`, `ManagedInstanceUpdateDetails` and the header parameter `etag` from `WorkRequestErrorsResponse` and `WorkRequestLogsResponse` in the osmanagement service + +## 18.0.0 - 2020-04-21 +### Added +- Support for the Data Safe service +- Support for the Incident Management service +- Support for showing which database versions support always-free in the Database service +- Support in instance configurations for flex shapes, dedicated VM hosts, encryption in transit, and KMS keys in the Compute Autoscaling service +- Support for server-side object encryption using a customer-provided encryption key in the Object Storage service +- Support for specifying maintenance preferences while launching and updating Exadata Database systems in the Database service +- Support for flexible-shaped VM instances in the Compute service +- Support for scheduled cross-region backups in the Block Volume service +- Support for object versioning in the Object Storage service + +### Breaking changes +- Removed the models of `Archiver`, `CreateArchiverDetails` and `UpdateArchiverDetails`, operations of `CreateArchiver`, `GetArchiver`, `StartArchiver`, `StopArchiver` and `UpdateArchiver` in the streaming service + +## 17.4.0 - 2020-04-14 +### Added +- Support for access types on instances in the Content and Experience service +- Support for identity contexts in the Search service + +## 17.3.0 - 2020-04-07 +### Added +- Support for changing compartments of runs and applications in the Data Flow service +- Support for getting usage information in the Key Management Vault service +- Support for custom Key Management service endpoints and private endpoints on stream pools in the Streaming service + +## 17.2.0 - 2020-03-31 +### Added +- Support for the Secrets Management service +- Support for the Big Data service +- Support for updating class name, file URI, language, and spark version of applications in the Data Flow service +- Support for cross-region replication in the Object Storage service +- Support for retention rules in the Object Storage service +- Support for enabling and disabling pod security policy admission controllers in the Container Engine for Kubernetes service + +## 17.1.0 - 2020-03-24 +### Added +- Support for Web Application Acceleration and Security configurations on instances in the Content and Experience service +- Support for shared database homes on Exadata Cloud at Customer resources in the Database service +- Support for Exadata database creation from backup in the Database service +- Support for conditions on JavaScript challenges, new action types on access rules, new policy configuration settings, exclusions on custom protection rules, and IP address lists on IP whitelists in the Web Application Acceleration and Security service + +## 17.0.0 - 2020-03-17 +### Added +- Support for serial console connections in the Database service +- Support for preview database versions in the Database service +- Support for node reboot migration maintenance status and maintenance windows in the Database service +- Support for using instance metadata API v2 for instance principals authentication + + +### Breaking changes +- Removed the model of `AutonomousExadataInfrastructureMaintenanceWindow` from Database service + +## 16.0.0 - 2020-03-10 +### Added +- Support for Events service integration with alerts in the Budgets service +- Support delegation-token auth for all services + +### Breaking changes +- The parameters sort_by and lifecycle_state type from Budget service are changed from str to enum + +## 15.8.0 - 2020-03-03 +### Added +- Support for updating the shape of a Database System in the Database service +- Support for generating CPE configurations for download in the Networking service +- Support for private IPs and fault domains of cluster nodes in the Container Engine for Kubernetes service +- Support for calling Oracle Cloud Infrastructure services in the ca-montreal-1 region +- Support for exposing error after retrying failed in all services. + +## 15.7.0 - 2020-02-25 +### Added +- Support for restarting autonomous databases in the Database service +- Support for private endpoints on autonomous databases in the Database service +- Support for IP-based policies in the Identity service +- Support for management of OAuth 2.0 client credentials in the Identity service +- Support for OCI Functions as a subscription protocol in the Notifications service + +## 15.6.0 - 2020-02-18 +### Added +- Support for the NoSQL Database service +- Support for filtering database versions by storage management type in the Database service +- Support for specifying paid listing types within pricing models in the Marketplace service +- Support for primary and non-primary instance types in the Content and Experience service + +## 15.5.0 - 2020-02-11 +### Added +- Support for listing supported database versions for Autonomous Database Serverless, and selecting a version at provisioning time in the Database service +- Support for TCP proxy protocol versions on listener connection configurations in the Load Balancer service +- Support for calling the Notifications service in alternate realms +- Support for calling Oracle Cloud Infrastructure services in the eu-amsterdam-1 and me-jeddah-1 regions +- Support for non-default profiles for credentials + +## 15.4.0 - 2020-02-04 +## Added +- Support for the Data Science service +- Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions + +## 15.3.0 - 2020-01-28 +## Added +- Support for the Application Migration service +- Support for the Data Flow service +- Support for the Data Catalog service +- Support for cross-shape Data Guard in the Database service +- Support for offline data export in the Data Transfer service + +## 15.2.0 - 2020-01-21 +## Added +- Support for getting DRG redundancy status in the Networking service +- Support for cloning autonomous databases from backups in the Database service + +## 15.1.0 - 2020-01-14 +### Added +- Support for a description field on route rules and security rules in the Networking service +- Support for starting and stopping Digital Assistant instances in the Digital Assistant service +- Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service +- Support for tracking a number of Database service operations through the Work Requests service + +## 15.0.0 - 2020-01-07 +### Added +- Support for optionally specifying the corporate proxy field when creating Exadata infrastructure in the Database service +- Support for maintenance windows, and rescheduling maintenance runs, on autonomous container databases in the Database service + +### Breaking changes +- Field `hostname` in `NodeDetails` from Database service is changed to mandatory + +## 14.0.0 - 2019-12-17 +### Added +- Support for the API Gateway service +- Support for the OS Management service +- Support for the Marketplace service +- Support for "default"-type vaults in the Key Management service +- Support for bringing your own keys in the Key Management service +- Support for cross-region backups of boot volumes in the Block Storage service +- Support for top-level TSIG keys in the DNS service +- Support for resizing virtual machine instances to different shapes in the Compute service +- Support for management configuration of cloud agents in the Compute service +- Support for launching node pools using image IDs in the Container Engine for Kubernetes service + +### Breaking changes +- Removed support for v1 auth tokens in kubeconfig files in the `CreateClusterKubeconfigContentDetails` class of the Container Engine for Kubernetes service +- Removed the IDCS access token requirement on the delete deleteOceInstance operation in the Content and Experience service, which is why the `DeleteOceInstanceDetails` class was removed +- Parameter `compartment_id` in `list_stream_pools` API from Streaming service is changed to required parameter + +## 13.1.0 - 2019-12-10 +### Added +- Support for etags on results of the List Objects API in the Object Storage service +- Support for OCIDs on buckets in the Object Storage service +- Support for content-disposition and cache-control headers on objects in the Object Storage service +- Support for recovering deleted compartments in the Identity service +- Support for sharing volumes across multiple instances in the Block Storage service +- Support for connect harnesses and stream pools in the Streaming service +- Support for associating file storage mount targets with network security groups in the File Storage service +- Support for calling Oracle Cloud Infrastructure services in the uk-gov-london-1 region + +## 13.0.0 - 2019-11-26 +### Added +- Support for maintenance windows on autonomous databases in the Database service +- Support for getting the compute units (OCPUs) of an Exadata autonomous transaction processing - dedicated resource in the Database service + +### Breaking changes +- Create database home from VM_CLUSTER_BACKUP is removed from Database Service +- Response type is changed for following two APIs in Virtual Network Service + - Before + + ```golang + BulkAddVirtualCircuitPublicPrefixes (err error) + + BulkDeleteVirtualCircuitPublicPrefixes (err error) + ``` + + - After + + ```golang + BulkAddVirtualCircuitPublicPrefixes (response BulkAddVirtualCircuitPublicPrefixesResponse, err error) + + BulkDeleteVirtualCircuitPublicPrefixes (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error) + ``` + +## 12.5.0 - 2019-11-19 +### Added +- Support for four-byte autonomous system numbers (ASNs) on FastConnect resources in the Networking service +- Support for choosing fault domains when creating instance pools in the Compute service +- Support for allowing connections from only specific VCNs to autonomous data warehouse and autonomous transaction processing instances in the Database service +- Support for Streaming Client Non-Regional + +## 12.4.0 - 2019-11-12 +### Added +- Support for access to APEX and SQL Dev features on autonomous transaction processing and autonomous data warehouse resources in the Database service +- Support for registering / deregistering autonomous transaction processing and autonomous data warehouse resources with Data Safe in the Database service +- Support for redirecting HTTP / HTTPS request URIs to different URIs in the Load Balancing service +- Support for specifying compartments on options APIs in the Container Engine for Kubernetes service +- Support for volume performance units on block volumes in the Block Storage service +- Support for opc-multipart-md5 verification for UploadManager. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/blob/v8.0.0/example/example_objectstorage_test.go#L57) + +## 12.3.0 - 2019-11-05 +### Added +- Support for the Analytics Cloud service +- Support for the Integration Cloud service +- Support for IKE versions in IPSec connections in the Virtual Networking service +- Support for getting a stack's Terraform state in the Resource Manager service + +## 12.2.0 - 2019-10-29 +### Added +- Support for wallet rotation operations on Autonomous Databases in the Database service +- Support for adding and removing image shape compatibility entries in the Compute service +- Support for managing redirects in the Web Application Acceleration and Security service +- Support for migrating zones from the Dyn HTTP Redirect Service to Oracle Cloud Infrastructure in the DNS service + +## 12.1.0 - 2019-10-15 +### Added +- Support for the Digital Assistant service +- Support for work requests on Instance Pool operations in the Compute service + +## 12.0.0 - 2019-10-08 +### Added +- Support for the new schema for events in the Audit service +- Support for entitlements in the Data Transfer service +- Support for custom scheduled backup policies on volumes in the Block Storage service +- Support for specifying the network type when launching virtual machine instances in the Compute service +- Support for Monitoring service integration in the Health Checks service + +### Fixed +- OCI Golang SDK hook/callback to display progress bar for uploads [Github issue 187](https://github.com/oracle/oci-go-sdk/issues/187) + +### Breaking changes +* The TenantId parameter is now Id (Id of the Transfer Application Entitlement) for GetTransferApplianceEntitlementRequest in TransferApplianceEntitlementClient +* The Audit service version was bumped to 20190901, use older version of Go SDK for Audit service version 20160918 + +## 11.0.0 - 2019-10-01 +### Added +- Support for required tags in the Identity service +- Support for work requests on tagging operations in the Identity service +- Support for enumerated tag values in the Identity service +- Support for moving dynamic routing gateway resources across compartments in the Networking service +- Support for migrating zones from Dyn managed DNS to OCI in the DNS service +- Support for fast provisioning for virtual machine databases in the Database service + +### Breaking changes +- The field``CreateZoneDetails`` is no longer an anonymous field and the type changed from struct to interface in struct ``CreateZoneRequest``. Here is sample code that shows how to update your code to incorporate this change. + + + - Before + + ```golang + // There were two ways to initialize the CreateZoneRequest struct. + // This breaking change only impact option #2 + request := dns.CreateZoneRequest{} + + // #1. Instantiate CreateZoneDetails directly: no impact + details := dns.CreateZoneDetails{} + details.Name = common.String('some name') + // ... other properties + // Set it to the request class + request.CreateZoneDetails = details + + // #2. Instantiate CreateZoneDetails through anonymous fields: will break + request.Name = common.String('some name') + // ... other properties + ``` + + - After + + ```golang + // #2 no longer supported. Create CreateZoneDetails directly + details := dns.CreateZoneDetails{} + details.Name = common.String('some name') + // ... other properties + + request := dns.CreateZoneRequest{ + CreateZoneDetails: details + } + // ... + ``` + +## 10.1.0 - 2019-09-24 +### Added +- Support for selecting the Terraform version to use in the Resource Manager service +- Support for bucket re-encryption in the Object Storage service +- Support for enabling / disabling bucket-level events in the Object Storage service + +## 10.0.0 - 2019-09-17 +### Added +- Support for importing state files in the Resource Manager service +- Support for Exadata Cloud at Customer in the Database service +- Support for free tier resources and system tags in the Load Balancing service +- Support for free tier resources and system tags in the Compute service +- Support for free tier resources and system tags in the Block Storage service +- Support for free tier and system tags on autonomous databases in the Database service + +### Breaking +- Interface CreateDbHomeWithDbSystemIdBase is renamed to CreateDbHomeBase and dbSystemId property is removed from it +- CreateDbHomeWithDbSystemIdBase in CreateDbHomeRequest is replaced with CreateDbHomeWithDbSystemIdDetails + +## 9.0.0 - 2019-09-10 +### Added +- Support for specifying the autoBackupWindow field for scheduling backups in the Database service +- Support for network security groups on autonomous Exadata infrastructure in the Database service +- Support for Kubernetes secrets encryption in customer clusters, regional subnets, and cluster authentication for instance principals in the Container Engine for Kubernetes service +- Support for the Oracle Content and Experience service + +### Breaking +- The etag field has been removed from the ChangeSubscriptionCompartmentResponse and ChangeTopicCompartmentResponse structs of the Notifications service + +## 8.1.0 - 2019-09-03 +### Added +- Support for the Sydney (SYD) region +- Support for managing cluster networks in the Compute Autoscaling service +- Support for tracking asynchronous operations via work requests in the Database service + +## 8.0.0 - 2019-08-27 +### Added +- Support for the Sao Paulo (GRU) region +- Support for dedicated virtual machine hosts in the Compute service +- Support for resource groups in metrics and alarms in the Monitoring service +- Support for resource principle auth. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_resource_principal_function/README.md) + +### Breaking changes +- Breaking changes were made for following enum values + - Before + ```golang + autoscaling.ActionTypeEnum.ActionTypeBy + keymanagement.CreateVaultDetailsVaultTypeEnum.CreateVaultDetailsVaultTypePrivate + keymanagement.VaultSummaryVaultTypeEnum.VaultSummaryVaultTypePrivate + keymanagement.VaultVaultTypeEnum.VaultVaultTypePrivate + objectstorage.WorkRequestSummaryOperationTypeEnum.WorkRequestSummaryOperationTypeObject + objectstorage.WorkRequestOperationTypeEnum.WorkRequestOperationTypeObject + resourcemanager.LogEntryTypeEnum.LogEntryTypeConsole + resourcemanager.WorkRequestOperationTypeEnum.WorkRequestOperationTypeCompartment + ``` + + - After + ```golang + autoscaling.ActionTypeEnum.ActionTypeChangeCountBy + keymanagement.CreateVaultDetailsVaultTypeEnum.CreateVaultDetailsVaultTypeVirtualPrivate + keymanagement.VaultSummaryVaultTypeEnum.VaultSummaryVaultTypeVirtualPrivate + keymanagement.VaultVaultTypeEnum.VaultVaultTypeVirtualPrivate + objectstorage.WorkRequestSummaryOperationTypeEnum.WorkRequestSummaryOperationTypeCopyObject + objectstorage.WorkRequestOperationTypeEnum.WorkRequestOperationTypeCopyObject + resourcemanager.LogEntryTypeEnum.LogEntryTypeTerraformConsole + resourcemanager.WorkRequestOperationTypeEnum.WorkRequestOperationTypeChangeStackCompartment + ``` + +## 7.1.0 - 2019-08-20 +### Added +- Support for the Limits service +- Support for archiving to Object Storage in the Streaming service +- Support for etags on resources in the Streaming service +- Support for Key Management service (KMS) encryption of file systems in the File Storage service +- Support for moving public IP, DHCP, local peering gateway, internet gateway, network security group, and DRG attachment resources across compartments in the Networking service +- Support for multi-origin, basic cache, certificate mapping, and OCI Monitoring service integration in the Web Application Acceleration and Security service + +## 7.0.0 - 2019-08-13 +### Added +- Support for the Data Transfer service +- Support for the Zurich (ZRH) region + +### Breaking changes +- Breaking changes were made in the Web Application Acceleration and Security (WAAS) service + - `WorkRequestSummaryOperationTypePurgeWaasPolicy` const removed from `waas/work_request_summary.go` + - `WorkRequestOperationTypesPurgeWaasPolicy` const removed from `waas/work_request_operation_types.go` + - `WorkRequestOperationTypesPurgeWaasPolicy` const removed from `waas/work_request.go` + - `IssuerName` in `Certificate` struct changed type from `*CertificateSubjectName` to `*CertificateIssuerName` + - `LifecycleState` changed from array of string to array of `ListCertificateLifeCycleStateEnum` in `waas/list_certificates_request_response.go` and `waas/list_waas_policies_request_response.go` + - `Etag` was removed from the following structs: + - `AcceptRecommendationsResponse` + - `DeleteWaasPolicyResponse` + - `UpdateAccessRulesResponse` + - `UpdateCaptchasResponse` + - `UpdateDeviceFingerprintChallengeResponse` + - `UpdateGoodBotsResponse` + - `UpdateHumanInteractionChallengeResponse` + - `UpdateJsChallengeResponse` + - `UpdatePolicyConfigResponse` + - `UpdateProtectionRulesResponse` + - `UpdateProtectionSettingsResponse` + - `UpdateThreatFeedsResponse` + - `UpdateWaasPolicyResponse` + - `UpdateWafAddressRateLimitingResponse` + - `UpdateWafConfigResponse` + - `UpdateWhitelistsResponse` + +## 6.2.0 - 2019-08-06 +### Added +- Support for IPv6 load balancers in the Load Balancing service +- Support for IPv6 on VCN and FastConnect resources in the Networking service + +## 6.1.0 - 2019-07-30 +### Added +- Support for the Mumbai (BOM) region +- Support for the Events service +- Support for moving streams across compartments in the Streaming service +- Support for moving FastConnect resources across compartments in the Networking service +- Support for moving policies across compartments in the Web Application Acceleration and Security service +- Support for tagging FastConnect resources in the Networking service + +## 6.0.0 - 2019-07-23 +### Added +- Support for moving resources across compartments in the Database service +- Support for moving resources across compartments in the Health Checks service +- Support for moving alarms across compartments in the Monitoring service +- Support for creating instance configurations from running instances in the Compute service +- Support for setting up budget alerts for cost tracking tags in the Budgets service + +## 5.15.0 - 2019-07-16 +### Added +- Support for the Functions service +- Support for the Quotas service +- Support for moving resources across compartments in the DNS service +- Support for moving instances across compartments in the Compute service +- Support for moving keys and vaults across compartments in the Key Management service +- Support for moving topics and subscriptions across compartments in the Notifications service +- Support for moving load balancers across compartments in the Load Balancing service +- Support for specifying permitted REST methods in load balancer rule sets in the Load Balancing service +- Support for configuring cookie session persistence in backend sets in the Load Balancing service +- Support for ACL rules in rule sets in the Load Balancing service +- Support for move compartment tree in the Identity service +- Support for specifying and returning a KMS key in backup operations in the Block Storage service +- Support for transit routing in the Networking service + +## 5.14.0 - 2019-07-09 +### Added +- Support for network security groups in the Load Balancing service +- Support for network security groups in Core Services +- Support for network security groups on database systems in the Database service +- Support for creating autonomous transaction processing and autonomous data warehouse previews in the Database service +- Support for getting the load balancer attachments of instance pools in the Compute service +- Support for moving resources across compartments in the Resource Manager service +- Support for moving VCN resources across compartments in the Networking service + +## 5.13.0 - 2019-07-02 +### Added +- Support for moving images, instance configurations, and instance pools across compartments in Core Services +- Support for moving autoscaling configurations across compartments in the Compute Autoscaling service + +### Fixed +- Fixed a bug where the Streaming service's endpoints in Tokyo, Seoul, and future regions were not reachable from the SDK + +## 5.12.0 - 2019-06-25 +### Added +- Support for moving senders across compartments in the Email service +- Support for moving NAT gateway resources across compartments in Core Services + +## 5.11.0 - 2019-06-18 +### Added +- Support for moving service gateway resources across compartments in Core Services +- Support for moving block storage resources across compartments in Core Services +- Support for key deletion in the Key Management service + +## 5.10.0 - 2019-06-11 +### Added +- Support for specifying custom boot volume sizes on instance configurations in the Compute Autoscaling service +- Support for 'Autonomous Transaction Processing - Dedicated' features, as well as maintenance run and backup operations on autonomous databases, autonomous container databases, and autonomous Exadata infrastructure in the Database service + +## 5.9.0 - 2019-06-04 +### Added +- Support for autoscaling autonomous databases and autonomous data warehouses in the Database service +- Support for specifying fault domains as part of instance configurations in the Compute Autoscaling service +- Support for deleting tag definitions and tag namespaces in the Identity service + +### Fixed +- Support for regions in realms other than oraclecloud.com in the Load Balancing service + +## 5.8.0 - 2019-05-28 +### Added +- Support for the Work Requests service, and tracking of a number of Core Services operations through work requests +- Support for emulated volume attachments in Core Services +- Support for changing the compartment of resources in the File Storage service +- Support for tags in list operations in the File Storage service +- Support for returning UI password creation dates in the Identity service + +## 5.7.0 - 2019-05-21 +### Added +- Support for returning tags when listing instance configurations, instance pools, or autoscaling configurations in the Compute Autoscaling service +- Support for getting the namespace of another tenancy than the caller's tenancy in the Object Storage service +- Support for BGP dynamic routing and providing pre-shared secrets (PSKs) when establishing tunnels in the Networking service + +## 5.6.0 - 2019-05-14 +### Added +- Support for the Seoul (ICN) region +- Support for logging context fields on data-plane APIs of the Key Management Service +- Support for reverse pagination on list operations of the Email service +- Support for configuring backup retention windows on database backups in the Database service + +## 5.5.0 - 2019-05-07 +### Added +- Support for the Tokyo (NRT) region + +- Support UploadManager for uploading large objects. Sample is available on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_objectstorage_test.go) + +## 5.4.0 - 2019-04-16 +### Added +- Support for tagging dynamic groups in the Identity service +- Support for updating network ACLs and license types for autonomous databases and autonomous data warehouses in the Database service +- Support for editing static routes and IPSec remote IDs in the Virtual Networking service + +## 5.3.0 - 2019-04-09 +### Added +- Support for etag and if-match headers (for optimistic concurrency control) in the Email service + +## 5.2.0 - 2019-04-02 +### Added +- Support for provider service key names on virtual circuits in the FastConnect service +- Support for customer reference names on cross connects and cross connect groups in the FastConnect service + +## 5.1.0 - 2019-03-26 +### Added +- Support for glob patterns and exclusions for object lifecycle management in the Object Storage service +- Documentation enhancements and corrections for traffic management in the DNS service + +### Fixed +- The 'tag' info is always ignored in the returned string of Version() function [Github issue 157](https://github.com/oracle/oci-go-sdk/issues/157) + +## 5.0.0 - 2019-03-19 +### Added + +- Support for specifying metadata on node pools in the Container Engine for Kubernetes service +- Support for provisioning a new autonomous database or autonomous data warehouse as a clone of another in the Database service +### Breaking changes +- The field``CreateAutonomousDatabaseDetails`` is no longer an anonymous field and the type changed from struct to interface in struct ``CreateAutonomousDatabaseRequest``. Here is sample code that shows how to update your code to incorporate this change. + + - Before + + ```golang + // create a CreateAutonomousDatabaseRequest + // There were two ways to initialize the CreateAutonomousDatabaseRequest struct. + // This breaking change only impact option #2 + request := database.CreateAutonomousDatabaseRequest{} + + // #1. Instantiate CreateAutonomousDatabaseDetails directly: no impact + details := database.CreateAutonomousDatabaseDetails{} + details.CompartmentId = common.String(getCompartmentID()) + // ... other properties + + // Set it to the request class + request.CreateAutonomousDatabaseDetails = details + + // #2. Instantiate CreateAutnomousDatabaseDetails through anonymous fields: will break + request.CompartmentId = common.String(getCompartmentID()) + // ... other properties + ``` + + - After + + ```golang + // #2 no longer supported. Create CreateAutonomousDatabaseDetails directly + details := database.CreateAutonomousDatabaseDetails{} + details.CompartmentId = common.String(getCompartmentID()) + // ... other properties + + // and set the details to CreateAutonomousDatabaseBase + request := database.CreateAutonomousDatabaseRequest{} + request.CreateAutonomousDatabaseDetails = details + // ... + ``` + + +## 4.2.0 - 2019-03-12 +### Added +- Support for the Budgets service +- Support for managing multifactor authentication in the Identity service +- Support for managing default tags in the Identity service +- Support for account recovery in the Identity service +- Support for authentication policies in the Identity service +- Support for specifying the workload type when creating autonomous databases in the Database service +- Support for I/O resource management for Exadata database systems in the Database service +- Support for customer-specified timezones on database systems in the Database service + +## 4.1.0 - 2019-02-28 +### Added +- Support for the Monitoring service +- Support for the Notification service +- Support for the Resource Manager service +- Support for the Compute Autoscaling service +- Support for changing the compartment of a tag namespace in the Identity service +- Support for specifying fault domains in the Database service +- Support for managing instance monitoring in the Compute service +- Support for attaching/detaching load balancers to instance pools in the Compute service + +## 4.0.0 - 2019-02-21 +### Added +- Support for government-realm regions +- Support for the Streaming service +- Support for tags in the Key Management service +- Support for regional subnets in the Virtual Networking service + +### Fixed +- Removed unused Announcements service 'NotificationFollowupDetails' struct and 'GetFollowups' operation +- InstancePrincipals now invalidates a token shortly before its expiration time to avoid making a service call with an expired token +- Requests with binary bodies that require its body to be included in the signature are now being signed correctly + +## 3.7.0 - 2019-02-07 +### Added +- Support for the Web Application Acceleration and Security (WAAS) service +- Support for the Health Checks service +- Support for connection strings on Database resources in the Database service +- Support for traffic management in the DNS service +- Support for tagging in the Email service +### Fixed +- Retry context in now cancelable during wait for new retry + +## 3.6.0 - 2019-01-31 +### Added +- Support for the Announcements service + +## 3.5.0 - 2019-01-24 +### Added + +- Support for renaming databases during restore-from-backup operations in the Database service +- Built-in logging now supports log levels. More information about the changes can be found in the [go-docs page](https://godoc.org/github.com/oracle/oci-go-sdk#hdr-Logging_and_Debugging) +- Support for calling Oracle Cloud Infrastructure services in the ca-toronto-1 region + +## 3.4.0 - 2019-01-10 +### Added +- Support for device attributes on volume attachments in the Compute service +- Support for custom header rulesets in the Load Balancing service + + +## 3.3.0 - 2018-12-13 +### Added +- Support for Data Guard for VM shapes in the Database service +- Support for sparse disk groups for Exadata shapes in the Database service +- Support for a new field, isLatestForMajorVersion, when listing DB versions in the Database service +- Support for in-transit encryption for paravirtualized boot volume and data volume attachments in the Block Storage service +- Support for tagging DNS Zones in the DNS service +- Support for resetting credentials for SCIM clients associated with an Identity provider and updating user capabilities in the Identity service + +## 3.2.0 - 2018-11-29 +### Added +- Support for getting bucket statistics in the Object Storage service + +### Fixed +- Block Storage service for copying volume backups across regions is now enabled +- Object storage `PutObject` and `UploadPart` operations now do not override the client's signer + +## 3.1.0 - 2018-11-15 +### Added +- Support for VCN transit routing in the Networking service + +## 3.0.0 - 2018-11-01 +### Added +- Support for modifying the route table, DHCP options and security lists associated with a subnet in the Networking service. +- Support for tagging of File Systems, Mount Targets and Snapshots in the File Storage service. +- Support for nested compartments in the Identity service + +### Notes +- The version is bumped due to breaking changes in previous release. + +## 2.7.0 - 2018-10-18 +### Added +- Support for cost tracking tags in the Identity service +- Support for generating and downloading wallets in the Database service +- Support for creating a standalone backup from an on-premises database in the Database service +- Support for db version and additional connection strings in the Autonomous Transaction Processing and Autonomous Data Warehouse resources of the Database service +- Support for copying volume backups across regions in the Block Storage service +- Support for deleting compartments in the Identity service +- Support for reboot migration for virtual machines in the Compute service +- Support for Instance Pools and Instance Configurations in the Compute service + +### Fixed +- The signing algorithm does not lower case the header fields [Github issue 132](https://github.com/oracle/oci-go-sdk/issues/132) +- Raw configuration provider does not check for empty strings [Github issue 134](https://github.com/oracle/oci-go-sdk/issues/134) + +### Breaking change +- DbDataSizeInMBs field in Backup and BackupSummary struct was renamed to DatabaseSizeInGBs and type changed from *int to *float64 + - Before + ```golang + // Size of the database in megabytes (MB) at the time the backup was taken. + DbDataSizeInMBs *int `mandatory:"false" json:"dbDataSizeInMBs"` + ``` + + - After + + ```golang + // The size of the database in gigabytes at the time the backup was taken. + DatabaseSizeInGBs *float64 `mandatory:"false" json:"databaseSizeInGBs"` + ``` +- Data type for DatabaseEdition in Backup and BackupSummary struct was changed from *string to BackupDatabaseEditionEnum + - Before + + ```golang + // The Oracle Database edition of the DB system from which the database backup was taken. + DatabaseEdition *string `mandatory:"false" json:"databaseEdition"` + ``` + + - After + + ```golang + // The Oracle Database edition of the DB system from which the database backup was taken. + DatabaseEdition BackupDatabaseEditionEnum `mandatory:"false" json:"databaseEdition,omitempty"` + ``` + +## 2.6.0 - 2018-10-04 +### Added +- Support for trusted partner images through application listings and subscriptions in the Compute service +- Support for object lifecycle policies in the Object Storage service +- Support for copying objects across regions in the Object Storage service +- Support for network address translation (NAT) gateways in the Networking service + +## 2.5.0 - 2018-09-27 +### Added +- Support for paravirtualized launch mode when importing images in the Compute service +- Support for Key Management service +- Support for encrypting the contents of an Object Storage bucket using a Key Management service key +- Support for specifying a Key Management service key when launching a compute instance in the Compute service +- Support for specifying a Key Management service key when backing up or restoring a block storage volume in the Block Volume service + +## 2.4.0 - 2018-09-06 +### Added +- Added support for updating metadata fields on an instance in the Compute service + +## 2.3.0 - 2018-08-23 +### Added +- Support for fault domain in the Identity Service +- Support for Autonomous Data Warehouse and Autonomous Transaction Processing in the Database service +- Support for resizing an offline volume in the Block Storage service +- Nil interface when polymorphic json response object is null + +## 2.2.0 - 2018-08-09 +### Added +- Support for fault domains in the Compute service +- A sample showing how to use Search service from the SDK is available on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_resourcesearch_test.go) + +## 2.1.0 - 2018-07-26 +### Added +- Support for the Search service +- Support for specifying a backup policy when creating a boot volume in the Block Storage service + +### Fixed +- OCI error is missing opc-request-id value [Github Issue 120](https://github.com/oracle/oci-go-sdk/issues/120) +- Include raw http response when service error occurred + +## 2.0.0 - 2018-07-12 +### Added +- Support for tagging Load Balancers in the Load Balancing service +- Support for export options in the File Storage service +- Support for retrieving compartment name and user name as part of events in the Audit service + +### Fixed +- CreateKubeconfig function should not close http reponse body [Github Issue 116](https://github.com/oracle/oci-go-sdk/issues/116) + +### Breaking changes +- Datatype changed from *int to *int64 for several request/response structs. Here is sample code that shows how to update your code to incorporate this change. + + - Before + + ```golang + // Update the impacted properties from common.Int to common.Int64. + // Here is the updates for CreateBootVolumeDetails + details := core.CreateBootVolumeDetails{ + SizeInGBs: common.Int(10), + } + ``` + + - After + + ```golang + details := core.CreateBootVolumeDetails{ + SizeInGBs: common.Int64(10), + } + ``` + +- Impacted packages and structs + - core + - BootVolume.(SizeInGBs, SizeInMBs) + - BootVolumeBackup.(SizeInGBs, UniqueSizeInGBs) + - CreateBootVolumeDetails.SizeInGBs + - CreateVolumeDetails.(SizeInGBs, SizeInMBs) + - Image.SizeInMBs + - InstanceSourceViaImageDetails.BootVolumeSizeInGBs + - Volume.(SizeInGBs, SizeInMBs) + - VolumeBackup.(SizeInGBs, SizeInMBs, UniqueSizeInGBs, UniqueSizeInMbs) + - VolumeGroup.(SizeInMBs, SizeInGBs) + - VolumeGroupBackup.(SizeInMBs, SizeInGBs, UniqueSizeInMbs, UniqueSizeInGbs) + - dns + - GetDomainRecordsRequest.Limit + - GetRRSetRequest.Limit + - GetZoneRecordsRequest.Limit + - ListZonesRequest.Limit + - Zone.Serial + - ZoneSummary.Serial + - filestorage + - ExportSet.(MaxFsStatBytes, MaxFsStatFiles) + - FileSystem.MeteredBytes + - FileSystemSummary.MeteredBytes + - UpdateExportSetDetails.(MaxFsStatBytes, MaxFsStatFiles) + - identity + - ApiKey.InactiveStatus + - AuthToken.InactiveStatus + - Compartment.InactiveStatus + - CustomerSecretKey.InactiveStatus + - CustomerSecretKeySummary.InactiveStatus + - DynamicGroup.InactiveStatus + - Group.InactiveStatus + - IdentityProvider.InactiveStatus + - IdpGroupMapping.InactiveStatus + - Policy.InactiveStatus + - Saml2IdentityProvider.InactiveStatus + - SmtpCredential.InactiveStatus + - SmtpCredentialSummary.InactiveStatus + - SwiftPassword.InactiveStatus + - UiPassword.InactiveStatus + - User.InactiveStatus + - UserGroupMembership.InactiveStatus + - loadbalancer + - ConnectionConfiguration.IdleTimeout + - ListLoadBalancerHealthsRequest.Limit + - ListLoadBalancersRequest.Limit + - ListPoliciesRequest + - ListProtocolsRequest.Limit + - ListShapesRequest.Limit + - ListWorkRequestsRequest.Limit + - objectstorage + - GetObjectResponse.ContentLength + - HeadObjectResponse.ContentLength + - MultipartUploadPartSummary.Size + - ObjectSummary.Size + - PutObjectRequest.ContentLength + - UploadPartRequest.ContentLength + +## 1.8.0 - 2018-06-28 +### Added +- Support for service gateway management in the Networking service +- Support for backup and clone of boot volumes in the Block Storage service + +## 1.7.0 - 2018-06-14 +### Added +- Support for the Container Engine service. A sample showing how to use this service from the SDK is available [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_containerengine_test.go) + +### Fixed +- Empty string was send to backend service for optional enum if it's not set + +## 1.6.0 - 2018-05-31 +### Added +- Support for the "soft shutdown" instance action in the Compute service +- Support for Auth Token management in the Identity service +- Support for backup or clone of multiple volumes at once using volume groups in the Block Storage service +- Support for launching a database system from a backup in the Database service + +### Breaking changes +- ``LaunchDbSystemDetails`` is renamed to ``LaunchDbSystemBase`` and the type changed from struct to interface in ``LaunchDbSystemRequest``. Here is sample code that shows how to update your code to incorporate this change. + + - Before + + ```golang + // create a LaunchDbSystemRequest + // There were two ways to initialize the LaunchDbSystemRequest struct. + // This breaking change only impact option #2 + request := database.LaunchDbSystemRequest{} + + // #1. explicity create LaunchDbSystemDetails struct (No impact) + details := database.LaunchDbSystemDetails{} + details.AvailabilityDomain = common.String(validAD()) + details.CompartmentId = common.String(getCompartmentID()) + // ... other properties + request.LaunchDbSystemDetails = details + + // #2. use anonymous fields (Will break) + request.AvailabilityDomain = common.String(validAD()) + request.CompartmentId = common.String(getCompartmentID()) + // ... + ``` + + - After + + ```golang + // create a LaunchDbSystemRequest + request := database.LaunchDbSystemRequest{} + details := database.LaunchDbSystemDetails{} + details.AvailabilityDomain = common.String(validAD()) + details.CompartmentId = common.String(getCompartmentID()) + // ... other properties + + // set the details to LaunchDbSystemBase + request.LaunchDbSystemBase = details + // ... + ``` + +## 1.5.0 - 2018-05-17 +### Added +- ~~Support for backup or clone of multiple volumes at once using volume groups in the Block Storage service~~ +- Support for the ability to optionally specify a compartment filter when listing exports in the File Storage service +- Support for tagging virtual cloud network resources in the Networking service +- Support for specifying the PARAVIRTUALIZED remote volume type when creating a virtual image or launching a new instance in the Compute service +- Support for tilde in private key path in configuration files + +## 1.4.0 - 2018-05-03 +### Added +- Support for ``event_name`` in Audit Service +- Support for multiple ``hostnames`` for loadbalancer listener in LoadBalance service +- Support for auto-generating opc-request-id for all operations +- Add opc-request-id property for all requests except for Object Storage which use opc-client-request-id + +## 1.3.0 - 2018-04-19 +### Added +- Support for retry on Oracle Cloud Infrastructure service APIs. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_retry_test.go) +- Support for tagging DbSystem and Database resources in the Database Service +- Support for filtering by DbSystemId in ListDbVersions operation in Database Service + +### Fixed +- Fixed a request signing bug for PatchZoneRecords API +- Fixed a bug in DebugLn + +## 1.2.0 - 2018-04-05 +### Added +- Support for Email Delivery Service. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_email_test.go) +- Support for paravirtualized volume attachments in Core Services +- Support for remote VCN peering across regions +- Support for variable size boot volumes in Core Services +- Support for SMTP credentials in the Identity Service +- Support for tagging Bucket resources in the Object Storage Service + +## 1.1.0 - 2018-03-27 +### Added +- Support for DNS service +- Support for File Storage service +- Support for PathRouteSets and Listeners in Load Balancing service +- Support for Public IPs in Core Services +- Support for Dynamic Groups in Identity service +- Support for tagging in Core Services and Identity service. Example can be found on [Github](https://github.com/oracle/oci-go-sdk/tree/master/example/example_tagging_test.go) +- Fix ComposingConfigurationProvider to not accept a nil ConfigurationProvider +- Support for passphrase configuration to FileConfiguration provider + +## 1.0.0 - 2018-02-28 Initial Release +### Added +- Support for Audit service +- Support for Core Services (Networking, Compute, Block Volume) +- Support for Database service +- Support for IAM service +- Support for Load Balancing service +- Support for Object Storage service diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/CONTRIBUTING.md b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/CONTRIBUTING.md similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/CONTRIBUTING.md rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/CONTRIBUTING.md index ff647920f019..04fab599de2c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/CONTRIBUTING.md +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing to the Oracle Cloud Infrastructure Go SDK -*Copyright (c) 2016 2018, 2020, Oracle and/or its affiliates. All rights reserved.* +*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.* diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/LICENSE.txt b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/LICENSE.txt similarity index 100% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/LICENSE.txt rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/LICENSE.txt diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/Makefile b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/Makefile similarity index 57% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/Makefile rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/Makefile index c949701b5404..49973fe94940 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/Makefile +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/Makefile @@ -1,6 +1,6 @@ DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com -GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email resourcemanager keymanagement resourcesearch containerengine monitoring workrequests ons healthchecks streaming cache marketplace autoscaling usage announcementsservice waas batch functions budget limits oda storagegateway dts apigateway events nosql datacatalog oce datascience bds analytics integration kam osmanagement applicationmigration dataflow mysql secrets vault blockchain datasafe compdocsapi dataintegration logging ocvp usageapi cloudguard operationsinsights managementdashboard sch optimizer managementagent computeinstanceagent loggingingestion bastion loggingsearch rover loganalytics operatoraccesscontrol goldengate tenantmanagercontrolplane databasemanagement jms apmsynthetics artifacts vulnerabilityscanning networkloadbalancer cloudbridge apmtraces exascale apmcontrolplane genericartifactscontent securityzones databaserecoverysystem devops databasemigration servicecatalog dashboardservice ailanguage certificates certificatesmanagement vbsinst queue dataflowinteractive apmconfig waf databasetools aianomalydetection ocmdis iddataplane datalabelingservicedataplane datalabelingservice dataconnectivity ocmmigrationapi appmgmt identitydataplane visualbuilder servicemanagerproxy aispeech ocminv appmgmtcontrol servicemesh faaas ospgateway threatintelligence stackmonitoring announcementservice aivision networkfirewall ociforopensearch mediaservices osubusage osubsubscription osuborganizationsubscription osubbillingschedule ##SPECNAME## +GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains ##SPECNAME## NON_GEN_TARGETS = common common/auth objectstorage/transfer example TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS) @@ -80,8 +80,18 @@ clean-generate: pre-doc: @echo "Rendering doc server to ${DOC_SERVER_URL}" find . -name \*.go |xargs sed -i 's/{{DOC_SERVER_URL}}/${DOC_SERVER_URL}/g' + # Note: This should stay the old docs URL (with us-phoenix-1), because it + # processes go files and changes the old URL into the new URL find . -name \*.go |xargs sed -i 's/https:\/\/docs.us-phoenix-1.oraclecloud.com/${DOC_SERVER_URL}/g' +pre-doc-local: + @echo "Rendering doc server to ${DOC_SERVER_URL}" + find . -name \*.go |xargs sed -i '' 's/{{DOC_SERVER_URL}}/${DOC_SERVER_URL}/g' + # Note: This should stay the old docs URL (with us-phoenix-1), because it + # processes go files and changes the old URL into the new URL + find . -name \*.go |xargs sed -i '' 's/https:\/\/docs.us-phoenix-1.oraclecloud.com/${DOC_SERVER_URL}/g' + + gen-version: go generate -x @@ -90,4 +100,4 @@ release: gen-version build pre-doc build-autotest: @if [ -d $(AUTOTEST_DIR) ]; then\ (cd $(AUTOTEST_DIR) && gofmt -s -w . && go test -c);\ - fi \ No newline at end of file + fi diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/NOTICE.txt b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/NOTICE.txt similarity index 100% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/NOTICE.txt rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/NOTICE.txt diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/README.md b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/README.md similarity index 62% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/README.md rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/README.md index 136e9a0ab4fc..555e44265112 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/README.md +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/README.md @@ -2,40 +2,42 @@ [![wercker status](https://app.wercker.com/status/09bc4818e7b1d70b04285331a9bdbc41/s/master "wercker status")](https://app.wercker.com/project/byKey/09bc4818e7b1d70b04285331a9bdbc41) This is the Go SDK for Oracle Cloud Infrastructure. This project is open source and maintained by Oracle Corp. -The home page for the project is [here](https://godoc.org/github.com/oracle/oci-go-sdk/). ->***WARNING:***: To avoid automatically consuming breaking changes if we have to rev the major version of the Go SDK, -please consider using the [Go dependency management tool](https://github.com/golang/dep), or vendoring the SDK. -This will allow you to pin to a specific version of the Go SDK in your project, letting you control how and when you move to the next major version. +The home page for the project is [here](https://godoc.org/github.com/oracle/oci-go-sdk/v65/). + +## Survey +Are you a Developer using the OCI SDK? If so, please fill out our survey to help us make the OCI SDK better for you. Click [here](https://oracle.questionpro.com/t/APeMlZka26?custom3=pkg) for the survey page. + ## Dependencies -- Install [Go programming language](https://golang.org/dl/). +- Install [Go programming language](https://golang.org/dl/), Go1.14, 1.15, 1.16, 1.17 and 1.18 is supported By OCI Go SDK. - Install [GNU Make](https://www.gnu.org/software/make/), using the package manager or binary distribution tool appropriate for your platform. - +## Versioning +- The breaking changes in service client APIs will no longer result in a major version bump (x+1.y.z relative to the last published version). Instead, we will bump the minor version of the SDK (x.y+1.z relative to the last published version). +- If there are no breaking changes in a release, we will bump the patch version of the SDK (x.y.z+1 relative to the last published version). +We will continue to announce any breaking changes in a new version under the Breaking Changes section in the release changelog and on the Github release page [https://github.com/oracle/oci-go-sdk/releases]. +- However, breaking changes in the SDK's common module will continue to result in a major version bump (x+1.y.z relative to the last published version). That said, we'll continue to maintain backward compatibility as much as possible to minimize the effort involved in upgrading the SDK version used by your code. ## Installing -OCI Go SDK supports both `go get` and Go Modules installing. - -If you want to install the SDK under $GOPATH, you can use `go get` to retrieve the SDK: +If you want to install the SDK under $GOPATH, you can use `go get` to retrieve the SDK: ``` go get -u github.com/oracle/oci-go-sdk ``` -Alternatively, you can also clone the repo from [Github](https://github.com/oracle/oci-go-sdk). - +If you are using Go modules, you can install by running the following command within a folder containing a `go.mod` file: +``` +go get -d github.com/oracle/oci-go-sdk/v49@latest +``` +The latest major version (for example `v49`) can be identified on the [Github releases page](https://github.com/oracle/oci-go-sdk/releases). -If you are using Go modules, you can install the latest or specific version(v25.0.0+) when adding the following in the go.mod file: -```go -require github.com/oracle/oci-go-sdk/{major-version} {version} +Alternatively, you can install a specific version (supported from `v25.0.0` on): ``` -One example is: -```go -require github.com/oracle/oci-go-sdk/v38 v38.0.0 +go get -d github.com/oracle/oci-go-sdk/v49@v49.1.0 ``` Run `go mod tidy` -In your project, you also need to add/update the major-version to make sure `go build` works -```go -import "github.com/oracle/oci-go-sdk/v38.0.0/common" +In your project, you also need to ensure the import paths contain the correct major-version: +``` +import "github.com/oracle/oci-go-sdk/v49/common" // or whatever major version you're using ``` ## Working with the Go SDK @@ -44,13 +46,15 @@ To start working with the Go SDK, you import the service package, create a clien ### Configuring Before using the SDK, set up a config file with the required credentials. See [SDK and Tool Configuration](https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm) for instructions. +Note that the Go SDK does not support profile inheritance or defining custom values in the configuration file. + Once a config file has been setup, call `common.DefaultConfigProvider()` function as follows: ```go // Import necessary packages import ( - "github.com/oracle/oci-go-sdk/common" - "github.com/oracle/oci-go-sdk/identity" // Identity or any other service you wish to make requests to + "github.com/oracle/oci-go-sdk/v49/common" + "github.com/oracle/oci-go-sdk/v49/identity" // Identity or any other service you wish to make requests to ) //... @@ -67,13 +71,14 @@ 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. AuthConfig is used for getting auth related paras in config file + // AuthType() is used for specify the needed auth type, like UserPrincipal, InstancePrincipal, etc. AuthConfig is used for getting auth related paras in config file. AuthType() (AuthConfig, error) } ``` +Or simply use one of structs exposed by the `oci-go-sdk` that already implement the above [interface](https://godoc.org/github.com/oracle/oci-go-sdk/v65/common#ConfigurationProvider) -### Making a request -To make a request to an OCI service, create a client for the service and then use the client to call a function from the service. +### Making a Request +To make a request to an Oracle Cloud Infrastructure service, create a client for the service and then use the client to call a function from the service. - *Creating a client*: All packages provide a function to create clients, using the naming convention `NewClientWithConfigurationProvider`, such as `NewVirtualNetworkClientWithConfigurationProvider` or `NewIdentityClientWithConfigurationProvider`. To create a new client, @@ -113,6 +118,10 @@ export OCI_GOSDK_USING_EXPECT_HEADER=FALSE ```sh export OCI_SDK_DEFAULT_CIRCUITBREAKER_ENABLED=FALSE ``` +- *Cicuit Breaker*: Circuit Breaker error message includes a set of previous failed responses. By default, the number of the failed responses is set to 5. It can be explicitly set using the env var: +```sh +export OCI_SDK_CIRCUITBREAKER_NUM_HISTORY_RESPONSE= +``` ## Organization of the SDK The `oci-go-sdk` contains the following: @@ -131,7 +140,7 @@ in this package are meant to be used by the service packages. Examples can be found [here](https://github.com/oracle/oci-go-sdk/tree/master/example) ## Documentation -Full documentation can be found [on the godocs site](https://godoc.org/github.com/oracle/oci-go-sdk/). +Full documentation can be found [on the godocs site](https://godoc.org/github.com/oracle/oci-go-sdk/v65/). ## Help * The [Issues](https://github.com/oracle/oci-go-sdk/issues) page of this GitHub repository. @@ -147,7 +156,7 @@ Oracle gratefully acknowledges the contributions to oci-go-sdk that have been ma ## License -Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. @@ -159,16 +168,46 @@ See [CHANGELOG](/CHANGELOG.md). ## Known Issues You can find information on any known issues with the SDK here and under the [Issues](https://github.com/oracle/oci-go-sdk/issues) tab of this project's GitHub repository. -## Building and testing -### Dev dependencies +## Building and Testing +### Dev Dependencies +For Go versions below 1.17 + - Install [Testify](https://github.com/stretchr/testify) with the command: ```sh go get github.com/stretchr/testify ``` +- Install [gobreaker](https://github.com/sony/gobreaker) with the command: +```sh +go get github.com/sony/gobreaker +``` +- Install [flock](https://github.com/gofrs/flock) with the command: +```sh +go get github.com/gofrs/flock +``` - Install [go lint](https://github.com/golang/lint) with the command: ``` -go get -u github.com/golang/lint/golint +go get -u golang.org/x/lint/golint +``` + +For Go versions 1.17 and above + +- Install [Testify](https://github.com/stretchr/testify) with the command: +```sh +go install github.com/stretchr/testify ``` +- Install [gobreaker](https://github.com/sony/gobreaker) with the command: +```sh +go install github.com/sony/gobreaker +``` +- Install [flock](https://github.com/gofrs/flock) with the command: +```sh +go install github.com/gofrs/flock +``` +- Install [go lint](https://github.com/golang/lint) with the command: +``` +go install github.com/golang/lint/golint +``` + ### Build Building is provided by the make file at the root of the project. To build the project execute. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/THIRD_PARTY_LICENSES.txt b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/THIRD_PARTY_LICENSES.txt new file mode 100644 index 000000000000..0fee63895453 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/THIRD_PARTY_LICENSES.txt @@ -0,0 +1,84 @@ +------------------------ Third Party Components ------------------------ +------------------------------- Licenses ------------------------------- +- MIT License +- BSD-3-Clause +-------------------------------- Notices ------------------------------- + +======================== Third Party Components ======================== + +testify +* Copyright © 2012-2020 Mat Ryer, Tyler Bunnell and contributors. +* License: MIT License +* Source code: https://github.com/stretchr/testify +* Project home: https://github.com/stretchr/testify + +flock +* Copyright (c) 2015-2020, Tim Heckman +* License: BSD-3-Clause +* Source code: https://github.com/gofrs/flock +* Project home: https://github.com/gofrs/flock + +gobreaker +* Copyright 2015 Sony Corporation +* License: MIT License +* Source code: https://github.com/sony/gobreaker +* Project home: https://github.com/sony/gobreaker + +sys +* Copyright (c) 2009 The Go Authors. All rights reserved. +* License: BSD-3-Clause +* Source code: https://cs.opensource.google/go/x/sys +* Project home: https://pkg.go.dev/golang.org/x/sys + +=============================== Licenses =============================== + +------------------------------ MIT License ----------------------------- + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------------------------------------------------------------------ + +------------------------------ BSD-3-Cluse License ----------------------------- + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of gofrs nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------ \ No newline at end of file diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/THIRD_PARTY_LICENSES_DEV.txt b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/THIRD_PARTY_LICENSES_DEV.txt similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/THIRD_PARTY_LICENSES_DEV.txt rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/THIRD_PARTY_LICENSES_DEV.txt index 9f4e9ac913fd..4ec8e82fdd62 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/THIRD_PARTY_LICENSES_DEV.txt +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/THIRD_PARTY_LICENSES_DEV.txt @@ -18,19 +18,11 @@ Go lint * Source code: https://github.com/golang/lint * Project home: https://github.com/golang/lint -gobreaker -* Copyright © 2015 Sony Corporation -* License: MIT License -* Source code: https://k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker -* Project home: https://k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker - =============================== Licenses =============================== ------------------------------ MIT License ----------------------------- -Copyright © 2012-2020 Mat Ryer, Tyler Bunnell and contributors. - -Copyright © 2015 Sony Corporation +Copyright (c) 2012-2020 Mat Ryer, Tyler Bunnell and contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/certificate_retriever.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/certificate_retriever.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go index 73ae57d61e07..555bbf015b43 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/certificate_retriever.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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,8 +9,9 @@ import ( "crypto/x509" "encoding/pem" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" "sync" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) // x509CertificateRetriever provides an X509 certificate with the RSA private key @@ -161,15 +162,6 @@ func (r *urlBasedX509CertificateRetriever) PrivateKey() *rsa.PrivateKey { return &c } -// newStaticX509CertificateRetriever creates a static memory based retriever. -func newStaticX509CertificateRetriever(certificatePemRaw, privateKeyPemRaw []byte, passphrase []byte) x509CertificateRetriever { - return &staticCertificateRetriever{ - CertificatePem: certificatePemRaw, - PrivateKeyPem: privateKeyPemRaw, - Passphrase: passphrase, - } -} - // staticCertificateRetriever serves certificates from static data type staticCertificateRetriever struct { Passphrase []byte diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go similarity index 70% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/configuration.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go index 628918ba6d13..07d24d2871d5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/configuration.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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,8 @@ package auth import ( "crypto/rsa" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) type instancePrincipalConfigurationProvider struct { @@ -14,36 +15,30 @@ type instancePrincipalConfigurationProvider struct { region *common.Region } -// defaultTokenPurpose used by the instance principal configuration provider when requesting instance principal tokens -const defaultTokenPurpose = "DEFAULT" - -// servicePrincipalTokenPurpose used by the instance principal configuration provider when requesting service principals tokens -const servicePrincipalTokenPurpose = "SERVICE_PRINCIPAL" - // InstancePrincipalConfigurationProvider returns a configuration for instance principals func InstancePrincipalConfigurationProvider() (common.ConfigurationProvider, error) { - return newInstancePrincipalConfigurationProvider("", defaultTokenPurpose, nil) + return newInstancePrincipalConfigurationProvider("", nil) } // InstancePrincipalConfigurationProviderForRegion returns a configuration for instance principals with a given region func InstancePrincipalConfigurationProviderForRegion(region common.Region) (common.ConfigurationProvider, error) { - return newInstancePrincipalConfigurationProvider(region, defaultTokenPurpose, nil) + return newInstancePrincipalConfigurationProvider(region, nil) } // InstancePrincipalConfigurationProviderWithCustomClient returns a configuration for instance principals using a modifier function to modify the HTTPRequestDispatcher func InstancePrincipalConfigurationProviderWithCustomClient(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { - return newInstancePrincipalConfigurationProvider("", defaultTokenPurpose, modifier) + return newInstancePrincipalConfigurationProvider("", modifier) } // InstancePrincipalConfigurationForRegionWithCustomClient returns a configuration for instance principals with a given region using a modifier function to modify the HTTPRequestDispatcher func InstancePrincipalConfigurationForRegionWithCustomClient(region common.Region, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { - return newInstancePrincipalConfigurationProvider(region, defaultTokenPurpose, modifier) + return newInstancePrincipalConfigurationProvider(region, modifier) } -func newInstancePrincipalConfigurationProvider(region common.Region, tokenPurpose string, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { +func newInstancePrincipalConfigurationProvider(region common.Region, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { var err error var keyProvider *instancePrincipalKeyProvider - if keyProvider, err = newInstancePrincipalKeyProvider(modifier, tokenPurpose); err != nil { + if keyProvider, err = newInstancePrincipalKeyProvider(modifier); err != nil { return nil, fmt.Errorf("failed to create a new key provider for instance principal: %s", err.Error()) } if len(region) > 0 { @@ -54,12 +49,6 @@ func newInstancePrincipalConfigurationProvider(region common.Region, tokenPurpos // InstancePrincipalConfigurationWithCerts returns a configuration for instance principals with a given region and hardcoded certificates in lieu of metadata service certs func InstancePrincipalConfigurationWithCerts(region common.Region, leafCertificate, leafPassphrase, leafPrivateKey []byte, intermediateCertificates [][]byte) (common.ConfigurationProvider, error) { - return instancePrincipalConfigurationWithCertsAndPurpose(region, leafCertificate, leafPassphrase, leafPrivateKey, intermediateCertificates, defaultTokenPurpose, nil) -} - -// instancePrincipalConfigurationWithCertsAndPurpose returns a configuration for instance principals with a given region and hardcoded certificates in lieu of metadata service certs -func instancePrincipalConfigurationWithCertsAndPurpose(region common.Region, leafCertificate, leafPassphrase, leafPrivateKey []byte, - intermediateCertificates [][]byte, purpose string, modifier func(dispatcher common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { leafCertificateRetriever := staticCertificateRetriever{Passphrase: leafPassphrase, CertificatePem: leafCertificate, PrivateKeyPem: leafPrivateKey} //The .Refresh() call actually reads the certificates from the inputs @@ -71,8 +60,7 @@ func instancePrincipalConfigurationWithCertsAndPurpose(region common.Region, lea certificate := leafCertificateRetriever.Certificate() tenancyID := extractTenancyIDFromCertificate(certificate) - fedClient, err := newX509FederationClientWithCerts(region, tenancyID, leafCertificate, leafPassphrase, leafPrivateKey, - intermediateCertificates, *newDispatcherModifier(modifier), purpose) + fedClient, err := newX509FederationClientWithCerts(region, tenancyID, leafCertificate, leafPassphrase, leafPrivateKey, intermediateCertificates, *newDispatcherModifier(nil)) if err != nil { return nil, err } @@ -121,3 +109,7 @@ func (p instancePrincipalConfigurationProvider) Region() (string, error) { func (p instancePrincipalConfigurationProvider) AuthType() (common.AuthConfig, error) { return common.AuthConfig{common.InstancePrincipal, false, nil}, fmt.Errorf("unsupported, keep the interface") } + +func (p instancePrincipalConfigurationProvider) Refreshable() bool { + return true +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/dispatcher_modifier.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/dispatcher_modifier.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go index f607c83d0093..67d442a7723d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/dispatcher_modifier.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go @@ -1,9 +1,9 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" +import "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" // dispatcherModifier gives ability to modify a HTTPRequestDispatcher before use. type dispatcherModifier struct { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/federation_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/federation_client.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go index 64cd0c090daa..ad0c34fdbc89 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/federation_client.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -13,15 +13,17 @@ import ( "errors" "fmt" "io/ioutil" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "math" "net/http" "os" "strings" "sync" "time" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) -// federationClient is a client to retrieve the security token necessary to sign a request. +// federationClient is a client to retrieve the security token for an instance principal necessary to sign a request. // It also provides the private key whose corresponding public key is used to retrieve the security token. type federationClient interface { ClaimHolder @@ -140,18 +142,13 @@ type x509FederationClient struct { securityToken securityToken authClient *common.BaseClient mux sync.Mutex - skipTenancyValidation bool - tokenPurpose string } -func newX509FederationClientWithPurpose(region common.Region, tenancyID string, leafCertificateRetriever x509CertificateRetriever, intermediateCertificateRetrievers []x509CertificateRetriever, - skipTenancyValidation bool, modifier dispatcherModifier, purpose string) (federationClient, error) { +func newX509FederationClient(region common.Region, tenancyID string, leafCertificateRetriever x509CertificateRetriever, intermediateCertificateRetrievers []x509CertificateRetriever, modifier dispatcherModifier) (federationClient, error) { client := &x509FederationClient{ tenancyID: tenancyID, leafCertificateRetriever: leafCertificateRetriever, intermediateCertificateRetrievers: intermediateCertificateRetrievers, - skipTenancyValidation: skipTenancyValidation, - tokenPurpose: purpose, } client.sessionKeySupplier = newSessionKeySupplier() authClient := newAuthClient(region, client) @@ -167,8 +164,7 @@ func newX509FederationClientWithPurpose(region common.Region, tenancyID string, return client, nil } -func newX509FederationClientWithCerts(region common.Region, tenancyID string, leafCertificate, leafPassphrase, leafPrivateKey []byte, - intermediateCertificates [][]byte, modifier dispatcherModifier, purpose string) (federationClient, error) { +func newX509FederationClientWithCerts(region common.Region, tenancyID string, leafCertificate, leafPassphrase, leafPrivateKey []byte, intermediateCertificates [][]byte, modifier dispatcherModifier) (federationClient, error) { intermediateRetrievers := make([]x509CertificateRetriever, len(intermediateCertificates)) for i, c := range intermediateCertificates { intermediateRetrievers[i] = &staticCertificateRetriever{Passphrase: []byte(""), CertificatePem: c, PrivateKeyPem: nil} @@ -178,7 +174,6 @@ func newX509FederationClientWithCerts(region common.Region, tenancyID string, le tenancyID: tenancyID, leafCertificateRetriever: &staticCertificateRetriever{Passphrase: leafPassphrase, CertificatePem: leafCertificate, PrivateKeyPem: leafPrivateKey}, intermediateCertificateRetrievers: intermediateRetrievers, - tokenPurpose: purpose, } client.sessionKeySupplier = newSessionKeySupplier() authClient := newAuthClient(region, client) @@ -266,12 +261,10 @@ func (c *x509FederationClient) renewSecurityToken() (err error) { return fmt.Errorf("failed to refresh leaf certificate: %s", err.Error()) } - if !c.skipTenancyValidation { - updatedTenancyID := extractTenancyIDFromCertificate(c.leafCertificateRetriever.Certificate()) - if c.tenancyID != updatedTenancyID { - err = fmt.Errorf("unexpected update of tenancy OCID in the leaf certificate. Previous tenancy: %s, Updated: %s", c.tenancyID, updatedTenancyID) - return - } + updatedTenancyID := extractTenancyIDFromCertificate(c.leafCertificateRetriever.Certificate()) + if c.tenancyID != updatedTenancyID { + err = fmt.Errorf("unexpected update of tenancy OCID in the leaf certificate. Previous tenancy: %s, Updated: %s", c.tenancyID, updatedTenancyID) + return } for _, retriever := range c.intermediateCertificateRetrievers { @@ -290,22 +283,24 @@ func (c *x509FederationClient) renewSecurityToken() (err error) { } func (c *x509FederationClient) getSecurityToken() (securityToken, error) { - request := c.makeX509FederationRequest() - var err error var httpRequest http.Request - if httpRequest, err = common.MakeDefaultHTTPRequestWithTaggedStruct(http.MethodPost, "", request); err != nil { - return nil, fmt.Errorf("failed to make http request: %s", err.Error()) - } - var httpResponse *http.Response defer common.CloseBodyIfValid(httpResponse) for retry := 0; retry < 5; retry++ { + request := c.makeX509FederationRequest() + + if httpRequest, err = common.MakeDefaultHTTPRequestWithTaggedStruct(http.MethodPost, "", request); err != nil { + return nil, fmt.Errorf("failed to make http request: %s", err.Error()) + } + if httpResponse, err = c.authClient.Call(context.Background(), &httpRequest); err == nil { break } - time.Sleep(250 * time.Microsecond) + + nextDuration := time.Duration(1000.0*(math.Pow(2.0, float64(retry)))) * time.Millisecond + time.Sleep(nextDuration) } if err != nil { return nil, fmt.Errorf("failed to call: %s", err.Error()) @@ -338,7 +333,6 @@ type X509FederationDetails struct { Certificate string `mandatory:"true" json:"certificate,omitempty"` PublicKey string `mandatory:"true" json:"publicKey,omitempty"` IntermediateCertificates []string `mandatory:"false" json:"intermediateCertificates,omitempty"` - Purpose string `mandatory:"true" json:"purpose,omitempty"` } type x509FederationResponse struct { @@ -362,7 +356,6 @@ func (c *x509FederationClient) makeX509FederationRequest() *x509FederationReques Certificate: certificate, PublicKey: publicKey, IntermediateCertificates: intermediateCertificates, - Purpose: c.tokenPurpose, } return &x509FederationRequest{details} } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go new file mode 100644 index 000000000000..2356c0860e7d --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go @@ -0,0 +1,205 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 ( + "bytes" + "crypto/rsa" + "crypto/tls" + "crypto/x509" + "encoding/base64" + "encoding/json" + "fmt" + "io" + "net/http" + "sync" + "time" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/utils" +) + +const ( + rpstValidForRatio float64 = 0.5 +) + +// Workload RPST Issuance Service (WRIS) +// x509FederationClientForOkeWorkloadIdentity retrieves a security token from Auth service. +type x509FederationClientForOkeWorkloadIdentity struct { + tenancyID string + sessionKeySupplier sessionKeySupplier + securityToken securityToken + authClient *common.BaseClient + mux sync.Mutex + proxymuxEndpoint string + kubernetesServiceAccountToken string // jwt + kubernetesServiceAccountCert *x509.CertPool +} + +func newX509FederationClientForOkeWorkloadIdentity(endpoint string, kubernetesServiceAccountToken string, + kubernetesServiceAccountCert *x509.CertPool) (federationClient, error) { + client := &x509FederationClientForOkeWorkloadIdentity{ + proxymuxEndpoint: endpoint, + kubernetesServiceAccountToken: kubernetesServiceAccountToken, + kubernetesServiceAccountCert: kubernetesServiceAccountCert, + } + + client.sessionKeySupplier = newSessionKeySupplier() + + return client, nil +} + +func (c *x509FederationClientForOkeWorkloadIdentity) renewSecurityToken() (err error) { + if err = c.sessionKeySupplier.Refresh(); err != nil { + return fmt.Errorf("failed to refresh session key: %s", err.Error()) + } + + common.Logf("Renewing 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("Security token renewed at: %v\n", time.Now().Format("15:04:05.000")) + + return nil +} + +type workloadIdentityRequestPayload struct { + Podkey string `json:"podKey"` +} +type token struct { + Token string +} + +// getSecurityToken get security token from Proxymux +func (c *x509FederationClientForOkeWorkloadIdentity) getSecurityToken() (securityToken, error) { + client := http.Client{ + Timeout: 30 * time.Second, + Transport: &http.Transport{ + TLSClientConfig: &tls.Config{ + RootCAs: c.kubernetesServiceAccountCert, + }, + }, + } + + publicKey := string(c.sessionKeySupplier.PublicKeyPemRaw()) + rawPayload := workloadIdentityRequestPayload{Podkey: publicKey} + payload, err := json.Marshal(rawPayload) + if err != nil { + return nil, fmt.Errorf("error getting security token%s", err) + } + + request, err := http.NewRequest(http.MethodPost, c.proxymuxEndpoint, bytes.NewBuffer(payload)) + + if err != nil { + common.Logf("error %s", err) + return nil, fmt.Errorf("error getting security token %s", err) + } + request.Header.Add("Authorization", "Bearer "+c.kubernetesServiceAccountToken) + request.Header.Set("Content-Type", "application/json") + opcRequestID := utils.GenerateOpcRequestID() + request.Header.Set("opc-request-id", opcRequestID) + + response, err := client.Do(request) + if err != nil { + return nil, fmt.Errorf("error %s", err) + } + + var body bytes.Buffer + defer func(body io.ReadCloser) { + err := body.Close() + if err != nil { + common.Logf("error %s", err) + } + }(response.Body) + + statusCode := response.StatusCode + if statusCode != http.StatusOK { + return nil, fmt.Errorf("failed to get a RPST token from Proxymux: URL: %s, Status: %s, Message: %s", + c.proxymuxEndpoint, response.Status, body.String()) + } + + if _, err = body.ReadFrom(response.Body); err != nil { + return nil, fmt.Errorf("error reading body from Proxymux response: %s", err) + } + + rawBody := body.String() + rawBody = rawBody[1 : len(rawBody)-1] + decodedBodyStr, err := base64.StdEncoding.DecodeString(rawBody) + if err != nil { + return nil, fmt.Errorf("error decoding Proxymux response using base64 scheme: %s", err) + } + + var parsedBody token + err = json.Unmarshal(decodedBodyStr, &parsedBody) + if err != nil { + return nil, fmt.Errorf("error parsing Proxymux response body: %s", err) + } + + token := parsedBody.Token + if &token == nil || len(token) == 0 { + return nil, fmt.Errorf("invalid (empty) token received from Proxymux") + } + if len(token) < 3 { + return nil, fmt.Errorf("invalid token received from Proxymux") + } + + return newPrincipalToken(token[3:]) +} + +func (c *x509FederationClientForOkeWorkloadIdentity) 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 *x509FederationClientForOkeWorkloadIdentity) 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 (c *x509FederationClientForOkeWorkloadIdentity) renewSecurityTokenIfNotValid() (err error) { + if c.securityToken == nil || !c.securityToken.Valid() { + if err = c.renewSecurityToken(); err != nil { + return fmt.Errorf("failed to renew security token: %s", err.Error()) + } + } + return nil +} + +type workloadIdentityPrincipalToken struct { + principalToken +} + +func (t *workloadIdentityPrincipalToken) Valid() bool { + // TODO: read rpstValidForRatio from rpst token + issuedAt := int64(t.jwtToken.payload["iat"].(float64)) + expiredAt := int64(t.jwtToken.payload["exp"].(float64)) + softExpiredAt := issuedAt + int64(float64(expiredAt-issuedAt)*rpstValidForRatio) + softExpiredAtTime := time.Unix(softExpiredAt, 0) + now := time.Now().Unix() + int64(bufferTimeBeforeTokenExpiration.Seconds()) + expired := softExpiredAt <= now + if expired { + common.Debugf("Token expired at: %v", softExpiredAtTime.Format("15:04:05.000")) + } + return !expired +} + +func (c *x509FederationClientForOkeWorkloadIdentity) GetClaim(key string) (interface{}, error) { + c.mux.Lock() + defer c.mux.Unlock() + + if err := c.renewSecurityTokenIfNotValid(); err != nil { + return nil, err + } + return c.securityToken.GetClaim(key) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_delegation_token_provider.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_delegation_token_provider.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go index 7fd0db961155..edac1b17aaee 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_delegation_token_provider.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 ( "crypto/rsa" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) type instancePrincipalDelegationTokenConfigurationProvider struct { @@ -15,11 +15,18 @@ type instancePrincipalDelegationTokenConfigurationProvider struct { delegationToken string region *common.Region } +type instancePrincipalDelegationTokenError struct { + err error +} + +func (ipe instancePrincipalDelegationTokenError) Error() string { + return fmt.Sprintf("%s\nInstance principals delegation token authentication can only be used on specific OCI services. Please confirm this code is running on the correct environment", ipe.err.Error()) +} // 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 nil, instancePrincipalDelegationTokenError{err: fmt.Errorf("failed to create a delagationTokenConfigurationProvider: token is a mandatory input parameter")} } return newInstancePrincipalDelegationTokenConfigurationProvider(delegationToken, "", nil) } @@ -27,7 +34,7 @@ func InstancePrincipalDelegationTokenConfigurationProvider(delegationToken *stri // InstancePrincipalDelegationTokenConfigurationProviderForRegion returns a configuration for obo token instance principals with a given region func InstancePrincipalDelegationTokenConfigurationProviderForRegion(delegationToken *string, region common.Region) (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 nil, instancePrincipalDelegationTokenError{err: fmt.Errorf("failed to create a delagationTokenConfigurationProvider: token is a mandatory input parameter")} } return newInstancePrincipalDelegationTokenConfigurationProvider(delegationToken, region, nil) } @@ -35,9 +42,9 @@ func InstancePrincipalDelegationTokenConfigurationProviderForRegion(delegationTo func newInstancePrincipalDelegationTokenConfigurationProvider(delegationToken *string, region common.Region, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { - keyProvider, err := newInstancePrincipalKeyProvider(modifier, "") + 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 nil, instancePrincipalDelegationTokenError{err: fmt.Errorf("failed to create a new key provider for instance principal: %s", err.Error())} } if len(region) > 0 { return instancePrincipalDelegationTokenConfigurationProvider{*keyProvider, *delegationToken, ®ion}, err @@ -82,3 +89,7 @@ func (p instancePrincipalDelegationTokenConfigurationProvider) AuthType() (commo token := p.delegationToken return common.AuthConfig{common.InstancePrincipalDelegationToken, false, &token}, nil } + +func (p instancePrincipalDelegationTokenConfigurationProvider) Refreshable() bool { + return true +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_key_provider.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_key_provider.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go index 753b20879c11..64fcc29fb9ea 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/instance_principal_key_provider.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -11,7 +11,7 @@ import ( "strings" "time" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) const ( @@ -42,6 +42,14 @@ type instancePrincipalKeyProvider struct { TenancyID string } +type instancePrincipalError struct { + err error +} + +func (ipe instancePrincipalError) Error() string { + return fmt.Sprintf("%s\nInstance principals authentication can only be used on OCI compute instances. Please confirm this code is running on an OCI compute instance and you have set up the policy properly.\nSee https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm for more info", ipe.err.Error()) +} + // newInstancePrincipalKeyProvider creates and returns an instancePrincipalKeyProvider instance based on // x509FederationClient. // @@ -50,15 +58,14 @@ type instancePrincipalKeyProvider struct { // The x509FederationClient caches the security token in memory until it is expired. Thus, even if a client obtains a // KeyID that is not expired at the moment, the PrivateRSAKey that the client acquires at a next moment could be // invalid because the KeyID could be already expired. -func newInstancePrincipalKeyProvider(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error), - tokenPurpose string) (provider *instancePrincipalKeyProvider, err error) { +func newInstancePrincipalKeyProvider(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (provider *instancePrincipalKeyProvider, err error) { updateX509CertRetrieverURLParas(metadataBaseURL) clientModifier := newDispatcherModifier(modifier) client, err := clientModifier.Modify(&http.Client{}) if err != nil { err = fmt.Errorf("failed to modify client: %s", err.Error()) - return nil, err + return nil, instancePrincipalError{err: err} } var region common.Region @@ -66,7 +73,7 @@ func newInstancePrincipalKeyProvider(modifier func(common.HTTPRequestDispatcher) if region, err = getRegionForFederationClient(client, regionURL); err != nil { err = fmt.Errorf("failed to get the region name from %s: %s", regionURL, err.Error()) common.Logf("%v\n", err) - return nil, err + return nil, instancePrincipalError{err: err} } leafCertificateRetriever := newURLBasedX509CertificateRetriever(client, @@ -79,16 +86,15 @@ func newInstancePrincipalKeyProvider(modifier func(common.HTTPRequestDispatcher) if err = leafCertificateRetriever.Refresh(); err != nil { err = fmt.Errorf("failed to refresh the leaf certificate: %s", err.Error()) - return nil, err + return nil, instancePrincipalError{err: err} } tenancyID := extractTenancyIDFromCertificate(leafCertificateRetriever.Certificate()) - federationClient, err := newX509FederationClientWithPurpose(region, tenancyID, leafCertificateRetriever, - intermediateCertificateRetrievers, true, *clientModifier, tokenPurpose) + federationClient, err := newX509FederationClient(region, tenancyID, leafCertificateRetriever, intermediateCertificateRetrievers, *clientModifier) if err != nil { err = fmt.Errorf("failed to create federation client: %s", err.Error()) - return nil, err + return nil, instancePrincipalError{err: err} } provider = &instancePrincipalKeyProvider{FederationClient: federationClient, TenancyID: tenancyID, Region: region} @@ -99,7 +105,6 @@ func getRegionForFederationClient(dispatcher common.HTTPRequestDispatcher, url s var body bytes.Buffer var statusCode int MaxRetriesFederationClient := 3 - for currTry := 0; currTry < MaxRetriesFederationClient; currTry++ { body, statusCode, err = httpGet(dispatcher, url) if err == nil && statusCode == 200 { @@ -107,7 +112,7 @@ func getRegionForFederationClient(dispatcher common.HTTPRequestDispatcher, url s } common.Logf("Error in getting region from url: %s, Status code: %v, Error: %s", url, statusCode, err.Error()) if statusCode == 404 && strings.Compare(url, metadataBaseURL+regionPath) == 0 { - common.Logf("Falling back to http://169.254.169.254/opc/v1 to try again...\n") + common.Logf("Falling back to http://169.254.169.254/opc/v1 to try again...") updateX509CertRetrieverURLParas(metadataFallbackURL) url = regionURL } @@ -130,7 +135,7 @@ func (p *instancePrincipalKeyProvider) RegionForFederationClient() common.Region func (p *instancePrincipalKeyProvider) PrivateRSAKey() (privateKey *rsa.PrivateKey, err error) { if privateKey, err = p.FederationClient.PrivateKey(); err != nil { err = fmt.Errorf("failed to get private key: %s", err.Error()) - return nil, err + return nil, instancePrincipalError{err: err} } return privateKey, nil } @@ -139,7 +144,8 @@ func (p *instancePrincipalKeyProvider) KeyID() (string, error) { var securityToken string var err error if securityToken, err = p.FederationClient.SecurityToken(); err != nil { - return "", fmt.Errorf("failed to get security token: %s", err.Error()) + err = fmt.Errorf("failed to get security token: %s", err.Error()) + return "", instancePrincipalError{err: err} } return fmt.Sprintf("ST$%s", securityToken), nil } @@ -147,3 +153,7 @@ func (p *instancePrincipalKeyProvider) KeyID() (string, error) { func (p *instancePrincipalKeyProvider) TenancyOCID() (string, error) { return p.TenancyID, nil } + +func (p *instancePrincipalKeyProvider) Refreshable() bool { + return true +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/jwt.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/jwt.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go index 23d6658936cd..8b42a983c9e3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/jwt.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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,9 +8,10 @@ import ( "encoding/base64" "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" "strings" "time" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) type jwtToken struct { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resouce_principal_key_provider.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resouce_principal_key_provider.go similarity index 52% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resouce_principal_key_provider.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resouce_principal_key_provider.go index a84230d768a6..9561995c0f38 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resouce_principal_key_provider.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resouce_principal_key_provider.go @@ -1,15 +1,18 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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" + "crypto/x509" "errors" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "io/ioutil" "os" "path" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) const ( @@ -32,7 +35,14 @@ const ( ResourcePrincipalSessionTokenEndpoint = "OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT" //ResourcePrincipalTokenEndpoint endpoint for retrieving the Resource Principal Token ResourcePrincipalTokenEndpoint = "OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT" - + // KubernetesServiceAccountTokenPath that contains cluster information + KubernetesServiceAccountTokenPath = "/var/run/secrets/kubernetes.io/serviceaccount/token" + // KubernetesServiceAccountCertPath that contains cluster information + KubernetesServiceAccountCertPath = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" + // KubernetesServiceHostEnvVar environment var holding the kubernetes host + KubernetesServiceHostEnvVar = "KUBERNETES_SERVICE_HOST" + // KubernetesProxymuxServicePort environment var holding the kubernetes port + KubernetesProxymuxServicePort = "12250" // 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 @@ -52,31 +62,86 @@ func ResourcePrincipalConfigurationProvider() (ConfigurationProviderWithClaimAcc 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) + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalVersionEnvVar) + return nil, resourcePrincipalError{err: err} } switch version { case ResourcePrincipalVersion2_2: rpst := requireEnv(ResourcePrincipalRPSTEnvVar) if rpst == nil { - return nil, fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalRPSTEnvVar) + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalVersionEnvVar) + return nil, resourcePrincipalError{err: err} } private := requireEnv(ResourcePrincipalPrivatePEMEnvVar) if private == nil { - return nil, fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalPrivatePEMEnvVar) + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalVersionEnvVar) + return nil, resourcePrincipalError{err: err} } passphrase := requireEnv(ResourcePrincipalPrivatePEMPassphraseEnvVar) region := requireEnv(ResourcePrincipalRegionEnvVar) if region == nil { - return nil, fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalRegionEnvVar) + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalRegionEnvVar) + return nil, resourcePrincipalError{err: err} } 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) + err := fmt.Errorf("can not create resource principal, environment variable: %s, must be valid", ResourcePrincipalVersionEnvVar) + return nil, resourcePrincipalError{err: err} + } +} + +// OkeWorkloadIdentityConfigurationProvider returns a resource principal configuration provider by OKE Workload Identity +func OkeWorkloadIdentityConfigurationProvider() (ConfigurationProviderWithClaimAccess, error) { + var version string + var ok bool + if version, ok = os.LookupEnv(ResourcePrincipalVersionEnvVar); !ok { + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalVersionEnvVar) + return nil, resourcePrincipalError{err: err} + } + + if version == ResourcePrincipalVersion1_1 || version == ResourcePrincipalVersion2_2 { + kubernetesServiceAccountToken, err := ioutil.ReadFile(KubernetesServiceAccountTokenPath) + if err != nil { + err = fmt.Errorf("can not create resource principal, error getting Kubernetes Service Account Token at %s", + KubernetesServiceAccountTokenPath) + return nil, resourcePrincipalError{err: err} + } + + kubernetesServiceAccountCertRaw, err := ioutil.ReadFile(KubernetesServiceAccountCertPath) + if err != nil { + err = fmt.Errorf("can not create resource principal, error getting Kubernetes Service Account Token at %s", + KubernetesServiceAccountCertPath) + return nil, resourcePrincipalError{err: err} + } + + kubernetesServiceAccountCert := x509.NewCertPool() + kubernetesServiceAccountCert.AppendCertsFromPEM(kubernetesServiceAccountCertRaw) + + region := requireEnv(ResourcePrincipalRegionEnvVar) + if region == nil { + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", + ResourcePrincipalRegionEnvVar) + return nil, resourcePrincipalError{err: err} + } + + k8sServiceHost := requireEnv(KubernetesServiceHostEnvVar) + if k8sServiceHost == nil { + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", + KubernetesServiceHostEnvVar) + return nil, resourcePrincipalError{err: err} + } + proxymuxEndpoint := fmt.Sprintf("https://%s:%s/resourcePrincipalSessionTokens", *k8sServiceHost, KubernetesProxymuxServicePort) + + return newOkeWorkloadIdentityProvider(proxymuxEndpoint, string(kubernetesServiceAccountToken), + kubernetesServiceAccountCert, *region) } + + err := fmt.Errorf("can not create resource principal, environment variable: %s, must be valid", ResourcePrincipalVersionEnvVar) + return nil, resourcePrincipalError{err: err} } // ResourcePrincipalConfigurationProviderWithPathProvider returns a resource principal configuration provider using path provider. @@ -84,9 +149,11 @@ func ResourcePrincipalConfigurationProviderWithPathProvider(pathProvider PathPro 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) + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalVersionEnvVar) + return nil, resourcePrincipalError{err: err} } else if version != ResourcePrincipalVersion1_1 { - return nil, fmt.Errorf("can not create resource principal, environment variable: %s, must be %s", ResourcePrincipalVersionEnvVar, ResourcePrincipalVersion1_1) + err := fmt.Errorf("can not create resource principal, environment variable: %s, must be %s", ResourcePrincipalVersionEnvVar, ResourcePrincipalVersion1_1) + return nil, resourcePrincipalError{err: err} } return newResourcePrincipalKeyProvider11(pathProvider) } @@ -94,19 +161,23 @@ func ResourcePrincipalConfigurationProviderWithPathProvider(pathProvider PathPro 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) + err := fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalTokenEndpoint) + return nil, resourcePrincipalError{err: err} } rptPath, err := pathProvider.Path() if err != nil { - return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + err := fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + return nil, resourcePrincipalError{err: err} } resourceID, err := pathProvider.ResourceID() if err != nil { - return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + err := fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + return nil, resourcePrincipalError{err: err} } rp, err := resourcePrincipalConfigurationProviderV1(*rptEndpoint+*rptPath, *resourceID) if err != nil { - return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + err := fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + return nil, resourcePrincipalError{err: err} } return rp, nil } @@ -128,10 +199,11 @@ type resourcePrincipalKeyProvider struct { func newResourcePrincipalKeyProvider22(sessionTokenLocation, privatePemLocation string, passphraseLocation *string, region string) (*resourcePrincipalKeyProvider, error) { - //Check both the the passphrase and the key are paths + //Check both the passphrase and the key are paths if passphraseLocation != nil && (!isPath(privatePemLocation) && isPath(*passphraseLocation) || isPath(privatePemLocation) && !isPath(*passphraseLocation)) { - return nil, fmt.Errorf("cant not create resource principal: both key and passphrase need to be path or none needs to be path") + err := fmt.Errorf("cant not create resource principal: both key and passphrase need to be path or none needs to be path") + return nil, resourcePrincipalError{err: err} } var supplier sessionKeySupplier @@ -141,7 +213,8 @@ func newResourcePrincipalKeyProvider22(sessionTokenLocation, privatePemLocation if isPath(privatePemLocation) { supplier, err = newFileBasedKeySessionSupplier(privatePemLocation, passphraseLocation) if err != nil { - return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + err := fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + return nil, resourcePrincipalError{err: err} } } else { //else the content is in the env vars @@ -151,7 +224,8 @@ func newResourcePrincipalKeyProvider22(sessionTokenLocation, privatePemLocation } supplier, err = newStaticKeySessionSupplier([]byte(privatePemLocation), passphrase) if err != nil { - return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + err := fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + return nil, resourcePrincipalError{err: err} } } @@ -160,8 +234,10 @@ func newResourcePrincipalKeyProvider22(sessionTokenLocation, privatePemLocation fd, _ = newFileBasedFederationClient(sessionTokenLocation, supplier) } else { fd, err = newStaticFederationClient(sessionTokenLocation, supplier) + if err != nil { - return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + err := fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + return nil, resourcePrincipalError{err: err} } } @@ -169,13 +245,33 @@ func newResourcePrincipalKeyProvider22(sessionTokenLocation, privatePemLocation FederationClient: fd, KeyProviderRegion: common.StringToRegion(region), } + + return &rs, nil +} + +func newOkeWorkloadIdentityProvider(proxymuxEndpoint string, kubernetesServiceAccountToken string, + kubernetesServiceAccountCert *x509.CertPool, region string) (*resourcePrincipalKeyProvider, error) { + var err error + var fd federationClient + fd, err = newX509FederationClientForOkeWorkloadIdentity(proxymuxEndpoint, kubernetesServiceAccountToken, kubernetesServiceAccountCert) + + if err != nil { + err := fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + return nil, resourcePrincipalError{err: err} + } + + rs := resourcePrincipalKeyProvider{ + FederationClient: fd, + KeyProviderRegion: common.StringToRegion(region), + } + return &rs, nil } func (p *resourcePrincipalKeyProvider) PrivateRSAKey() (privateKey *rsa.PrivateKey, err error) { if privateKey, err = p.FederationClient.PrivateKey(); err != nil { err = fmt.Errorf("failed to get private key: %s", err.Error()) - return nil, err + return nil, resourcePrincipalError{err: err} } return privateKey, nil } @@ -184,7 +280,8 @@ func (p *resourcePrincipalKeyProvider) KeyID() (string, error) { var securityToken string var err error if securityToken, err = p.FederationClient.SecurityToken(); err != nil { - return "", fmt.Errorf("failed to get security token: %s", err.Error()) + err = fmt.Errorf("failed to get security token: %s", err.Error()) + return "", resourcePrincipalError{err: err} } return fmt.Sprintf("ST$%s", securityToken), nil } @@ -221,8 +318,11 @@ func (p *resourcePrincipalKeyProvider) UserOCID() (string, error) { } func (p *resourcePrincipalKeyProvider) AuthType() (common.AuthConfig, error) { - return common.AuthConfig{common.UnknownAuthenticationType, false, nil}, - fmt.Errorf("unsupported, keep the interface") + return common.AuthConfig{common.UnknownAuthenticationType, false, nil}, fmt.Errorf("unsupported, keep the interface") +} + +func (p *resourcePrincipalKeyProvider) Refreshable() bool { + return true } // By contract for the the content of a resource principal to be considered path, it needs to be @@ -230,3 +330,11 @@ func (p *resourcePrincipalKeyProvider) AuthType() (common.AuthConfig, error) { func isPath(str string) bool { return path.IsAbs(str) } + +type resourcePrincipalError struct { + err error +} + +func (ipe resourcePrincipalError) Error() string { + return fmt.Sprintf("%s\nResource principals authentication can only be used in certain OCI services. Please check that the OCI service you're running this code from supports Resource principals.\nSee https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_authentication_methods.htm#sdk_authentication_methods_resource_principal for more info.", ipe.err.Error()) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principal_token_path_provider.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go similarity index 98% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principal_token_path_provider.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go index 435c26c18a51..599b5ca4da3b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principal_token_path_provider.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principals_v1.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go similarity index 98% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principals_v1.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go index 76bf93ecf136..685c4009db61 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/resource_principals_v1.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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,12 +7,13 @@ import ( "context" "crypto/rsa" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" "net/http" "net/url" "sync" "time" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) // resourcePrincipalFederationClient is the client used to to talk acquire resource principals @@ -270,6 +271,10 @@ func (p resourcePrincipalConfigurationProvider) Region() (string, error) { return string(*p.region), nil } +func (p resourcePrincipalConfigurationProvider) Refreshable() bool { + return true +} + // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/utils.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/utils.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go index fc99af5bfca0..fc1fb96d04d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth/utils.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -12,7 +12,7 @@ import ( "net/http/httputil" "strings" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" ) // httpGet makes a simple HTTP GET request to the given URL, expecting only "200 OK" status code. @@ -54,11 +54,7 @@ func extractTenancyIDFromCertificate(cert *x509.Certificate) string { for _, nameAttr := range cert.Subject.Names { value := nameAttr.Value.(string) if strings.HasPrefix(value, "opc-tenant:") { - // instance principal cert return value[len("opc-tenant:"):] - } else if strings.HasPrefix(value, "opc-identity:") { - // service principal cert - return value[len("opc-identity:"):] } } return "" @@ -92,6 +88,8 @@ func GetGenericConfigurationProvider(configProvider common.ConfigurationProvider return InstancePrincipalDelegationTokenConfigurationProviderForRegion(authConfig.OboToken, common.StringToRegion(region)) } return InstancePrincipalDelegationTokenConfigurationProvider(authConfig.OboToken) + case common.InstancePrincipal: + return InstancePrincipalConfigurationProvider() case common.UserPrincipal: return configProvider, nil } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/circuit_breaker.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go similarity index 62% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/circuit_breaker.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go index c197d5b6f686..fd4689374bce 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/circuit_breaker.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go @@ -1,10 +1,14 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 import ( "fmt" + "net/http" + "os" + "strconv" + "sync" "time" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker" @@ -21,6 +25,10 @@ const ( CircuitBreakerDefaultVolumeThreshold uint32 = 10 // DefaultCircuitBreakerName is the name of the circuit breaker DefaultCircuitBreakerName string = "DefaultCircuitBreaker" + // DefaultCircuitBreakerServiceName is the servicename of the circuit breaker + DefaultCircuitBreakerServiceName string = "" + // DefaultCircuitBreakerHistoryCount is the default count of failed response history in circuit breaker + DefaultCircuitBreakerHistoryCount int = 5 ) // CircuitBreakerSetting wraps all exposed configurable params of circuit breaker @@ -46,12 +54,92 @@ type CircuitBreakerSetting struct { // as the success or failure accounted by circuit breaker // the default value is {409, "IncorrectState"} successStatErrCodeMap map[StatErrCode]bool + // serviceName is the name of the service which can be set using withServiceName option for NewCircuitBreaker. + // the default value is empty string + serviceName string + // numberOfRecordedHistoryResponse is the number of failure responses stored in Circuit breaker history for debugging purpose + // the default value is 5 + numberOfRecordedHistoryResponse int } // Convert CircuitBreakerSetting to human-readable string representation func (cbst CircuitBreakerSetting) String() string { - return fmt.Sprintf("{name=%v, isEnabled=%v, closeStateWindow=%v, openStateWindow=%v, failureRateThreshold=%v, minimumRequests=%v, successStatCodeMap=%v, successStatErrCodeMap=%v}", - cbst.name, cbst.isEnabled, cbst.closeStateWindow, cbst.openStateWindow, cbst.failureRateThreshold, cbst.minimumRequests, cbst.successStatCodeMap, cbst.successStatErrCodeMap) + return fmt.Sprintf("{name=%v, isEnabled=%v, closeStateWindow=%v, openStateWindow=%v, failureRateThreshold=%v, minimumRequests=%v, successStatCodeMap=%v, successStatErrCodeMap=%v, serviceName=%v, historyCount=%v}", + cbst.name, cbst.isEnabled, cbst.closeStateWindow, cbst.openStateWindow, cbst.failureRateThreshold, cbst.minimumRequests, cbst.successStatCodeMap, cbst.successStatErrCodeMap, cbst.serviceName, cbst.numberOfRecordedHistoryResponse) +} + +// ResponseHistory wraps the response params +type ResponseHistory struct { + timestamp time.Time + opcReqID string + errorCode string + errorMessage string + statusCode int +} + +// Convert ResponseHistory to human-readable string representation +func (rh ResponseHistory) String() string { + return fmt.Sprintf("Opc-Req-id - %v\nErrorCode - %v - %v\nErrorMessage - %v\n\n", rh.opcReqID, rh.statusCode, rh.errorCode, rh.errorMessage) +} + +// AddToHistory processed the response and adds to response history queue +func (ocb *OciCircuitBreaker) AddToHistory(resp *http.Response, err ServiceError) { + respHist := new(ResponseHistory) + respHist.opcReqID = err.GetOpcRequestID() + respHist.errorCode = err.GetCode() + respHist.errorMessage = err.GetMessage() + respHist.statusCode = err.GetHTTPStatusCode() + respHist.timestamp, _ = time.Parse(time.RFC1123, resp.Header.Get("Date")) + ocb.historyQueueMutex.Lock() + defer ocb.historyQueueMutex.Unlock() + ocb.historyQueue = append(ocb.historyQueue, *respHist) + // cleaning up older values + if len(ocb.historyQueue) > ocb.Cbst.numberOfRecordedHistoryResponse { + // We have reached the capacity. Clean up the oldest value + ocb.historyQueue = ocb.historyQueue[1:] + } + for index := len(ocb.historyQueue) - 1; index >= 0; index-- { + if time.Since(ocb.historyQueue[index].timestamp) > ocb.Cbst.closeStateWindow { + // This response is older than the circuit breaker closeStateWindow. + // Remove all the older responses from 0 to index + ocb.historyQueue = ocb.historyQueue[index+1:] + break + } + } + return +} + +// GetHistory processes the rsponse in queue to construct a String +func (ocb *OciCircuitBreaker) GetHistory() string { + getHistoryString := "" + ocb.historyQueueMutex.Lock() + defer ocb.historyQueueMutex.Unlock() + for _, value := range ocb.historyQueue { + getHistoryString += value.String() + } + return getHistoryString +} + +// OciCircuitBreaker wraps all exposed configurable params of circuit breaker and 3P gobreaker CircuirBreaker +type OciCircuitBreaker struct { + Cbst *CircuitBreakerSetting + Cb *gobreaker.CircuitBreaker + historyQueue []ResponseHistory + historyQueueMutex sync.Mutex +} + +// NewOciCircuitBreaker is used for initializing specified oci circuit breaker configuration with circuit breaker settings +func NewOciCircuitBreaker(cbst *CircuitBreakerSetting, gbcb *gobreaker.CircuitBreaker) *OciCircuitBreaker { + ocb := new(OciCircuitBreaker) + ocb.Cbst = cbst + if ocb.Cbst.numberOfRecordedHistoryResponse == 0 { + fmt.Println("num hist empty") + ocb.Cbst.numberOfRecordedHistoryResponse = getDefaultNumHistoryCount() + } + ocb.Cb = gbcb + ocb.historyQueue = make([]ResponseHistory, 0, ocb.Cbst.numberOfRecordedHistoryResponse) + + return ocb } // CircuitBreakerOption is the type of the options for NewCircuitBreakerWithOptions. @@ -83,7 +171,33 @@ func DefaultCircuitBreakerSetting() *CircuitBreakerSetting { WithFailureRateThreshold(CircuitBreakerDefaultFailureRateThreshold), WithMinimumRequests(CircuitBreakerDefaultVolumeThreshold), WithSuccessStatErrCodeMap(successStatErrCodeMap), - WithSuccessStatCodeMap(successStatCodeMap)) + WithSuccessStatCodeMap(successStatCodeMap), + WithHistoryCount(getDefaultNumHistoryCount())) +} + +// DefaultCircuitBreakerSettingWithServiceName is used for set circuit breaker with default config +func DefaultCircuitBreakerSettingWithServiceName(servicename string) *CircuitBreakerSetting { + successStatErrCodeMap := map[StatErrCode]bool{ + {409, "IncorrectState"}: false, + } + successStatCodeMap := map[int]bool{ + 429: false, + 500: false, + 502: false, + 503: false, + 504: false, + } + return newCircuitBreakerSetting( + WithName(DefaultCircuitBreakerName), + WithIsEnabled(true), + WithCloseStateWindow(CircuitBreakerDefaultClosedWindow), + WithOpenStateWindow(CircuitBreakerDefaultResetTimeout), + WithFailureRateThreshold(CircuitBreakerDefaultFailureRateThreshold), + WithMinimumRequests(CircuitBreakerDefaultVolumeThreshold), + WithSuccessStatErrCodeMap(successStatErrCodeMap), + WithSuccessStatCodeMap(successStatCodeMap), + WithServiceName(servicename), + WithHistoryCount(getDefaultNumHistoryCount())) } // NoCircuitBreakerSetting is used for disable Circuit Breaker @@ -94,7 +208,7 @@ func NoCircuitBreakerSetting() *CircuitBreakerSetting { // NewCircuitBreakerSettingWithOptions is a helper method to assemble a CircuitBreakerSetting object. // It starts out with the values returned by defaultCircuitBreakerSetting(). func NewCircuitBreakerSettingWithOptions(opts ...CircuitBreakerOption) *CircuitBreakerSetting { - cbst := DefaultCircuitBreakerSetting() + cbst := DefaultCircuitBreakerSettingWithServiceName(DefaultCircuitBreakerServiceName) // allow changing values for _, opt := range opts { opt(cbst) @@ -107,13 +221,16 @@ func NewCircuitBreakerSettingWithOptions(opts ...CircuitBreakerOption) *CircuitB } // NewCircuitBreaker is used for initialing specified circuit breaker configuration with base client -func NewCircuitBreaker(cbst *CircuitBreakerSetting) *gobreaker.CircuitBreaker { +func NewCircuitBreaker(cbst *CircuitBreakerSetting) *OciCircuitBreaker { if !cbst.isEnabled { return nil } + st := gobreaker.Settings{} customizeGoBreakerSetting(&st, cbst) - return gobreaker.NewCircuitBreaker(st) + gbcb := gobreaker.NewCircuitBreaker(st) + + return NewOciCircuitBreaker(cbst, gbcb) } func newCircuitBreakerSetting(opts ...CircuitBreakerOption) *CircuitBreakerSetting { @@ -131,6 +248,11 @@ func customizeGoBreakerSetting(st *gobreaker.Settings, cbst *CircuitBreakerSetti st.Name = cbst.name st.Timeout = cbst.openStateWindow st.Interval = cbst.closeStateWindow + st.OnStateChange = func(name string, from gobreaker.State, to gobreaker.State) { + if to == gobreaker.StateOpen { + Debugf("Circuit Breaker %s is now in Open State\n", name) + } + } st.ReadyToTrip = func(counts gobreaker.Counts) bool { failureRatio := float64(counts.TotalFailures) / float64(counts.Requests) return counts.Requests >= cbst.minimumRequests && failureRatio >= cbst.failureRateThreshold @@ -212,6 +334,34 @@ func WithSuccessStatErrCodeMap(successStatErrCodeMap map[StatErrCode]bool) Circu } } +// WithServiceName is the option for NewCircuitBreaker that sets the ServiceName. +func WithServiceName(serviceName string) CircuitBreakerOption { + // this is the CircuitBreakerOption function type + return func(cbst *CircuitBreakerSetting) { + cbst.serviceName = serviceName + } +} + +// WithHistoryCount to set the number of failed responses +func WithHistoryCount(count int) CircuitBreakerOption { + // this is the CircuitBreakerOption function type + return func(cbst *CircuitBreakerSetting) { + cbst.numberOfRecordedHistoryResponse = count + } +} + +// getDefaultNumHistoryCount to set the number of failed responses +func getDefaultNumHistoryCount() int { + if val, isSet := os.LookupEnv(circuitBreakerNumberOfHistoryResponseEnv); isSet { + count, err := strconv.Atoi(val) + if err == nil && count > 0 { + return count + } + Debugf("Invalid history count specified. Resetting to default value") + } + return DefaultCircuitBreakerHistoryCount +} + // GlobalCircuitBreakerSetting is global level circuit breaker setting, it would impact all services, the precedence is lower // than client level circuit breaker var GlobalCircuitBreakerSetting *CircuitBreakerSetting = nil diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/client.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/client.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/client.go index f56127828373..552182faaaa4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/client.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -7,6 +7,8 @@ package common import ( "bytes" "context" + "crypto/tls" + "crypto/x509" "fmt" "io" "io/ioutil" @@ -24,11 +26,12 @@ import ( "sync" "sync/atomic" "time" - - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker" ) const ( + // DefaultHostURLTemplate The default url template for service hosts + DefaultHostURLTemplate = "%s.%s.oraclecloud.com" + // requestHeaderAccept The key for passing a header to indicate Accept requestHeaderAccept = "Accept" @@ -80,8 +83,9 @@ const ( defaultConfigFileName = "config" defaultConfigDirName = ".oci" configFilePathEnvVarName = "OCI_CONFIG_FILE" - secondaryConfigDirName = ".oraclebmc" - maxBodyLenForDebug = 1024 * 1000 + + secondaryConfigDirName = ".oraclebmc" + maxBodyLenForDebug = 1024 * 1000 // appendUserAgentEnv The key for retrieving append user agent value from env var appendUserAgentEnv = "OCI_SDK_APPEND_USER_AGENT" @@ -94,6 +98,15 @@ const ( // isDefaultCircuitBreakerEnabled is the key for set default circuit breaker disabled from env var isDefaultCircuitBreakerEnabled = "OCI_SDK_DEFAULT_CIRCUITBREAKER_ENABLED" + + //circuitBreakerNumberOfHistoryResponseEnv is the number of recorded history responses + circuitBreakerNumberOfHistoryResponseEnv = "OCI_SDK_CIRCUITBREAKER_NUM_HISTORY_RESPONSE" + + // ociDefaultCertsPath is the env var for the path to the SSL cert file + ociDefaultCertsPath = "OCI_DEFAULT_CERTS_PATH" + + //maxAttemptsForRefreshableRetry is the number of retry when 401 happened on a refreshable auth type + maxAttemptsForRefreshableRetry = 3 ) // RequestInterceptor function used to customize the request before calling the underlying service @@ -107,8 +120,9 @@ type HTTPRequestDispatcher interface { // CustomClientConfiguration contains configurations set at client level, currently it only includes RetryPolicy type CustomClientConfiguration struct { - RetryPolicy *RetryPolicy - CircuitBreaker *gobreaker.CircuitBreaker + RetryPolicy *RetryPolicy + CircuitBreaker *OciCircuitBreaker + RealmSpecificServiceEndpointTemplateEnabled *bool } // BaseClient struct implements all basic operations to call oci web services. @@ -198,29 +212,36 @@ func newBaseClient(signer HTTPRequestSigner, dispatcher HTTPRequestDispatcher) B func defaultHTTPDispatcher() http.Client { var httpClient http.Client - + var tp = http.DefaultTransport.(*http.Transport) if isExpectHeaderDisabled := IsEnvVarFalse(UsingExpectHeaderEnvVar); !isExpectHeaderDisabled { - var tp http.RoundTripper = &http.Transport{ - Proxy: http.ProxyFromEnvironment, - DialContext: (&net.Dialer{ - Timeout: 30 * time.Second, - KeepAlive: 30 * time.Second, - DualStack: true, - }).DialContext, - ForceAttemptHTTP2: true, - MaxIdleConns: 100, - IdleConnTimeout: 90 * time.Second, - TLSHandshakeTimeout: 10 * time.Second, - ExpectContinueTimeout: 3 * time.Second, - } - httpClient = http.Client{ - Transport: tp, - Timeout: defaultTimeout, - } - } else { - httpClient = http.Client{ - Timeout: defaultTimeout, + tp.Proxy = http.ProxyFromEnvironment + tp.DialContext = (&net.Dialer{ + Timeout: 30 * time.Second, + KeepAlive: 30 * time.Second, + DualStack: true, + }).DialContext + tp.ForceAttemptHTTP2 = true + tp.MaxIdleConns = 100 + tp.IdleConnTimeout = 90 * time.Second + tp.TLSHandshakeTimeout = 10 * time.Second + tp.ExpectContinueTimeout = 3 * time.Second + } + if certFile, ok := os.LookupEnv(ociDefaultCertsPath); ok { + pool := x509.NewCertPool() + pemCert := readCertPem(certFile) + cert, err := x509.ParseCertificate(pemCert) + if err != nil { + Logf("unable to parse content to cert fallback to pem format from env var value: %s", certFile) + pool.AppendCertsFromPEM(pemCert) + } else { + Logf("using custom cert parsed from env var value: %s", certFile) + pool.AddCert(cert) } + tp.TLSClientConfig = &tls.Config{RootCAs: pool} + } + httpClient = http.Client{ + Timeout: defaultTimeout, + Transport: tp, } return httpClient } @@ -271,7 +292,6 @@ func NewClientWithOboToken(configProvider ConfigurationProvider, oboToken string // 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) @@ -335,6 +355,28 @@ func getDefaultConfigFilePath() string { return fallbackConfigFile } +// setRawPath sets the Path and RawPath fields of the URL based on the provided +// escaped path p. It maintains the invariant that RawPath is only specified +// when it differs from the default encoding of the path. +// For example: +// - setPath("/foo/bar") will set Path="/foo/bar" and RawPath="" +// - setPath("/foo%2fbar") will set Path="/foo/bar" and RawPath="/foo%2fbar" +func setRawPath(u *url.URL) error { + oldPath := u.Path + path, err := url.PathUnescape(u.Path) + if err != nil { + return err + } + u.Path = path + if escp := u.EscapedPath(); oldPath == escp { + // Default encoding is fine. + u.RawPath = "" + } else { + u.RawPath = oldPath + } + return nil +} + // CustomProfileConfigProvider returns the config provider of given profile. The custom profile config provider // will look for configurations in 2 places: file in $HOME/.oci/config, and variables names starting with the // string TF_VAR. If the same configuration is found in multiple places the provider will prefer the first one. @@ -376,6 +418,10 @@ func (client *BaseClient) prepareRequest(request *http.Request) (err error) { currentPath := request.URL.Path if !strings.Contains(currentPath, fmt.Sprintf("/%s", client.BasePath)) { request.URL.Path = path.Clean(fmt.Sprintf("/%s/%s", client.BasePath, currentPath)) + err := setRawPath(request.URL) + if err != nil { + return err + } } return } @@ -553,26 +599,39 @@ type ClientCallDetails struct { // Call executes the http request with the given context func (client BaseClient) Call(ctx context.Context, request *http.Request) (response *http.Response, err error) { + if client.IsRefreshableAuthType() { + return client.RefreshableTokenWrappedCallWithDetails(ctx, request, ClientCallDetails{Signer: client.Signer}) + } return client.CallWithDetails(ctx, request, ClientCallDetails{Signer: client.Signer}) } +// RefreshableTokenWrappedCallWithDetails wraps the CallWithDetails with retry on 401 for Refreshable Toekn (Instance Principal, Resource Principal etc.) +// This is to intimitate the race condition on refresh +func (client BaseClient) RefreshableTokenWrappedCallWithDetails(ctx context.Context, request *http.Request, details ClientCallDetails) (response *http.Response, err error) { + for i := 0; i < maxAttemptsForRefreshableRetry; i++ { + response, err = client.CallWithDetails(ctx, request, ClientCallDetails{Signer: client.Signer}) + if response != nil && response.StatusCode != 401 { + return response, err + } + time.Sleep(1 * time.Second) + } + return +} + // CallWithDetails executes the http request, the given context using details specified in the parameters, 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("Attempting to call downstream service") request = request.WithContext(ctx) - err = client.prepareRequest(request) if err != nil { return } - //Intercept err = client.intercept(request) if err != nil { return } - //Sign the request err = details.Signer.Sign(request) if err != nil { @@ -580,10 +639,20 @@ func (client BaseClient) CallWithDetails(ctx context.Context, request *http.Requ } //Execute the http request - if goBreaker := client.Configuration.CircuitBreaker; goBreaker != nil { - resp, cbErr := goBreaker.Execute(func() (interface{}, error) { + if ociGoBreaker := client.Configuration.CircuitBreaker; ociGoBreaker != nil { + resp, cbErr := ociGoBreaker.Cb.Execute(func() (interface{}, error) { return client.httpDo(request) }) + if httpResp, ok := resp.(*http.Response); ok { + if httpResp != nil && httpResp.StatusCode != 200 { + if failure, ok := IsServiceError(cbErr); ok { + ociGoBreaker.AddToHistory(resp.(*http.Response), failure) + } + } + } + if cbErr != nil && IsCircuitBreakerError(cbErr) { + cbErr = getCircuitBreakerError(request, cbErr, ociGoBreaker) + } if _, ok := resp.(*http.Response); !ok { return nil, cbErr } @@ -592,6 +661,16 @@ func (client BaseClient) CallWithDetails(ctx context.Context, request *http.Requ return client.httpDo(request) } +// IsRefreshableAuthType validates if a signer is from a refreshable config provider +func (client BaseClient) IsRefreshableAuthType() bool { + if signer, ok := client.Signer.(ociRequestSigner); ok { + if provider, ok := signer.KeyProvider.(RefreshableConfigurationProvider); ok { + return provider.Refreshable() + } + } + return false +} + func (client BaseClient) httpDo(request *http.Request) (response *http.Response, err error) { //Copy request body and save for logging @@ -625,3 +704,12 @@ func CloseBodyIfValid(httpResponse *http.Response) { httpResponse.Body.Close() } } + +// IsOciRealmSpecificServiceEndpointTemplateEnabled returns true if the client is configured to use realm specific service endpoint template +// it will first check the client configuration, if not set, it will check the environment variable +func (client BaseClient) IsOciRealmSpecificServiceEndpointTemplateEnabled() bool { + if client.Configuration.RealmSpecificServiceEndpointTemplateEnabled != nil { + return *client.Configuration.RealmSpecificServiceEndpointTemplateEnabled + } + return IsEnvVarTrue(OciRealmSpecificServiceEndpointTemplateEnabledEnvVar) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/common.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/common.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/common.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/common.go index 23e131dbb0e9..6061c1a2d938 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/common.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -31,11 +31,17 @@ const ( // Default Realm Environment Variable defaultRealmEnvVarName = "OCI_DEFAULT_REALM" + //EndpointTemplateForRegionWithDot Environment Variable + EndpointTemplateForRegionWithDot = "https://{endpoint_service_name}.{region}" + // Region Metadata regionIdentifierPropertyName = "regionIdentifier" // e.g. "ap-sydney-1" realmKeyPropertyName = "realmKey" // e.g. "oc1" realmDomainComponentPropertyName = "realmDomainComponent" // e.g. "oraclecloud.com" regionKeyPropertyName = "regionKey" // e.g. "SYD" + + // OciRealmSpecificServiceEndpointTemplateEnabledEnvVar is the environment variable name to enable the realm specific service endpoint template. + OciRealmSpecificServiceEndpointTemplateEnabledEnvVar = "OCI_REALM_SPECIFIC_SERVICE_ENDPOINT_TEMPLATE_ENABLED" ) // External region metadata info flag, used to control adding these metadata region info only once. @@ -44,6 +50,9 @@ var readCfgFile, readEnvVar, visitIMDS bool = true, true, false // getRegionInfoFromInstanceMetadataService gets the region information var getRegionInfoFromInstanceMetadataService = getRegionInfoFromInstanceMetadataServiceProd +// OciRealmSpecificServiceEndpointTemplateEnabled is the flag to enable the realm specific service endpoint template. This one has higher priority than the environment variable. +var OciRealmSpecificServiceEndpointTemplateEnabled *bool = nil + // Endpoint returns a endpoint for a service func (region Region) Endpoint(service string) string { return fmt.Sprintf("%s.%s.%s", service, region, region.secondLevelDomain()) @@ -51,12 +60,25 @@ func (region Region) Endpoint(service string) string { // EndpointForTemplate returns a endpoint for a service based on template, only unknown region name can fall back to "oc1", but not short code region name. func (region Region) EndpointForTemplate(service string, serviceEndpointTemplate string) string { + if strings.Contains(string(region), ".") { + endpoint, error := region.EndpointForTemplateDottedRegion(service, serviceEndpointTemplate, "") + if error != nil { + Debugf("%v", error) + + return "" + } + return endpoint + } + if serviceEndpointTemplate == "" { return region.Endpoint(service) } + // replace service prefix + endpoint := strings.Replace(serviceEndpointTemplate, "{serviceEndpointPrefix}", service, 1) + // replace region - endpoint := strings.Replace(serviceEndpointTemplate, "{region}", string(region), 1) + endpoint = strings.Replace(endpoint, "{region}", string(region), 1) // replace second level domain endpoint = strings.Replace(endpoint, "{secondLevelDomain}", region.secondLevelDomain(), 1) @@ -64,6 +86,44 @@ func (region Region) EndpointForTemplate(service string, serviceEndpointTemplate return endpoint } +// EndpointForTemplateDottedRegion returns a endpoint for a service based on the service name and EndpointTemplateForRegionWithDot template. If a service name is missing it is obtained from serviceEndpointTemplate and endpoint is constructed usingEndpointTemplateForRegionWithDot template. +func (region Region) EndpointForTemplateDottedRegion(service string, serviceEndpointTemplate string, endpointServiceName string) (string, error) { + if !strings.Contains(string(region), ".") { + var endpoint = "" + if serviceEndpointTemplate != "" { + endpoint = region.EndpointForTemplate(service, serviceEndpointTemplate) + return endpoint, nil + } + endpoint = region.EndpointForTemplate(service, "") + return endpoint, nil + } + + if endpointServiceName != "" { + endpoint := strings.Replace(EndpointTemplateForRegionWithDot, "{endpoint_service_name}", endpointServiceName, 1) + endpoint = strings.Replace(endpoint, "{region}", string(region), 1) + Debugf("Constructing endpoint from service name %s and region %s. Endpoint: %s", endpointServiceName, region, endpoint) + return endpoint, nil + } + if serviceEndpointTemplate != "" { + var endpoint = "" + res := strings.Split(serviceEndpointTemplate, "//") + if len(res) > 1 { + res = strings.Split(res[1], ".") + if len(res) > 1 { + endpoint = strings.Replace(EndpointTemplateForRegionWithDot, "{endpoint_service_name}", res[0], 1) + endpoint = strings.Replace(endpoint, "{region}", string(region), 1) + Debugf("Constructing endpoint from service endpoint template %s and region %s. Endpoint: %s", serviceEndpointTemplate, region, endpoint) + } else { + return endpoint, fmt.Errorf("Endpoint service name not present in endpoint template") + } + } else { + return endpoint, fmt.Errorf("Invalid serviceEndpointTemplates. ServiceEndpointTemplate should start with https://") + } + return endpoint, nil + } + return "", fmt.Errorf("EndpointForTemplateDottedRegion function requires endpointServiceName or serviceEndpointTemplate, no endpointServiceName or serviceEndpointTemplate provided") +} + func (region Region) secondLevelDomain() string { if realmID, ok := regionRealm[region]; ok { if secondLevelDomain, ok := realm[realmID]; ok { @@ -207,7 +267,7 @@ func readAndParseConfigFile(configFileName *string) (fileContent []map[string]st if content, err := ioutil.ReadFile(*configFileName); err == nil { Debugf("Raw content of region metadata config file content:", string(content[:])) if err := json.Unmarshal(content, &fileContent); err != nil { - Debugf("Can't unmarshal env var, the error info is", err) + Debugf("Can't unmarshal config file, the error info is", err) return } ok = true @@ -334,3 +394,18 @@ func getRegionInfoFromInstanceMetadataServiceProd() ([]byte, error) { return content, nil } + +// TemplateParamForPerRealmEndpoint is a template parameter for per-realm endpoint. +type TemplateParamForPerRealmEndpoint struct { + Template string + EndsWithDot bool +} + +// SetMissingTemplateParams function will parse the {} template in client host and replace with empty string. +func SetMissingTemplateParams(client *BaseClient) { + templateRegex := regexp.MustCompile(`{.*?}`) + templates := templateRegex.FindAllString(client.Host, -1) + for _, template := range templates { + client.Host = strings.Replace(client.Host, template, "", -1) + } +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/configuration.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/configuration.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/configuration.go index 0e617c99aca2..2989598a437d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/configuration.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -31,7 +31,7 @@ const ( // AuthConfig is used for getting auth related paras in config file type AuthConfig struct { AuthType AuthenticationType - // IsFromConfigFile is used to point out the if the AuthConfig is from configuration file + // IsFromConfigFile is used to point out if the authConfig is from configuration file IsFromConfigFile bool OboToken *string } @@ -77,7 +77,7 @@ type rawConfigurationProvider struct { privateKeyPassphrase *string } -// NewRawConfigurationProvider will create a rawConfigurationProvider +// NewRawConfigurationProvider will create a ConfigurationProvider with the arguments of the function func NewRawConfigurationProvider(tenancy, user, region, fingerprint, privateKey string, privateKeyPassphrase *string) ConfigurationProvider { return rawConfigurationProvider{tenancy, user, region, fingerprint, privateKey, privateKeyPassphrase} } @@ -131,8 +131,7 @@ func (p rawConfigurationProvider) Region() (string, error) { } func (p rawConfigurationProvider) AuthType() (AuthConfig, error) { - return AuthConfig{UnknownAuthenticationType, false, nil}, - fmt.Errorf("unsupported, keep the interface") + return AuthConfig{UnknownAuthenticationType, false, nil}, nil } // environmentConfigurationProvider reads configuration from environment variables @@ -196,6 +195,8 @@ func (p environmentConfigurationProvider) TenancyOCID() (value string, err error var ok bool if value, ok = os.LookupEnv(environmentVariable); !ok { err = fmt.Errorf("can not read Tenancy from environment variable %s", environmentVariable) + } else if value == "" { + err = fmt.Errorf("tenancy OCID can not be empty when reading from environmental variable") } return } @@ -205,6 +206,8 @@ func (p environmentConfigurationProvider) UserOCID() (value string, err error) { var ok bool if value, ok = os.LookupEnv(environmentVariable); !ok { err = fmt.Errorf("can not read user id from environment variable %s", environmentVariable) + } else if value == "" { + err = fmt.Errorf("user OCID can not be empty when reading from environmental variable") } return } @@ -214,6 +217,8 @@ func (p environmentConfigurationProvider) KeyFingerprint() (value string, err er var ok bool if value, ok = os.LookupEnv(environmentVariable); !ok { err = fmt.Errorf("can not read fingerprint from environment variable %s", environmentVariable) + } else if value == "" { + err = fmt.Errorf("fingerprint can not be empty when reading from environmental variable") } return } @@ -249,6 +254,14 @@ type fileConfigurationProvider struct { FileInfo *configFileInfo } +type fileConfigurationProviderError struct { + err error +} + +func (fpe fileConfigurationProviderError) Error() string { + return fmt.Sprintf("%s\nFor more info about config file and how to get required information, see https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm", fpe.err) +} + // ConfigurationProviderFromFile creates a configuration provider from a configuration file // by reading the "DEFAULT" profile func ConfigurationProviderFromFile(configFilePath, privateKeyPassword string) (ConfigurationProvider, error) { @@ -266,7 +279,7 @@ func ConfigurationProviderFromFile(configFilePath, privateKeyPassword string) (C // and the given profile func ConfigurationProviderFromFileWithProfile(configFilePath, profile, privateKeyPassword string) (ConfigurationProvider, error) { if configFilePath == "" { - return nil, fmt.Errorf("config file path can not be empty") + return nil, fileConfigurationProviderError{err: fmt.Errorf("config file path can not be empty")} } return fileConfigurationProvider{ @@ -299,7 +312,7 @@ var profileRegex = regexp.MustCompile(`^\[(.*)\]`) func parseConfigFile(data []byte, profile string) (info *configFileInfo, err error) { if len(data) == 0 { - return nil, fmt.Errorf("configuration file content is empty") + return nil, fileConfigurationProviderError{err: fmt.Errorf("configuration file content is empty")} } content := string(data) @@ -313,7 +326,7 @@ func parseConfigFile(data []byte, profile string) (info *configFileInfo, err err } } - return nil, fmt.Errorf("configuration file did not contain profile: %s", profile) + return nil, fileConfigurationProviderError{err: fmt.Errorf("configuration file did not contain profile: %s", profile)} } func parseConfigAtLine(start int, content []string) (info *configFileInfo, err error) { @@ -397,12 +410,12 @@ func (p fileConfigurationProvider) readAndParseConfigFile() (info *configFileInf } if p.ConfigPath == "" { - return nil, fmt.Errorf("configuration path can not be empty") + return nil, fileConfigurationProviderError{err: fmt.Errorf("configuration path can not be empty")} } data, err := openConfigFile(p.ConfigPath) if err != nil { - err = fmt.Errorf("error while parsing config file: %s. Due to: %s", p.ConfigPath, err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("error while parsing config file: %s. Due to: %s", p.ConfigPath, err.Error())} return } @@ -414,24 +427,27 @@ func presentOrError(value string, expectedConf, presentConf rune, confMissing st if presentConf&expectedConf == expectedConf { return value, nil } - return "", errors.New(confMissing + " configuration is missing from file") + return "", fileConfigurationProviderError{err: errors.New(confMissing + " configuration is missing from file")} } func (p fileConfigurationProvider) TenancyOCID() (value string, err error) { info, err := p.readAndParseConfigFile() if err != nil { - err = fmt.Errorf("can not read tenancy configuration due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read tenancy configuration due to: %s", err.Error())} return } value, err = presentOrError(info.TenancyOcid, hasTenancy, info.PresentConfiguration, "tenancy") + if err == nil && value == "" { + err = fileConfigurationProviderError{err: fmt.Errorf("tenancy OCID can not be empty when reading from config file")} + } return } func (p fileConfigurationProvider) UserOCID() (value string, err error) { info, err := p.readAndParseConfigFile() if err != nil { - err = fmt.Errorf("can not read tenancy configuration due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read tenancy configuration due to: %s", err.Error())} return } @@ -448,37 +464,55 @@ func (p fileConfigurationProvider) UserOCID() (value string, err error) { func (p fileConfigurationProvider) KeyFingerprint() (value string, err error) { info, err := p.readAndParseConfigFile() if err != nil { - err = fmt.Errorf("can not read tenancy configuration due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read tenancy configuration due to: %s", err.Error())} return } value, err = presentOrError(info.Fingerprint, hasFingerprint, info.PresentConfiguration, "fingerprint") + if err == nil && value == "" { + return "", fmt.Errorf("fingerprint can not be empty when reading from config file") + } return } func (p fileConfigurationProvider) KeyID() (keyID string, err error) { + tenancy, err := p.TenancyOCID() + if err != nil { + return + } + + fingerprint, err := p.KeyFingerprint() + if err != nil { + return + } + info, err := p.readAndParseConfigFile() if err != nil { - err = fmt.Errorf("can not read tenancy configuration due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read tenancy configuration due to: %s", err.Error())} return } if info.PresentConfiguration&hasUser == hasUser { - return fmt.Sprintf("%s/%s/%s", info.TenancyOcid, info.UserOcid, info.Fingerprint), nil + if info.UserOcid == "" { + err = fileConfigurationProviderError{err: fmt.Errorf("user cannot be empty in the config file")} + return + } + return fmt.Sprintf("%s/%s/%s", tenancy, info.UserOcid, fingerprint), nil } - if filePath, err := presentOrError(info.SecurityTokenFilePath, hasSecurityTokenFile, info.PresentConfiguration, "securityTokenFilePath"); err == nil { + filePath, pathErr := presentOrError(info.SecurityTokenFilePath, hasSecurityTokenFile, info.PresentConfiguration, "securityTokenFilePath") + if pathErr == nil { rawString, err := getTokenContent(filePath) if err != nil { - return "", err + return "", fileConfigurationProviderError{err: err} } return "ST$" + rawString, nil } - err = fmt.Errorf("can not read SecurityTokenFilePath from configuration file due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read SecurityTokenFilePath from configuration file due to: %s", pathErr.Error())} return } func (p fileConfigurationProvider) PrivateRSAKey() (key *rsa.PrivateKey, err error) { info, err := p.readAndParseConfigFile() if err != nil { - err = fmt.Errorf("can not read tenancy configuration due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read tenancy configuration due to: %s", err.Error())} return } @@ -490,7 +524,7 @@ func (p fileConfigurationProvider) PrivateRSAKey() (key *rsa.PrivateKey, err err expandedPath := expandPath(filePath) pemFileContent, err := ioutil.ReadFile(expandedPath) if err != nil { - err = fmt.Errorf("can not read PrivateKey from configuration file due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read PrivateKey from configuration file due to: %s", err.Error())} return } @@ -507,7 +541,7 @@ func (p fileConfigurationProvider) PrivateRSAKey() (key *rsa.PrivateKey, err err func (p fileConfigurationProvider) Region() (value string, err error) { info, err := p.readAndParseConfigFile() if err != nil { - err = fmt.Errorf("can not read region configuration due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read region configuration due to: %s", err.Error())} return } @@ -515,7 +549,7 @@ func (p fileConfigurationProvider) Region() (value string, err error) { if err != nil { val, error := getRegionFromEnvVar() if error != nil { - err = fmt.Errorf("region configuration is missing from file, nor for OCI_REGION env var") + err = fileConfigurationProviderError{err: fmt.Errorf("region configuration is missing from file, nor for OCI_REGION env var")} return } value = val @@ -539,6 +573,7 @@ func (p fileConfigurationProvider) AuthType() (AuthConfig, error) { return AuthConfig{InstancePrincipalDelegationToken, true, &delegationToken}, nil } return AuthConfig{UnknownAuthenticationType, true, nil}, err + } // normal instance principle return AuthConfig{InstancePrincipal, true, nil}, nil @@ -552,7 +587,7 @@ func getTokenContent(filePath string) (string, error) { expandedPath := expandPath(filePath) tokenFileContent, err := ioutil.ReadFile(expandedPath) if err != nil { - err = fmt.Errorf("can not read token content from configuration file due to: %s", err.Error()) + err = fileConfigurationProviderError{err: fmt.Errorf("can not read token content from configuration file due to: %s", err.Error())} return "", err } return fmt.Sprintf("%s", tokenFileContent), nil @@ -657,3 +692,8 @@ func getRegionFromEnvVar() (string, error) { } return "", fmt.Errorf("did not find OCI_REGION env var") } + +// RefreshableConfigurationProvider the interface to identity if the config provider is refreshable +type RefreshableConfigurationProvider interface { + Refreshable() bool +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/errors.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/errors.go new file mode 100644 index 000000000000..8a1919e69a70 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/errors.go @@ -0,0 +1,299 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 + +import ( + "encoding/json" + "fmt" + "io/ioutil" + "net" + "net/http" + "strings" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/sony/gobreaker" +) + +// ServiceError models all potential errors generated the service call +type ServiceError interface { + // The http status code of the error + GetHTTPStatusCode() int + + // The human-readable error string as sent by the service + GetMessage() string + + // A short error code that defines the error, meant for programmatic parsing. + // See https://docs.cloud.oracle.com/Content/API/References/apierrors.htm + GetCode() string + + // Unique Oracle-assigned identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + GetOpcRequestID() string +} + +// ServiceErrorRichInfo models all potential errors generated the service call and contains rich info for debugging purpose +type ServiceErrorRichInfo interface { + ServiceError + // The service this service call is sending to + GetTargetService() string + + // The API name this service call is sending to + GetOperationName() string + + // The timestamp when this request is made + GetTimestamp() SDKTime + + // The endpoint and the Http method of this service call + GetRequestTarget() string + + // The client version, in this case the oci go sdk version + GetClientVersion() string + + // The API reference doc link for this API, optional and maybe empty + GetOperationReferenceLink() string + + // Troubleshooting doc link + GetErrorTroubleshootingLink() string +} + +// ServiceErrorLocalizationMessage models all potential errors generated the service call and has localized error message info +type ServiceErrorLocalizationMessage interface { + ServiceErrorRichInfo + // The original error message string as sent by the service + GetOriginalMessage() string + + // The values to be substituted into the originalMessageTemplate, expressed as a string-to-string map. + GetMessageArgument() map[string]string + + // Template in ICU MessageFormat for the human-readable error string in English, but without the values replaced + GetOriginalMessageTemplate() string +} + +type servicefailure struct { + StatusCode int + Code string `json:"code,omitempty"` + Message string `json:"message,omitempty"` + OriginalMessage string `json:"originalMessage"` + OriginalMessageTemplate string `json:"originalMessageTemplate"` + MessageArgument map[string]string `json:"messageArguments"` + OpcRequestID string `json:"opc-request-id"` + // debugging information + TargetService string `json:"target-service"` + OperationName string `json:"operation-name"` + Timestamp SDKTime `json:"timestamp"` + RequestTarget string `json:"request-target"` + ClientVersion string `json:"client-version"` + + // troubleshooting guidance + OperationReferenceLink string `json:"operation-reference-link"` + ErrorTroubleshootingLink string `json:"error-troubleshooting-link"` +} + +func newServiceFailureFromResponse(response *http.Response) error { + var err error + var timestamp SDKTime + t, err := tryParsingTimeWithValidFormatsForHeaders([]byte(response.Header.Get("Date")), "Date") + + if err != nil { + timestamp = *now() + } else { + timestamp = sdkTimeFromTime(t) + } + + se := servicefailure{ + StatusCode: response.StatusCode, + Code: "BadErrorResponse", + OpcRequestID: response.Header.Get("opc-request-id"), + Timestamp: timestamp, + ClientVersion: defaultSDKMarker + "/" + Version(), + RequestTarget: fmt.Sprintf("%s %s", response.Request.Method, response.Request.URL), + } + + //If there is an error consume the body, entirely + body, err := ioutil.ReadAll(response.Body) + if err != nil { + se.Message = fmt.Sprintf("The body of the response was not readable, due to :%s", err.Error()) + return se + } + + err = json.Unmarshal(body, &se) + if err != nil { + Debugf("Error response could not be parsed due to: %s", err.Error()) + se.Message = fmt.Sprintf("Failed to parse json from response body due to: %s. With response body %s.", err.Error(), string(body[:])) + return se + } + return se +} + +// PostProcessServiceError process the service error after an error is raised and complete it with extra information +func PostProcessServiceError(err error, service string, method string, apiReferenceLink string) error { + var serviceFailure servicefailure + if _, ok := err.(servicefailure); !ok { + return err + } + serviceFailure = err.(servicefailure) + serviceFailure.OperationName = method + serviceFailure.TargetService = service + serviceFailure.ErrorTroubleshootingLink = fmt.Sprintf("https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_%v__%v_%s", serviceFailure.StatusCode, serviceFailure.StatusCode, strings.ToLower(serviceFailure.Code)) + serviceFailure.OperationReferenceLink = apiReferenceLink + return serviceFailure +} + +func (se servicefailure) Error() string { + return fmt.Sprintf(`Error returned by %s Service. Http Status Code: %d. Error Code: %s. Opc request id: %s. Message: %s +Operation Name: %s +Timestamp: %s +Client Version: %s +Request Endpoint: %s +Troubleshooting Tips: See %s for more information about resolving this error.%s +To get more info on the failing request, you can set OCI_GO_SDK_DEBUG env var to info or higher level to log the request/response details. +If you are unable to resolve this %s issue, please contact Oracle support and provide them this full error message.`, + se.TargetService, se.StatusCode, se.Code, se.OpcRequestID, se.Message, se.OperationName, se.Timestamp, se.ClientVersion, se.RequestTarget, se.ErrorTroubleshootingLink, se.getOperationReferenceMessage(), se.TargetService) +} + +func (se servicefailure) getOperationReferenceMessage() string { + if se.OperationReferenceLink == "" { + return "" + } + return fmt.Sprintf("\nAlso see %s for details on this operation's requirements.", se.OperationReferenceLink) +} + +func (se servicefailure) GetHTTPStatusCode() int { + return se.StatusCode + +} + +func (se servicefailure) GetMessage() string { + return se.Message +} + +func (se servicefailure) GetOriginalMessage() string { + return se.OriginalMessage +} + +func (se servicefailure) GetOriginalMessageTemplate() string { + return se.OriginalMessageTemplate +} + +func (se servicefailure) GetMessageArgument() map[string]string { + return se.MessageArgument +} + +func (se servicefailure) GetCode() string { + return se.Code +} + +func (se servicefailure) GetOpcRequestID() string { + return se.OpcRequestID +} + +func (se servicefailure) GetTargetService() string { + return se.TargetService +} + +func (se servicefailure) GetOperationName() string { + return se.OperationName +} + +func (se servicefailure) GetTimestamp() SDKTime { + return se.Timestamp +} + +func (se servicefailure) GetRequestTarget() string { + return se.RequestTarget +} + +func (se servicefailure) GetClientVersion() string { + return se.ClientVersion +} + +func (se servicefailure) GetOperationReferenceLink() string { + return se.OperationReferenceLink +} + +func (se servicefailure) GetErrorTroubleshootingLink() string { + return se.ErrorTroubleshootingLink +} + +// IsServiceError returns false if the error is not service side, otherwise true +// additionally it returns an interface representing the ServiceError +func IsServiceError(err error) (failure ServiceError, ok bool) { + failure, ok = err.(ServiceError) + return +} + +// IsServiceErrorRichInfo returns false if the error is not service side or is not containing rich info, otherwise true +// additionally it returns an interface representing the ServiceErrorRichInfo +func IsServiceErrorRichInfo(err error) (failure ServiceErrorRichInfo, ok bool) { + failure, ok = err.(ServiceErrorRichInfo) + return +} + +// IsServiceErrorLocalizationMessage returns false if the error is not service side, otherwise true +// additionally it returns an interface representing the ServiceErrorOriginalMessage +func IsServiceErrorLocalizationMessage(err error) (failure ServiceErrorLocalizationMessage, ok bool) { + failure, ok = err.(ServiceErrorLocalizationMessage) + return +} + +type deadlineExceededByBackoffError struct{} + +func (deadlineExceededByBackoffError) Error() string { + return "now() + computed backoff duration exceeds request deadline" +} + +// DeadlineExceededByBackoff is the error returned by Call() when GetNextDuration() returns a time.Duration that would +// force the user to wait past the request deadline before re-issuing a request. This enables us to exit early, since +// we cannot succeed based on the configured retry policy. +var DeadlineExceededByBackoff error = deadlineExceededByBackoffError{} + +// NonSeekableRequestRetryFailure is the error returned when the request is with binary request body, and is configured +// retry, but the request body is not retryable +type NonSeekableRequestRetryFailure struct { + err error +} + +func (ne NonSeekableRequestRetryFailure) Error() string { + if ne.err == nil { + return fmt.Sprintf("Unable to perform Retry on this request body type, which did not implement seek() interface") + } + return fmt.Sprintf("%s. Unable to perform Retry on this request body type, which did not implement seek() interface", ne.err.Error()) +} + +// IsNetworkError validates if an error is a net.Error and check if it's temporary or timeout +func IsNetworkError(err error) bool { + if err == nil { + return false + } + + if r, ok := err.(net.Error); ok && (r.Temporary() || r.Timeout()) || strings.Contains(err.Error(), "net/http: HTTP/1.x transport connection broken") { + return true + } + return false +} + +// IsCircuitBreakerError validates if an error's text is Open state ErrOpenState or HalfOpen state ErrTooManyRequests +func IsCircuitBreakerError(err error) bool { + if err == nil { + return false + } + + if err.Error() == gobreaker.ErrOpenState.Error() || err.Error() == gobreaker.ErrTooManyRequests.Error() { + return true + } + return false +} + +func getCircuitBreakerError(request *http.Request, err error, cbr *OciCircuitBreaker) error { + cbErr := fmt.Errorf("%s, so this request was not sent to the %s service.\n\n The circuit breaker was opened because the %s service failed too many times recently. "+ + "Because the circuit breaker has been opened, requests within a %.2f second window of when the circuit breaker opened will not be sent to the %s service.\n\n"+ + "URL which circuit breaker prevented request to - %s \n Circuit Breaker Info \n Name - %s \n State - %s \n\n Errors from %s service which opened the circuit breaker:\n\n%s \n", + err, cbr.Cbst.serviceName, cbr.Cbst.serviceName, cbr.Cbst.openStateWindow.Seconds(), cbr.Cbst.serviceName, request.URL.Host+request.URL.Path, cbr.Cbst.name, cbr.Cb.State().String(), cbr.Cbst.serviceName, cbr.GetHistory()) + return cbErr +} + +// StatErrCode is a type which wraps error's statusCode and errorCode from service end +type StatErrCode struct { + statusCode int + errorCode string +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go new file mode 100644 index 000000000000..99e76b9fca33 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go @@ -0,0 +1,466 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 + +import ( + "bytes" + "errors" + "fmt" + "os" + "runtime" + "strconv" + "strings" + "sync" + "sync/atomic" + "time" + + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/gofrs/flock" +) + +const ( + // OciGoSdkEcConfigEnvVarName contains the name of the environment variable that can be used to configure the eventual consistency (EC) communication mode. + // Allowed values for environment variable: + // 1. OCI_GO_SDK_EC_CONFIG = "file,/path/to/shared/timestamp/file" + // 2. OCI_GO_SDK_EC_CONFIG = "inprocess" + // 3. absent -- same as OCI_GO_SDK_EC_CONFIG = "inprocess" + OciGoSdkEcConfigEnvVarName string = "OCI_GO_SDK_EC_CONFIG" +) + +// +// Eventual consistency communication mode +// + +// EcMode is the eventual consistency (EC) communication mode used. +type EcMode int64 + +const ( + // Uninitialized means the EC communication mode has not been set yet. + Uninitialized EcMode = iota // 0 + + // InProcess is the default EC communication mode which only communicates the end-of-window timestamp inside the same process. + InProcess + + // File is the EC communication mode that uses a file to communicate the end-of-window timestamp using a file visible across processes. + // Locking is performed using a lock file. + File +) + +var ( + affectedByEventualConsistencyRetryStatusCodeMap = map[StatErrCode]bool{ + {400, "RelatedResourceNotAuthorizedOrNotFound"}: true, + {404, "NotAuthorizedOrNotFound"}: true, + {409, "NotAuthorizedOrResourceAlreadyExists"}: true, + {400, "InsufficientServicePermissions"}: true, + {400, "ResourceDisabled"}: true, + } +) + +// IsErrorAffectedByEventualConsistency returns true if the error is affected by eventual consistency. +func IsErrorAffectedByEventualConsistency(Error error) bool { + if err, ok := IsServiceError(Error); ok { + return affectedByEventualConsistencyRetryStatusCodeMap[StatErrCode{err.GetHTTPStatusCode(), err.GetCode()}] + } + return false +} + +func getEcMode(mode string) EcMode { + var lmode = strings.ToLower(mode) + switch lmode { + case "file": + return File + case "inprocess": + return InProcess + } + ecLogf("%s: Unknown ec mode '%s', assuming 'inprocess'", OciGoSdkEcConfigEnvVarName, mode) + return InProcess +} + +// EventuallyConsistentContext contains the information about the end of the eventually consistent window. +type EventuallyConsistentContext struct { + // memory-based + endOfWindow atomic.Value + lock sync.RWMutex + timeNowProvider func() time.Time + + // mode selector + ecMode EcMode + + // file-based + + // timestampFileName and timestampLockFile should be set to files that + // are accessible by all processes that need to share information about + // eventual consistency. + // A sensible choice are files inside the temp directory, as returned by os.TempDir() + timestampFileName *string + timestampFileLock *flock.Flock + + // lock and unlock functions + readLock func(e *EventuallyConsistentContext) error + readUnlock func(e *EventuallyConsistentContext) error + writeLock func(e *EventuallyConsistentContext) error + writeUnlock func(e *EventuallyConsistentContext) error + + // get/set functions + getEndOfWindowUnsynchronized func(e *EventuallyConsistentContext) (*time.Time, error) + setEndOfWindowUnsynchronized func(e *EventuallyConsistentContext, newEndOfWindowTime *time.Time) error +} + +// newEcContext creates a new EC context based on the OCI_GO_SDK_EC_CONFIG environment variable. +func newEcContext() *EventuallyConsistentContext { + ecConfig, ecConfigProvided := os.LookupEnv(OciGoSdkEcConfigEnvVarName) + if !ecConfigProvided { + ecConfig = "" + } + + commaIndex := strings.Index(ecConfig, ",") + var ecConfigMode = ecConfig + var ecConfigRest = "" + if commaIndex >= 0 { + ecConfigMode = ecConfig[:commaIndex] + ecConfigRest = ecConfig[commaIndex+1:] + } + ecMode := getEcMode(ecConfigMode) + + switch ecMode { + case File: + if len(ecConfigRest) < 1 { + ecLogf("%s: Expected file name after comma for 'File' mode ('file,/path/to/file'), was: '%s'", OciGoSdkEcConfigEnvVarName, ecConfig) + return nil + } + return newEcContextFile(ecConfigRest) + } + + return newEcContextInProcess() +} + +// newEcContextInProcess creates a new in-process EC context. +func newEcContextInProcess() *EventuallyConsistentContext { + ecContext := EventuallyConsistentContext{ + ecMode: InProcess, + readLock: ecInProcessReadLock, + readUnlock: ecInProcessReadUnlock, + writeLock: ecInProcessWriteLock, + writeUnlock: ecInProcessWriteUnlock, + getEndOfWindowUnsynchronized: ecInProcessGetEndOfWindowUnsynchronized, + setEndOfWindowUnsynchronized: ecInProcessSetEndOfWindowUnsynchronized, + timeNowProvider: func() time.Time { return time.Now() }, + } + return &ecContext +} + +// newEcContextFile creates a new EC context kept in a file. +// timestampFileName should be set to a file accessible by all processes that +// need to share information about eventual consistency. +// A sensible choice are files inside the temp directory, as returned by os.TempDir() +// The lock file will use the same name, with the suffix ".lock" added. +func newEcContextFile(timestampFileName string) *EventuallyConsistentContext { + timestampLockFileName := timestampFileName + ".lock" + ecContext := EventuallyConsistentContext{ + ecMode: File, + readLock: ecFileReadLock, + readUnlock: ecFileReadUnlock, + writeLock: ecFileWriteLock, + writeUnlock: ecFileWriteUnlock, + getEndOfWindowUnsynchronized: ecFileGetEndOfWindowUnsynchronized, + setEndOfWindowUnsynchronized: ecFileSetEndOfWindowUnsynchronized, + timeNowProvider: func() time.Time { return time.Now() }, + timestampFileName: ×tampFileName, + timestampFileLock: flock.New(timestampLockFileName), + } + ecDebugf("%s: Using file modification time of file '%s' and lock file '%s'", OciGoSdkEcConfigEnvVarName, *ecContext.timestampFileName, timestampLockFileName) + return &ecContext +} + +// InitializeEcContextFromEnvVar initializes the EcContext variable as configured +// in the OCI_GO_SDK_EC_CONFIG environment variable. +func InitializeEcContextFromEnvVar() { + EcContext = newEcContext() +} + +// InitializeEcContextInProcess initializes the EcContext variable to be in-process only. +func InitializeEcContextInProcess() { + EcContext = newEcContextInProcess() +} + +// InitializeEcContextFile initializes the EcContext variable to be kept in a timestamp file, +// protected by a lock file. +// timestampFileName should be set to a file accessible by all processes that +// need to share information about eventual consistency. +// A sensible choice are files inside the temp directory, as returned by os.TempDir() +// The lock file will use the same name, with the suffix ".lock" added. +func InitializeEcContextFile(timestampFileName string) { + EcContext = newEcContextFile(timestampFileName) +} + +// +// InProcess functions +// + +func ecInProcessReadLock(e *EventuallyConsistentContext) error { + e.lock.RLock() + return nil +} + +func ecInProcessReadUnlock(e *EventuallyConsistentContext) error { + e.lock.RUnlock() + return nil +} + +func ecInProcessWriteLock(e *EventuallyConsistentContext) error { + e.lock.Lock() + return nil +} + +func ecInProcessWriteUnlock(e *EventuallyConsistentContext) error { + e.lock.Unlock() + return nil +} + +// ecInProcessGetEndOfWindowUnsynchronized returns the end time of an eventually consistent window, +// or nil if no eventually consistent requests were made. +// There is no mutex synchronization. +func ecInProcessGetEndOfWindowUnsynchronized(e *EventuallyConsistentContext) (*time.Time, error) { + untyped := e.endOfWindow.Load() // returns nil if there has been no call to Store for this Value + if untyped == nil { + return (*time.Time)(nil), nil + } + t := untyped.(*time.Time) + + return t, nil +} + +// ecInProcessSetEndOfWindowUnsynchronized sets the end time of the eventually consistent window. +// There is no mutex synchronization. +func ecInProcessSetEndOfWindowUnsynchronized(e *EventuallyConsistentContext, newEndOfWindowTime *time.Time) error { + e.endOfWindow.Store(newEndOfWindowTime) // atomically replace the current object with the new one + return nil +} + +// +// File functions +// + +func ecFileReadLock(e *EventuallyConsistentContext) error { + return e.timestampFileLock.RLock() +} + +func ecFileReadUnlock(e *EventuallyConsistentContext) error { + return e.timestampFileLock.Unlock() +} + +func ecFileWriteLock(e *EventuallyConsistentContext) error { + return e.timestampFileLock.Lock() +} + +func ecFileWriteUnlock(e *EventuallyConsistentContext) error { + return e.timestampFileLock.Unlock() +} + +// ecFileGetEndOfWindowUnsynchronized returns the end time of an eventually consistent window, +// or nil if no eventually consistent requests were made. +// There is no mutex synchronization. +func ecFileGetEndOfWindowUnsynchronized(e *EventuallyConsistentContext) (*time.Time, error) { + file, err := os.Stat(*e.timestampFileName) + + if errors.Is(err, os.ErrNotExist) { + ecDebugf("%s: File '%s' does not exist, meaning no EC in effect", OciGoSdkEcConfigEnvVarName, *e.timestampFileName) + return (*time.Time)(nil), nil + } + if err != nil { + ecLogf("%s: Error getting modified time from file '%s', assuming no EC in effect: %s", OciGoSdkEcConfigEnvVarName, *e.timestampFileName, err) + return (*time.Time)(nil), err + } + + t := file.ModTime() + ecDebugf("%s: Read modified time of file '%s' as '%s'", OciGoSdkEcConfigEnvVarName, *e.timestampFileName, t) + + return &t, nil +} + +// ecFileSetEndOfWindowUnsynchronized sets the end time of the eventually consistent window. +// There is no mutex synchronization. +func ecFileSetEndOfWindowUnsynchronized(e *EventuallyConsistentContext, newEndOfWindowTime *time.Time) error { + if newEndOfWindowTime != nil { + ecDebugf("%s: Updating modified time of file '%s' to '%s'", OciGoSdkEcConfigEnvVarName, *e.timestampFileName, *newEndOfWindowTime) + } else { + ecDebugf("%s: Updating modified time of file '%s' to ", OciGoSdkEcConfigEnvVarName, *e.timestampFileName) + } + + if newEndOfWindowTime == nil { + err := os.Remove(*e.timestampFileName) + if err != nil && !errors.Is(err, os.ErrNotExist) { + ecLogf("%s: Error removing file '%s', may draw wrong EC conflusions: %s", OciGoSdkEcConfigEnvVarName, *e.timestampFileName, err) + } + return err + } + + atime := time.Now() + var err = os.Chtimes(*e.timestampFileName, atime, *newEndOfWindowTime) + if errors.Is(err, os.ErrNotExist) { + _, createErr := os.Create(*e.timestampFileName) + if createErr != nil { + ecLogf("%s: Error creating file '%s', will have to assume no EC in effect: %s", OciGoSdkEcConfigEnvVarName, *e.timestampFileName, createErr) + return createErr + } + err = os.Chtimes(*e.timestampFileName, atime, *newEndOfWindowTime) + } + if err != nil { + ecLogf("%s: Error changing modified time for file '%s', will have to assume no EC in effect: %s", OciGoSdkEcConfigEnvVarName, *e.timestampFileName, err) + return err + } + return nil +} + +// +// General functions for EC window handling, for all EC communication modes +// + +// GetEndOfWindow returns the end time an eventually consistent window, +// or nil if no eventually consistent requests were made +func (e *EventuallyConsistentContext) GetEndOfWindow() *time.Time { + e.readLock(e) // synchronize with potential writers + defer e.readUnlock(e) + + endOfWindowTime, _ := e.getEndOfWindowUnsynchronized(e) + + // TODO: this is noisy logging, consider removing + if endOfWindowTime != nil { + ecDebugln(fmt.Sprintf("EcContext.GetEndOfWindow returns %s", endOfWindowTime)) + } else { + ecDebugln("EcContext.GetEndOfWindow returns ") + } + + return endOfWindowTime +} + +// UpdateEndOfWindow sets the end time of the eventually consistent window the specified +// duration into the future +func (e *EventuallyConsistentContext) UpdateEndOfWindow(windowSize time.Duration) *time.Time { + e.writeLock(e) // synchronize with other potential writers + defer e.writeUnlock(e) + + currentEndOfWindowTime, _ := e.getEndOfWindowUnsynchronized(e) + var newEndOfWindowTime = e.timeNowProvider().Add(windowSize) + if currentEndOfWindowTime == nil || newEndOfWindowTime.After(*currentEndOfWindowTime) { + e.setEndOfWindowUnsynchronized(e, &newEndOfWindowTime) + + // TODO: this is noisy logging, consider removing + ecDebugln(fmt.Sprintf("EcContext.UpdateEndOfWindow to %s", newEndOfWindowTime)) + + return &newEndOfWindowTime + } + return currentEndOfWindowTime +} + +// setEndTimeOfEventuallyConsistentWindow sets the last time an eventually consistent request was made +// to the specified time +func (e *EventuallyConsistentContext) setEndOfWindow(newTime *time.Time) *time.Time { + e.writeLock(e) // synchronize with other potential writers + defer e.writeUnlock(e) + + e.setEndOfWindowUnsynchronized(e, newTime) + + // TODO: this is noisy logging, consider removing + if newTime != nil { + ecDebugln(fmt.Sprintf("EcContext.setEndOfWindow to %s", *newTime)) + } else { + ecDebugln("EcContext.setEndOfWindow to ") + } + + return newTime +} + +// EcContext contains the information about the end of the eventually consistent window for this process. +var EcContext = newEcContext() + +// +// Logging helpers +// + +// getGID returns the Goroutine id. This is purely for logging and debugging. +// See https://blog.sgmansfield.com/2015/12/goroutine-ids/ +func getGID() uint64 { + b := make([]byte, 64) + b = b[:runtime.Stack(b, false)] + b = bytes.TrimPrefix(b, []byte("goroutine ")) + b = b[:bytes.IndexByte(b, ' ')] + n, _ := strconv.ParseUint(string(b), 10, 64) + return n +} + +// some of these errors happen so early, defaultLogger may not have been +// initialized yet. +func initLogIfNecessary() { + if defaultLogger == nil { + l, _ := NewSDKLogger() + SetSDKLogger(l) + } +} + +// Debugf logs v with the provided format if debug mode is set. +// There is no mutex synchronization. You should have acquired e.lock first. +func ecDebugf(format string, v ...interface{}) { + defer func() { + // recover from panic if one occured. + if recover() != nil { + Debugln("ecDebugf failed") + } + }() + + str := fmt.Sprintf(format, v...) + + initLogIfNecessary() + + // prefix message with "(pid=25140, gid=5)" + Debugf("(pid=%d, gid=%d) %s", os.Getpid(), getGID(), str) +} + +// Debug logs v if debug mode is set. +// There is no mutex synchronization. You should have acquired e.lock first. +func ecDebug(v ...interface{}) { + defer func() { + // recover from panic if one occured. + if recover() != nil { + Debugln("ecDebug failed") + } + }() + + initLogIfNecessary() + + // prefix message with "(pid=25140, gid=5)" + Debug(append([]interface{}{"(pid=", os.Getpid(), ", gid=", getGID(), ") "}, v...)...) +} + +// Debugln logs v appending a new line if debug mode is set +// There is no mutex synchronization. You should have acquired e.lock first. +func ecDebugln(v ...interface{}) { + defer func() { + // recover from panic if one occured. + if recover() != nil { + Debugln("ecDebugln failed") + } + }() + + initLogIfNecessary() + + // prefix message with "(pid=25140, gid=5)" + Debugln(append([]interface{}{"(pid=", os.Getpid(), ", gid=", getGID(), ") "}, v...)...) +} + +// Logf logs v with the provided format if info mode is set. +// There is no mutex synchronization. You should have acquired e.lock first. +func ecLogf(format string, v ...interface{}) { + defer func() { + // recover from panic if one occured. + if recover() != nil { + Debugln("ecLogf failed") + } + }() + + initLogIfNecessary() + + str := fmt.Sprintf(format, v...) + // prefix message with "(pid=25140, gid=5)" + Logf("(pid=%d, gid=%d) %s", os.Getpid(), getGID(), str) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/helpers.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/helpers.go similarity index 96% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/helpers.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/helpers.go index 7020125ad018..d120065de9e6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/helpers.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/helpers.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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" + "io/ioutil" "net/textproto" "os" "reflect" @@ -295,3 +296,12 @@ func IsEnvVarTrue(envVarKey string) bool { val, existed := os.LookupEnv(envVarKey) return existed && strings.ToLower(val) == "true" } + +// Reads the certs from pem file pointed by the R1_CERT_PEM env variable +func readCertPem(path string) []byte { + pem, err := ioutil.ReadFile(path) + if err != nil { + panic("can not read cert " + err.Error()) + } + return pem +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/http.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/http.go similarity index 99% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/http.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/http.go index 0c7b407d6ec4..f2d01ac92924 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/http.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/http.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -689,6 +689,7 @@ func MakeDefaultHTTPRequestWithTaggedStruct(method, path string, requestStruct i if err != nil { return } + return } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/http_signer.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/http_signer.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/http_signer.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/http_signer.go index c0fd9a9f7ed3..225845785aa9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/http_signer.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/http_signer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -122,15 +122,13 @@ func (signer ociRequestSigner) getSigningHeaders(r *http.Request) []string { return result } -func (signer ociRequestSigner) getSigningStringAndHeaders(request *http.Request) (string, []string) { - headersToSign := signer.getSigningHeaders(request) - signedHeaderNames := make([]string, len(headersToSign)) - signedHeaders := make([]string, len(headersToSign)) - signedHeaderCount := 0 - for _, headerName := range headersToSign { - headerName = strings.ToLower(headerName) +func (signer ociRequestSigner) getSigningString(request *http.Request) string { + signingHeaders := signer.getSigningHeaders(request) + signingParts := make([]string, len(signingHeaders)) + for i, part := range signingHeaders { var value string - switch headerName { + part = strings.ToLower(part) + switch part { case "(request-target)": value = getRequestTarget(request) case "host": @@ -139,17 +137,14 @@ func (signer ociRequestSigner) getSigningStringAndHeaders(request *http.Request) value = request.Host } default: - value = request.Header.Get(headerName) - } - if value != "" { - signedHeaders[signedHeaderCount] = fmt.Sprintf("%s: %s", headerName, value) - signedHeaderNames[signedHeaderCount] = headerName - signedHeaderCount++ + value = request.Header.Get(part) } + signingParts[i] = fmt.Sprintf("%s: %s", part, value) } - signingString := strings.Join(signedHeaders[0:signedHeaderCount], "\n") - return signingString, signedHeaderNames[0:signedHeaderCount] + signingString := strings.Join(signingParts, "\n") + return signingString + } func getRequestTarget(request *http.Request) string { @@ -221,8 +216,8 @@ func GetBodyHash(request *http.Request) (hashString string, err error) { return } -func (signer ociRequestSigner) computeSignature(request *http.Request) (signature string, signingHeaders []string, err error) { - signingString, signingHeaders := signer.getSigningStringAndHeaders(request) +func (signer ociRequestSigner) computeSignature(request *http.Request) (signature string, err error) { + signingString := signer.getSigningString(request) hasher := sha256.New() hasher.Write([]byte(signingString)) hashed := hasher.Sum(nil) @@ -255,18 +250,19 @@ func (signer ociRequestSigner) Sign(request *http.Request) (err error) { } var signature string - var signingHeaders []string - if signature, signingHeaders, err = signer.computeSignature(request); err != nil { + if signature, err = signer.computeSignature(request); err != nil { return } + signingHeaders := strings.Join(signer.getSigningHeaders(request), " ") + var keyID string if keyID, err = signer.KeyProvider.KeyID(); err != nil { return } authValue := fmt.Sprintf("Signature version=\"%s\",headers=\"%s\",keyId=\"%s\",algorithm=\"rsa-sha256\",signature=\"%s\"", - signerVersion, strings.Join(signingHeaders, " "), keyID, signature) + signerVersion, signingHeaders, keyID, signature) request.Header.Set(requestHeaderAuthorization, authValue) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/log.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/log.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/log.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/log.go index e6eed1e44f40..27b5dbc1b5a6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/log.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -35,8 +35,8 @@ const debugLogging = 2 // verboseLogging all logging messages const verboseLogging = 3 -// defaultSDKLogger the default implementation of the sdkLogger -type defaultSDKLogger struct { +// DefaultSDKLogger the default implementation of the sdkLogger +type DefaultSDKLogger struct { currentLoggingLevel int verboseLogger *log.Logger debugLogger *log.Logger @@ -51,26 +51,26 @@ var file *os.File // initializes the SDK defaultLogger as a defaultLogger func init() { - l, _ := newSDKLogger() - setSDKLogger(l) + l, _ := NewSDKLogger() + SetSDKLogger(l) } -// setSDKLogger sets the logger used by the sdk -func setSDKLogger(logger sdkLogger) { +// SetSDKLogger sets the logger used by the sdk +func SetSDKLogger(logger sdkLogger) { loggerLock.Lock() defaultLogger = logger loggerLock.Unlock() } -// newSDKLogger creates a defaultSDKLogger +// NewSDKLogger creates a defaultSDKLogger // Debug logging is turned on/off by the presence of the environment variable "OCI_GO_SDK_DEBUG" // The value of the "OCI_GO_SDK_DEBUG" environment variable controls the logging level. // "null" outputs no log messages // "i" or "info" outputs minimal log messages // "d" or "debug" outputs some logs messages // "v" or "verbose" outputs all logs messages, including body of requests -func newSDKLogger() (defaultSDKLogger, error) { - logger := defaultSDKLogger{} +func NewSDKLogger() (DefaultSDKLogger, error) { + logger := DefaultSDKLogger{} logger.currentLoggingLevel = noLogging logger.verboseLogger = log.New(os.Stderr, "VERBOSE ", log.Ldate|log.Lmicroseconds|log.Lshortfile) @@ -109,7 +109,7 @@ func newSDKLogger() (defaultSDKLogger, error) { return logger, nil } -func (l defaultSDKLogger) getLoggerForLevel(logLevel int) *log.Logger { +func (l DefaultSDKLogger) getLoggerForLevel(logLevel int) *log.Logger { if logLevel > l.currentLoggingLevel { return l.nullLogger } @@ -135,7 +135,7 @@ func (l defaultSDKLogger) getLoggerForLevel(logLevel int) *log.Logger { // 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) { +func logOutputModeConfig(logger DefaultSDKLogger) { logMode, isLogOutputModeEnabled := os.LookupEnv("OCI_GO_SDK_LOG_OUTPUT_MODE") if !isLogOutputModeEnabled { return @@ -163,7 +163,7 @@ func logOutputModeConfig(logger defaultSDKLogger) { } } -func openLogOutputFile(logger defaultSDKLogger, fileName string) *os.File { +func openLogOutputFile(logger DefaultSDKLogger, fileName string) *os.File { file, err := os.OpenFile(fileName, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644) if err != nil { logger.verboseLogger.Fatal(err) @@ -177,11 +177,12 @@ func CloseLogFile() error { } // LogLevel returns the current debug level -func (l defaultSDKLogger) LogLevel() int { +func (l DefaultSDKLogger) LogLevel() int { return l.currentLoggingLevel } -func (l defaultSDKLogger) Log(logLevel int, format string, v ...interface{}) error { +// Log logs v with the provided format if the current log level is loglevel +func (l DefaultSDKLogger) Log(logLevel int, format string, v ...interface{}) error { logger := l.getLoggerForLevel(logLevel) logger.Output(4, fmt.Sprintf(format, v...)) return nil diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/regions.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/regions.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/regions.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/regions.go index 4440b4f44b64..67d2427341b9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/regions.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/regions.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 @@ -20,8 +20,6 @@ const ( RegionAPSydney1 Region = "ap-sydney-1" //RegionAPTokyo1 region Tokyo RegionAPTokyo1 Region = "ap-tokyo-1" - //RegionAPSingapore1 region Singapore - RegionAPSingapore1 Region = "ap-singapore-1" //RegionCAMontreal1 region Montreal RegionCAMontreal1 Region = "ca-montreal-1" //RegionCAToronto1 region Toronto @@ -48,20 +46,22 @@ const ( RegionPHX Region = "us-phoenix-1" //RegionSJC1 region Sanjose RegionSJC1 Region = "us-sanjose-1" - //RegionMEAbudhabi1 region Abudhabi - RegionMEAbudhabi1 Region = "me-abudhabi-1" //RegionSAVinhedo1 region Vinhedo RegionSAVinhedo1 Region = "sa-vinhedo-1" //RegionSASantiago1 region Santiago RegionSASantiago1 Region = "sa-santiago-1" - //RegionEUMarseille1 region Marseille - RegionEUMarseille1 Region = "eu-marseille-1" //RegionILJerusalem1 region Jerusalem RegionILJerusalem1 Region = "il-jerusalem-1" - //RegionEUStockholm1 region Stockholm - RegionEUStockholm1 Region = "eu-stockholm-1" + //RegionEUMarseille1 region Marseille + RegionEUMarseille1 Region = "eu-marseille-1" + //RegionAPSingapore1 region Singapore + RegionAPSingapore1 Region = "ap-singapore-1" + //RegionMEAbudhabi1 region Abudhabi + RegionMEAbudhabi1 Region = "me-abudhabi-1" //RegionEUMilan1 region Milan RegionEUMilan1 Region = "eu-milan-1" + //RegionEUStockholm1 region Stockholm + RegionEUStockholm1 Region = "eu-stockholm-1" //RegionAFJohannesburg1 region Johannesburg RegionAFJohannesburg1 Region = "af-johannesburg-1" //RegionEUParis1 region Paris @@ -70,6 +70,8 @@ const ( RegionMXQueretaro1 Region = "mx-queretaro-1" //RegionEUMadrid1 region Madrid RegionEUMadrid1 Region = "eu-madrid-1" + //RegionUSChicago1 region Chicago + RegionUSChicago1 Region = "us-chicago-1" //RegionUSLangley1 region Langley RegionUSLangley1 Region = "us-langley-1" //RegionUSLuke1 region Luke @@ -94,6 +96,16 @@ const ( RegionAPDccCanberra1 Region = "ap-dcc-canberra-1" //RegionEUDccMilan1 region Milan RegionEUDccMilan1 Region = "eu-dcc-milan-1" + //RegionEUDccMilan2 region Milan + RegionEUDccMilan2 Region = "eu-dcc-milan-2" + //RegionEUDccDublin2 region Dublin + RegionEUDccDublin2 Region = "eu-dcc-dublin-2" + //RegionEUDccRating2 region Rating + RegionEUDccRating2 Region = "eu-dcc-rating-2" + //RegionEUDccRating1 region Rating + RegionEUDccRating1 Region = "eu-dcc-rating-1" + //RegionEUDccDublin1 region Dublin + RegionEUDccDublin1 Region = "eu-dcc-dublin-1" ) var shortNameRegion = map[string]Region{ @@ -105,7 +117,6 @@ var shortNameRegion = map[string]Region{ "icn": RegionAPSeoul1, "syd": RegionAPSydney1, "nrt": RegionAPTokyo1, - "sin": RegionAPSingapore1, "yul": RegionCAMontreal1, "yyz": RegionCAToronto1, "ams": RegionEUAmsterdam1, @@ -119,17 +130,19 @@ var shortNameRegion = map[string]Region{ "iad": RegionIAD, "phx": RegionPHX, "sjc": RegionSJC1, - "auh": RegionMEAbudhabi1, "vcp": RegionSAVinhedo1, "scl": RegionSASantiago1, - "mrs": RegionEUMarseille1, "mtz": RegionILJerusalem1, - "arn": RegionEUStockholm1, + "mrs": RegionEUMarseille1, + "sin": RegionAPSingapore1, + "auh": RegionMEAbudhabi1, "lin": RegionEUMilan1, + "arn": RegionEUStockholm1, "jnb": RegionAFJohannesburg1, "cdg": RegionEUParis1, "qro": RegionMXQueretaro1, "mad": RegionEUMadrid1, + "ord": RegionUSChicago1, "lfi": RegionUSLangley1, "luf": RegionUSLuke1, "ric": RegionUSGovAshburn1, @@ -142,6 +155,11 @@ var shortNameRegion = map[string]Region{ "mct": RegionMEDccMuscat1, "wga": RegionAPDccCanberra1, "bgy": RegionEUDccMilan1, + "mxp": RegionEUDccMilan2, + "snn": RegionEUDccDublin2, + "dtm": RegionEUDccRating2, + "dus": RegionEUDccRating1, + "ork": RegionEUDccDublin1, } var realm = map[string]string{ @@ -164,7 +182,6 @@ var regionRealm = map[Region]string{ RegionAPSeoul1: "oc1", RegionAPSydney1: "oc1", RegionAPTokyo1: "oc1", - RegionAPSingapore1: "oc1", RegionCAMontreal1: "oc1", RegionCAToronto1: "oc1", RegionEUAmsterdam1: "oc1", @@ -178,17 +195,19 @@ var regionRealm = map[Region]string{ RegionIAD: "oc1", RegionPHX: "oc1", RegionSJC1: "oc1", - RegionMEAbudhabi1: "oc1", RegionSAVinhedo1: "oc1", RegionSASantiago1: "oc1", - RegionEUMarseille1: "oc1", RegionILJerusalem1: "oc1", - RegionEUStockholm1: "oc1", + RegionEUMarseille1: "oc1", + RegionAPSingapore1: "oc1", + RegionMEAbudhabi1: "oc1", RegionEUMilan1: "oc1", + RegionEUStockholm1: "oc1", RegionAFJohannesburg1: "oc1", RegionEUParis1: "oc1", RegionMXQueretaro1: "oc1", RegionEUMadrid1: "oc1", + RegionUSChicago1: "oc1", RegionUSLangley1: "oc2", RegionUSLuke1: "oc2", @@ -207,5 +226,10 @@ var regionRealm = map[Region]string{ RegionAPDccCanberra1: "oc10", - RegionEUDccMilan1: "oc14", + RegionEUDccMilan1: "oc14", + RegionEUDccMilan2: "oc14", + RegionEUDccDublin2: "oc14", + RegionEUDccRating2: "oc14", + RegionEUDccRating1: "oc14", + RegionEUDccDublin1: "oc14", } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/regions.json b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/regions.json new file mode 100644 index 000000000000..90f23fca1528 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/regions.json @@ -0,0 +1,308 @@ +[ + { + "regionKey": "yny", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-chuncheon-1", + "realmKey": "oc1" + }, + { + "regionKey": "hyd", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-hyderabad-1", + "realmKey": "oc1" + }, + { + "regionKey": "mel", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-melbourne-1", + "realmKey": "oc1" + }, + { + "regionKey": "bom", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-mumbai-1", + "realmKey": "oc1" + }, + { + "regionKey": "kix", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-osaka-1", + "realmKey": "oc1" + }, + { + "regionKey": "icn", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-seoul-1", + "realmKey": "oc1" + }, + { + "regionKey": "syd", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-sydney-1", + "realmKey": "oc1" + }, + { + "regionKey": "nrt", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-tokyo-1", + "realmKey": "oc1" + }, + { + "regionKey": "yul", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ca-montreal-1", + "realmKey": "oc1" + }, + { + "regionKey": "yyz", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ca-toronto-1", + "realmKey": "oc1" + }, + { + "regionKey": "ams", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-amsterdam-1", + "realmKey": "oc1" + }, + { + "regionKey": "fra", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-frankfurt-1", + "realmKey": "oc1" + }, + { + "regionKey": "zrh", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-zurich-1", + "realmKey": "oc1" + }, + { + "regionKey": "jed", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "me-jeddah-1", + "realmKey": "oc1" + }, + { + "regionKey": "dxb", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "me-dubai-1", + "realmKey": "oc1" + }, + { + "regionKey": "gru", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "sa-saopaulo-1", + "realmKey": "oc1" + }, + { + "regionKey": "cwl", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "uk-cardiff-1", + "realmKey": "oc1" + }, + { + "regionKey": "lhr", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "uk-london-1", + "realmKey": "oc1" + }, + { + "regionKey": "iad", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "us-ashburn-1", + "realmKey": "oc1" + }, + { + "regionKey": "phx", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "us-phoenix-1", + "realmKey": "oc1" + }, + { + "regionKey": "sjc", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "us-sanjose-1", + "realmKey": "oc1" + }, + { + "regionKey": "vcp", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "sa-vinhedo-1", + "realmKey": "oc1" + }, + { + "regionKey": "scl", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "sa-santiago-1", + "realmKey": "oc1" + }, + { + "regionKey": "lfi", + "realmDomainComponent": "oraclegovcloud.com", + "regionIdentifier": "us-langley-1", + "realmKey": "oc2" + }, + { + "regionKey": "luf", + "realmDomainComponent": "oraclegovcloud.com", + "regionIdentifier": "us-luke-1", + "realmKey": "oc2" + }, + { + "regionKey": "ric", + "realmDomainComponent": "oraclegovcloud.com", + "regionIdentifier": "us-gov-ashburn-1", + "realmKey": "oc3" + }, + { + "regionKey": "pia", + "realmDomainComponent": "oraclegovcloud.com", + "regionIdentifier": "us-gov-chicago-1", + "realmKey": "oc3" + }, + { + "regionKey": "tus", + "realmDomainComponent": "oraclegovcloud.com", + "regionIdentifier": "us-gov-phoenix-1", + "realmKey": "oc3" + }, + { + "regionKey": "ltn", + "realmDomainComponent": "oraclegovcloud.uk", + "regionIdentifier": "uk-gov-london-1", + "realmKey": "oc4" + }, + { + "regionKey": "brs", + "realmDomainComponent": "oraclegovcloud.uk", + "regionIdentifier": "uk-gov-cardiff-1", + "realmKey": "oc4" + }, + { + "regionKey": "nja", + "realmDomainComponent": "oraclecloud8.com", + "regionIdentifier": "ap-chiyoda-1", + "realmKey": "oc8" + }, + { + "regionKey": "ukb", + "realmDomainComponent": "oraclecloud8.com", + "regionIdentifier": "ap-ibaraki-1", + "realmKey": "oc8" + }, + { + "regionKey": "mtz", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "il-jerusalem-1", + "realmKey": "oc1" + }, + { + "regionKey": "mrs", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-marseille-1", + "realmKey": "oc1" + }, + { + "regionKey": "sin", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "ap-singapore-1", + "realmKey": "oc1" + }, + { + "regionKey": "auh", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "me-abudhabi-1", + "realmKey": "oc1" + }, + { + "regionKey": "lin", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-milan-1", + "realmKey": "oc1" + }, + { + "regionKey": "arn", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-stockholm-1", + "realmKey": "oc1" + }, + { + "regionKey": "jnb", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "af-johannesburg-1", + "realmKey": "oc1" + }, + { + "regionKey": "mct", + "realmDomainComponent": "oraclecloud9.com", + "regionIdentifier": "me-dcc-muscat-1", + "realmKey": "oc9" + }, + { + "regionKey": "wga", + "realmDomainComponent": "oraclecloud10.com", + "regionIdentifier": "ap-dcc-canberra-1", + "realmKey": "oc10" + }, + { + "regionKey": "cdg", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-paris-1", + "realmKey": "oc1" + }, + { + "regionKey": "qro", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "mx-queretaro-1", + "realmKey": "oc1" + }, + { + "regionKey": "mad", + "realmDomainComponent": "oraclecloud.com", + "regionIdentifier": "eu-madrid-1", + "realmKey": "oc1" + }, + { + "regionKey": "bgy", + "realmDomainComponent": "oraclecloud14.com", + "regionIdentifier": "eu-dcc-milan-1", + "realmKey": "oc14" + }, + { + "regionKey": "ord", + "realmKey": "oc1", + "regionIdentifier": "us-chicago-1", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "mxp", + "realmKey": "oc14", + "regionIdentifier": "eu-dcc-milan-2", + "realmDomainComponent": "oraclecloud14.com" + }, + { + "regionKey": "snn", + "realmKey": "oc14", + "regionIdentifier": "eu-dcc-dublin-2", + "realmDomainComponent": "oraclecloud14.com" + }, + { + "regionKey": "dtm", + "realmKey": "oc14", + "regionIdentifier": "eu-dcc-rating-2", + "realmDomainComponent": "oraclecloud14.com" + }, + { + "regionKey": "dus", + "realmKey": "oc14", + "regionIdentifier": "eu-dcc-rating-1", + "realmDomainComponent": "oraclecloud14.com" + }, + { + "regionKey": "ork", + "realmKey": "oc14", + "regionIdentifier": "eu-dcc-dublin-1", + "realmDomainComponent": "oraclecloud14.com" + } +] \ No newline at end of file diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/retry.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/retry.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/retry.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/retry.go index 54129273b4c7..782b12ef90a2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/retry.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/retry.go @@ -1,22 +1,17 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 import ( - "bytes" "context" "errors" "fmt" "io" "math" "math/rand" - "os" "runtime" - "strconv" "strings" - "sync" - "sync/atomic" "time" ) @@ -64,140 +59,6 @@ type OCIOperationResponse struct { InitialAttemptTime time.Time } -// EventuallyConsistentContext contains the information about the end of the eventually consistent window. -type EventuallyConsistentContext struct { - endOfWindow atomic.Value - lock sync.RWMutex - timeNowProvider func() time.Time -} - -// getGID returns the Goroutine id. This is purely for logging and debugging. -// See https://blog.sgmansfield.com/2015/12/goroutine-ids/ -func getGID() uint64 { - b := make([]byte, 64) - b = b[:runtime.Stack(b, false)] - b = bytes.TrimPrefix(b, []byte("goroutine ")) - b = b[:bytes.IndexByte(b, ' ')] - n, _ := strconv.ParseUint(string(b), 10, 64) - return n -} - -// Debugf logs v with the provided format if debug mode is set. -// There is no mutex synchronization. You should have acquired e.lock first. -func ecDebugf(format string, v ...interface{}) { - defer func() { - // recover from panic if one occured. - if recover() != nil { - Debugln("ecDebugf failed") - } - }() - - str := fmt.Sprintf(format, v...) - // prefix message with "(pid=25140, gid=5)" - Debugf("(pid=%d, gid=%d) %s", os.Getpid(), getGID(), str) -} - -// Debug logs v if debug mode is set. -// There is no mutex synchronization. You should have acquired e.lock first. -func ecDebug(v ...interface{}) { - defer func() { - // recover from panic if one occured. - if recover() != nil { - Debugln("ecDebug failed") - } - }() - - // prefix message with "(pid=25140, gid=5)" - Debug(append([]interface{}{"(pid=", os.Getpid(), ", gid=", getGID(), ") "}, v...)...) -} - -// Debugln logs v appending a new line if debug mode is set -// There is no mutex synchronization. You should have acquired e.lock first. -func ecDebugln(v ...interface{}) { - defer func() { - // recover from panic if one occured. - if recover() != nil { - Debugln("ecDebugln failed") - } - }() - - // prefix message with "(pid=25140, gid=5)" - Debugln(append([]interface{}{"(pid=", os.Getpid(), ", gid=", getGID(), ") "}, v...)...) -} - -// GetEndOfWindow returns the end time an eventually consistent window, -// or nil if no eventually consistent requests were made -func (e *EventuallyConsistentContext) GetEndOfWindow() *time.Time { - e.lock.RLock() // synchronize with potential writers - defer e.lock.RUnlock() - - endOfWindowTime := e.getEndOfWindowUnsynchronized() - - // TODO: this is noisy logging, consider removing - if endOfWindowTime != nil { - ecDebugln(fmt.Sprintf("EcContext.GetEndOfWindow returns %s", endOfWindowTime)) - } else { - ecDebugln("EcContext.GetEndOfWindow returns ") - } - - return endOfWindowTime -} - -// getEndOfWindow_unsynchronized returns the end time an eventually consistent window, -// or nil if no eventually consistent requests were made. -// There is no mutex synchronization. -func (e *EventuallyConsistentContext) getEndOfWindowUnsynchronized() *time.Time { - untyped := e.endOfWindow.Load() // returns nil if there has been no call to Store for this Value - if untyped == nil { - return (*time.Time)(nil) - } - t := untyped.(*time.Time) - - return t -} - -// UpdateEndOfWindow sets the end time of the eventually consistent window the specified -// duration into the future -func (e *EventuallyConsistentContext) UpdateEndOfWindow(windowSize time.Duration) *time.Time { - e.lock.Lock() // synchronize with other potential writers - defer e.lock.Unlock() - - currentEndOfWindowTime := e.getEndOfWindowUnsynchronized() - var newEndOfWindowTime = e.timeNowProvider().Add(windowSize) - if currentEndOfWindowTime == nil || newEndOfWindowTime.After(*currentEndOfWindowTime) { - e.endOfWindow.Store(&newEndOfWindowTime) // atomically replace the current object with the new one - - // TODO: this is noisy logging, consider removing - ecDebugln(fmt.Sprintf("EcContext.UpdateEndOfWindow to %s", newEndOfWindowTime)) - - return &newEndOfWindowTime - } - return currentEndOfWindowTime -} - -// setEndTimeOfEventuallyConsistentWindow sets the last time an eventually consistent request was made -// to the specified time -func (e *EventuallyConsistentContext) setEndOfWindow(newTime *time.Time) *time.Time { - e.lock.Lock() // synchronize with other potential writers - defer e.lock.Unlock() - - e.endOfWindow.Store(newTime) // atomically replace the current object with the new one - - // TODO: this is noisy logging, consider removing - if newTime != nil { - ecDebugln(fmt.Sprintf("EcContext.setEndOfWindow to %s", *newTime)) - } else { - ecDebugln("EcContext.setEndOfWindow to ") - } - - return newTime -} - -// EcContext contains the information about the end of the eventually consistent window for this process. -var EcContext = EventuallyConsistentContext{ - timeNowProvider: func() time.Time { return time.Now() }, -} - const ( defaultMaximumNumberAttempts = uint(8) defaultExponentialBackoffBase = 2.0 @@ -217,32 +78,23 @@ var ( {501, "MethodNotImplemented"}: false, } - affectedByEventualConsistencyRetryStatusCodeMap = map[StatErrCode]bool{ - {400, "RelatedResourceNotAuthorizedOrNotFound"}: true, - {404, "NotAuthorizedOrNotFound"}: true, - {409, "NotAuthorizedOrResourceAlreadyExists"}: true, - } ) -// IsErrorAffectedByEventualConsistency returns true if the error is affected by eventual consistency. -func IsErrorAffectedByEventualConsistency(Error error) bool { - if err, ok := IsServiceError(Error); ok { - return affectedByEventualConsistencyRetryStatusCodeMap[StatErrCode{err.GetHTTPStatusCode(), err.GetCode()}] - } - return false -} - // IsErrorRetryableByDefault returns true if the error is retryable by OCI default retry policy -func IsErrorRetryableByDefault(Error error) bool { - if Error == nil { +func IsErrorRetryableByDefault(err error) bool { + if err == nil { return false } - if IsNetworkError(Error) { + if IsNetworkError(err) { return true } - if err, ok := IsServiceError(Error); ok { + if err == io.EOF { + return true + } + + if err, ok := IsServiceError(err); ok { if shouldRetry, ok := defaultRetryStatusCodeMap[StatErrCode{err.GetHTTPStatusCode(), err.GetCode()}]; ok { return shouldRetry } @@ -486,7 +338,8 @@ func returnSamePolicy(policy RetryPolicy) (RetryPolicy, *time.Time, float64) { // we're returning the end of window time nonetheless, even though the default non-eventual consistency (EC) // retry policy doesn't use it; this is useful in case developers wants to write an EC-aware retry policy // on their own - return policy, EcContext.GetEndOfWindow(), 1.0 + eowt := EcContext.GetEndOfWindow() + return policy, eowt, 1.0 } // NoRetryPolicy is a helper method that assembles and returns a return policy that indicates an operation should @@ -953,7 +806,7 @@ func Retry(ctx context.Context, request OCIRetryableRequest, operation OCIOperat var response OCIResponse var err error - retrierChannel := make(chan retrierResult) + retrierChannel := make(chan retrierResult, 1) validated, validateError := policy.validate() if !validated { @@ -963,7 +816,6 @@ func Retry(ctx context.Context, request OCIRetryableRequest, operation OCIOperat initialAttemptTime := time.Now() go func() { - // Deal with panics more graciously defer func() { if r := recover(); r != nil { @@ -975,7 +827,6 @@ func Retry(ctx context.Context, request OCIRetryableRequest, operation OCIOperat retrierChannel <- retrierResult{nil, error} } }() - // if request body is binary request body and seekable, save the current position var curPos int64 = 0 isSeekable := false @@ -990,11 +841,17 @@ func Retry(ctx context.Context, request OCIRetryableRequest, operation OCIOperat } } + // some legacy code constructing RetryPolicy instances directly may not have set DeterminePolicyToUse. + // In that case, just assume that it doesn't handle eventual consistency. + if policy.DeterminePolicyToUse == nil { + policy.DeterminePolicyToUse = returnSamePolicy + } + // this determines which policy to use, when the eventual consistency window ends, and what the backoff // scaling factor should be policyToUse, endOfWindowTime, backoffScalingFactor := policy.DeterminePolicyToUse(policy) Debugln(fmt.Sprintf("Retry policy to use: %v", policyToUse)) - + retryStartTime := time.Now() extraHeaders := make(map[string]string) if policy.MaximumNumberAttempts == 1 { @@ -1020,6 +877,7 @@ func Retry(ctx context.Context, request OCIRetryableRequest, operation OCIOperat retrierChannel <- retrierResult{response, err} return } + // if the request body type is stream, requested retry but doesn't resettable, throw error and stop retrying if isBinaryRequest && !isSeekable { retrierChannel <- retrierResult{response, NonSeekableRequestRetryFailure{err}} @@ -1039,7 +897,8 @@ func Retry(ctx context.Context, request OCIRetryableRequest, operation OCIOperat // sleep before retrying the operation <-time.After(duration) } - + retryEndTime := time.Now() + Debugln(fmt.Sprintf("Total Latency for this API call is: %v ms", retryEndTime.Sub(retryStartTime).Milliseconds())) retrierChannel <- retrierResult{response, err} }() diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go new file mode 100644 index 000000000000..9a3413932d03 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go @@ -0,0 +1,31 @@ +package utils + +import ( + "crypto/rand" + "encoding/hex" + "fmt" +) + +// GenerateOpcRequestID reference +// Reference: https://confluence.oci.oraclecorp.com/display/DEX/Request+IDs +// Maximum segment length: 32 characters +// Allowed segment contents: regular expression pattern /^[a-zA-Z0-9]{0,32}$/ +func GenerateOpcRequestID() string { + clientId := generateUniqueID() + stackId := generateUniqueID() + individualId := generateUniqueID() + + opcRequestId := fmt.Sprintf("%s/%s/%s", clientId, stackId, individualId) + + return opcRequestId +} + +func generateUniqueID() string { + b := make([]byte, 16) + _, err := rand.Read(b) + if err != nil { + return "" + } + + return hex.EncodeToString(b) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/version.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/version.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/version.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/version.go index d3ac536af9b4..c7061893e4a0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/version.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// 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 by go generate; DO NOT EDIT @@ -11,10 +11,10 @@ import ( ) const ( - major = "55" - minor = "1" - patch = "0" - tag = "preview" + major = "65" + minor = "36" + patch = "1" + tag = "" ) var once sync.Once @@ -27,7 +27,7 @@ func Version() string { verBuilder := bytes.NewBufferString(ver) if tag != "" && tag != "-" { _, err := verBuilder.WriteString(tag) - if err == nil { + if err != nil { verBuilder = bytes.NewBufferString(ver) } } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/add_on_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/add_on_options.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/add_on_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/add_on_options.go index a2ba52d44910..89ecea9385d0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/add_on_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/add_on_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon.go new file mode 100644 index 000000000000..4c1de016c6a3 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon.go @@ -0,0 +1,62 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Addon The properties that define an addon. +type Addon struct { + + // The name of the addon. + Name *string `mandatory:"true" json:"name"` + + // The state of the addon. + LifecycleState AddonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // selected addon version, or null indicates autoUpdate + Version *string `mandatory:"false" json:"version"` + + // current installed version of the addon + CurrentInstalledVersion *string `mandatory:"false" json:"currentInstalledVersion"` + + // The time the cluster was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // Addon configuration details. + Configurations []AddonConfiguration `mandatory:"false" json:"configurations"` + + // The error info of the addon. + AddonError *AddonError `mandatory:"false" json:"addonError"` +} + +func (m Addon) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Addon) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAddonLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetAddonLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_configuration.go new file mode 100644 index 000000000000..d3c11c8ae145 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_configuration.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AddonConfiguration Defines the configuration of available addons for a cluster +type AddonConfiguration struct { + + // configuration key name + Key *string `mandatory:"false" json:"key"` + + // configuration value name + Value *string `mandatory:"false" json:"value"` +} + +func (m AddonConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AddonConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_error.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_error.go new file mode 100644 index 000000000000..c19357e7f6c0 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_error.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AddonError The error info of the addon. +type AddonError struct { + + // A short error code that defines the upstream error, meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). + Code *string `mandatory:"false" json:"code"` + + // A human-readable error string of the upstream error. + Message *string `mandatory:"false" json:"message"` + + // The status of the HTTP response encountered in the upstream error. + Status *string `mandatory:"false" json:"status"` +} + +func (m AddonError) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AddonError) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_lifecycle_state.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_lifecycle_state.go new file mode 100644 index 000000000000..057382a2dde3 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_lifecycle_state.go @@ -0,0 +1,78 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "strings" +) + +// AddonLifecycleStateEnum Enum with underlying type: string +type AddonLifecycleStateEnum string + +// Set of constants representing the allowable values for AddonLifecycleStateEnum +const ( + AddonLifecycleStateCreating AddonLifecycleStateEnum = "CREATING" + AddonLifecycleStateActive AddonLifecycleStateEnum = "ACTIVE" + AddonLifecycleStateDeleting AddonLifecycleStateEnum = "DELETING" + AddonLifecycleStateDeleted AddonLifecycleStateEnum = "DELETED" + AddonLifecycleStateUpdating AddonLifecycleStateEnum = "UPDATING" + AddonLifecycleStateNeedsAttention AddonLifecycleStateEnum = "NEEDS_ATTENTION" + AddonLifecycleStateFailed AddonLifecycleStateEnum = "FAILED" +) + +var mappingAddonLifecycleStateEnum = map[string]AddonLifecycleStateEnum{ + "CREATING": AddonLifecycleStateCreating, + "ACTIVE": AddonLifecycleStateActive, + "DELETING": AddonLifecycleStateDeleting, + "DELETED": AddonLifecycleStateDeleted, + "UPDATING": AddonLifecycleStateUpdating, + "NEEDS_ATTENTION": AddonLifecycleStateNeedsAttention, + "FAILED": AddonLifecycleStateFailed, +} + +var mappingAddonLifecycleStateEnumLowerCase = map[string]AddonLifecycleStateEnum{ + "creating": AddonLifecycleStateCreating, + "active": AddonLifecycleStateActive, + "deleting": AddonLifecycleStateDeleting, + "deleted": AddonLifecycleStateDeleted, + "updating": AddonLifecycleStateUpdating, + "needs_attention": AddonLifecycleStateNeedsAttention, + "failed": AddonLifecycleStateFailed, +} + +// GetAddonLifecycleStateEnumValues Enumerates the set of values for AddonLifecycleStateEnum +func GetAddonLifecycleStateEnumValues() []AddonLifecycleStateEnum { + values := make([]AddonLifecycleStateEnum, 0) + for _, v := range mappingAddonLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetAddonLifecycleStateEnumStringValues Enumerates the set of values in String for AddonLifecycleStateEnum +func GetAddonLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "DELETING", + "DELETED", + "UPDATING", + "NEEDS_ATTENTION", + "FAILED", + } +} + +// GetMappingAddonLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddonLifecycleStateEnum(val string) (AddonLifecycleStateEnum, bool) { + enum, ok := mappingAddonLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_option_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_option_summary.go new file mode 100644 index 000000000000..8b79c3d29001 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_option_summary.go @@ -0,0 +1,121 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AddonOptionSummary The properties that define addon summary. +type AddonOptionSummary struct { + + // Name of the addon and it would be unique. + Name *string `mandatory:"true" json:"name"` + + // The life cycle state of the addon. + LifecycleState AddonOptionSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // Is it an essential addon for cluster operation or not. + IsEssential *bool `mandatory:"true" json:"isEssential"` + + // The resources this work request affects. + Versions []AddonVersions `mandatory:"true" json:"versions"` + + // Addon definition schema version to validate addon. + AddonSchemaVersion *string `mandatory:"false" json:"addonSchemaVersion"` + + // Addon group info, a namespace concept that groups addons with similar functionalities. + AddonGroup *string `mandatory:"false" json:"addonGroup"` + + // Description on the addon. + Description *string `mandatory:"false" json:"description"` + + // 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"` + + // 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"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The time the work request was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` +} + +func (m AddonOptionSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AddonOptionSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAddonOptionSummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetAddonOptionSummaryLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// AddonOptionSummaryLifecycleStateEnum Enum with underlying type: string +type AddonOptionSummaryLifecycleStateEnum string + +// Set of constants representing the allowable values for AddonOptionSummaryLifecycleStateEnum +const ( + AddonOptionSummaryLifecycleStateActive AddonOptionSummaryLifecycleStateEnum = "ACTIVE" + AddonOptionSummaryLifecycleStateInactive AddonOptionSummaryLifecycleStateEnum = "INACTIVE" +) + +var mappingAddonOptionSummaryLifecycleStateEnum = map[string]AddonOptionSummaryLifecycleStateEnum{ + "ACTIVE": AddonOptionSummaryLifecycleStateActive, + "INACTIVE": AddonOptionSummaryLifecycleStateInactive, +} + +var mappingAddonOptionSummaryLifecycleStateEnumLowerCase = map[string]AddonOptionSummaryLifecycleStateEnum{ + "active": AddonOptionSummaryLifecycleStateActive, + "inactive": AddonOptionSummaryLifecycleStateInactive, +} + +// GetAddonOptionSummaryLifecycleStateEnumValues Enumerates the set of values for AddonOptionSummaryLifecycleStateEnum +func GetAddonOptionSummaryLifecycleStateEnumValues() []AddonOptionSummaryLifecycleStateEnum { + values := make([]AddonOptionSummaryLifecycleStateEnum, 0) + for _, v := range mappingAddonOptionSummaryLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetAddonOptionSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for AddonOptionSummaryLifecycleStateEnum +func GetAddonOptionSummaryLifecycleStateEnumStringValues() []string { + return []string{ + "ACTIVE", + "INACTIVE", + } +} + +// GetMappingAddonOptionSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddonOptionSummaryLifecycleStateEnum(val string) (AddonOptionSummaryLifecycleStateEnum, bool) { + enum, ok := mappingAddonOptionSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_summary.go new file mode 100644 index 000000000000..9ae0fff6a1fc --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_summary.go @@ -0,0 +1,59 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AddonSummary The properties that define an addon summary. +type AddonSummary struct { + + // The name of the addon. + Name *string `mandatory:"true" json:"name"` + + // The state of the addon. + LifecycleState AddonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // selected addon version, or null indicates autoUpdate + Version *string `mandatory:"false" json:"version"` + + // current installed version of the addon + CurrentInstalledVersion *string `mandatory:"false" json:"currentInstalledVersion"` + + // The time the cluster was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // The error info of the addon. + AddonError *AddonError `mandatory:"false" json:"addonError"` +} + +func (m AddonSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AddonSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAddonLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetAddonLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_version_configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_version_configuration.go new file mode 100644 index 000000000000..c0ed2150e14a --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_version_configuration.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AddonVersionConfiguration Addon version configuration details. +type AddonVersionConfiguration struct { + + // If the the configuration is required or not. + IsRequired *bool `mandatory:"false" json:"isRequired"` + + // Addon configuration key + Key *string `mandatory:"false" json:"key"` + + // Addon configuration value + Value *string `mandatory:"false" json:"value"` + + // Display name of addon version. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Information about the addon version configuration. + Description *string `mandatory:"false" json:"description"` +} + +func (m AddonVersionConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AddonVersionConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_versions.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_versions.go new file mode 100644 index 000000000000..3c2a12f4fbcf --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/addon_versions.go @@ -0,0 +1,106 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AddonVersions The properties that define a work request resource. +type AddonVersions struct { + + // Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property. + Status AddonVersionsStatusEnum `mandatory:"false" json:"status,omitempty"` + + // Version number, need be comparable within an addon. + VersionNumber *string `mandatory:"false" json:"versionNumber"` + + // Information about the addon version. + Description *string `mandatory:"false" json:"description"` + + // The range of kubernetes versions an addon can be configured. + KubernetesVersionFilters *KubernetesVersionsFilters `mandatory:"false" json:"kubernetesVersionFilters"` + + // Addon version configuration details. + Configurations []AddonVersionConfiguration `mandatory:"false" json:"configurations"` +} + +func (m AddonVersions) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AddonVersions) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingAddonVersionsStatusEnum(string(m.Status)); !ok && m.Status != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetAddonVersionsStatusEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// AddonVersionsStatusEnum Enum with underlying type: string +type AddonVersionsStatusEnum string + +// Set of constants representing the allowable values for AddonVersionsStatusEnum +const ( + AddonVersionsStatusActive AddonVersionsStatusEnum = "ACTIVE" + AddonVersionsStatusDeprecated AddonVersionsStatusEnum = "DEPRECATED" + AddonVersionsStatusPreview AddonVersionsStatusEnum = "PREVIEW" + AddonVersionsStatusRecalled AddonVersionsStatusEnum = "RECALLED" +) + +var mappingAddonVersionsStatusEnum = map[string]AddonVersionsStatusEnum{ + "ACTIVE": AddonVersionsStatusActive, + "DEPRECATED": AddonVersionsStatusDeprecated, + "PREVIEW": AddonVersionsStatusPreview, + "RECALLED": AddonVersionsStatusRecalled, +} + +var mappingAddonVersionsStatusEnumLowerCase = map[string]AddonVersionsStatusEnum{ + "active": AddonVersionsStatusActive, + "deprecated": AddonVersionsStatusDeprecated, + "preview": AddonVersionsStatusPreview, + "recalled": AddonVersionsStatusRecalled, +} + +// GetAddonVersionsStatusEnumValues Enumerates the set of values for AddonVersionsStatusEnum +func GetAddonVersionsStatusEnumValues() []AddonVersionsStatusEnum { + values := make([]AddonVersionsStatusEnum, 0) + for _, v := range mappingAddonVersionsStatusEnum { + values = append(values, v) + } + return values +} + +// GetAddonVersionsStatusEnumStringValues Enumerates the set of values in String for AddonVersionsStatusEnum +func GetAddonVersionsStatusEnumStringValues() []string { + return []string{ + "ACTIVE", + "DEPRECATED", + "PREVIEW", + "RECALLED", + } +} + +// GetMappingAddonVersionsStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddonVersionsStatusEnum(val string) (AddonVersionsStatusEnum, bool) { + enum, ok := mappingAddonVersionsStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/admission_controller_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/admission_controller_options.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/admission_controller_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/admission_controller_options.go index d69506079517..02e889b7b7c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/admission_controller_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/admission_controller_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go new file mode 100644 index 000000000000..310700342224 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go @@ -0,0 +1,191 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Cluster A Kubernetes cluster. Avoid entering confidential information. +type Cluster struct { + + // The OCID of the cluster. + Id *string `mandatory:"false" json:"id"` + + // The name of the cluster. + Name *string `mandatory:"false" json:"name"` + + // The OCID of the compartment in which the cluster exists. + CompartmentId *string `mandatory:"false" json:"compartmentId"` + + // The network configuration for access to the Cluster control plane. + EndpointConfig *ClusterEndpointConfig `mandatory:"false" json:"endpointConfig"` + + // The OCID of the virtual cloud network (VCN) in which the cluster exists. + VcnId *string `mandatory:"false" json:"vcnId"` + + // The version of Kubernetes running on the cluster masters. + KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"` + + // The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. + KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + + // 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"` + + // 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"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // Optional attributes for the cluster. + Options *ClusterCreateOptions `mandatory:"false" json:"options"` + + // Metadata about the cluster. + Metadata *ClusterMetadata `mandatory:"false" json:"metadata"` + + // The state of the cluster masters. + LifecycleState ClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // Details about the state of the cluster masters. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // Endpoints served up by the cluster masters. + Endpoints *ClusterEndpoints `mandatory:"false" json:"endpoints"` + + // Available Kubernetes versions to which the clusters masters may be upgraded. + AvailableKubernetesUpgrades []string `mandatory:"false" json:"availableKubernetesUpgrades"` + + // The image verification policy for signature validation. + ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"` + + // Available CNIs and network options for existing and new node pools of the cluster + ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"` + + // Type of cluster + Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"` +} + +func (m Cluster) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Cluster) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingClusterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClusterLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingClusterTypeEnum(string(m.Type)); !ok && m.Type != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UnmarshalJSON unmarshals from json +func (m *Cluster) UnmarshalJSON(data []byte) (e error) { + model := struct { + Id *string `json:"id"` + Name *string `json:"name"` + CompartmentId *string `json:"compartmentId"` + EndpointConfig *ClusterEndpointConfig `json:"endpointConfig"` + VcnId *string `json:"vcnId"` + KubernetesVersion *string `json:"kubernetesVersion"` + KmsKeyId *string `json:"kmsKeyId"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + SystemTags map[string]map[string]interface{} `json:"systemTags"` + Options *ClusterCreateOptions `json:"options"` + Metadata *ClusterMetadata `json:"metadata"` + LifecycleState ClusterLifecycleStateEnum `json:"lifecycleState"` + LifecycleDetails *string `json:"lifecycleDetails"` + Endpoints *ClusterEndpoints `json:"endpoints"` + AvailableKubernetesUpgrades []string `json:"availableKubernetesUpgrades"` + ImagePolicyConfig *ImagePolicyConfig `json:"imagePolicyConfig"` + ClusterPodNetworkOptions []clusterpodnetworkoptiondetails `json:"clusterPodNetworkOptions"` + Type ClusterTypeEnum `json:"type"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.Id = model.Id + + m.Name = model.Name + + m.CompartmentId = model.CompartmentId + + m.EndpointConfig = model.EndpointConfig + + m.VcnId = model.VcnId + + m.KubernetesVersion = model.KubernetesVersion + + m.KmsKeyId = model.KmsKeyId + + m.FreeformTags = model.FreeformTags + + m.DefinedTags = model.DefinedTags + + m.SystemTags = model.SystemTags + + m.Options = model.Options + + m.Metadata = model.Metadata + + m.LifecycleState = model.LifecycleState + + m.LifecycleDetails = model.LifecycleDetails + + m.Endpoints = model.Endpoints + + m.AvailableKubernetesUpgrades = make([]string, len(model.AvailableKubernetesUpgrades)) + for i, n := range model.AvailableKubernetesUpgrades { + m.AvailableKubernetesUpgrades[i] = n + } + + m.ImagePolicyConfig = model.ImagePolicyConfig + + m.ClusterPodNetworkOptions = make([]ClusterPodNetworkOptionDetails, len(model.ClusterPodNetworkOptions)) + for i, n := range model.ClusterPodNetworkOptions { + nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) + if e != nil { + return e + } + if nn != nil { + m.ClusterPodNetworkOptions[i] = nn.(ClusterPodNetworkOptionDetails) + } else { + m.ClusterPodNetworkOptions[i] = nil + } + } + + m.Type = model.Type + + return +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_create_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_create_options.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_create_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_create_options.go index fa1feeafb7a7..8770c9ffeae7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_create_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_create_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_endpoint_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoint_config.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_endpoint_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoint_config.go index 95a8367377e2..eff65df44438 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_endpoint_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoint_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_endpoints.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoints.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_endpoints.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoints.go index 401349792b96..c90ef6975891 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_endpoints.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoints.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -28,6 +28,10 @@ type ClusterEndpoints struct { // The private native networking Kubernetes API server endpoint. PrivateEndpoint *string `mandatory:"false" json:"privateEndpoint"` + + // The FQDN assigned to the Kubernetes API private endpoint. + // Example: 'https://yourVcnHostnameEndpoint' + VcnHostnameEndpoint *string `mandatory:"false" json:"vcnHostnameEndpoint"` } func (m ClusterEndpoints) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_lifecycle_state.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_lifecycle_state.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_lifecycle_state.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_lifecycle_state.go index 4867d1ccbc07..027b0fcb3f6d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_lifecycle_state.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -11,6 +11,10 @@ package containerengine +import ( + "strings" +) + // ClusterLifecycleStateEnum Enum with underlying type: string type ClusterLifecycleStateEnum string @@ -33,6 +37,15 @@ var mappingClusterLifecycleStateEnum = map[string]ClusterLifecycleStateEnum{ "UPDATING": ClusterLifecycleStateUpdating, } +var mappingClusterLifecycleStateEnumLowerCase = map[string]ClusterLifecycleStateEnum{ + "creating": ClusterLifecycleStateCreating, + "active": ClusterLifecycleStateActive, + "failed": ClusterLifecycleStateFailed, + "deleting": ClusterLifecycleStateDeleting, + "deleted": ClusterLifecycleStateDeleted, + "updating": ClusterLifecycleStateUpdating, +} + // GetClusterLifecycleStateEnumValues Enumerates the set of values for ClusterLifecycleStateEnum func GetClusterLifecycleStateEnumValues() []ClusterLifecycleStateEnum { values := make([]ClusterLifecycleStateEnum, 0) @@ -53,3 +66,9 @@ func GetClusterLifecycleStateEnumStringValues() []string { "UPDATING", } } + +// GetMappingClusterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingClusterLifecycleStateEnum(val string) (ClusterLifecycleStateEnum, bool) { + enum, ok := mappingClusterLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_metadata.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_metadata.go similarity index 95% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_metadata.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_metadata.go index bf0048ec3a74..ecbc0c8b40aa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_metadata.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_metadata.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_details.go index c9e05ade58d8..30d1ff440eb4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_request_response.go index 0248d7d9644f..143f2be057d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ClusterMigrateToNativeVcnRequest wrapper for the ClusterMigrateToNativeVcn operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcnRequest. type ClusterMigrateToNativeVcnRequest struct { // The OCID of the cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_status.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_status.go index db7112518291..62130bf6039b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_migrate_to_native_vcn_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -36,7 +36,7 @@ func (m ClusterMigrateToNativeVcnStatus) String() string { // Not recommended for calling this function directly func (m ClusterMigrateToNativeVcnStatus) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingClusterMigrateToNativeVcnStatusStateEnum[string(m.State)]; !ok && m.State != "" { + if _, ok := GetMappingClusterMigrateToNativeVcnStatusStateEnum(string(m.State)); !ok && m.State != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for State: %s. Supported values are: %s.", m.State, strings.Join(GetClusterMigrateToNativeVcnStatusStateEnumStringValues(), ","))) } @@ -66,6 +66,14 @@ var mappingClusterMigrateToNativeVcnStatusStateEnum = map[string]ClusterMigrateT "COMPLETED": ClusterMigrateToNativeVcnStatusStateCompleted, } +var mappingClusterMigrateToNativeVcnStatusStateEnumLowerCase = map[string]ClusterMigrateToNativeVcnStatusStateEnum{ + "not_started": ClusterMigrateToNativeVcnStatusStateNotStarted, + "requested": ClusterMigrateToNativeVcnStatusStateRequested, + "in_progress": ClusterMigrateToNativeVcnStatusStateInProgress, + "pending_decommission": ClusterMigrateToNativeVcnStatusStatePendingDecommission, + "completed": ClusterMigrateToNativeVcnStatusStateCompleted, +} + // GetClusterMigrateToNativeVcnStatusStateEnumValues Enumerates the set of values for ClusterMigrateToNativeVcnStatusStateEnum func GetClusterMigrateToNativeVcnStatusStateEnumValues() []ClusterMigrateToNativeVcnStatusStateEnum { values := make([]ClusterMigrateToNativeVcnStatusStateEnum, 0) @@ -85,3 +93,9 @@ func GetClusterMigrateToNativeVcnStatusStateEnumStringValues() []string { "COMPLETED", } } + +// GetMappingClusterMigrateToNativeVcnStatusStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingClusterMigrateToNativeVcnStatusStateEnum(val string) (ClusterMigrateToNativeVcnStatusStateEnum, bool) { + enum, ok := mappingClusterMigrateToNativeVcnStatusStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go new file mode 100644 index 000000000000..a0e931af4493 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go @@ -0,0 +1,78 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ClusterOptions Options for creating or updating clusters. +type ClusterOptions struct { + + // Available Kubernetes versions. + KubernetesVersions []string `mandatory:"false" json:"kubernetesVersions"` + + // Available CNIs and network options for existing and new node pools of the cluster + ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"` +} + +func (m ClusterOptions) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ClusterOptions) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UnmarshalJSON unmarshals from json +func (m *ClusterOptions) UnmarshalJSON(data []byte) (e error) { + model := struct { + KubernetesVersions []string `json:"kubernetesVersions"` + ClusterPodNetworkOptions []clusterpodnetworkoptiondetails `json:"clusterPodNetworkOptions"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.KubernetesVersions = make([]string, len(model.KubernetesVersions)) + for i, n := range model.KubernetesVersions { + m.KubernetesVersions[i] = n + } + + m.ClusterPodNetworkOptions = make([]ClusterPodNetworkOptionDetails, len(model.ClusterPodNetworkOptions)) + for i, n := range model.ClusterPodNetworkOptions { + nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) + if e != nil { + return e + } + if nn != nil { + m.ClusterPodNetworkOptions[i] = nn.(ClusterPodNetworkOptionDetails) + } else { + m.ClusterPodNetworkOptions[i] = nil + } + } + + return +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_pod_network_option_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_pod_network_option_details.go new file mode 100644 index 000000000000..1bd19ea45a92 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_pod_network_option_details.go @@ -0,0 +1,124 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ClusterPodNetworkOptionDetails The CNI type and relevant network details potentially applicable to the node pools of the cluster +type ClusterPodNetworkOptionDetails interface { +} + +type clusterpodnetworkoptiondetails struct { + JsonData []byte + CniType string `json:"cniType"` +} + +// UnmarshalJSON unmarshals json +func (m *clusterpodnetworkoptiondetails) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerclusterpodnetworkoptiondetails clusterpodnetworkoptiondetails + s := struct { + Model Unmarshalerclusterpodnetworkoptiondetails + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.CniType = s.Model.CniType + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *clusterpodnetworkoptiondetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.CniType { + case "FLANNEL_OVERLAY": + mm := FlannelOverlayClusterPodNetworkOptionDetails{} + err = json.Unmarshal(data, &mm) + return mm, err + case "OCI_VCN_IP_NATIVE": + mm := OciVcnIpNativeClusterPodNetworkOptionDetails{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + return *m, nil + } +} + +func (m clusterpodnetworkoptiondetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m clusterpodnetworkoptiondetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ClusterPodNetworkOptionDetailsCniTypeEnum Enum with underlying type: string +type ClusterPodNetworkOptionDetailsCniTypeEnum string + +// Set of constants representing the allowable values for ClusterPodNetworkOptionDetailsCniTypeEnum +const ( + ClusterPodNetworkOptionDetailsCniTypeOciVcnIpNative ClusterPodNetworkOptionDetailsCniTypeEnum = "OCI_VCN_IP_NATIVE" + ClusterPodNetworkOptionDetailsCniTypeFlannelOverlay ClusterPodNetworkOptionDetailsCniTypeEnum = "FLANNEL_OVERLAY" +) + +var mappingClusterPodNetworkOptionDetailsCniTypeEnum = map[string]ClusterPodNetworkOptionDetailsCniTypeEnum{ + "OCI_VCN_IP_NATIVE": ClusterPodNetworkOptionDetailsCniTypeOciVcnIpNative, + "FLANNEL_OVERLAY": ClusterPodNetworkOptionDetailsCniTypeFlannelOverlay, +} + +var mappingClusterPodNetworkOptionDetailsCniTypeEnumLowerCase = map[string]ClusterPodNetworkOptionDetailsCniTypeEnum{ + "oci_vcn_ip_native": ClusterPodNetworkOptionDetailsCniTypeOciVcnIpNative, + "flannel_overlay": ClusterPodNetworkOptionDetailsCniTypeFlannelOverlay, +} + +// GetClusterPodNetworkOptionDetailsCniTypeEnumValues Enumerates the set of values for ClusterPodNetworkOptionDetailsCniTypeEnum +func GetClusterPodNetworkOptionDetailsCniTypeEnumValues() []ClusterPodNetworkOptionDetailsCniTypeEnum { + values := make([]ClusterPodNetworkOptionDetailsCniTypeEnum, 0) + for _, v := range mappingClusterPodNetworkOptionDetailsCniTypeEnum { + values = append(values, v) + } + return values +} + +// GetClusterPodNetworkOptionDetailsCniTypeEnumStringValues Enumerates the set of values in String for ClusterPodNetworkOptionDetailsCniTypeEnum +func GetClusterPodNetworkOptionDetailsCniTypeEnumStringValues() []string { + return []string{ + "OCI_VCN_IP_NATIVE", + "FLANNEL_OVERLAY", + } +} + +// GetMappingClusterPodNetworkOptionDetailsCniTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingClusterPodNetworkOptionDetailsCniTypeEnum(val string) (ClusterPodNetworkOptionDetailsCniTypeEnum, bool) { + enum, ok := mappingClusterPodNetworkOptionDetailsCniTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go similarity index 58% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go index bc04c327f769..f3d61aca6a2a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -12,8 +12,9 @@ package containerengine import ( + "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -72,6 +73,12 @@ type ClusterSummary struct { // The image verification policy for signature validation. ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"` + + // Available CNIs and network options for existing and new node pools of the cluster + ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"` + + // Type of cluster + Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"` } func (m ClusterSummary) String() string { @@ -84,15 +91,99 @@ func (m ClusterSummary) String() string { func (m ClusterSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingClusterLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingClusterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClusterLifecycleStateEnumStringValues(), ","))) } + if _, ok := GetMappingClusterTypeEnum(string(m.Type)); !ok && m.Type != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } return false, nil } +// UnmarshalJSON unmarshals from json +func (m *ClusterSummary) UnmarshalJSON(data []byte) (e error) { + model := struct { + Id *string `json:"id"` + Name *string `json:"name"` + CompartmentId *string `json:"compartmentId"` + EndpointConfig *ClusterEndpointConfig `json:"endpointConfig"` + VcnId *string `json:"vcnId"` + KubernetesVersion *string `json:"kubernetesVersion"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + SystemTags map[string]map[string]interface{} `json:"systemTags"` + Options *ClusterCreateOptions `json:"options"` + Metadata *ClusterMetadata `json:"metadata"` + LifecycleState ClusterLifecycleStateEnum `json:"lifecycleState"` + LifecycleDetails *string `json:"lifecycleDetails"` + Endpoints *ClusterEndpoints `json:"endpoints"` + AvailableKubernetesUpgrades []string `json:"availableKubernetesUpgrades"` + ImagePolicyConfig *ImagePolicyConfig `json:"imagePolicyConfig"` + ClusterPodNetworkOptions []clusterpodnetworkoptiondetails `json:"clusterPodNetworkOptions"` + Type ClusterTypeEnum `json:"type"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.Id = model.Id + + m.Name = model.Name + + m.CompartmentId = model.CompartmentId + + m.EndpointConfig = model.EndpointConfig + + m.VcnId = model.VcnId + + m.KubernetesVersion = model.KubernetesVersion + + m.FreeformTags = model.FreeformTags + + m.DefinedTags = model.DefinedTags + + m.SystemTags = model.SystemTags + + m.Options = model.Options + + m.Metadata = model.Metadata + + m.LifecycleState = model.LifecycleState + + m.LifecycleDetails = model.LifecycleDetails + + m.Endpoints = model.Endpoints + + m.AvailableKubernetesUpgrades = make([]string, len(model.AvailableKubernetesUpgrades)) + for i, n := range model.AvailableKubernetesUpgrades { + m.AvailableKubernetesUpgrades[i] = n + } + + m.ImagePolicyConfig = model.ImagePolicyConfig + + m.ClusterPodNetworkOptions = make([]ClusterPodNetworkOptionDetails, len(model.ClusterPodNetworkOptions)) + for i, n := range model.ClusterPodNetworkOptions { + nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) + if e != nil { + return e + } + if nn != nil { + m.ClusterPodNetworkOptions[i] = nn.(ClusterPodNetworkOptionDetails) + } else { + m.ClusterPodNetworkOptions[i] = nil + } + } + + m.Type = model.Type + + return +} + // ClusterSummaryLifecycleStateEnum is an alias to type: ClusterLifecycleStateEnum // Consider using ClusterLifecycleStateEnum instead // Deprecated diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_type.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_type.go new file mode 100644 index 000000000000..58c6018d7cff --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_type.go @@ -0,0 +1,58 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "strings" +) + +// ClusterTypeEnum Enum with underlying type: string +type ClusterTypeEnum string + +// Set of constants representing the allowable values for ClusterTypeEnum +const ( + ClusterTypeBasicCluster ClusterTypeEnum = "BASIC_CLUSTER" + ClusterTypeEnhancedCluster ClusterTypeEnum = "ENHANCED_CLUSTER" +) + +var mappingClusterTypeEnum = map[string]ClusterTypeEnum{ + "BASIC_CLUSTER": ClusterTypeBasicCluster, + "ENHANCED_CLUSTER": ClusterTypeEnhancedCluster, +} + +var mappingClusterTypeEnumLowerCase = map[string]ClusterTypeEnum{ + "basic_cluster": ClusterTypeBasicCluster, + "enhanced_cluster": ClusterTypeEnhancedCluster, +} + +// GetClusterTypeEnumValues Enumerates the set of values for ClusterTypeEnum +func GetClusterTypeEnumValues() []ClusterTypeEnum { + values := make([]ClusterTypeEnum, 0) + for _, v := range mappingClusterTypeEnum { + values = append(values, v) + } + return values +} + +// GetClusterTypeEnumStringValues Enumerates the set of values in String for ClusterTypeEnum +func GetClusterTypeEnumStringValues() []string { + return []string{ + "BASIC_CLUSTER", + "ENHANCED_CLUSTER", + } +} + +// GetMappingClusterTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingClusterTypeEnum(val string) (ClusterTypeEnum, bool) { + enum, ok := mappingClusterTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go new file mode 100644 index 000000000000..992a62c0be42 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go @@ -0,0 +1,2198 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "context" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// ContainerEngineClient a client for ContainerEngine +type ContainerEngineClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewContainerEngineClientWithConfigurationProvider Creates a new default ContainerEngine client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewContainerEngineClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ContainerEngineClient, err error) { + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newContainerEngineClientFromBaseClient(baseClient, provider) +} + +// NewContainerEngineClientWithOboToken Creates a new default ContainerEngine client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewContainerEngineClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ContainerEngineClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newContainerEngineClientFromBaseClient(baseClient, configProvider) +} + +func newContainerEngineClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client ContainerEngineClient, err error) { + // ContainerEngine service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("ContainerEngine")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = ContainerEngineClient{BaseClient: baseClient} + client.BasePath = "20180222" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *ContainerEngineClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("containerengine", "https://containerengine.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *ContainerEngineClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *ContainerEngineClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// ClusterMigrateToNativeVcn Initiates cluster migration to use native VCN. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcn API. +// A default retry strategy applies to this operation ClusterMigrateToNativeVcn() +func (client ContainerEngineClient) ClusterMigrateToNativeVcn(ctx context.Context, request ClusterMigrateToNativeVcnRequest) (response ClusterMigrateToNativeVcnResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.clusterMigrateToNativeVcn, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ClusterMigrateToNativeVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ClusterMigrateToNativeVcnResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ClusterMigrateToNativeVcnResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ClusterMigrateToNativeVcnResponse") + } + return +} + +// clusterMigrateToNativeVcn implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) clusterMigrateToNativeVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/actions/migrateToNativeVcn", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ClusterMigrateToNativeVcnResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ClusterMigrateToNativeVcn" + err = common.PostProcessServiceError(err, "ContainerEngine", "ClusterMigrateToNativeVcn", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateCluster Create a new cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateCluster API. +// A default retry strategy applies to this operation CreateCluster() +func (client ContainerEngineClient) CreateCluster(ctx context.Context, request CreateClusterRequest) (response CreateClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + 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.createCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateClusterResponse") + } + return +} + +// createCluster implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) createCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateCluster" + err = common.PostProcessServiceError(err, "ContainerEngine", "CreateCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateKubeconfig Create the Kubeconfig YAML for a cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfig API. +// A default retry strategy applies to this operation CreateKubeconfig() +func (client ContainerEngineClient) CreateKubeconfig(ctx context.Context, request CreateKubeconfigRequest) (response CreateKubeconfigResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.createKubeconfig, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateKubeconfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateKubeconfigResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateKubeconfigResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateKubeconfigResponse") + } + return +} + +// createKubeconfig implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) createKubeconfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/kubeconfig/content", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateKubeconfigResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/CreateKubeconfig" + err = common.PostProcessServiceError(err, "ContainerEngine", "CreateKubeconfig", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateNodePool Create a new node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePool API. +// A default retry strategy applies to this operation CreateNodePool() +func (client ContainerEngineClient) CreateNodePool(ctx context.Context, request CreateNodePoolRequest) (response CreateNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + 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.createNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateNodePoolResponse") + } + return +} + +// createNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) createNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/nodePools", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/CreateNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "CreateNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateVirtualNodePool Create a new virtual node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateVirtualNodePool.go.html to see an example of how to use CreateVirtualNodePool API. +// A default retry strategy applies to this operation CreateVirtualNodePool() +func (client ContainerEngineClient) CreateVirtualNodePool(ctx context.Context, request CreateVirtualNodePoolRequest) (response CreateVirtualNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + 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.createVirtualNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateVirtualNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateVirtualNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateVirtualNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateVirtualNodePoolResponse") + } + return +} + +// createVirtualNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) createVirtualNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualNodePools", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateVirtualNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/CreateVirtualNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "CreateVirtualNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteCluster Delete a cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteCluster API. +// A default retry strategy applies to this operation DeleteCluster() +func (client ContainerEngineClient) DeleteCluster(ctx context.Context, request DeleteClusterRequest) (response DeleteClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteClusterResponse") + } + return +} + +// deleteCluster implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) deleteCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/clusters/{clusterId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DeleteCluster" + err = common.PostProcessServiceError(err, "ContainerEngine", "DeleteCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteNode Delete node. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNode.go.html to see an example of how to use DeleteNode API. +// A default retry strategy applies to this operation DeleteNode() +func (client ContainerEngineClient) DeleteNode(ctx context.Context, request DeleteNodeRequest) (response DeleteNodeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteNode, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteNodeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteNodeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteNodeResponse") + } + return +} + +// deleteNode implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) deleteNode(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/nodePools/{nodePoolId}/node/{nodeId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteNodeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNode" + err = common.PostProcessServiceError(err, "ContainerEngine", "DeleteNode", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteNodePool Delete a node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePool API. +// A default retry strategy applies to this operation DeleteNodePool() +func (client ContainerEngineClient) DeleteNodePool(ctx context.Context, request DeleteNodePoolRequest) (response DeleteNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteNodePoolResponse") + } + return +} + +// deleteNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) deleteNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/nodePools/{nodePoolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/DeleteNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "DeleteNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteVirtualNodePool Delete a virtual node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteVirtualNodePool.go.html to see an example of how to use DeleteVirtualNodePool API. +// A default retry strategy applies to this operation DeleteVirtualNodePool() +func (client ContainerEngineClient) DeleteVirtualNodePool(ctx context.Context, request DeleteVirtualNodePoolRequest) (response DeleteVirtualNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteVirtualNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteVirtualNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteVirtualNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteVirtualNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteVirtualNodePoolResponse") + } + return +} + +// deleteVirtualNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) deleteVirtualNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/virtualNodePools/{virtualNodePoolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteVirtualNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/DeleteVirtualNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "DeleteVirtualNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteWorkRequest Cancel a work request that has not started. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API. +// A default retry strategy applies to this operation DeleteWorkRequest() +func (client ContainerEngineClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteWorkRequest, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteWorkRequestResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteWorkRequestResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteWorkRequestResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteWorkRequestResponse") + } + return +} + +// deleteWorkRequest implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) deleteWorkRequest(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/workRequests/{workRequestId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteWorkRequestResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/DeleteWorkRequest" + err = common.PostProcessServiceError(err, "ContainerEngine", "DeleteWorkRequest", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DisableAddon Disable addon for a provisioned cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DisableAddon.go.html to see an example of how to use DisableAddon API. +// A default retry strategy applies to this operation DisableAddon() +func (client ContainerEngineClient) DisableAddon(ctx context.Context, request DisableAddonRequest) (response DisableAddonResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.disableAddon, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DisableAddonResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DisableAddonResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DisableAddonResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DisableAddonResponse") + } + return +} + +// disableAddon implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) disableAddon(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/clusters/{clusterId}/addons/{addonName}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DisableAddonResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/DisableAddon" + err = common.PostProcessServiceError(err, "ContainerEngine", "DisableAddon", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetAddon Get the specified addon for a cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetAddon.go.html to see an example of how to use GetAddon API. +// A default retry strategy applies to this operation GetAddon() +func (client ContainerEngineClient) GetAddon(ctx context.Context, request GetAddonRequest) (response GetAddonResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getAddon, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetAddonResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetAddonResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetAddonResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetAddonResponse") + } + return +} + +// getAddon implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getAddon(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters/{clusterId}/addons/{addonName}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetAddonResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetAddon" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetAddon", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetCluster Get the details of a cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetCluster API. +// A default retry strategy applies to this operation GetCluster() +func (client ContainerEngineClient) GetCluster(ctx context.Context, request GetClusterRequest) (response GetClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetClusterResponse") + } + return +} + +// getCluster implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters/{clusterId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetCluster" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetClusterMigrateToNativeVcnStatus Get details on a cluster's migration to native VCN. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatus API. +// A default retry strategy applies to this operation GetClusterMigrateToNativeVcnStatus() +func (client ContainerEngineClient) GetClusterMigrateToNativeVcnStatus(ctx context.Context, request GetClusterMigrateToNativeVcnStatusRequest) (response GetClusterMigrateToNativeVcnStatusResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getClusterMigrateToNativeVcnStatus, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetClusterMigrateToNativeVcnStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetClusterMigrateToNativeVcnStatusResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetClusterMigrateToNativeVcnStatusResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetClusterMigrateToNativeVcnStatusResponse") + } + return +} + +// getClusterMigrateToNativeVcnStatus implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getClusterMigrateToNativeVcnStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters/{clusterId}/migrateToNativeVcnStatus", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetClusterMigrateToNativeVcnStatusResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterMigrateToNativeVcnStatus/GetClusterMigrateToNativeVcnStatus" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetClusterMigrateToNativeVcnStatus", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetClusterOptions Get options available for clusters. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptions API. +// A default retry strategy applies to this operation GetClusterOptions() +func (client ContainerEngineClient) GetClusterOptions(ctx context.Context, request GetClusterOptionsRequest) (response GetClusterOptionsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getClusterOptions, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetClusterOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetClusterOptionsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetClusterOptionsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetClusterOptionsResponse") + } + return +} + +// getClusterOptions implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getClusterOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusterOptions/{clusterOptionId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetClusterOptionsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterOptions/GetClusterOptions" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetClusterOptions", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetNodePool Get the details of a node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePool API. +// A default retry strategy applies to this operation GetNodePool() +func (client ContainerEngineClient) GetNodePool(ctx context.Context, request GetNodePoolRequest) (response GetNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetNodePoolResponse") + } + return +} + +// getNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/nodePools/{nodePoolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/GetNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetNodePoolOptions Get options available for node pools. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptions API. +// A default retry strategy applies to this operation GetNodePoolOptions() +func (client ContainerEngineClient) GetNodePoolOptions(ctx context.Context, request GetNodePoolOptionsRequest) (response GetNodePoolOptionsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getNodePoolOptions, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetNodePoolOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetNodePoolOptionsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetNodePoolOptionsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetNodePoolOptionsResponse") + } + return +} + +// getNodePoolOptions implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getNodePoolOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/nodePoolOptions/{nodePoolOptionId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetNodePoolOptionsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolOptions/GetNodePoolOptions" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetNodePoolOptions", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetVirtualNode Get the details of a virtual node. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNode.go.html to see an example of how to use GetVirtualNode API. +// A default retry strategy applies to this operation GetVirtualNode() +func (client ContainerEngineClient) GetVirtualNode(ctx context.Context, request GetVirtualNodeRequest) (response GetVirtualNodeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getVirtualNode, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetVirtualNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetVirtualNodeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetVirtualNodeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetVirtualNodeResponse") + } + return +} + +// getVirtualNode implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getVirtualNode(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualNodePools/{virtualNodePoolId}/virtualNodes/{virtualNodeId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetVirtualNodeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNode" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetVirtualNode", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetVirtualNodePool Get the details of a virtual node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNodePool.go.html to see an example of how to use GetVirtualNodePool API. +// A default retry strategy applies to this operation GetVirtualNodePool() +func (client ContainerEngineClient) GetVirtualNodePool(ctx context.Context, request GetVirtualNodePoolRequest) (response GetVirtualNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getVirtualNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetVirtualNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetVirtualNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetVirtualNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetVirtualNodePoolResponse") + } + return +} + +// getVirtualNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getVirtualNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualNodePools/{virtualNodePoolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetVirtualNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/GetVirtualNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetVirtualNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetWorkRequest Get the details of a work request. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. +// A default retry strategy applies to this operation GetWorkRequest() +func (client ContainerEngineClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getWorkRequest, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetWorkRequestResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetWorkRequestResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetWorkRequestResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetWorkRequestResponse") + } + return +} + +// getWorkRequest implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getWorkRequest(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetWorkRequestResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequest/GetWorkRequest" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetWorkRequest", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// InstallAddon Install the specified addon for a cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/InstallAddon.go.html to see an example of how to use InstallAddon API. +// A default retry strategy applies to this operation InstallAddon() +func (client ContainerEngineClient) InstallAddon(ctx context.Context, request InstallAddonRequest) (response InstallAddonResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + 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.installAddon, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = InstallAddonResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = InstallAddonResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(InstallAddonResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into InstallAddonResponse") + } + return +} + +// installAddon implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) installAddon(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/addons", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response InstallAddonResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/InstallAddon" + err = common.PostProcessServiceError(err, "ContainerEngine", "InstallAddon", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListAddonOptions Get list of supported addons for a specific kubernetes version. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddonOptions.go.html to see an example of how to use ListAddonOptions API. +// A default retry strategy applies to this operation ListAddonOptions() +func (client ContainerEngineClient) ListAddonOptions(ctx context.Context, request ListAddonOptionsRequest) (response ListAddonOptionsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listAddonOptions, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListAddonOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListAddonOptionsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListAddonOptionsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListAddonOptionsResponse") + } + return +} + +// listAddonOptions implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listAddonOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/addonOptions", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListAddonOptionsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/AddonOptionSummary/ListAddonOptions" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListAddonOptions", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListAddons List addon for a provisioned cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddons.go.html to see an example of how to use ListAddons API. +// A default retry strategy applies to this operation ListAddons() +func (client ContainerEngineClient) ListAddons(ctx context.Context, request ListAddonsRequest) (response ListAddonsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listAddons, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListAddonsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListAddonsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListAddonsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListAddonsResponse") + } + return +} + +// listAddons implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listAddons(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters/{clusterId}/addons", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListAddonsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ListAddons" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListAddons", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListClusters List all the cluster objects in a compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClusters API. +// A default retry strategy applies to this operation ListClusters() +func (client ContainerEngineClient) ListClusters(ctx context.Context, request ListClustersRequest) (response ListClustersResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listClusters, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListClustersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListClustersResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListClustersResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListClustersResponse") + } + return +} + +// listClusters implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listClusters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListClustersResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/ClusterSummary/ListClusters" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListClusters", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListNodePools List all the node pools in a compartment, and optionally filter by cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePools API. +// A default retry strategy applies to this operation ListNodePools() +func (client ContainerEngineClient) ListNodePools(ctx context.Context, request ListNodePoolsRequest) (response ListNodePoolsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listNodePools, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListNodePoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListNodePoolsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListNodePoolsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListNodePoolsResponse") + } + return +} + +// listNodePools implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listNodePools(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/nodePools", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListNodePoolsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePoolSummary/ListNodePools" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListNodePools", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListPodShapes List all the Pod Shapes in a compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListPodShapes.go.html to see an example of how to use ListPodShapes API. +// A default retry strategy applies to this operation ListPodShapes() +func (client ContainerEngineClient) ListPodShapes(ctx context.Context, request ListPodShapesRequest) (response ListPodShapesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listPodShapes, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListPodShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListPodShapesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListPodShapesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListPodShapesResponse") + } + return +} + +// listPodShapes implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listPodShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/podShapes", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListPodShapesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/PodShapeSummary/ListPodShapes" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListPodShapes", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListVirtualNodePools List all the virtual node pools in a compartment, and optionally filter by cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodePools.go.html to see an example of how to use ListVirtualNodePools API. +// A default retry strategy applies to this operation ListVirtualNodePools() +func (client ContainerEngineClient) ListVirtualNodePools(ctx context.Context, request ListVirtualNodePoolsRequest) (response ListVirtualNodePoolsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listVirtualNodePools, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListVirtualNodePoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListVirtualNodePoolsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListVirtualNodePoolsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListVirtualNodePoolsResponse") + } + return +} + +// listVirtualNodePools implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listVirtualNodePools(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualNodePools", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListVirtualNodePoolsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePoolSummary/ListVirtualNodePools" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListVirtualNodePools", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListVirtualNodes List virtual nodes in a virtual node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodes.go.html to see an example of how to use ListVirtualNodes API. +// A default retry strategy applies to this operation ListVirtualNodes() +func (client ContainerEngineClient) ListVirtualNodes(ctx context.Context, request ListVirtualNodesRequest) (response ListVirtualNodesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listVirtualNodes, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListVirtualNodesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListVirtualNodesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListVirtualNodesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListVirtualNodesResponse") + } + return +} + +// listVirtualNodes implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listVirtualNodes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualNodePools/{virtualNodePoolId}/virtualNodes", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListVirtualNodesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/ListVirtualNodes" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListVirtualNodes", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListWorkRequestErrors Get the errors of a work request. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. +// A default retry strategy applies to this operation ListWorkRequestErrors() +func (client ContainerEngineClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listWorkRequestErrors, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListWorkRequestErrorsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListWorkRequestErrorsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListWorkRequestErrorsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestErrorsResponse") + } + return +} + +// listWorkRequestErrors implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listWorkRequestErrors(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}/errors", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListWorkRequestErrorsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestError/ListWorkRequestErrors" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListWorkRequestErrors", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListWorkRequestLogs Get the logs of a work request. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. +// A default retry strategy applies to this operation ListWorkRequestLogs() +func (client ContainerEngineClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listWorkRequestLogs, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListWorkRequestLogsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListWorkRequestLogsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListWorkRequestLogsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestLogsResponse") + } + return +} + +// listWorkRequestLogs implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listWorkRequestLogs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}/logs", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListWorkRequestLogsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestLogEntry/ListWorkRequestLogs" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListWorkRequestLogs", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListWorkRequests List all work requests in a compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. +// A default retry strategy applies to this operation ListWorkRequests() +func (client ContainerEngineClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listWorkRequests, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListWorkRequestsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListWorkRequestsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListWorkRequestsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestsResponse") + } + return +} + +// listWorkRequests implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) listWorkRequests(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListWorkRequestsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/WorkRequestSummary/ListWorkRequests" + err = common.PostProcessServiceError(err, "ContainerEngine", "ListWorkRequests", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateAddon Update addon details for a cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateAddon.go.html to see an example of how to use UpdateAddon API. +// A default retry strategy applies to this operation UpdateAddon() +func (client ContainerEngineClient) UpdateAddon(ctx context.Context, request UpdateAddonRequest) (response UpdateAddonResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateAddon, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateAddonResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateAddonResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateAddonResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateAddonResponse") + } + return +} + +// updateAddon implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) updateAddon(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/clusters/{clusterId}/addons/{addonName}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateAddonResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateAddon" + err = common.PostProcessServiceError(err, "ContainerEngine", "UpdateAddon", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateCluster Update the details of a cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateCluster API. +// A default retry strategy applies to this operation UpdateCluster() +func (client ContainerEngineClient) UpdateCluster(ctx context.Context, request UpdateClusterRequest) (response UpdateClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateClusterResponse") + } + return +} + +// updateCluster implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) updateCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/clusters/{clusterId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateCluster" + err = common.PostProcessServiceError(err, "ContainerEngine", "UpdateCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateClusterEndpointConfig Update the details of the cluster endpoint configuration. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfig API. +// A default retry strategy applies to this operation UpdateClusterEndpointConfig() +func (client ContainerEngineClient) UpdateClusterEndpointConfig(ctx context.Context, request UpdateClusterEndpointConfigRequest) (response UpdateClusterEndpointConfigResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateClusterEndpointConfig, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateClusterEndpointConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateClusterEndpointConfigResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateClusterEndpointConfigResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateClusterEndpointConfigResponse") + } + return +} + +// updateClusterEndpointConfig implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) updateClusterEndpointConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/actions/updateEndpointConfig", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateClusterEndpointConfigResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/UpdateClusterEndpointConfig" + err = common.PostProcessServiceError(err, "ContainerEngine", "UpdateClusterEndpointConfig", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateNodePool Update the details of a node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePool API. +// A default retry strategy applies to this operation UpdateNodePool() +func (client ContainerEngineClient) UpdateNodePool(ctx context.Context, request UpdateNodePoolRequest) (response UpdateNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateNodePoolResponse") + } + return +} + +// updateNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) updateNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/nodePools/{nodePoolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/NodePool/UpdateNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "UpdateNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateVirtualNodePool Update the details of a virtual node pool. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateVirtualNodePool.go.html to see an example of how to use UpdateVirtualNodePool API. +// A default retry strategy applies to this operation UpdateVirtualNodePool() +func (client ContainerEngineClient) UpdateVirtualNodePool(ctx context.Context, request UpdateVirtualNodePoolRequest) (response UpdateVirtualNodePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateVirtualNodePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateVirtualNodePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateVirtualNodePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateVirtualNodePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateVirtualNodePoolResponse") + } + return +} + +// updateVirtualNodePool implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) updateVirtualNodePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/virtualNodePools/{virtualNodePoolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateVirtualNodePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/VirtualNodePool/UpdateVirtualNodePool" + err = common.PostProcessServiceError(err, "ContainerEngine", "UpdateVirtualNodePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go similarity index 55% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go index c817db21c368..7506416bcddd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -12,8 +12,9 @@ package containerengine import ( + "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -56,6 +57,12 @@ type CreateClusterDetails struct { // one or more kms keys, the policy will ensure all images deployed has been signed with the key(s) // attached to the policy. ImagePolicyConfig *CreateImagePolicyConfigDetails `mandatory:"false" json:"imagePolicyConfig"` + + // Available CNIs and network options for existing and new node pools of the cluster + ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"` + + // Type of cluster + Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"` } func (m CreateClusterDetails) String() string { @@ -68,8 +75,71 @@ func (m CreateClusterDetails) String() string { func (m CreateClusterDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingClusterTypeEnum(string(m.Type)); !ok && m.Type != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } return false, nil } + +// UnmarshalJSON unmarshals from json +func (m *CreateClusterDetails) UnmarshalJSON(data []byte) (e error) { + model := struct { + EndpointConfig *CreateClusterEndpointConfigDetails `json:"endpointConfig"` + KmsKeyId *string `json:"kmsKeyId"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + Options *ClusterCreateOptions `json:"options"` + ImagePolicyConfig *CreateImagePolicyConfigDetails `json:"imagePolicyConfig"` + ClusterPodNetworkOptions []clusterpodnetworkoptiondetails `json:"clusterPodNetworkOptions"` + Type ClusterTypeEnum `json:"type"` + Name *string `json:"name"` + CompartmentId *string `json:"compartmentId"` + VcnId *string `json:"vcnId"` + KubernetesVersion *string `json:"kubernetesVersion"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.EndpointConfig = model.EndpointConfig + + m.KmsKeyId = model.KmsKeyId + + m.FreeformTags = model.FreeformTags + + m.DefinedTags = model.DefinedTags + + m.Options = model.Options + + m.ImagePolicyConfig = model.ImagePolicyConfig + + m.ClusterPodNetworkOptions = make([]ClusterPodNetworkOptionDetails, len(model.ClusterPodNetworkOptions)) + for i, n := range model.ClusterPodNetworkOptions { + nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) + if e != nil { + return e + } + if nn != nil { + m.ClusterPodNetworkOptions[i] = nn.(ClusterPodNetworkOptionDetails) + } else { + m.ClusterPodNetworkOptions[i] = nil + } + } + + m.Type = model.Type + + m.Name = model.Name + + m.CompartmentId = model.CompartmentId + + m.VcnId = model.VcnId + + m.KubernetesVersion = model.KubernetesVersion + + return +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_endpoint_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_endpoint_config_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_endpoint_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_endpoint_config_details.go index 104d73607cd6..b09402d84a40 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_endpoint_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_endpoint_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_kubeconfig_content_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_kubeconfig_content_details.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_kubeconfig_content_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_kubeconfig_content_details.go index 7927534fd376..47da2383b685 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_kubeconfig_content_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_kubeconfig_content_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -40,7 +40,7 @@ func (m CreateClusterKubeconfigContentDetails) String() string { func (m CreateClusterKubeconfigContentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateClusterKubeconfigContentDetailsEndpointEnum[string(m.Endpoint)]; !ok && m.Endpoint != "" { + if _, ok := GetMappingCreateClusterKubeconfigContentDetailsEndpointEnum(string(m.Endpoint)); !ok && m.Endpoint != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Endpoint: %s. Supported values are: %s.", m.Endpoint, strings.Join(GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -57,12 +57,21 @@ const ( CreateClusterKubeconfigContentDetailsEndpointLegacyKubernetes CreateClusterKubeconfigContentDetailsEndpointEnum = "LEGACY_KUBERNETES" CreateClusterKubeconfigContentDetailsEndpointPublicEndpoint CreateClusterKubeconfigContentDetailsEndpointEnum = "PUBLIC_ENDPOINT" CreateClusterKubeconfigContentDetailsEndpointPrivateEndpoint CreateClusterKubeconfigContentDetailsEndpointEnum = "PRIVATE_ENDPOINT" + CreateClusterKubeconfigContentDetailsEndpointVcnHostname CreateClusterKubeconfigContentDetailsEndpointEnum = "VCN_HOSTNAME" ) var mappingCreateClusterKubeconfigContentDetailsEndpointEnum = map[string]CreateClusterKubeconfigContentDetailsEndpointEnum{ "LEGACY_KUBERNETES": CreateClusterKubeconfigContentDetailsEndpointLegacyKubernetes, "PUBLIC_ENDPOINT": CreateClusterKubeconfigContentDetailsEndpointPublicEndpoint, "PRIVATE_ENDPOINT": CreateClusterKubeconfigContentDetailsEndpointPrivateEndpoint, + "VCN_HOSTNAME": CreateClusterKubeconfigContentDetailsEndpointVcnHostname, +} + +var mappingCreateClusterKubeconfigContentDetailsEndpointEnumLowerCase = map[string]CreateClusterKubeconfigContentDetailsEndpointEnum{ + "legacy_kubernetes": CreateClusterKubeconfigContentDetailsEndpointLegacyKubernetes, + "public_endpoint": CreateClusterKubeconfigContentDetailsEndpointPublicEndpoint, + "private_endpoint": CreateClusterKubeconfigContentDetailsEndpointPrivateEndpoint, + "vcn_hostname": CreateClusterKubeconfigContentDetailsEndpointVcnHostname, } // GetCreateClusterKubeconfigContentDetailsEndpointEnumValues Enumerates the set of values for CreateClusterKubeconfigContentDetailsEndpointEnum @@ -80,5 +89,12 @@ func GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues() []string "LEGACY_KUBERNETES", "PUBLIC_ENDPOINT", "PRIVATE_ENDPOINT", + "VCN_HOSTNAME", } } + +// GetMappingCreateClusterKubeconfigContentDetailsEndpointEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateClusterKubeconfigContentDetailsEndpointEnum(val string) (CreateClusterKubeconfigContentDetailsEndpointEnum, bool) { + enum, ok := mappingCreateClusterKubeconfigContentDetailsEndpointEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_request_response.go index b929831f0e33..09ba7b8399c5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateClusterRequest wrapper for the CreateCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateClusterRequest. type CreateClusterRequest struct { // The details of the cluster to create. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_image_policy_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_image_policy_config_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_image_policy_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_image_policy_config_details.go index e0eaf13fbdff..29b89a78d45c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_image_policy_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_image_policy_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_kubeconfig_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_kubeconfig_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_kubeconfig_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_kubeconfig_request_response.go index 9e8c83bf8d05..435ebd611ec0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_kubeconfig_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_kubeconfig_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,12 +7,16 @@ package containerengine import ( "fmt" "io" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateKubeconfigRequest wrapper for the CreateKubeconfig operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfigRequest. type CreateKubeconfigRequest struct { // The OCID of the cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go index 4dc88a3a7463..877e7d238f15 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -30,12 +30,12 @@ type CreateNodePoolDetails struct { // The name of the node pool. Avoid entering confidential information. Name *string `mandatory:"true" json:"name"` - // The version of Kubernetes to install on the nodes in the node pool. - KubernetesVersion *string `mandatory:"true" json:"kubernetesVersion"` - // The name of the node shape of the nodes in the node pool. NodeShape *string `mandatory:"true" json:"nodeShape"` + // The version of Kubernetes to install on the nodes in the node pool. + KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"` + // A list of key/value pairs to add to each underlying OCI instance in the node pool on launch. NodeMetadata map[string]string `mandatory:"false" json:"nodeMetadata"` @@ -78,6 +78,8 @@ type CreateNodePoolDetails struct { // 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"` + + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"` } func (m CreateNodePoolDetails) String() string { @@ -99,22 +101,23 @@ func (m CreateNodePoolDetails) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *CreateNodePoolDetails) UnmarshalJSON(data []byte) (e error) { model := struct { - NodeMetadata map[string]string `json:"nodeMetadata"` - NodeImageName *string `json:"nodeImageName"` - NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` - NodeShapeConfig *CreateNodeShapeConfigDetails `json:"nodeShapeConfig"` - InitialNodeLabels []KeyValue `json:"initialNodeLabels"` - SshPublicKey *string `json:"sshPublicKey"` - QuantityPerSubnet *int `json:"quantityPerSubnet"` - SubnetIds []string `json:"subnetIds"` - NodeConfigDetails *CreateNodePoolNodeConfigDetails `json:"nodeConfigDetails"` - FreeformTags map[string]string `json:"freeformTags"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - CompartmentId *string `json:"compartmentId"` - ClusterId *string `json:"clusterId"` - Name *string `json:"name"` - KubernetesVersion *string `json:"kubernetesVersion"` - NodeShape *string `json:"nodeShape"` + KubernetesVersion *string `json:"kubernetesVersion"` + NodeMetadata map[string]string `json:"nodeMetadata"` + NodeImageName *string `json:"nodeImageName"` + NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` + NodeShapeConfig *CreateNodeShapeConfigDetails `json:"nodeShapeConfig"` + InitialNodeLabels []KeyValue `json:"initialNodeLabels"` + SshPublicKey *string `json:"sshPublicKey"` + QuantityPerSubnet *int `json:"quantityPerSubnet"` + SubnetIds []string `json:"subnetIds"` + NodeConfigDetails *CreateNodePoolNodeConfigDetails `json:"nodeConfigDetails"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `json:"nodeEvictionNodePoolSettings"` + CompartmentId *string `json:"compartmentId"` + ClusterId *string `json:"clusterId"` + Name *string `json:"name"` + NodeShape *string `json:"nodeShape"` }{} e = json.Unmarshal(data, &model) @@ -122,6 +125,8 @@ func (m *CreateNodePoolDetails) UnmarshalJSON(data []byte) (e error) { return } var nn interface{} + m.KubernetesVersion = model.KubernetesVersion + m.NodeMetadata = model.NodeMetadata m.NodeImageName = model.NodeImageName @@ -158,14 +163,14 @@ func (m *CreateNodePoolDetails) UnmarshalJSON(data []byte) (e error) { m.DefinedTags = model.DefinedTags + m.NodeEvictionNodePoolSettings = model.NodeEvictionNodePoolSettings + m.CompartmentId = model.CompartmentId m.ClusterId = model.ClusterId m.Name = model.Name - m.KubernetesVersion = model.KubernetesVersion - m.NodeShape = model.NodeShape return diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_node_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_node_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go index 6f050182dc81..f11d64882786 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_node_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -12,8 +12,9 @@ package containerengine import ( + "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -48,6 +49,9 @@ type CreateNodePoolNodeConfigDetails struct { // 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"` + + // The CNI related configuration of pods in the node pool. + NodePoolPodNetworkOptionDetails NodePoolPodNetworkOptionDetails `mandatory:"false" json:"nodePoolPodNetworkOptionDetails"` } func (m CreateNodePoolNodeConfigDetails) String() string { @@ -65,3 +69,54 @@ func (m CreateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error) { } return false, nil } + +// UnmarshalJSON unmarshals from json +func (m *CreateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) { + model := struct { + NsgIds []string `json:"nsgIds"` + KmsKeyId *string `json:"kmsKeyId"` + IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + NodePoolPodNetworkOptionDetails nodepoolpodnetworkoptiondetails `json:"nodePoolPodNetworkOptionDetails"` + Size *int `json:"size"` + PlacementConfigs []NodePoolPlacementConfigDetails `json:"placementConfigs"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.NsgIds = make([]string, len(model.NsgIds)) + for i, n := range model.NsgIds { + m.NsgIds[i] = n + } + + m.KmsKeyId = model.KmsKeyId + + m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled + + m.FreeformTags = model.FreeformTags + + m.DefinedTags = model.DefinedTags + + nn, e = model.NodePoolPodNetworkOptionDetails.UnmarshalPolymorphicJSON(model.NodePoolPodNetworkOptionDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.NodePoolPodNetworkOptionDetails = nn.(NodePoolPodNetworkOptionDetails) + } else { + m.NodePoolPodNetworkOptionDetails = nil + } + + m.Size = model.Size + + m.PlacementConfigs = make([]NodePoolPlacementConfigDetails, len(model.PlacementConfigs)) + for i, n := range model.PlacementConfigs { + m.PlacementConfigs[i] = n + } + + return +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_request_response.go index 20821ffde6a6..c8a1e67ed45f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateNodePoolRequest wrapper for the CreateNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePoolRequest. type CreateNodePoolRequest struct { // The details of the node pool to create. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_shape_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_shape_config_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_shape_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_shape_config_details.go index 773602b951d5..e4964e77c4c6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/create_node_shape_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_details.go new file mode 100644 index 000000000000..35c0fdd95ad6 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_details.go @@ -0,0 +1,77 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateVirtualNodePoolDetails The properties that define a request to create a virtual node pool. +type CreateVirtualNodePoolDetails struct { + + // Compartment of the virtual node pool. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster. + ClusterId *string `mandatory:"true" json:"clusterId"` + + // Display name of the virtual node pool. This is a non-unique value. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations + PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"` + + // Initial labels that will be added to the Kubernetes Virtual Node object when it registers. + InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"` + + // A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. + Taints []Taint `mandatory:"false" json:"taints"` + + // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. + Size *int `mandatory:"false" json:"size"` + + // List of network security group id's applied to the Virtual Node VNIC. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The pod configuration for pods run on virtual nodes of this virtual node pool. + PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` + + // 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"` + + // 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"` + + VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"` +} + +func (m CreateVirtualNodePoolDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateVirtualNodePoolDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_c3_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_request_response.go similarity index 58% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_c3_drg_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_request_response.go index 714a4ff307fa..49088eb53b44 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_c3_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_request_response.go @@ -1,31 +1,32 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// CreateC3DrgAttachmentRequest wrapper for the CreateC3DrgAttachment operation -type CreateC3DrgAttachmentRequest struct { +// CreateVirtualNodePoolRequest wrapper for the CreateVirtualNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateVirtualNodePool.go.html to see an example of how to use CreateVirtualNodePoolRequest. +type CreateVirtualNodePoolRequest struct { - // Details for creating a `DrgAttachment`. - CreateDrgAttachmentDetails `contributesTo:"body"` + // The details of the virtual node pool to create. + CreateVirtualNodePoolDetails `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). + // A token you supply to uniquely identify the request and provide idempotency if + // the request is retried. Idempotency tokens expire after 24 hours. 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. + // 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 @@ -33,12 +34,12 @@ type CreateC3DrgAttachmentRequest struct { RequestMetadata common.RequestMetadata } -func (request CreateC3DrgAttachmentRequest) String() string { +func (request CreateVirtualNodePoolRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request CreateC3DrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request CreateVirtualNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -48,21 +49,21 @@ func (request CreateC3DrgAttachmentRequest) HTTPRequest(method, path string, bin } // BinaryRequestBody implements the OCIRequest interface -func (request CreateC3DrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request CreateVirtualNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateC3DrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { +func (request CreateVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request CreateC3DrgAttachmentRequest) ValidateEnumValue() (bool, error) { +func (request CreateVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -70,28 +71,24 @@ func (request CreateC3DrgAttachmentRequest) ValidateEnumValue() (bool, error) { return false, nil } -// CreateC3DrgAttachmentResponse wrapper for the CreateC3DrgAttachment operation -type CreateC3DrgAttachmentResponse struct { +// CreateVirtualNodePoolResponse wrapper for the CreateVirtualNodePool operation +type CreateVirtualNodePoolResponse struct { // The underlying http response RawResponse *http.Response - // The DrgAttachment instance - DrgAttachment `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. + // 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 CreateC3DrgAttachmentResponse) String() string { +func (response CreateVirtualNodePoolResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response CreateC3DrgAttachmentResponse) HTTPResponse() *http.Response { +func (response CreateVirtualNodePoolResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_cluster_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_cluster_request_response.go index 3b1b5d6074d7..1bf241441329 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteClusterRequest wrapper for the DeleteCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteClusterRequest. type DeleteClusterRequest struct { // The OCID of the cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_pool_request_response.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_node_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_pool_request_response.go index baf5f7c8e1cf..616e936b3913 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteNodePoolRequest wrapper for the DeleteNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePoolRequest. type DeleteNodePoolRequest struct { // The OCID of the node pool. @@ -26,6 +30,13 @@ type DeleteNodePoolRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // Duration after which OKE will give up eviction of the pods on the node. + // PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M + OverrideEvictionGraceDuration *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDuration"` + + // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period + IsForceDeletionAfterOverrideGraceDuration *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDuration"` + // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_node_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_request_response.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_node_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_request_response.go index 6bfc67835ea6..1bfa7f843110 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_node_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteNodeRequest wrapper for the DeleteNode operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNode.go.html to see an example of how to use DeleteNodeRequest. type DeleteNodeRequest struct { // The OCID of the node pool. @@ -32,6 +36,13 @@ type DeleteNodeRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // Duration after which OKE will give up eviction of the pods on the node. + // PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M + OverrideEvictionGraceDuration *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDuration"` + + // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period + IsForceDeletionAfterOverrideGraceDuration *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDuration"` + // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_endpoint_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_virtual_node_pool_request_response.go similarity index 56% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_endpoint_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_virtual_node_pool_request_response.go index 474558ed2fdf..155dfa4de8a0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_endpoint_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_virtual_node_pool_request_response.go @@ -1,49 +1,53 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// UpdatePrivateEndpointRequest wrapper for the UpdatePrivateEndpoint operation -type UpdatePrivateEndpointRequest struct { +// DeleteVirtualNodePoolRequest wrapper for the DeleteVirtualNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteVirtualNodePool.go.html to see an example of how to use DeleteVirtualNodePoolRequest. +type DeleteVirtualNodePoolRequest struct { - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // Details for updating a private endpoint. - UpdatePrivateEndpointDetails `contributesTo:"body"` + // The OCID of the virtual node pool. + VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"` // 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"` - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. + // 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"` - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` + // Duration after which Sk8s will give up eviction of the pods on the node. + // PT0M will indicate you want to delete the virtual node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M + OverrideEvictionGraceDurationVnp *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDurationVnp"` + + // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period + IsForceDeletionAfterOverrideGraceDurationVnp *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDurationVnp"` // 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 UpdatePrivateEndpointRequest) String() string { +func (request DeleteVirtualNodePoolRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request UpdatePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request DeleteVirtualNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -53,21 +57,21 @@ func (request UpdatePrivateEndpointRequest) HTTPRequest(method, path string, bin } // BinaryRequestBody implements the OCIRequest interface -func (request UpdatePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request DeleteVirtualNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdatePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy { +func (request DeleteVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request UpdatePrivateEndpointRequest) ValidateEnumValue() (bool, error) { +func (request DeleteVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -75,32 +79,24 @@ func (request UpdatePrivateEndpointRequest) ValidateEnumValue() (bool, error) { return false, nil } -// UpdatePrivateEndpointResponse wrapper for the UpdatePrivateEndpoint operation -type UpdatePrivateEndpointResponse struct { +// DeleteVirtualNodePoolResponse wrapper for the DeleteVirtualNodePool operation +type DeleteVirtualNodePoolResponse struct { // The underlying http response RawResponse *http.Response - // The PrivateEndpoint instance - PrivateEndpoint `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. + // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 UpdatePrivateEndpointResponse) String() string { +func (response DeleteVirtualNodePoolResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response UpdatePrivateEndpointResponse) HTTPResponse() *http.Response { +func (response DeleteVirtualNodePoolResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_work_request_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_work_request_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_work_request_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_work_request_request_response.go index 8fe7a3492af4..bb9ca9436f1c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/delete_work_request_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/delete_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest. type DeleteWorkRequestRequest struct { // The OCID of the work request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/disable_addon_request_response.go similarity index 59% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/disable_addon_request_response.go index 74ec1c4bbdfc..6b276296233d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/disable_addon_request_response.go @@ -1,32 +1,39 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// UpdateVcnDrgRequest wrapper for the UpdateVcnDrg operation -type UpdateVcnDrgRequest struct { +// DisableAddonRequest wrapper for the DisableAddon operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DisableAddon.go.html to see an example of how to use DisableAddonRequest. +type DisableAddonRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` - // Details object for updating a DRG. - UpdateDrgDetails `contributesTo:"body"` + // The name of the addon. + AddonName *string `mandatory:"true" contributesTo:"path" name:"addonName"` + + // Whether existing addon resources should be deleted or not. True would remove the underlying resources completely. + IsRemoveExistingAddOn *bool `mandatory:"true" contributesTo:"query" name:"isRemoveExistingAddOn"` // 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"` - // Unique Oracle-assigned identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. + // 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 @@ -34,12 +41,12 @@ type UpdateVcnDrgRequest struct { RequestMetadata common.RequestMetadata } -func (request UpdateVcnDrgRequest) String() string { +func (request DisableAddonRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request UpdateVcnDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request DisableAddonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -49,21 +56,21 @@ func (request UpdateVcnDrgRequest) HTTPRequest(method, path string, binaryReques } // BinaryRequestBody implements the OCIRequest interface -func (request UpdateVcnDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request DisableAddonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateVcnDrgRequest) RetryPolicy() *common.RetryPolicy { +func (request DisableAddonRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request UpdateVcnDrgRequest) ValidateEnumValue() (bool, error) { +func (request DisableAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -71,28 +78,24 @@ func (request UpdateVcnDrgRequest) ValidateEnumValue() (bool, error) { return false, nil } -// UpdateVcnDrgResponse wrapper for the UpdateVcnDrg operation -type UpdateVcnDrgResponse struct { +// DisableAddonResponse wrapper for the DisableAddon operation +type DisableAddonResponse struct { // The underlying http response RawResponse *http.Response - // The Drg instance - Drg `presentIn:"body"` + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` - // 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. + // 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 UpdateVcnDrgResponse) String() string { +func (response DisableAddonResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response UpdateVcnDrgResponse) HTTPResponse() *http.Response { +func (response DisableAddonResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_cluster_pod_network_option_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_cluster_pod_network_option_details.go new file mode 100644 index 000000000000..e1a6b1992945 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_cluster_pod_network_option_details.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// FlannelOverlayClusterPodNetworkOptionDetails Network options specific to using the flannel (FLANNEL_OVERLAY) CNI +type FlannelOverlayClusterPodNetworkOptionDetails struct { +} + +func (m FlannelOverlayClusterPodNetworkOptionDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m FlannelOverlayClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m FlannelOverlayClusterPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeFlannelOverlayClusterPodNetworkOptionDetails FlannelOverlayClusterPodNetworkOptionDetails + s := struct { + DiscriminatorParam string `json:"cniType"` + MarshalTypeFlannelOverlayClusterPodNetworkOptionDetails + }{ + "FLANNEL_OVERLAY", + (MarshalTypeFlannelOverlayClusterPodNetworkOptionDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_node_pool_pod_network_option_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_node_pool_pod_network_option_details.go new file mode 100644 index 000000000000..e87169232205 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_node_pool_pod_network_option_details.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// FlannelOverlayNodePoolPodNetworkOptionDetails Network options specific to using the flannel (FLANNEL_OVERLAY) CNI +type FlannelOverlayNodePoolPodNetworkOptionDetails struct { +} + +func (m FlannelOverlayNodePoolPodNetworkOptionDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m FlannelOverlayNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m FlannelOverlayNodePoolPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeFlannelOverlayNodePoolPodNetworkOptionDetails FlannelOverlayNodePoolPodNetworkOptionDetails + s := struct { + DiscriminatorParam string `json:"cniType"` + MarshalTypeFlannelOverlayNodePoolPodNetworkOptionDetails + }{ + "FLANNEL_OVERLAY", + (MarshalTypeFlannelOverlayNodePoolPodNetworkOptionDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_c3_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_addon_request_response.go similarity index 62% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_c3_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_addon_request_response.go index cbbff596a188..b3821afc3c27 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_c3_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_addon_request_response.go @@ -1,24 +1,31 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// GetC3DrgRequest wrapper for the GetC3Drg operation -type GetC3DrgRequest struct { +// GetAddonRequest wrapper for the GetAddon operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetAddon.go.html to see an example of how to use GetAddonRequest. +type GetAddonRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` - // Unique Oracle-assigned identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. + // The name of the addon. + AddonName *string `mandatory:"true" contributesTo:"path" name:"addonName"` + + // 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 @@ -26,12 +33,12 @@ type GetC3DrgRequest struct { RequestMetadata common.RequestMetadata } -func (request GetC3DrgRequest) String() string { +func (request GetAddonRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request GetC3DrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request GetAddonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -41,21 +48,21 @@ func (request GetC3DrgRequest) HTTPRequest(method, path string, binaryRequestBod } // BinaryRequestBody implements the OCIRequest interface -func (request GetC3DrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request GetAddonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetC3DrgRequest) RetryPolicy() *common.RetryPolicy { +func (request GetAddonRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request GetC3DrgRequest) ValidateEnumValue() (bool, error) { +func (request GetAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -63,28 +70,28 @@ func (request GetC3DrgRequest) ValidateEnumValue() (bool, error) { return false, nil } -// GetC3DrgResponse wrapper for the GetC3Drg operation -type GetC3DrgResponse struct { +// GetAddonResponse wrapper for the GetAddon operation +type GetAddonResponse struct { // The underlying http response RawResponse *http.Response - // The Drg instance - Drg `presentIn:"body"` + // The Addon instance + Addon `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. + // 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 GetC3DrgResponse) String() string { +func (response GetAddonResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response GetC3DrgResponse) HTTPResponse() *http.Response { +func (response GetAddonResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go index 8c90c76c63d9..5b17bf2939a2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetClusterMigrateToNativeVcnStatusRequest wrapper for the GetClusterMigrateToNativeVcnStatus operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatusRequest. type GetClusterMigrateToNativeVcnStatusRequest struct { // The OCID of the cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_options_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_options_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_options_request_response.go index da39c49eace1..3e05c1f8b8d4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetClusterOptionsRequest wrapper for the GetClusterOptions operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptionsRequest. type GetClusterOptionsRequest struct { // The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_request_response.go index d9f41ca780bd..233ac474ef7a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetClusterRequest wrapper for the GetCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetClusterRequest. type GetClusterRequest struct { // The OCID of the cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_node_pool_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_options_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_node_pool_options_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_options_request_response.go index 1f794d285551..f8c4c6d23de6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_node_pool_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetNodePoolOptionsRequest wrapper for the GetNodePoolOptions operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptionsRequest. type GetNodePoolOptionsRequest struct { // The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_node_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_request_response.go index b42d75fc2ffa..1d1d3ebc3614 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetNodePoolRequest wrapper for the GetNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePoolRequest. type GetNodePoolRequest struct { // The OCID of the node pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_endpoint_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_pool_request_response.go similarity index 63% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_endpoint_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_pool_request_response.go index f1dabf44a006..750a5190a663 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_endpoint_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_pool_request_response.go @@ -1,24 +1,28 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// GetPrivateEndpointRequest wrapper for the GetPrivateEndpoint operation -type GetPrivateEndpointRequest struct { +// GetVirtualNodePoolRequest wrapper for the GetVirtualNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNodePool.go.html to see an example of how to use GetVirtualNodePoolRequest. +type GetVirtualNodePoolRequest struct { - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` + // The OCID of the virtual node pool. + VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"` - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. + // 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 @@ -26,12 +30,12 @@ type GetPrivateEndpointRequest struct { RequestMetadata common.RequestMetadata } -func (request GetPrivateEndpointRequest) String() string { +func (request GetVirtualNodePoolRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request GetPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request GetVirtualNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -41,21 +45,21 @@ func (request GetPrivateEndpointRequest) HTTPRequest(method, path string, binary } // BinaryRequestBody implements the OCIRequest interface -func (request GetPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request GetVirtualNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy { +func (request GetVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request GetPrivateEndpointRequest) ValidateEnumValue() (bool, error) { +func (request GetVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -63,28 +67,28 @@ func (request GetPrivateEndpointRequest) ValidateEnumValue() (bool, error) { return false, nil } -// GetPrivateEndpointResponse wrapper for the GetPrivateEndpoint operation -type GetPrivateEndpointResponse struct { +// GetVirtualNodePoolResponse wrapper for the GetVirtualNodePool operation +type GetVirtualNodePoolResponse struct { // The underlying http response RawResponse *http.Response - // The PrivateEndpoint instance - PrivateEndpoint `presentIn:"body"` + // The VirtualNodePool instance + VirtualNodePool `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. + // 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 GetPrivateEndpointResponse) String() string { +func (response GetVirtualNodePoolResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response GetPrivateEndpointResponse) HTTPResponse() *http.Response { +func (response GetVirtualNodePoolResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_request_response.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_request_response.go index 4ea9321b33f2..b576b67daa92 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internal_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_request_response.go @@ -1,24 +1,31 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// GetInternalDrgRequest wrapper for the GetInternalDrg operation -type GetInternalDrgRequest struct { +// GetVirtualNodeRequest wrapper for the GetVirtualNode operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNode.go.html to see an example of how to use GetVirtualNodeRequest. +type GetVirtualNodeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - InternalDrgId *string `mandatory:"true" contributesTo:"path" name:"internalDrgId"` + // The OCID of the virtual node pool. + VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"` - // Unique Oracle-assigned identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. + // The OCID of the virtual node. + VirtualNodeId *string `mandatory:"true" contributesTo:"path" name:"virtualNodeId"` + + // 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 @@ -26,12 +33,12 @@ type GetInternalDrgRequest struct { RequestMetadata common.RequestMetadata } -func (request GetInternalDrgRequest) String() string { +func (request GetVirtualNodeRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request GetInternalDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request GetVirtualNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -41,21 +48,21 @@ func (request GetInternalDrgRequest) HTTPRequest(method, path string, binaryRequ } // BinaryRequestBody implements the OCIRequest interface -func (request GetInternalDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request GetVirtualNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInternalDrgRequest) RetryPolicy() *common.RetryPolicy { +func (request GetVirtualNodeRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request GetInternalDrgRequest) ValidateEnumValue() (bool, error) { +func (request GetVirtualNodeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -63,28 +70,28 @@ func (request GetInternalDrgRequest) ValidateEnumValue() (bool, error) { return false, nil } -// GetInternalDrgResponse wrapper for the GetInternalDrg operation -type GetInternalDrgResponse struct { +// GetVirtualNodeResponse wrapper for the GetVirtualNode operation +type GetVirtualNodeResponse struct { // The underlying http response RawResponse *http.Response - // The InternalDrg instance - InternalDrg `presentIn:"body"` + // The VirtualNode instance + VirtualNode `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. + // 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 GetInternalDrgResponse) String() string { +func (response GetVirtualNodeResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response GetInternalDrgResponse) HTTPResponse() *http.Response { +func (response GetVirtualNodeResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_work_request_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_work_request_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_work_request_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_work_request_request_response.go index 04247fa4a4f2..2f03baf3829e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/get_work_request_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/get_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetWorkRequestRequest wrapper for the GetWorkRequest operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { // The OCID of the work request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/image_policy_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/image_policy_config.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/image_policy_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/image_policy_config.go index 1e1e910d73bf..3cab6ca70dd2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/image_policy_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/image_policy_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/initial_virtual_node_label.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/initial_virtual_node_label.go new file mode 100644 index 000000000000..d3c7be1fcf30 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/initial_virtual_node_label.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InitialVirtualNodeLabel The properties that define a key value pair. +type InitialVirtualNodeLabel struct { + + // The key of the pair. + Key *string `mandatory:"false" json:"key"` + + // The value of the pair. + Value *string `mandatory:"false" json:"value"` +} + +func (m InitialVirtualNodeLabel) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InitialVirtualNodeLabel) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_details.go new file mode 100644 index 000000000000..ea7785435ffa --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_details.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstallAddonDetails The properties that define to install/enable addon on a cluster +type InstallAddonDetails struct { + + // The name of the addon. + AddonName *string `mandatory:"true" json:"addonName"` + + // The version of addon to be installed. + Version *string `mandatory:"false" json:"version"` + + // Addon configuration details. + Configurations []AddonConfiguration `mandatory:"false" json:"configurations"` +} + +func (m InstallAddonDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstallAddonDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_request_response.go similarity index 59% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_request_response.go index df2cd997490b..577b544352fd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_request_response.go @@ -1,42 +1,53 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// DeleteVcnDrgRequest wrapper for the DeleteVcnDrg operation -type DeleteVcnDrgRequest struct { +// InstallAddonRequest wrapper for the InstallAddon operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/InstallAddon.go.html to see an example of how to use InstallAddonRequest. +type InstallAddonRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // The details of the addon to be installed. + InstallAddonDetails `contributesTo:"body"` + + // A token you supply to uniquely identify the request and provide idempotency if + // the request is retried. Idempotency tokens expire after 24 hours. + 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"` // 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"` - // 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 DeleteVcnDrgRequest) String() string { +func (request InstallAddonRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request DeleteVcnDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request InstallAddonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -46,21 +57,21 @@ func (request DeleteVcnDrgRequest) HTTPRequest(method, path string, binaryReques } // BinaryRequestBody implements the OCIRequest interface -func (request DeleteVcnDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request InstallAddonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteVcnDrgRequest) RetryPolicy() *common.RetryPolicy { +func (request InstallAddonRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request DeleteVcnDrgRequest) ValidateEnumValue() (bool, error) { +func (request InstallAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -68,22 +79,24 @@ func (request DeleteVcnDrgRequest) ValidateEnumValue() (bool, error) { return false, nil } -// DeleteVcnDrgResponse wrapper for the DeleteVcnDrg operation -type DeleteVcnDrgResponse struct { +// InstallAddonResponse wrapper for the InstallAddon operation +type InstallAddonResponse 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. + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // 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 DeleteVcnDrgResponse) String() string { +func (response InstallAddonResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response DeleteVcnDrgResponse) HTTPResponse() *http.Response { +func (response InstallAddonResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/key_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/key_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/key_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/key_details.go index de80b07eb1a1..28f6753e898e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/key_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/key_value.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/key_value.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/key_value.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/key_value.go index 2b33c1441078..00ee78f5c5bc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/key_value.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/key_value.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/kubernetes_network_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_network_config.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/kubernetes_network_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_network_config.go index c4b682b6056f..204744296b9c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/kubernetes_network_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_network_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_versions_filters.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_versions_filters.go new file mode 100644 index 000000000000..cb572f55c4e5 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_versions_filters.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// KubernetesVersionsFilters The range of kubernetes versions an addon can be configured. +type KubernetesVersionsFilters struct { + + // The earliest kubernetes version. + MinimalVersion *string `mandatory:"false" json:"minimalVersion"` + + // The latest kubernetes version. + MaximumVersion *string `mandatory:"false" json:"maximumVersion"` + + // The exact version of kubernetes that are compatible. + ExactKubernetesVersions []string `mandatory:"false" json:"exactKubernetesVersions"` +} + +func (m KubernetesVersionsFilters) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m KubernetesVersionsFilters) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_addon_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_addon_options_request_response.go new file mode 100644 index 000000000000..9e656f169641 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_addon_options_request_response.go @@ -0,0 +1,203 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListAddonOptionsRequest wrapper for the ListAddonOptions operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddonOptions.go.html to see an example of how to use ListAddonOptionsRequest. +type ListAddonOptionsRequest struct { + + // The kubernetes version to fetch the addons. + KubernetesVersion *string `mandatory:"true" contributesTo:"query" name:"kubernetesVersion"` + + // The name of the addon. + AddonName *string `mandatory:"false" contributesTo:"query" name:"addonName"` + + // 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"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. + // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, + // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. + // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The optional order in which to sort the results. + SortOrder ListAddonOptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The optional field to sort the results by. + SortBy ListAddonOptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListAddonOptionsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListAddonOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListAddonOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListAddonOptionsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListAddonOptionsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListAddonOptionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAddonOptionsSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListAddonOptionsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListAddonOptionsSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListAddonOptionsResponse wrapper for the ListAddonOptions operation +type ListAddonOptionsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []AddonOptionSummary instances + Items []AddonOptionSummary `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 ListAddonOptionsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListAddonOptionsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListAddonOptionsSortOrderEnum Enum with underlying type: string +type ListAddonOptionsSortOrderEnum string + +// Set of constants representing the allowable values for ListAddonOptionsSortOrderEnum +const ( + ListAddonOptionsSortOrderAsc ListAddonOptionsSortOrderEnum = "ASC" + ListAddonOptionsSortOrderDesc ListAddonOptionsSortOrderEnum = "DESC" +) + +var mappingListAddonOptionsSortOrderEnum = map[string]ListAddonOptionsSortOrderEnum{ + "ASC": ListAddonOptionsSortOrderAsc, + "DESC": ListAddonOptionsSortOrderDesc, +} + +var mappingListAddonOptionsSortOrderEnumLowerCase = map[string]ListAddonOptionsSortOrderEnum{ + "asc": ListAddonOptionsSortOrderAsc, + "desc": ListAddonOptionsSortOrderDesc, +} + +// GetListAddonOptionsSortOrderEnumValues Enumerates the set of values for ListAddonOptionsSortOrderEnum +func GetListAddonOptionsSortOrderEnumValues() []ListAddonOptionsSortOrderEnum { + values := make([]ListAddonOptionsSortOrderEnum, 0) + for _, v := range mappingListAddonOptionsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListAddonOptionsSortOrderEnumStringValues Enumerates the set of values in String for ListAddonOptionsSortOrderEnum +func GetListAddonOptionsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListAddonOptionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAddonOptionsSortOrderEnum(val string) (ListAddonOptionsSortOrderEnum, bool) { + enum, ok := mappingListAddonOptionsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListAddonOptionsSortByEnum Enum with underlying type: string +type ListAddonOptionsSortByEnum string + +// Set of constants representing the allowable values for ListAddonOptionsSortByEnum +const ( + ListAddonOptionsSortByName ListAddonOptionsSortByEnum = "NAME" + ListAddonOptionsSortByTimeCreated ListAddonOptionsSortByEnum = "TIME_CREATED" +) + +var mappingListAddonOptionsSortByEnum = map[string]ListAddonOptionsSortByEnum{ + "NAME": ListAddonOptionsSortByName, + "TIME_CREATED": ListAddonOptionsSortByTimeCreated, +} + +var mappingListAddonOptionsSortByEnumLowerCase = map[string]ListAddonOptionsSortByEnum{ + "name": ListAddonOptionsSortByName, + "time_created": ListAddonOptionsSortByTimeCreated, +} + +// GetListAddonOptionsSortByEnumValues Enumerates the set of values for ListAddonOptionsSortByEnum +func GetListAddonOptionsSortByEnumValues() []ListAddonOptionsSortByEnum { + values := make([]ListAddonOptionsSortByEnum, 0) + for _, v := range mappingListAddonOptionsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListAddonOptionsSortByEnumStringValues Enumerates the set of values in String for ListAddonOptionsSortByEnum +func GetListAddonOptionsSortByEnumStringValues() []string { + return []string{ + "NAME", + "TIME_CREATED", + } +} + +// GetMappingListAddonOptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAddonOptionsSortByEnum(val string) (ListAddonOptionsSortByEnum, bool) { + enum, ok := mappingListAddonOptionsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_addons_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_addons_request_response.go new file mode 100644 index 000000000000..e41a9468ccd5 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_addons_request_response.go @@ -0,0 +1,200 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListAddonsRequest wrapper for the ListAddons operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddons.go.html to see an example of how to use ListAddonsRequest. +type ListAddonsRequest struct { + + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // 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"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. + // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, + // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. + // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The optional order in which to sort the results. + SortOrder ListAddonsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The optional field to sort the results by. + SortBy ListAddonsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListAddonsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListAddonsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListAddonsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListAddonsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListAddonsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListAddonsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAddonsSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListAddonsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListAddonsSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListAddonsResponse wrapper for the ListAddons operation +type ListAddonsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []AddonSummary instances + Items []AddonSummary `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 ListAddonsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListAddonsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListAddonsSortOrderEnum Enum with underlying type: string +type ListAddonsSortOrderEnum string + +// Set of constants representing the allowable values for ListAddonsSortOrderEnum +const ( + ListAddonsSortOrderAsc ListAddonsSortOrderEnum = "ASC" + ListAddonsSortOrderDesc ListAddonsSortOrderEnum = "DESC" +) + +var mappingListAddonsSortOrderEnum = map[string]ListAddonsSortOrderEnum{ + "ASC": ListAddonsSortOrderAsc, + "DESC": ListAddonsSortOrderDesc, +} + +var mappingListAddonsSortOrderEnumLowerCase = map[string]ListAddonsSortOrderEnum{ + "asc": ListAddonsSortOrderAsc, + "desc": ListAddonsSortOrderDesc, +} + +// GetListAddonsSortOrderEnumValues Enumerates the set of values for ListAddonsSortOrderEnum +func GetListAddonsSortOrderEnumValues() []ListAddonsSortOrderEnum { + values := make([]ListAddonsSortOrderEnum, 0) + for _, v := range mappingListAddonsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListAddonsSortOrderEnumStringValues Enumerates the set of values in String for ListAddonsSortOrderEnum +func GetListAddonsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListAddonsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAddonsSortOrderEnum(val string) (ListAddonsSortOrderEnum, bool) { + enum, ok := mappingListAddonsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListAddonsSortByEnum Enum with underlying type: string +type ListAddonsSortByEnum string + +// Set of constants representing the allowable values for ListAddonsSortByEnum +const ( + ListAddonsSortByName ListAddonsSortByEnum = "NAME" + ListAddonsSortByTimeCreated ListAddonsSortByEnum = "TIME_CREATED" +) + +var mappingListAddonsSortByEnum = map[string]ListAddonsSortByEnum{ + "NAME": ListAddonsSortByName, + "TIME_CREATED": ListAddonsSortByTimeCreated, +} + +var mappingListAddonsSortByEnumLowerCase = map[string]ListAddonsSortByEnum{ + "name": ListAddonsSortByName, + "time_created": ListAddonsSortByTimeCreated, +} + +// GetListAddonsSortByEnumValues Enumerates the set of values for ListAddonsSortByEnum +func GetListAddonsSortByEnumValues() []ListAddonsSortByEnum { + values := make([]ListAddonsSortByEnum, 0) + for _, v := range mappingListAddonsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListAddonsSortByEnumStringValues Enumerates the set of values in String for ListAddonsSortByEnum +func GetListAddonsSortByEnumStringValues() []string { + return []string{ + "NAME", + "TIME_CREATED", + } +} + +// GetMappingListAddonsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAddonsSortByEnum(val string) (ListAddonsSortByEnum, bool) { + enum, ok := mappingListAddonsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_clusters_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_clusters_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_clusters_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_clusters_request_response.go index 957f95802939..a18eba1294fb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_clusters_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_clusters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListClustersRequest wrapper for the ListClusters operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClustersRequest. type ListClustersRequest struct { // The OCID of the compartment. @@ -79,15 +83,15 @@ func (request ListClustersRequest) RetryPolicy() *common.RetryPolicy { func (request ListClustersRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} for _, val := range request.LifecycleState { - if _, ok := mappingClusterLifecycleStateEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingClusterLifecycleStateEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetClusterLifecycleStateEnumStringValues(), ","))) } } - if _, ok := mappingListClustersSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListClustersSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListClustersSortOrderEnumStringValues(), ","))) } - if _, ok := mappingListClustersSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListClustersSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListClustersSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -137,6 +141,11 @@ var mappingListClustersSortOrderEnum = map[string]ListClustersSortOrderEnum{ "DESC": ListClustersSortOrderDesc, } +var mappingListClustersSortOrderEnumLowerCase = map[string]ListClustersSortOrderEnum{ + "asc": ListClustersSortOrderAsc, + "desc": ListClustersSortOrderDesc, +} + // GetListClustersSortOrderEnumValues Enumerates the set of values for ListClustersSortOrderEnum func GetListClustersSortOrderEnumValues() []ListClustersSortOrderEnum { values := make([]ListClustersSortOrderEnum, 0) @@ -154,6 +163,12 @@ func GetListClustersSortOrderEnumStringValues() []string { } } +// GetMappingListClustersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListClustersSortOrderEnum(val string) (ListClustersSortOrderEnum, bool) { + enum, ok := mappingListClustersSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListClustersSortByEnum Enum with underlying type: string type ListClustersSortByEnum string @@ -170,6 +185,12 @@ var mappingListClustersSortByEnum = map[string]ListClustersSortByEnum{ "TIME_CREATED": ListClustersSortByTimeCreated, } +var mappingListClustersSortByEnumLowerCase = map[string]ListClustersSortByEnum{ + "id": ListClustersSortById, + "name": ListClustersSortByName, + "time_created": ListClustersSortByTimeCreated, +} + // GetListClustersSortByEnumValues Enumerates the set of values for ListClustersSortByEnum func GetListClustersSortByEnumValues() []ListClustersSortByEnum { values := make([]ListClustersSortByEnum, 0) @@ -187,3 +208,9 @@ func GetListClustersSortByEnumStringValues() []string { "TIME_CREATED", } } + +// GetMappingListClustersSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListClustersSortByEnum(val string) (ListClustersSortByEnum, bool) { + enum, ok := mappingListClustersSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_node_pools_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_node_pools_request_response.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_node_pools_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_node_pools_request_response.go index e6fda3f67140..9f32da8b7564 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_node_pools_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_node_pools_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListNodePoolsRequest wrapper for the ListNodePools operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePoolsRequest. type ListNodePoolsRequest struct { // The OCID of the compartment. @@ -42,6 +46,9 @@ type ListNodePoolsRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. [ACTIVE, DELETING] + LifecycleState []NodePoolLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -78,12 +85,18 @@ func (request ListNodePoolsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListNodePoolsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListNodePoolsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListNodePoolsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListNodePoolsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingListNodePoolsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListNodePoolsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNodePoolsSortByEnumStringValues(), ","))) } + for _, val := range request.LifecycleState { + if _, ok := GetMappingNodePoolLifecycleStateEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetNodePoolLifecycleStateEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -131,6 +144,11 @@ var mappingListNodePoolsSortOrderEnum = map[string]ListNodePoolsSortOrderEnum{ "DESC": ListNodePoolsSortOrderDesc, } +var mappingListNodePoolsSortOrderEnumLowerCase = map[string]ListNodePoolsSortOrderEnum{ + "asc": ListNodePoolsSortOrderAsc, + "desc": ListNodePoolsSortOrderDesc, +} + // GetListNodePoolsSortOrderEnumValues Enumerates the set of values for ListNodePoolsSortOrderEnum func GetListNodePoolsSortOrderEnumValues() []ListNodePoolsSortOrderEnum { values := make([]ListNodePoolsSortOrderEnum, 0) @@ -148,6 +166,12 @@ func GetListNodePoolsSortOrderEnumStringValues() []string { } } +// GetMappingListNodePoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNodePoolsSortOrderEnum(val string) (ListNodePoolsSortOrderEnum, bool) { + enum, ok := mappingListNodePoolsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListNodePoolsSortByEnum Enum with underlying type: string type ListNodePoolsSortByEnum string @@ -164,6 +188,12 @@ var mappingListNodePoolsSortByEnum = map[string]ListNodePoolsSortByEnum{ "TIME_CREATED": ListNodePoolsSortByTimeCreated, } +var mappingListNodePoolsSortByEnumLowerCase = map[string]ListNodePoolsSortByEnum{ + "id": ListNodePoolsSortById, + "name": ListNodePoolsSortByName, + "time_created": ListNodePoolsSortByTimeCreated, +} + // GetListNodePoolsSortByEnumValues Enumerates the set of values for ListNodePoolsSortByEnum func GetListNodePoolsSortByEnumValues() []ListNodePoolsSortByEnum { values := make([]ListNodePoolsSortByEnum, 0) @@ -181,3 +211,9 @@ func GetListNodePoolsSortByEnumStringValues() []string { "TIME_CREATED", } } + +// GetMappingListNodePoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNodePoolsSortByEnum(val string) (ListNodePoolsSortByEnum, bool) { + enum, ok := mappingListNodePoolsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_pod_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_pod_shapes_request_response.go new file mode 100644 index 000000000000..df2c69434436 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_pod_shapes_request_response.go @@ -0,0 +1,210 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListPodShapesRequest wrapper for the ListPodShapes operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListPodShapes.go.html to see an example of how to use ListPodShapesRequest. +type ListPodShapesRequest struct { + + // The OCID of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // 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"` + + // The availability domain of the pod shape. + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // The name to filter on. + Name *string `mandatory:"false" contributesTo:"query" name:"name"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. + // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, + // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. + // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The optional order in which to sort the results. + SortOrder ListPodShapesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The optional field to sort the results by. + SortBy ListPodShapesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListPodShapesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListPodShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListPodShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListPodShapesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListPodShapesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListPodShapesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPodShapesSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListPodShapesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListPodShapesSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListPodShapesResponse wrapper for the ListPodShapes operation +type ListPodShapesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []PodShapeSummary instances + Items []PodShapeSummary `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 ListPodShapesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListPodShapesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListPodShapesSortOrderEnum Enum with underlying type: string +type ListPodShapesSortOrderEnum string + +// Set of constants representing the allowable values for ListPodShapesSortOrderEnum +const ( + ListPodShapesSortOrderAsc ListPodShapesSortOrderEnum = "ASC" + ListPodShapesSortOrderDesc ListPodShapesSortOrderEnum = "DESC" +) + +var mappingListPodShapesSortOrderEnum = map[string]ListPodShapesSortOrderEnum{ + "ASC": ListPodShapesSortOrderAsc, + "DESC": ListPodShapesSortOrderDesc, +} + +var mappingListPodShapesSortOrderEnumLowerCase = map[string]ListPodShapesSortOrderEnum{ + "asc": ListPodShapesSortOrderAsc, + "desc": ListPodShapesSortOrderDesc, +} + +// GetListPodShapesSortOrderEnumValues Enumerates the set of values for ListPodShapesSortOrderEnum +func GetListPodShapesSortOrderEnumValues() []ListPodShapesSortOrderEnum { + values := make([]ListPodShapesSortOrderEnum, 0) + for _, v := range mappingListPodShapesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListPodShapesSortOrderEnumStringValues Enumerates the set of values in String for ListPodShapesSortOrderEnum +func GetListPodShapesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListPodShapesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListPodShapesSortOrderEnum(val string) (ListPodShapesSortOrderEnum, bool) { + enum, ok := mappingListPodShapesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListPodShapesSortByEnum Enum with underlying type: string +type ListPodShapesSortByEnum string + +// Set of constants representing the allowable values for ListPodShapesSortByEnum +const ( + ListPodShapesSortById ListPodShapesSortByEnum = "ID" + ListPodShapesSortByName ListPodShapesSortByEnum = "NAME" + ListPodShapesSortByTimeCreated ListPodShapesSortByEnum = "TIME_CREATED" +) + +var mappingListPodShapesSortByEnum = map[string]ListPodShapesSortByEnum{ + "ID": ListPodShapesSortById, + "NAME": ListPodShapesSortByName, + "TIME_CREATED": ListPodShapesSortByTimeCreated, +} + +var mappingListPodShapesSortByEnumLowerCase = map[string]ListPodShapesSortByEnum{ + "id": ListPodShapesSortById, + "name": ListPodShapesSortByName, + "time_created": ListPodShapesSortByTimeCreated, +} + +// GetListPodShapesSortByEnumValues Enumerates the set of values for ListPodShapesSortByEnum +func GetListPodShapesSortByEnumValues() []ListPodShapesSortByEnum { + values := make([]ListPodShapesSortByEnum, 0) + for _, v := range mappingListPodShapesSortByEnum { + values = append(values, v) + } + return values +} + +// GetListPodShapesSortByEnumStringValues Enumerates the set of values in String for ListPodShapesSortByEnum +func GetListPodShapesSortByEnumStringValues() []string { + return []string{ + "ID", + "NAME", + "TIME_CREATED", + } +} + +// GetMappingListPodShapesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListPodShapesSortByEnum(val string) (ListPodShapesSortByEnum, bool) { + enum, ok := mappingListPodShapesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_node_pools_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_node_pools_request_response.go new file mode 100644 index 000000000000..1ee1b04b1037 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_node_pools_request_response.go @@ -0,0 +1,219 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListVirtualNodePoolsRequest wrapper for the ListVirtualNodePools operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodePools.go.html to see an example of how to use ListVirtualNodePoolsRequest. +type ListVirtualNodePoolsRequest struct { + + // The OCID of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // 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"` + + // The OCID of the cluster. + ClusterId *string `mandatory:"false" contributesTo:"query" name:"clusterId"` + + // The name to filter on. + Name *string `mandatory:"false" contributesTo:"query" name:"name"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. + // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, + // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. + // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The optional order in which to sort the results. + SortOrder ListVirtualNodePoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The optional field to sort the results by. + SortBy ListVirtualNodePoolsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // A virtual node pool lifecycle state to filter on. Can have multiple parameters of this name. + LifecycleState []VirtualNodePoolLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` + + // 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 ListVirtualNodePoolsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListVirtualNodePoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListVirtualNodePoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListVirtualNodePoolsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListVirtualNodePoolsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListVirtualNodePoolsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVirtualNodePoolsSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListVirtualNodePoolsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVirtualNodePoolsSortByEnumStringValues(), ","))) + } + for _, val := range request.LifecycleState { + if _, ok := GetMappingVirtualNodePoolLifecycleStateEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetVirtualNodePoolLifecycleStateEnumStringValues(), ","))) + } + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListVirtualNodePoolsResponse wrapper for the ListVirtualNodePools operation +type ListVirtualNodePoolsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []VirtualNodePoolSummary instances + Items []VirtualNodePoolSummary `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 ListVirtualNodePoolsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListVirtualNodePoolsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListVirtualNodePoolsSortOrderEnum Enum with underlying type: string +type ListVirtualNodePoolsSortOrderEnum string + +// Set of constants representing the allowable values for ListVirtualNodePoolsSortOrderEnum +const ( + ListVirtualNodePoolsSortOrderAsc ListVirtualNodePoolsSortOrderEnum = "ASC" + ListVirtualNodePoolsSortOrderDesc ListVirtualNodePoolsSortOrderEnum = "DESC" +) + +var mappingListVirtualNodePoolsSortOrderEnum = map[string]ListVirtualNodePoolsSortOrderEnum{ + "ASC": ListVirtualNodePoolsSortOrderAsc, + "DESC": ListVirtualNodePoolsSortOrderDesc, +} + +var mappingListVirtualNodePoolsSortOrderEnumLowerCase = map[string]ListVirtualNodePoolsSortOrderEnum{ + "asc": ListVirtualNodePoolsSortOrderAsc, + "desc": ListVirtualNodePoolsSortOrderDesc, +} + +// GetListVirtualNodePoolsSortOrderEnumValues Enumerates the set of values for ListVirtualNodePoolsSortOrderEnum +func GetListVirtualNodePoolsSortOrderEnumValues() []ListVirtualNodePoolsSortOrderEnum { + values := make([]ListVirtualNodePoolsSortOrderEnum, 0) + for _, v := range mappingListVirtualNodePoolsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListVirtualNodePoolsSortOrderEnumStringValues Enumerates the set of values in String for ListVirtualNodePoolsSortOrderEnum +func GetListVirtualNodePoolsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListVirtualNodePoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVirtualNodePoolsSortOrderEnum(val string) (ListVirtualNodePoolsSortOrderEnum, bool) { + enum, ok := mappingListVirtualNodePoolsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListVirtualNodePoolsSortByEnum Enum with underlying type: string +type ListVirtualNodePoolsSortByEnum string + +// Set of constants representing the allowable values for ListVirtualNodePoolsSortByEnum +const ( + ListVirtualNodePoolsSortById ListVirtualNodePoolsSortByEnum = "ID" + ListVirtualNodePoolsSortByName ListVirtualNodePoolsSortByEnum = "NAME" + ListVirtualNodePoolsSortByTimeCreated ListVirtualNodePoolsSortByEnum = "TIME_CREATED" +) + +var mappingListVirtualNodePoolsSortByEnum = map[string]ListVirtualNodePoolsSortByEnum{ + "ID": ListVirtualNodePoolsSortById, + "NAME": ListVirtualNodePoolsSortByName, + "TIME_CREATED": ListVirtualNodePoolsSortByTimeCreated, +} + +var mappingListVirtualNodePoolsSortByEnumLowerCase = map[string]ListVirtualNodePoolsSortByEnum{ + "id": ListVirtualNodePoolsSortById, + "name": ListVirtualNodePoolsSortByName, + "time_created": ListVirtualNodePoolsSortByTimeCreated, +} + +// GetListVirtualNodePoolsSortByEnumValues Enumerates the set of values for ListVirtualNodePoolsSortByEnum +func GetListVirtualNodePoolsSortByEnumValues() []ListVirtualNodePoolsSortByEnum { + values := make([]ListVirtualNodePoolsSortByEnum, 0) + for _, v := range mappingListVirtualNodePoolsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListVirtualNodePoolsSortByEnumStringValues Enumerates the set of values in String for ListVirtualNodePoolsSortByEnum +func GetListVirtualNodePoolsSortByEnumStringValues() []string { + return []string{ + "ID", + "NAME", + "TIME_CREATED", + } +} + +// GetMappingListVirtualNodePoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVirtualNodePoolsSortByEnum(val string) (ListVirtualNodePoolsSortByEnum, bool) { + enum, ok := mappingListVirtualNodePoolsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_nodes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_nodes_request_response.go new file mode 100644 index 000000000000..f1713e4063d8 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_nodes_request_response.go @@ -0,0 +1,207 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListVirtualNodesRequest wrapper for the ListVirtualNodes operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodes.go.html to see an example of how to use ListVirtualNodesRequest. +type ListVirtualNodesRequest struct { + + // The OCID of the virtual node pool. + VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"` + + // 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"` + + // The name to filter on. + Name *string `mandatory:"false" contributesTo:"query" name:"name"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. + // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, + // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. + // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The optional order in which to sort the results. + SortOrder ListVirtualNodesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The optional field to sort the results by. + SortBy ListVirtualNodesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListVirtualNodesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListVirtualNodesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListVirtualNodesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListVirtualNodesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListVirtualNodesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListVirtualNodesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVirtualNodesSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListVirtualNodesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVirtualNodesSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListVirtualNodesResponse wrapper for the ListVirtualNodes operation +type ListVirtualNodesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []VirtualNodeSummary instances + Items []VirtualNodeSummary `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 ListVirtualNodesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListVirtualNodesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListVirtualNodesSortOrderEnum Enum with underlying type: string +type ListVirtualNodesSortOrderEnum string + +// Set of constants representing the allowable values for ListVirtualNodesSortOrderEnum +const ( + ListVirtualNodesSortOrderAsc ListVirtualNodesSortOrderEnum = "ASC" + ListVirtualNodesSortOrderDesc ListVirtualNodesSortOrderEnum = "DESC" +) + +var mappingListVirtualNodesSortOrderEnum = map[string]ListVirtualNodesSortOrderEnum{ + "ASC": ListVirtualNodesSortOrderAsc, + "DESC": ListVirtualNodesSortOrderDesc, +} + +var mappingListVirtualNodesSortOrderEnumLowerCase = map[string]ListVirtualNodesSortOrderEnum{ + "asc": ListVirtualNodesSortOrderAsc, + "desc": ListVirtualNodesSortOrderDesc, +} + +// GetListVirtualNodesSortOrderEnumValues Enumerates the set of values for ListVirtualNodesSortOrderEnum +func GetListVirtualNodesSortOrderEnumValues() []ListVirtualNodesSortOrderEnum { + values := make([]ListVirtualNodesSortOrderEnum, 0) + for _, v := range mappingListVirtualNodesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListVirtualNodesSortOrderEnumStringValues Enumerates the set of values in String for ListVirtualNodesSortOrderEnum +func GetListVirtualNodesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListVirtualNodesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVirtualNodesSortOrderEnum(val string) (ListVirtualNodesSortOrderEnum, bool) { + enum, ok := mappingListVirtualNodesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListVirtualNodesSortByEnum Enum with underlying type: string +type ListVirtualNodesSortByEnum string + +// Set of constants representing the allowable values for ListVirtualNodesSortByEnum +const ( + ListVirtualNodesSortById ListVirtualNodesSortByEnum = "ID" + ListVirtualNodesSortByName ListVirtualNodesSortByEnum = "NAME" + ListVirtualNodesSortByTimeCreated ListVirtualNodesSortByEnum = "TIME_CREATED" +) + +var mappingListVirtualNodesSortByEnum = map[string]ListVirtualNodesSortByEnum{ + "ID": ListVirtualNodesSortById, + "NAME": ListVirtualNodesSortByName, + "TIME_CREATED": ListVirtualNodesSortByTimeCreated, +} + +var mappingListVirtualNodesSortByEnumLowerCase = map[string]ListVirtualNodesSortByEnum{ + "id": ListVirtualNodesSortById, + "name": ListVirtualNodesSortByName, + "time_created": ListVirtualNodesSortByTimeCreated, +} + +// GetListVirtualNodesSortByEnumValues Enumerates the set of values for ListVirtualNodesSortByEnum +func GetListVirtualNodesSortByEnumValues() []ListVirtualNodesSortByEnum { + values := make([]ListVirtualNodesSortByEnum, 0) + for _, v := range mappingListVirtualNodesSortByEnum { + values = append(values, v) + } + return values +} + +// GetListVirtualNodesSortByEnumStringValues Enumerates the set of values in String for ListVirtualNodesSortByEnum +func GetListVirtualNodesSortByEnumStringValues() []string { + return []string{ + "ID", + "NAME", + "TIME_CREATED", + } +} + +// GetMappingListVirtualNodesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVirtualNodesSortByEnum(val string) (ListVirtualNodesSortByEnum, bool) { + enum, ok := mappingListVirtualNodesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_request_errors_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_errors_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_request_errors_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_errors_request_response.go index 573d48ab590e..3bc60a4df522 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_request_errors_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_errors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. type ListWorkRequestErrorsRequest struct { // The OCID of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_request_logs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_logs_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_request_logs_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_logs_request_response.go index 1f3b6437db49..6cfd27295a7a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_request_logs_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_logs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. type ListWorkRequestLogsRequest struct { // The OCID of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_requests_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_requests_request_response.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_requests_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_requests_request_response.go index baba20baa506..0c7341524217 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/list_work_requests_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListWorkRequestsRequest wrapper for the ListWorkRequests operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { // The OCID of the compartment. @@ -84,13 +88,13 @@ func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListWorkRequestsResourceTypeEnum[string(request.ResourceType)]; !ok && request.ResourceType != "" { + if _, ok := GetMappingListWorkRequestsResourceTypeEnum(string(request.ResourceType)); !ok && request.ResourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceType: %s. Supported values are: %s.", request.ResourceType, strings.Join(GetListWorkRequestsResourceTypeEnumStringValues(), ","))) } - if _, ok := mappingListWorkRequestsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListWorkRequestsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListWorkRequestsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingListWorkRequestsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListWorkRequestsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListWorkRequestsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -140,6 +144,11 @@ var mappingListWorkRequestsResourceTypeEnum = map[string]ListWorkRequestsResourc "NODEPOOL": ListWorkRequestsResourceTypeNodepool, } +var mappingListWorkRequestsResourceTypeEnumLowerCase = map[string]ListWorkRequestsResourceTypeEnum{ + "cluster": ListWorkRequestsResourceTypeCluster, + "nodepool": ListWorkRequestsResourceTypeNodepool, +} + // GetListWorkRequestsResourceTypeEnumValues Enumerates the set of values for ListWorkRequestsResourceTypeEnum func GetListWorkRequestsResourceTypeEnumValues() []ListWorkRequestsResourceTypeEnum { values := make([]ListWorkRequestsResourceTypeEnum, 0) @@ -157,6 +166,12 @@ func GetListWorkRequestsResourceTypeEnumStringValues() []string { } } +// GetMappingListWorkRequestsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestsResourceTypeEnum(val string) (ListWorkRequestsResourceTypeEnum, bool) { + enum, ok := mappingListWorkRequestsResourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListWorkRequestsSortOrderEnum Enum with underlying type: string type ListWorkRequestsSortOrderEnum string @@ -171,6 +186,11 @@ var mappingListWorkRequestsSortOrderEnum = map[string]ListWorkRequestsSortOrderE "DESC": ListWorkRequestsSortOrderDesc, } +var mappingListWorkRequestsSortOrderEnumLowerCase = map[string]ListWorkRequestsSortOrderEnum{ + "asc": ListWorkRequestsSortOrderAsc, + "desc": ListWorkRequestsSortOrderDesc, +} + // GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum { values := make([]ListWorkRequestsSortOrderEnum, 0) @@ -188,6 +208,12 @@ func GetListWorkRequestsSortOrderEnumStringValues() []string { } } +// GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool) { + enum, ok := mappingListWorkRequestsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListWorkRequestsSortByEnum Enum with underlying type: string type ListWorkRequestsSortByEnum string @@ -210,6 +236,15 @@ var mappingListWorkRequestsSortByEnum = map[string]ListWorkRequestsSortByEnum{ "TIME_FINISHED": ListWorkRequestsSortByTimeFinished, } +var mappingListWorkRequestsSortByEnumLowerCase = map[string]ListWorkRequestsSortByEnum{ + "id": ListWorkRequestsSortById, + "operation_type": ListWorkRequestsSortByOperationType, + "status": ListWorkRequestsSortByStatus, + "time_accepted": ListWorkRequestsSortByTimeAccepted, + "time_started": ListWorkRequestsSortByTimeStarted, + "time_finished": ListWorkRequestsSortByTimeFinished, +} + // GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum { values := make([]ListWorkRequestsSortByEnum, 0) @@ -230,3 +265,9 @@ func GetListWorkRequestsSortByEnumStringValues() []string { "TIME_FINISHED", } } + +// GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool) { + enum, ok := mappingListWorkRequestsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node.go index e8ec6cde5ada..ff7686cf11a7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -81,7 +81,7 @@ func (m Node) String() string { func (m Node) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingNodeLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingNodeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNodeLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -114,6 +114,16 @@ var mappingNodeLifecycleStateEnum = map[string]NodeLifecycleStateEnum{ "INACTIVE": NodeLifecycleStateInactive, } +var mappingNodeLifecycleStateEnumLowerCase = map[string]NodeLifecycleStateEnum{ + "creating": NodeLifecycleStateCreating, + "active": NodeLifecycleStateActive, + "updating": NodeLifecycleStateUpdating, + "deleting": NodeLifecycleStateDeleting, + "deleted": NodeLifecycleStateDeleted, + "failing": NodeLifecycleStateFailing, + "inactive": NodeLifecycleStateInactive, +} + // GetNodeLifecycleStateEnumValues Enumerates the set of values for NodeLifecycleStateEnum func GetNodeLifecycleStateEnumValues() []NodeLifecycleStateEnum { values := make([]NodeLifecycleStateEnum, 0) @@ -135,3 +145,9 @@ func GetNodeLifecycleStateEnumStringValues() []string { "INACTIVE", } } + +// GetMappingNodeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingNodeLifecycleStateEnum(val string) (NodeLifecycleStateEnum, bool) { + enum, ok := mappingNodeLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_error.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_error.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_error.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_error.go index 7104edd49947..1f9b46bb6e04 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_error.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_node_pool_settings.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_node_pool_settings.go new file mode 100644 index 000000000000..dfd4eea66f24 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_node_pool_settings.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// NodeEvictionNodePoolSettings Node Eviction Details configuration +type NodeEvictionNodePoolSettings struct { + + // Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. + // Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M + EvictionGraceDuration *string `mandatory:"false" json:"evictionGraceDuration"` + + // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period + IsForceDeleteAfterGraceDuration *bool `mandatory:"false" json:"isForceDeleteAfterGraceDuration"` +} + +func (m NodeEvictionNodePoolSettings) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m NodeEvictionNodePoolSettings) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go similarity index 66% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go index 5116ca1d1e06..642e9c030a88 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -24,6 +24,12 @@ type NodePool struct { // The OCID of the node pool. Id *string `mandatory:"false" json:"id"` + // The state of the nodepool. + LifecycleState NodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // Details about the state of the nodepool. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + // The OCID of the compartment in which the node pool exists. CompartmentId *string `mandatory:"false" json:"compartmentId"` @@ -88,6 +94,8 @@ type NodePool struct { // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"` } func (m NodePool) String() string { @@ -100,6 +108,9 @@ func (m NodePool) String() string { func (m NodePool) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingNodePoolLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNodePoolLifecycleStateEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -109,27 +120,30 @@ func (m NodePool) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *NodePool) UnmarshalJSON(data []byte) (e error) { model := struct { - Id *string `json:"id"` - CompartmentId *string `json:"compartmentId"` - ClusterId *string `json:"clusterId"` - Name *string `json:"name"` - KubernetesVersion *string `json:"kubernetesVersion"` - NodeMetadata map[string]string `json:"nodeMetadata"` - NodeImageId *string `json:"nodeImageId"` - NodeImageName *string `json:"nodeImageName"` - NodeShapeConfig *NodeShapeConfig `json:"nodeShapeConfig"` - NodeSource nodesourceoption `json:"nodeSource"` - NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` - NodeShape *string `json:"nodeShape"` - InitialNodeLabels []KeyValue `json:"initialNodeLabels"` - SshPublicKey *string `json:"sshPublicKey"` - QuantityPerSubnet *int `json:"quantityPerSubnet"` - SubnetIds []string `json:"subnetIds"` - Nodes []Node `json:"nodes"` - NodeConfigDetails *NodePoolNodeConfigDetails `json:"nodeConfigDetails"` - FreeformTags map[string]string `json:"freeformTags"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - SystemTags map[string]map[string]interface{} `json:"systemTags"` + Id *string `json:"id"` + LifecycleState NodePoolLifecycleStateEnum `json:"lifecycleState"` + LifecycleDetails *string `json:"lifecycleDetails"` + CompartmentId *string `json:"compartmentId"` + ClusterId *string `json:"clusterId"` + Name *string `json:"name"` + KubernetesVersion *string `json:"kubernetesVersion"` + NodeMetadata map[string]string `json:"nodeMetadata"` + NodeImageId *string `json:"nodeImageId"` + NodeImageName *string `json:"nodeImageName"` + NodeShapeConfig *NodeShapeConfig `json:"nodeShapeConfig"` + NodeSource nodesourceoption `json:"nodeSource"` + NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` + NodeShape *string `json:"nodeShape"` + InitialNodeLabels []KeyValue `json:"initialNodeLabels"` + SshPublicKey *string `json:"sshPublicKey"` + QuantityPerSubnet *int `json:"quantityPerSubnet"` + SubnetIds []string `json:"subnetIds"` + Nodes []Node `json:"nodes"` + NodeConfigDetails *NodePoolNodeConfigDetails `json:"nodeConfigDetails"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + SystemTags map[string]map[string]interface{} `json:"systemTags"` + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `json:"nodeEvictionNodePoolSettings"` }{} e = json.Unmarshal(data, &model) @@ -139,6 +153,10 @@ func (m *NodePool) UnmarshalJSON(data []byte) (e error) { var nn interface{} m.Id = model.Id + m.LifecycleState = model.LifecycleState + + m.LifecycleDetails = model.LifecycleDetails + m.CompartmentId = model.CompartmentId m.ClusterId = model.ClusterId @@ -204,5 +222,7 @@ func (m *NodePool) UnmarshalJSON(data []byte) (e error) { m.SystemTags = model.SystemTags + m.NodeEvictionNodePoolSettings = model.NodeEvictionNodePoolSettings + return } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_lifecycle_state.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_lifecycle_state.go new file mode 100644 index 000000000000..fc97ee6b8227 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_lifecycle_state.go @@ -0,0 +1,82 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "strings" +) + +// NodePoolLifecycleStateEnum Enum with underlying type: string +type NodePoolLifecycleStateEnum string + +// Set of constants representing the allowable values for NodePoolLifecycleStateEnum +const ( + NodePoolLifecycleStateDeleted NodePoolLifecycleStateEnum = "DELETED" + NodePoolLifecycleStateCreating NodePoolLifecycleStateEnum = "CREATING" + NodePoolLifecycleStateActive NodePoolLifecycleStateEnum = "ACTIVE" + NodePoolLifecycleStateUpdating NodePoolLifecycleStateEnum = "UPDATING" + NodePoolLifecycleStateDeleting NodePoolLifecycleStateEnum = "DELETING" + NodePoolLifecycleStateFailed NodePoolLifecycleStateEnum = "FAILED" + NodePoolLifecycleStateInactive NodePoolLifecycleStateEnum = "INACTIVE" + NodePoolLifecycleStateNeedsAttention NodePoolLifecycleStateEnum = "NEEDS_ATTENTION" +) + +var mappingNodePoolLifecycleStateEnum = map[string]NodePoolLifecycleStateEnum{ + "DELETED": NodePoolLifecycleStateDeleted, + "CREATING": NodePoolLifecycleStateCreating, + "ACTIVE": NodePoolLifecycleStateActive, + "UPDATING": NodePoolLifecycleStateUpdating, + "DELETING": NodePoolLifecycleStateDeleting, + "FAILED": NodePoolLifecycleStateFailed, + "INACTIVE": NodePoolLifecycleStateInactive, + "NEEDS_ATTENTION": NodePoolLifecycleStateNeedsAttention, +} + +var mappingNodePoolLifecycleStateEnumLowerCase = map[string]NodePoolLifecycleStateEnum{ + "deleted": NodePoolLifecycleStateDeleted, + "creating": NodePoolLifecycleStateCreating, + "active": NodePoolLifecycleStateActive, + "updating": NodePoolLifecycleStateUpdating, + "deleting": NodePoolLifecycleStateDeleting, + "failed": NodePoolLifecycleStateFailed, + "inactive": NodePoolLifecycleStateInactive, + "needs_attention": NodePoolLifecycleStateNeedsAttention, +} + +// GetNodePoolLifecycleStateEnumValues Enumerates the set of values for NodePoolLifecycleStateEnum +func GetNodePoolLifecycleStateEnumValues() []NodePoolLifecycleStateEnum { + values := make([]NodePoolLifecycleStateEnum, 0) + for _, v := range mappingNodePoolLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetNodePoolLifecycleStateEnumStringValues Enumerates the set of values in String for NodePoolLifecycleStateEnum +func GetNodePoolLifecycleStateEnumStringValues() []string { + return []string{ + "DELETED", + "CREATING", + "ACTIVE", + "UPDATING", + "DELETING", + "FAILED", + "INACTIVE", + "NEEDS_ATTENTION", + } +} + +// GetMappingNodePoolLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingNodePoolLifecycleStateEnum(val string) (NodePoolLifecycleStateEnum, bool) { + enum, ok := mappingNodePoolLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_node_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_node_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go index 915110c289be..6dd3fac777b5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_node_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -12,8 +12,9 @@ package containerengine import ( + "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -48,6 +49,9 @@ type NodePoolNodeConfigDetails struct { // each availability domain, and include the regional subnet in each placement // configuration. PlacementConfigs []NodePoolPlacementConfigDetails `mandatory:"false" json:"placementConfigs"` + + // The CNI related configuration of pods in the node pool. + NodePoolPodNetworkOptionDetails NodePoolPodNetworkOptionDetails `mandatory:"false" json:"nodePoolPodNetworkOptionDetails"` } func (m NodePoolNodeConfigDetails) String() string { @@ -65,3 +69,54 @@ func (m NodePoolNodeConfigDetails) ValidateEnumValue() (bool, error) { } return false, nil } + +// UnmarshalJSON unmarshals from json +func (m *NodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) { + model := struct { + Size *int `json:"size"` + NsgIds []string `json:"nsgIds"` + KmsKeyId *string `json:"kmsKeyId"` + IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + PlacementConfigs []NodePoolPlacementConfigDetails `json:"placementConfigs"` + NodePoolPodNetworkOptionDetails nodepoolpodnetworkoptiondetails `json:"nodePoolPodNetworkOptionDetails"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.Size = model.Size + + m.NsgIds = make([]string, len(model.NsgIds)) + for i, n := range model.NsgIds { + m.NsgIds[i] = n + } + + m.KmsKeyId = model.KmsKeyId + + m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled + + m.FreeformTags = model.FreeformTags + + m.DefinedTags = model.DefinedTags + + m.PlacementConfigs = make([]NodePoolPlacementConfigDetails, len(model.PlacementConfigs)) + for i, n := range model.PlacementConfigs { + m.PlacementConfigs[i] = n + } + + nn, e = model.NodePoolPodNetworkOptionDetails.UnmarshalPolymorphicJSON(model.NodePoolPodNetworkOptionDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.NodePoolPodNetworkOptionDetails = nn.(NodePoolPodNetworkOptionDetails) + } else { + m.NodePoolPodNetworkOptionDetails = nil + } + + return +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go similarity index 96% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go index b81aa060ab41..7b309c7c91c0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_placement_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_placement_config_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_placement_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_placement_config_details.go index e7abce83be2d..d4bcb0718afe 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_placement_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_placement_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -29,6 +29,11 @@ type NodePoolPlacementConfigDetails struct { // The OCID of the compute capacity reservation in which to place the compute instance. CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` + + PreemptibleNodeConfig *PreemptibleNodeConfigDetails `mandatory:"false" json:"preemptibleNodeConfig"` + + // A list of fault domains in which to place nodes. + FaultDomains []string `mandatory:"false" json:"faultDomains"` } func (m NodePoolPlacementConfigDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_pod_network_option_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_pod_network_option_details.go new file mode 100644 index 000000000000..aa8515ff2893 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_pod_network_option_details.go @@ -0,0 +1,124 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// NodePoolPodNetworkOptionDetails The CNI type and relevant network details for the pods of a given node pool +type NodePoolPodNetworkOptionDetails interface { +} + +type nodepoolpodnetworkoptiondetails struct { + JsonData []byte + CniType string `json:"cniType"` +} + +// UnmarshalJSON unmarshals json +func (m *nodepoolpodnetworkoptiondetails) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalernodepoolpodnetworkoptiondetails nodepoolpodnetworkoptiondetails + s := struct { + Model Unmarshalernodepoolpodnetworkoptiondetails + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.CniType = s.Model.CniType + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *nodepoolpodnetworkoptiondetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.CniType { + case "OCI_VCN_IP_NATIVE": + mm := OciVcnIpNativeNodePoolPodNetworkOptionDetails{} + err = json.Unmarshal(data, &mm) + return mm, err + case "FLANNEL_OVERLAY": + mm := FlannelOverlayNodePoolPodNetworkOptionDetails{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + return *m, nil + } +} + +func (m nodepoolpodnetworkoptiondetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m nodepoolpodnetworkoptiondetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// NodePoolPodNetworkOptionDetailsCniTypeEnum Enum with underlying type: string +type NodePoolPodNetworkOptionDetailsCniTypeEnum string + +// Set of constants representing the allowable values for NodePoolPodNetworkOptionDetailsCniTypeEnum +const ( + NodePoolPodNetworkOptionDetailsCniTypeOciVcnIpNative NodePoolPodNetworkOptionDetailsCniTypeEnum = "OCI_VCN_IP_NATIVE" + NodePoolPodNetworkOptionDetailsCniTypeFlannelOverlay NodePoolPodNetworkOptionDetailsCniTypeEnum = "FLANNEL_OVERLAY" +) + +var mappingNodePoolPodNetworkOptionDetailsCniTypeEnum = map[string]NodePoolPodNetworkOptionDetailsCniTypeEnum{ + "OCI_VCN_IP_NATIVE": NodePoolPodNetworkOptionDetailsCniTypeOciVcnIpNative, + "FLANNEL_OVERLAY": NodePoolPodNetworkOptionDetailsCniTypeFlannelOverlay, +} + +var mappingNodePoolPodNetworkOptionDetailsCniTypeEnumLowerCase = map[string]NodePoolPodNetworkOptionDetailsCniTypeEnum{ + "oci_vcn_ip_native": NodePoolPodNetworkOptionDetailsCniTypeOciVcnIpNative, + "flannel_overlay": NodePoolPodNetworkOptionDetailsCniTypeFlannelOverlay, +} + +// GetNodePoolPodNetworkOptionDetailsCniTypeEnumValues Enumerates the set of values for NodePoolPodNetworkOptionDetailsCniTypeEnum +func GetNodePoolPodNetworkOptionDetailsCniTypeEnumValues() []NodePoolPodNetworkOptionDetailsCniTypeEnum { + values := make([]NodePoolPodNetworkOptionDetailsCniTypeEnum, 0) + for _, v := range mappingNodePoolPodNetworkOptionDetailsCniTypeEnum { + values = append(values, v) + } + return values +} + +// GetNodePoolPodNetworkOptionDetailsCniTypeEnumStringValues Enumerates the set of values in String for NodePoolPodNetworkOptionDetailsCniTypeEnum +func GetNodePoolPodNetworkOptionDetailsCniTypeEnumStringValues() []string { + return []string{ + "OCI_VCN_IP_NATIVE", + "FLANNEL_OVERLAY", + } +} + +// GetMappingNodePoolPodNetworkOptionDetailsCniTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingNodePoolPodNetworkOptionDetailsCniTypeEnum(val string) (NodePoolPodNetworkOptionDetailsCniTypeEnum, bool) { + enum, ok := mappingNodePoolPodNetworkOptionDetailsCniTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go similarity index 66% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go index e9764d756fa8..c5860c390399 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_pool_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -24,6 +24,12 @@ type NodePoolSummary struct { // The OCID of the node pool. Id *string `mandatory:"false" json:"id"` + // The state of the nodepool. + LifecycleState NodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // Details about the state of the nodepool. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + // The OCID of the compartment in which the node pool exists. CompartmentId *string `mandatory:"false" json:"compartmentId"` @@ -82,6 +88,8 @@ type NodePoolSummary struct { // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"` } func (m NodePoolSummary) String() string { @@ -94,6 +102,9 @@ func (m NodePoolSummary) String() string { func (m NodePoolSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingNodePoolLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNodePoolLifecycleStateEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -103,25 +114,28 @@ func (m NodePoolSummary) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *NodePoolSummary) UnmarshalJSON(data []byte) (e error) { model := struct { - Id *string `json:"id"` - CompartmentId *string `json:"compartmentId"` - ClusterId *string `json:"clusterId"` - Name *string `json:"name"` - KubernetesVersion *string `json:"kubernetesVersion"` - NodeImageId *string `json:"nodeImageId"` - NodeImageName *string `json:"nodeImageName"` - NodeShapeConfig *NodeShapeConfig `json:"nodeShapeConfig"` - NodeSource nodesourceoption `json:"nodeSource"` - NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` - NodeShape *string `json:"nodeShape"` - InitialNodeLabels []KeyValue `json:"initialNodeLabels"` - SshPublicKey *string `json:"sshPublicKey"` - QuantityPerSubnet *int `json:"quantityPerSubnet"` - SubnetIds []string `json:"subnetIds"` - NodeConfigDetails *NodePoolNodeConfigDetails `json:"nodeConfigDetails"` - FreeformTags map[string]string `json:"freeformTags"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - SystemTags map[string]map[string]interface{} `json:"systemTags"` + Id *string `json:"id"` + LifecycleState NodePoolLifecycleStateEnum `json:"lifecycleState"` + LifecycleDetails *string `json:"lifecycleDetails"` + CompartmentId *string `json:"compartmentId"` + ClusterId *string `json:"clusterId"` + Name *string `json:"name"` + KubernetesVersion *string `json:"kubernetesVersion"` + NodeImageId *string `json:"nodeImageId"` + NodeImageName *string `json:"nodeImageName"` + NodeShapeConfig *NodeShapeConfig `json:"nodeShapeConfig"` + NodeSource nodesourceoption `json:"nodeSource"` + NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` + NodeShape *string `json:"nodeShape"` + InitialNodeLabels []KeyValue `json:"initialNodeLabels"` + SshPublicKey *string `json:"sshPublicKey"` + QuantityPerSubnet *int `json:"quantityPerSubnet"` + SubnetIds []string `json:"subnetIds"` + NodeConfigDetails *NodePoolNodeConfigDetails `json:"nodeConfigDetails"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + SystemTags map[string]map[string]interface{} `json:"systemTags"` + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `json:"nodeEvictionNodePoolSettings"` }{} e = json.Unmarshal(data, &model) @@ -131,6 +145,10 @@ func (m *NodePoolSummary) UnmarshalJSON(data []byte) (e error) { var nn interface{} m.Id = model.Id + m.LifecycleState = model.LifecycleState + + m.LifecycleDetails = model.LifecycleDetails + m.CompartmentId = model.CompartmentId m.ClusterId = model.ClusterId @@ -189,5 +207,7 @@ func (m *NodePoolSummary) UnmarshalJSON(data []byte) (e error) { m.SystemTags = model.SystemTags + m.NodeEvictionNodePoolSettings = model.NodeEvictionNodePoolSettings + return } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_shape_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_shape_config.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_shape_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_shape_config.go index 685c4516d886..3d2915065111 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_shape_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_shape_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_details.go similarity index 95% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_details.go index bd1d940dcfaf..0035c27708b0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_option.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go similarity index 95% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_option.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go index c8f2de3bc1c9..73cab2eb38df 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_option.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_type.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_type.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_type.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_type.go index 2ac2913018d3..faccc4c02f27 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_type.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -11,6 +11,10 @@ package containerengine +import ( + "strings" +) + // NodeSourceTypeEnum Enum with underlying type: string type NodeSourceTypeEnum string @@ -23,6 +27,10 @@ var mappingNodeSourceTypeEnum = map[string]NodeSourceTypeEnum{ "IMAGE": NodeSourceTypeImage, } +var mappingNodeSourceTypeEnumLowerCase = map[string]NodeSourceTypeEnum{ + "image": NodeSourceTypeImage, +} + // GetNodeSourceTypeEnumValues Enumerates the set of values for NodeSourceTypeEnum func GetNodeSourceTypeEnumValues() []NodeSourceTypeEnum { values := make([]NodeSourceTypeEnum, 0) @@ -38,3 +46,9 @@ func GetNodeSourceTypeEnumStringValues() []string { "IMAGE", } } + +// GetMappingNodeSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingNodeSourceTypeEnum(val string) (NodeSourceTypeEnum, bool) { + enum, ok := mappingNodeSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_via_image_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_via_image_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_details.go index 636c2d2d7401..8d47ec98296b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_via_image_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_via_image_option.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_option.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_via_image_option.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_option.go index 8ba829fd4d36..0213ae1c5ac4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/node_source_via_image_option.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_cluster_pod_network_option_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_cluster_pod_network_option_details.go new file mode 100644 index 000000000000..26ee3ad5c2c0 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_cluster_pod_network_option_details.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// OciVcnIpNativeClusterPodNetworkOptionDetails Network options specific to using the OCI VCN Native CNI +type OciVcnIpNativeClusterPodNetworkOptionDetails struct { +} + +func (m OciVcnIpNativeClusterPodNetworkOptionDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m OciVcnIpNativeClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m OciVcnIpNativeClusterPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeOciVcnIpNativeClusterPodNetworkOptionDetails OciVcnIpNativeClusterPodNetworkOptionDetails + s := struct { + DiscriminatorParam string `json:"cniType"` + MarshalTypeOciVcnIpNativeClusterPodNetworkOptionDetails + }{ + "OCI_VCN_IP_NATIVE", + (MarshalTypeOciVcnIpNativeClusterPodNetworkOptionDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_node_pool_pod_network_option_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_node_pool_pod_network_option_details.go new file mode 100644 index 000000000000..b18958cda08e --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_node_pool_pod_network_option_details.go @@ -0,0 +1,62 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// OciVcnIpNativeNodePoolPodNetworkOptionDetails Network options specific to using the OCI VCN Native CNI +type OciVcnIpNativeNodePoolPodNetworkOptionDetails struct { + + // The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs + PodSubnetIds []string `mandatory:"true" json:"podSubnetIds"` + + // The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape + MaxPodsPerNode *int `mandatory:"false" json:"maxPodsPerNode"` + + // The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup. + PodNsgIds []string `mandatory:"false" json:"podNsgIds"` +} + +func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeOciVcnIpNativeNodePoolPodNetworkOptionDetails OciVcnIpNativeNodePoolPodNetworkOptionDetails + s := struct { + DiscriminatorParam string `json:"cniType"` + MarshalTypeOciVcnIpNativeNodePoolPodNetworkOptionDetails + }{ + "OCI_VCN_IP_NATIVE", + (MarshalTypeOciVcnIpNativeNodePoolPodNetworkOptionDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/persistent_volume_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/persistent_volume_config_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/persistent_volume_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/persistent_volume_config_details.go index c7faf7c2e5ea..30a1a4ef0007 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/persistent_volume_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/persistent_volume_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/placement_configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/placement_configuration.go new file mode 100644 index 000000000000..0c958e89e2ef --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/placement_configuration.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PlacementConfiguration The information of virtual node placement in the virtual node pool. +type PlacementConfiguration struct { + + // The availability domain in which to place virtual nodes. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` + + // The fault domain of this virtual node. + FaultDomain []string `mandatory:"false" json:"faultDomain"` + + // The OCID of the subnet in which to place virtual nodes. + SubnetId *string `mandatory:"false" json:"subnetId"` +} + +func (m PlacementConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PlacementConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_configuration.go new file mode 100644 index 000000000000..267e6f7f1fe4 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_configuration.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PodConfiguration The pod configuration for pods run on virtual nodes of this virtual node pool. +type PodConfiguration struct { + + // The regional subnet where pods' VNIC will be placed. + SubnetId *string `mandatory:"true" json:"subnetId"` + + // Shape of the pods. + Shape *string `mandatory:"true" json:"shape"` + + // List of network security group IDs applied to the Pod VNIC. + NsgIds []string `mandatory:"false" json:"nsgIds"` +} + +func (m PodConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PodConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape.go new file mode 100644 index 000000000000..c018fd809a7d --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PodShape Pod shape. +type PodShape struct { + + // The name of the identifying shape. + Name *string `mandatory:"true" json:"name"` + + // A short description of the VM's processor (CPU). + ProcessorDescription *string `mandatory:"false" json:"processorDescription"` + + // Options for OCPU shape. + OcpuOptions []ShapeOcpuOptions `mandatory:"false" json:"ocpuOptions"` + + // ShapeMemoryOptions. + MemoryOptions []ShapeMemoryOptions `mandatory:"false" json:"memoryOptions"` + + // ShapeNetworkBandwidthOptions. + NetworkBandwidthOptions []ShapeNetworkBandwidthOptions `mandatory:"false" json:"networkBandwidthOptions"` +} + +func (m PodShape) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PodShape) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape_summary.go new file mode 100644 index 000000000000..555f51404daa --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape_summary.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PodShapeSummary Pod shape. +type PodShapeSummary struct { + + // The name of the identifying shape. + Name *string `mandatory:"true" json:"name"` + + // A short description of the VM's processor (CPU). + ProcessorDescription *string `mandatory:"false" json:"processorDescription"` + + // Options for OCPU shape. + OcpuOptions []ShapeOcpuOptions `mandatory:"false" json:"ocpuOptions"` + + // ShapeMemoryOptions. + MemoryOptions []ShapeMemoryOptions `mandatory:"false" json:"memoryOptions"` + + // ShapeNetworkBandwidthOptions. + NetworkBandwidthOptions []ShapeNetworkBandwidthOptions `mandatory:"false" json:"networkBandwidthOptions"` +} + +func (m PodShapeSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PodShapeSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/preemptible_node_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/preemptible_node_config_details.go new file mode 100644 index 000000000000..c1feb67b7be9 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/preemptible_node_config_details.go @@ -0,0 +1,64 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PreemptibleNodeConfigDetails Configuration options for preemptible nodes. +type PreemptibleNodeConfigDetails struct { + PreemptionAction PreemptionAction `mandatory:"true" json:"preemptionAction"` +} + +func (m PreemptibleNodeConfigDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PreemptibleNodeConfigDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UnmarshalJSON unmarshals from json +func (m *PreemptibleNodeConfigDetails) UnmarshalJSON(data []byte) (e error) { + model := struct { + PreemptionAction preemptionaction `json:"preemptionAction"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + nn, e = model.PreemptionAction.UnmarshalPolymorphicJSON(model.PreemptionAction.JsonData) + if e != nil { + return + } + if nn != nil { + m.PreemptionAction = nn.(PreemptionAction) + } else { + m.PreemptionAction = nil + } + + return +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/preemption_action.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/preemption_action.go new file mode 100644 index 000000000000..e7a01fa5b8b5 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/preemption_action.go @@ -0,0 +1,116 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PreemptionAction The action to run when the preemptible node is interrupted for eviction. +type PreemptionAction interface { +} + +type preemptionaction struct { + JsonData []byte + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *preemptionaction) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerpreemptionaction preemptionaction + s := struct { + Model Unmarshalerpreemptionaction + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *preemptionaction) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "TERMINATE": + mm := TerminatePreemptionAction{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + return *m, nil + } +} + +func (m preemptionaction) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m preemptionaction) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// PreemptionActionTypeEnum Enum with underlying type: string +type PreemptionActionTypeEnum string + +// Set of constants representing the allowable values for PreemptionActionTypeEnum +const ( + PreemptionActionTypeTerminate PreemptionActionTypeEnum = "TERMINATE" +) + +var mappingPreemptionActionTypeEnum = map[string]PreemptionActionTypeEnum{ + "TERMINATE": PreemptionActionTypeTerminate, +} + +var mappingPreemptionActionTypeEnumLowerCase = map[string]PreemptionActionTypeEnum{ + "terminate": PreemptionActionTypeTerminate, +} + +// GetPreemptionActionTypeEnumValues Enumerates the set of values for PreemptionActionTypeEnum +func GetPreemptionActionTypeEnumValues() []PreemptionActionTypeEnum { + values := make([]PreemptionActionTypeEnum, 0) + for _, v := range mappingPreemptionActionTypeEnum { + values = append(values, v) + } + return values +} + +// GetPreemptionActionTypeEnumStringValues Enumerates the set of values in String for PreemptionActionTypeEnum +func GetPreemptionActionTypeEnumStringValues() []string { + return []string{ + "TERMINATE", + } +} + +// GetMappingPreemptionActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPreemptionActionTypeEnum(val string) (PreemptionActionTypeEnum, bool) { + enum, ok := mappingPreemptionActionTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/service_lb_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/service_lb_config_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/service_lb_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/service_lb_config_details.go index 477f6a79d57b..169ee1ea581b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/service_lb_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/service_lb_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_memory_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_memory_options.go new file mode 100644 index 000000000000..e6ee6a5e31d3 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_memory_options.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ShapeMemoryOptions Memory properties. +type ShapeMemoryOptions struct { + + // The minimum amount of memory, in gigabytes. + MinInGBs *float32 `mandatory:"false" json:"minInGBs"` + + // The maximum amount of memory, in gigabytes. + MaxInGBs *float32 `mandatory:"false" json:"maxInGBs"` + + // 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 { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ShapeMemoryOptions) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_network_bandwidth_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_network_bandwidth_options.go new file mode 100644 index 000000000000..f29c02306b1b --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_network_bandwidth_options.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ShapeNetworkBandwidthOptions Properties of network bandwidth. +type ShapeNetworkBandwidthOptions struct { + + // The minimum amount of networking bandwidth, in gigabits per second. + MinInGbps *float32 `mandatory:"false" json:"minInGbps"` + + // The maximum amount of networking bandwidth, in gigabits per second. + MaxInGbps *float32 `mandatory:"false" json:"maxInGbps"` + + // The default amount of networking bandwidth per OCPU, in gigabits per second. + DefaultPerOcpuInGbps *float32 `mandatory:"false" json:"defaultPerOcpuInGbps"` +} + +func (m ShapeNetworkBandwidthOptions) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ShapeNetworkBandwidthOptions) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_ocpu_options.go similarity index 71% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_ocpu_options.go index 93c9c4e5678c..6b0ca53f74e9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/shape_ocpu_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,25 +13,28 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// ClusterOptions Options for creating or updating clusters. -type ClusterOptions struct { +// ShapeOcpuOptions Properties of OCPUs. +type ShapeOcpuOptions struct { - // Available Kubernetes versions. - KubernetesVersions []string `mandatory:"false" json:"kubernetesVersions"` + // The minimum number of OCPUs. + Min *float32 `mandatory:"false" json:"min"` + + // The maximum number of OCPUs. + Max *float32 `mandatory:"false" json:"max"` } -func (m ClusterOptions) String() string { +func (m ShapeOcpuOptions) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m ClusterOptions) ValidateEnumValue() (bool, error) { +func (m ShapeOcpuOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/sort_order.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/sort_order.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/sort_order.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/sort_order.go index faee4e86f51d..84b1917bfb57 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/sort_order.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/sort_order.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -11,6 +11,10 @@ package containerengine +import ( + "strings" +) + // SortOrderEnum Enum with underlying type: string type SortOrderEnum string @@ -25,6 +29,11 @@ var mappingSortOrderEnum = map[string]SortOrderEnum{ "DESC": SortOrderDesc, } +var mappingSortOrderEnumLowerCase = map[string]SortOrderEnum{ + "asc": SortOrderAsc, + "desc": SortOrderDesc, +} + // GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum func GetSortOrderEnumValues() []SortOrderEnum { values := make([]SortOrderEnum, 0) @@ -41,3 +50,9 @@ func GetSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool) { + enum, ok := mappingSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/taint.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/taint.go new file mode 100644 index 000000000000..82ffd37233e7 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/taint.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Taint taints +type Taint struct { + + // The key of the pair. + Key *string `mandatory:"false" json:"key"` + + // The value of the pair. + Value *string `mandatory:"false" json:"value"` + + // The effect of the pair. + Effect *string `mandatory:"false" json:"effect"` +} + +func (m Taint) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Taint) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/terminate_preemption_action.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/terminate_preemption_action.go new file mode 100644 index 000000000000..15804f518904 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/terminate_preemption_action.go @@ -0,0 +1,56 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// TerminatePreemptionAction Terminates the preemptible instance when it is interrupted for eviction. +type TerminatePreemptionAction struct { + + // Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. + IsPreserveBootVolume *bool `mandatory:"false" json:"isPreserveBootVolume"` +} + +func (m TerminatePreemptionAction) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m TerminatePreemptionAction) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m TerminatePreemptionAction) MarshalJSON() (buff []byte, e error) { + type MarshalTypeTerminatePreemptionAction TerminatePreemptionAction + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeTerminatePreemptionAction + }{ + "TERMINATE", + (MarshalTypeTerminatePreemptionAction)(m), + } + + return json.Marshal(&s) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_details.go new file mode 100644 index 000000000000..c39eeed1e62d --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_details.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateAddonDetails The properties that define to update addon details. +type UpdateAddonDetails struct { + + // The version of the installed addon. + Version *string `mandatory:"false" json:"version"` + + // Addon configuration details. + Configurations []AddonConfiguration `mandatory:"false" json:"configurations"` +} + +func (m UpdateAddonDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateAddonDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_c3_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_request_response.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_c3_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_request_response.go index 6d4d494116a2..aa5eea9301c1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_c3_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_request_response.go @@ -1,32 +1,39 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// UpdateC3DrgRequest wrapper for the UpdateC3Drg operation -type UpdateC3DrgRequest struct { +// UpdateAddonRequest wrapper for the UpdateAddon operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateAddon.go.html to see an example of how to use UpdateAddonRequest. +type UpdateAddonRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. - DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` - // Details object for updating a DRG. - UpdateDrgDetails `contributesTo:"body"` + // The name of the addon. + AddonName *string `mandatory:"true" contributesTo:"path" name:"addonName"` + + // The details of the addon to be updated. + UpdateAddonDetails `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"` - // Unique Oracle-assigned identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. + // 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 @@ -34,12 +41,12 @@ type UpdateC3DrgRequest struct { RequestMetadata common.RequestMetadata } -func (request UpdateC3DrgRequest) String() string { +func (request UpdateAddonRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request UpdateC3DrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request UpdateAddonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -49,21 +56,21 @@ func (request UpdateC3DrgRequest) HTTPRequest(method, path string, binaryRequest } // BinaryRequestBody implements the OCIRequest interface -func (request UpdateC3DrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request UpdateAddonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateC3DrgRequest) RetryPolicy() *common.RetryPolicy { +func (request UpdateAddonRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request UpdateC3DrgRequest) ValidateEnumValue() (bool, error) { +func (request UpdateAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -71,28 +78,24 @@ func (request UpdateC3DrgRequest) ValidateEnumValue() (bool, error) { return false, nil } -// UpdateC3DrgResponse wrapper for the UpdateC3Drg operation -type UpdateC3DrgResponse struct { +// UpdateAddonResponse wrapper for the UpdateAddon operation +type UpdateAddonResponse struct { // The underlying http response RawResponse *http.Response - // The Drg instance - Drg `presentIn:"body"` + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` - // 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. + // 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 UpdateC3DrgResponse) String() string { +func (response UpdateAddonResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response UpdateC3DrgResponse) HTTPResponse() *http.Response { +func (response UpdateAddonResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_details.go index 38fd76b0e3ba..e9ef3bc6957d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -42,6 +42,9 @@ type UpdateClusterDetails struct { // one or more kms keys, the policy will ensure all images deployed has been signed with the key(s) // attached to the policy. ImagePolicyConfig *UpdateImagePolicyConfigDetails `mandatory:"false" json:"imagePolicyConfig"` + + // Type of cluster + Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"` } func (m UpdateClusterDetails) String() string { @@ -54,6 +57,9 @@ func (m UpdateClusterDetails) String() string { func (m UpdateClusterDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingClusterTypeEnum(string(m.Type)); !ok && m.Type != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_endpoint_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_endpoint_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_details.go index 0b69da22a8f6..d8d9e5e1ad9c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_endpoint_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_endpoint_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_endpoint_config_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_request_response.go index 3611b9169ccc..42ec04e52ca5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_endpoint_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateClusterEndpointConfigRequest wrapper for the UpdateClusterEndpointConfig operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfigRequest. type UpdateClusterEndpointConfigRequest struct { // The OCID of the cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_options_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_options_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_options_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_options_details.go index c053f7817d86..7eb47c26dfd9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_options_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_options_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_request_response.go index b0ee5c1f3618..445103dda779 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateClusterRequest wrapper for the UpdateCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateClusterRequest. type UpdateClusterRequest struct { // The OCID of the cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_image_policy_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_image_policy_config_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_image_policy_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_image_policy_config_details.go index 884988479bed..600d8dcab532 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_image_policy_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_image_policy_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go index 1500df162fdf..5ad3ce44aff6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 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 containerengine import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -72,6 +72,8 @@ type UpdateNodePoolDetails struct { // 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"` + + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"` } func (m UpdateNodePoolDetails) String() string { @@ -93,19 +95,20 @@ func (m UpdateNodePoolDetails) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *UpdateNodePoolDetails) UnmarshalJSON(data []byte) (e error) { model := struct { - Name *string `json:"name"` - KubernetesVersion *string `json:"kubernetesVersion"` - InitialNodeLabels []KeyValue `json:"initialNodeLabels"` - QuantityPerSubnet *int `json:"quantityPerSubnet"` - SubnetIds []string `json:"subnetIds"` - NodeConfigDetails *UpdateNodePoolNodeConfigDetails `json:"nodeConfigDetails"` - NodeMetadata map[string]string `json:"nodeMetadata"` - NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` - SshPublicKey *string `json:"sshPublicKey"` - NodeShape *string `json:"nodeShape"` - NodeShapeConfig *UpdateNodeShapeConfigDetails `json:"nodeShapeConfig"` - FreeformTags map[string]string `json:"freeformTags"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` + Name *string `json:"name"` + KubernetesVersion *string `json:"kubernetesVersion"` + InitialNodeLabels []KeyValue `json:"initialNodeLabels"` + QuantityPerSubnet *int `json:"quantityPerSubnet"` + SubnetIds []string `json:"subnetIds"` + NodeConfigDetails *UpdateNodePoolNodeConfigDetails `json:"nodeConfigDetails"` + NodeMetadata map[string]string `json:"nodeMetadata"` + NodeSourceDetails nodesourcedetails `json:"nodeSourceDetails"` + SshPublicKey *string `json:"sshPublicKey"` + NodeShape *string `json:"nodeShape"` + NodeShapeConfig *UpdateNodeShapeConfigDetails `json:"nodeShapeConfig"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `json:"nodeEvictionNodePoolSettings"` }{} e = json.Unmarshal(data, &model) @@ -153,5 +156,7 @@ func (m *UpdateNodePoolDetails) UnmarshalJSON(data []byte) (e error) { m.DefinedTags = model.DefinedTags + m.NodeEvictionNodePoolSettings = model.NodeEvictionNodePoolSettings + return } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_node_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_node_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go index dfc901433847..d9ec40c467b0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_node_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -12,8 +12,9 @@ package containerengine import ( + "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -48,6 +49,9 @@ type UpdateNodePoolNodeConfigDetails struct { // each availability domain, and include the regional subnet in each placement // configuration. PlacementConfigs []NodePoolPlacementConfigDetails `mandatory:"false" json:"placementConfigs"` + + // The CNI related configuration of pods in the node pool. + NodePoolPodNetworkOptionDetails NodePoolPodNetworkOptionDetails `mandatory:"false" json:"nodePoolPodNetworkOptionDetails"` } func (m UpdateNodePoolNodeConfigDetails) String() string { @@ -65,3 +69,54 @@ func (m UpdateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error) { } return false, nil } + +// UnmarshalJSON unmarshals from json +func (m *UpdateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) { + model := struct { + Size *int `json:"size"` + NsgIds []string `json:"nsgIds"` + KmsKeyId *string `json:"kmsKeyId"` + IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"` + FreeformTags map[string]string `json:"freeformTags"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + PlacementConfigs []NodePoolPlacementConfigDetails `json:"placementConfigs"` + NodePoolPodNetworkOptionDetails nodepoolpodnetworkoptiondetails `json:"nodePoolPodNetworkOptionDetails"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.Size = model.Size + + m.NsgIds = make([]string, len(model.NsgIds)) + for i, n := range model.NsgIds { + m.NsgIds[i] = n + } + + m.KmsKeyId = model.KmsKeyId + + m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled + + m.FreeformTags = model.FreeformTags + + m.DefinedTags = model.DefinedTags + + m.PlacementConfigs = make([]NodePoolPlacementConfigDetails, len(model.PlacementConfigs)) + for i, n := range model.PlacementConfigs { + m.PlacementConfigs[i] = n + } + + nn, e = model.NodePoolPodNetworkOptionDetails.UnmarshalPolymorphicJSON(model.NodePoolPodNetworkOptionDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.NodePoolPodNetworkOptionDetails = nn.(NodePoolPodNetworkOptionDetails) + } else { + m.NodePoolPodNetworkOptionDetails = nil + } + + return +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_request_response.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_request_response.go index 635f04d062f2..3aa3574d6524 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateNodePoolRequest wrapper for the UpdateNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePoolRequest. type UpdateNodePoolRequest struct { // The OCID of the node pool. @@ -29,6 +33,13 @@ type UpdateNodePoolRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // Duration after which OKE will give up eviction of the pods on the node. + // PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M + OverrideEvictionGraceDuration *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDuration"` + + // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period + IsForceDeletionAfterOverrideGraceDuration *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDuration"` + // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_shape_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_shape_config_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_shape_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_shape_config_details.go index 9235a70bc27d..169700394e67 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/update_node_shape_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_details.go new file mode 100644 index 000000000000..3849a8bc0b8d --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_details.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateVirtualNodeDetails The properties that define a request to update a virtual node. +type UpdateVirtualNodeDetails struct { + + // The state of the Virtual Node. + LifecycleState VirtualNodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` +} + +func (m UpdateVirtualNodeDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateVirtualNodeDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingVirtualNodeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodeLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_details.go new file mode 100644 index 000000000000..9bdc84014f15 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_details.go @@ -0,0 +1,71 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateVirtualNodePoolDetails The properties that define a request to update a virtual node pool. +type UpdateVirtualNodePoolDetails struct { + + // Display name of the virtual node pool. This is a non-unique value. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Initial labels that will be added to the Kubernetes Virtual Node object when it registers. + InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"` + + // A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. + Taints []Taint `mandatory:"false" json:"taints"` + + // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. + Size *int `mandatory:"false" json:"size"` + + // The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations + PlacementConfigurations []PlacementConfiguration `mandatory:"false" json:"placementConfigurations"` + + // List of network security group id's applied to the Virtual Node VNIC. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The pod configuration for pods run on virtual nodes of this virtual node pool. + PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` + + // 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"` + + // 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"` + + VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"` +} + +func (m UpdateVirtualNodePoolDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateVirtualNodePoolDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_endpoint_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_request_response.go similarity index 63% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_endpoint_service_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_request_response.go index 6bb11f95f505..7a9f5c99c4e1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_endpoint_service_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_request_response.go @@ -1,29 +1,36 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. -package core +package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// DeleteEndpointServiceRequest wrapper for the DeleteEndpointService operation -type DeleteEndpointServiceRequest struct { +// UpdateVirtualNodePoolRequest wrapper for the UpdateVirtualNodePool operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateVirtualNodePool.go.html to see an example of how to use UpdateVirtualNodePoolRequest. +type UpdateVirtualNodePoolRequest struct { - // The endpoint service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - EndpointServiceId *string `mandatory:"true" contributesTo:"path" name:"endpointServiceId"` + // The OCID of the virtual node pool. + VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"` + + // The fields to update in a virtual node pool. + UpdateVirtualNodePoolDetails `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"` - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. + // 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 @@ -31,12 +38,12 @@ type DeleteEndpointServiceRequest struct { RequestMetadata common.RequestMetadata } -func (request DeleteEndpointServiceRequest) String() string { +func (request UpdateVirtualNodePoolRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request DeleteEndpointServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request UpdateVirtualNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -46,21 +53,21 @@ func (request DeleteEndpointServiceRequest) HTTPRequest(method, path string, bin } // BinaryRequestBody implements the OCIRequest interface -func (request DeleteEndpointServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request UpdateVirtualNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteEndpointServiceRequest) RetryPolicy() *common.RetryPolicy { +func (request UpdateVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request DeleteEndpointServiceRequest) ValidateEnumValue() (bool, error) { +func (request UpdateVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -68,26 +75,24 @@ func (request DeleteEndpointServiceRequest) ValidateEnumValue() (bool, error) { return false, nil } -// DeleteEndpointServiceResponse wrapper for the DeleteEndpointService operation -type DeleteEndpointServiceResponse struct { +// UpdateVirtualNodePoolResponse wrapper for the UpdateVirtualNodePool operation +type UpdateVirtualNodePoolResponse 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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. + // The OCID of the work request handling the operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // 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 DeleteEndpointServiceResponse) String() string { +func (response UpdateVirtualNodePoolResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response DeleteEndpointServiceResponse) HTTPResponse() *http.Response { +func (response UpdateVirtualNodePoolResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node.go similarity index 53% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node.go index 7930650e80e3..3e4ac4890e2c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/cluster.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,33 +13,51 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// Cluster A Kubernetes cluster. Avoid entering confidential information. -type Cluster struct { +// VirtualNode The properties that define a virtual node. +type VirtualNode struct { - // The OCID of the cluster. - Id *string `mandatory:"false" json:"id"` + // The ocid of the virtual node. + Id *string `mandatory:"true" json:"id"` - // The name of the cluster. - Name *string `mandatory:"false" json:"name"` + // The name of the virtual node. + DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID of the compartment in which the cluster exists. - CompartmentId *string `mandatory:"false" json:"compartmentId"` + // The ocid of the virtual node pool this virtual node belongs to. + VirtualNodePoolId *string `mandatory:"true" json:"virtualNodePoolId"` - // The network configuration for access to the Cluster control plane. - EndpointConfig *ClusterEndpointConfig `mandatory:"false" json:"endpointConfig"` + // The version of Kubernetes this virtual node is running. + KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"` - // The OCID of the virtual cloud network (VCN) in which the cluster exists. - VcnId *string `mandatory:"false" json:"vcnId"` + // The name of the availability domain in which this virtual node is placed + AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The version of Kubernetes running on the cluster masters. - KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"` + // The fault domain of this virtual node. + FaultDomain *string `mandatory:"false" json:"faultDomain"` + + // The OCID of the subnet in which this Virtual Node is placed. + SubnetId *string `mandatory:"false" json:"subnetId"` + + // NSG Ids applied to virtual node vnic. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The private IP address of this Virtual Node. + PrivateIp *string `mandatory:"false" json:"privateIp"` + + // An error that may be associated with the virtual node. + VirtualNodeError *string `mandatory:"false" json:"virtualNodeError"` + + // The state of the Virtual Node. + LifecycleState VirtualNodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // Details about the state of the Virtual Node. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` - // The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. - KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + // The time at which the virtual node was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // 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). @@ -54,41 +72,20 @@ type Cluster struct { // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` - - // Optional attributes for the cluster. - Options *ClusterCreateOptions `mandatory:"false" json:"options"` - - // Metadata about the cluster. - Metadata *ClusterMetadata `mandatory:"false" json:"metadata"` - - // The state of the cluster masters. - LifecycleState ClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // Details about the state of the cluster masters. - LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` - - // Endpoints served up by the cluster masters. - Endpoints *ClusterEndpoints `mandatory:"false" json:"endpoints"` - - // Available Kubernetes versions to which the clusters masters may be upgraded. - AvailableKubernetesUpgrades []string `mandatory:"false" json:"availableKubernetesUpgrades"` - - // The image verification policy for signature validation. - ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"` } -func (m Cluster) String() string { +func (m VirtualNode) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m Cluster) ValidateEnumValue() (bool, error) { +func (m VirtualNode) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingClusterLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClusterLifecycleStateEnumStringValues(), ","))) + if _, ok := GetMappingVirtualNodeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodeLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_lifecycle_state.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_lifecycle_state.go new file mode 100644 index 000000000000..979301ec05ec --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_lifecycle_state.go @@ -0,0 +1,78 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "strings" +) + +// VirtualNodeLifecycleStateEnum Enum with underlying type: string +type VirtualNodeLifecycleStateEnum string + +// Set of constants representing the allowable values for VirtualNodeLifecycleStateEnum +const ( + VirtualNodeLifecycleStateCreating VirtualNodeLifecycleStateEnum = "CREATING" + VirtualNodeLifecycleStateActive VirtualNodeLifecycleStateEnum = "ACTIVE" + VirtualNodeLifecycleStateUpdating VirtualNodeLifecycleStateEnum = "UPDATING" + VirtualNodeLifecycleStateDeleting VirtualNodeLifecycleStateEnum = "DELETING" + VirtualNodeLifecycleStateDeleted VirtualNodeLifecycleStateEnum = "DELETED" + VirtualNodeLifecycleStateFailed VirtualNodeLifecycleStateEnum = "FAILED" + VirtualNodeLifecycleStateNeedsAttention VirtualNodeLifecycleStateEnum = "NEEDS_ATTENTION" +) + +var mappingVirtualNodeLifecycleStateEnum = map[string]VirtualNodeLifecycleStateEnum{ + "CREATING": VirtualNodeLifecycleStateCreating, + "ACTIVE": VirtualNodeLifecycleStateActive, + "UPDATING": VirtualNodeLifecycleStateUpdating, + "DELETING": VirtualNodeLifecycleStateDeleting, + "DELETED": VirtualNodeLifecycleStateDeleted, + "FAILED": VirtualNodeLifecycleStateFailed, + "NEEDS_ATTENTION": VirtualNodeLifecycleStateNeedsAttention, +} + +var mappingVirtualNodeLifecycleStateEnumLowerCase = map[string]VirtualNodeLifecycleStateEnum{ + "creating": VirtualNodeLifecycleStateCreating, + "active": VirtualNodeLifecycleStateActive, + "updating": VirtualNodeLifecycleStateUpdating, + "deleting": VirtualNodeLifecycleStateDeleting, + "deleted": VirtualNodeLifecycleStateDeleted, + "failed": VirtualNodeLifecycleStateFailed, + "needs_attention": VirtualNodeLifecycleStateNeedsAttention, +} + +// GetVirtualNodeLifecycleStateEnumValues Enumerates the set of values for VirtualNodeLifecycleStateEnum +func GetVirtualNodeLifecycleStateEnumValues() []VirtualNodeLifecycleStateEnum { + values := make([]VirtualNodeLifecycleStateEnum, 0) + for _, v := range mappingVirtualNodeLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetVirtualNodeLifecycleStateEnumStringValues Enumerates the set of values in String for VirtualNodeLifecycleStateEnum +func GetVirtualNodeLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "UPDATING", + "DELETING", + "DELETED", + "FAILED", + "NEEDS_ATTENTION", + } +} + +// GetMappingVirtualNodeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualNodeLifecycleStateEnum(val string) (VirtualNodeLifecycleStateEnum, bool) { + enum, ok := mappingVirtualNodeLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool.go new file mode 100644 index 000000000000..0d7c4bbb3c0b --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// VirtualNodePool A pool of virtual nodes attached to a cluster. +type VirtualNodePool struct { + + // The OCID of the virtual node pool. + Id *string `mandatory:"true" json:"id"` + + // Compartment of the virtual node pool. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster. + ClusterId *string `mandatory:"true" json:"clusterId"` + + // Display name of the virtual node pool. This is a non-unique value. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The version of Kubernetes running on the nodes in the node pool. + KubernetesVersion *string `mandatory:"true" json:"kubernetesVersion"` + + // The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations + PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"` + + // Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources. + InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"` + + // A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. + Taints []Taint `mandatory:"false" json:"taints"` + + // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. + Size *int `mandatory:"false" json:"size"` + + // List of network security group id's applied to the Virtual Node VNIC. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The pod configuration for pods run on virtual nodes of this virtual node pool. + PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` + + // The state of the Virtual Node Pool. + LifecycleState VirtualNodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // Details about the state of the Virtual Node Pool. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The time the virtual node pool was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // The time the virtual node pool was updated. + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` + + // 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"` + + // 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"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"` +} + +func (m VirtualNodePool) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m VirtualNodePool) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingVirtualNodePoolLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodePoolLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_lifecycle_state.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_lifecycle_state.go new file mode 100644 index 000000000000..3aa9aee03c06 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_lifecycle_state.go @@ -0,0 +1,78 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "strings" +) + +// VirtualNodePoolLifecycleStateEnum Enum with underlying type: string +type VirtualNodePoolLifecycleStateEnum string + +// Set of constants representing the allowable values for VirtualNodePoolLifecycleStateEnum +const ( + VirtualNodePoolLifecycleStateCreating VirtualNodePoolLifecycleStateEnum = "CREATING" + VirtualNodePoolLifecycleStateActive VirtualNodePoolLifecycleStateEnum = "ACTIVE" + VirtualNodePoolLifecycleStateUpdating VirtualNodePoolLifecycleStateEnum = "UPDATING" + VirtualNodePoolLifecycleStateDeleting VirtualNodePoolLifecycleStateEnum = "DELETING" + VirtualNodePoolLifecycleStateDeleted VirtualNodePoolLifecycleStateEnum = "DELETED" + VirtualNodePoolLifecycleStateFailed VirtualNodePoolLifecycleStateEnum = "FAILED" + VirtualNodePoolLifecycleStateNeedsAttention VirtualNodePoolLifecycleStateEnum = "NEEDS_ATTENTION" +) + +var mappingVirtualNodePoolLifecycleStateEnum = map[string]VirtualNodePoolLifecycleStateEnum{ + "CREATING": VirtualNodePoolLifecycleStateCreating, + "ACTIVE": VirtualNodePoolLifecycleStateActive, + "UPDATING": VirtualNodePoolLifecycleStateUpdating, + "DELETING": VirtualNodePoolLifecycleStateDeleting, + "DELETED": VirtualNodePoolLifecycleStateDeleted, + "FAILED": VirtualNodePoolLifecycleStateFailed, + "NEEDS_ATTENTION": VirtualNodePoolLifecycleStateNeedsAttention, +} + +var mappingVirtualNodePoolLifecycleStateEnumLowerCase = map[string]VirtualNodePoolLifecycleStateEnum{ + "creating": VirtualNodePoolLifecycleStateCreating, + "active": VirtualNodePoolLifecycleStateActive, + "updating": VirtualNodePoolLifecycleStateUpdating, + "deleting": VirtualNodePoolLifecycleStateDeleting, + "deleted": VirtualNodePoolLifecycleStateDeleted, + "failed": VirtualNodePoolLifecycleStateFailed, + "needs_attention": VirtualNodePoolLifecycleStateNeedsAttention, +} + +// GetVirtualNodePoolLifecycleStateEnumValues Enumerates the set of values for VirtualNodePoolLifecycleStateEnum +func GetVirtualNodePoolLifecycleStateEnumValues() []VirtualNodePoolLifecycleStateEnum { + values := make([]VirtualNodePoolLifecycleStateEnum, 0) + for _, v := range mappingVirtualNodePoolLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetVirtualNodePoolLifecycleStateEnumStringValues Enumerates the set of values in String for VirtualNodePoolLifecycleStateEnum +func GetVirtualNodePoolLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "UPDATING", + "DELETING", + "DELETED", + "FAILED", + "NEEDS_ATTENTION", + } +} + +// GetMappingVirtualNodePoolLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualNodePoolLifecycleStateEnum(val string) (VirtualNodePoolLifecycleStateEnum, bool) { + enum, ok := mappingVirtualNodePoolLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_summary.go new file mode 100644 index 000000000000..3a335c8ada8b --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_summary.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// VirtualNodePoolSummary The properties that define a virtual node pool summary. +type VirtualNodePoolSummary struct { + + // The OCID of the virtual node pool. + Id *string `mandatory:"true" json:"id"` + + // Compartment of the virtual node pool. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster. + ClusterId *string `mandatory:"true" json:"clusterId"` + + // Display name of the virtual node pool. This is a non-unique value. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The version of Kubernetes running on the nodes in the node pool. + KubernetesVersion *string `mandatory:"true" json:"kubernetesVersion"` + + // The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations + PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"` + + // Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources. + InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"` + + // A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. + Taints []Taint `mandatory:"false" json:"taints"` + + // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. + Size *int `mandatory:"false" json:"size"` + + // List of network security group id's applied to the Virtual Node VNIC. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The pod configuration for pods run on virtual nodes of this virtual node pool. + PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` + + // The state of the Virtual Node Pool. + LifecycleState VirtualNodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // Details about the state of the Virtual Node Pool. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The time the virtual node pool was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // The time the virtual node pool was updated. + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` + + // 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"` + + // 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"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"` +} + +func (m VirtualNodePoolSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m VirtualNodePoolSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingVirtualNodePoolLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodePoolLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_summary.go new file mode 100644 index 000000000000..59152a486c10 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_summary.go @@ -0,0 +1,94 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// VirtualNodeSummary The properties that define a virtual node summary. +type VirtualNodeSummary struct { + + // The ocid of the virtual node. + Id *string `mandatory:"true" json:"id"` + + // The name of the virtual node. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The ocid of the virtual node pool this virtual node belongs to. + VirtualNodePoolId *string `mandatory:"true" json:"virtualNodePoolId"` + + // The version of Kubernetes this virtual node is running. + KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"` + + // The name of the availability domain in which this virtual node is placed + AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` + + // The fault domain of this virtual node. + FaultDomain *string `mandatory:"false" json:"faultDomain"` + + // The OCID of the subnet in which this Virtual Node is placed. + SubnetId *string `mandatory:"false" json:"subnetId"` + + // NSG Ids applied to virtual node vnic. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The private IP address of this Virtual Node. + PrivateIp *string `mandatory:"false" json:"privateIp"` + + // An error that may be associated with the virtual node. + VirtualNodeError *string `mandatory:"false" json:"virtualNodeError"` + + // The state of the Virtual Node. + LifecycleState VirtualNodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // Details about the state of the Virtual Node. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The time at which the virtual node was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // 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"` + + // 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"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` +} + +func (m VirtualNodeSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m VirtualNodeSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingVirtualNodeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodeLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_tags.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_tags.go new file mode 100644 index 000000000000..f01023bcf182 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_tags.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// VirtualNodeTags The tags associated to the virtual nodes in this virtual node pool. +type VirtualNodeTags struct { + + // 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"` + + // 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"` +} + +func (m VirtualNodeTags) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m VirtualNodeTags) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request.go index 35d3074a2bc1..5f8d25c92473 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -55,10 +55,10 @@ func (m WorkRequest) String() string { func (m WorkRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingWorkRequestOperationTypeEnum[string(m.OperationType)]; !ok && m.OperationType != "" { + if _, ok := GetMappingWorkRequestOperationTypeEnum(string(m.OperationType)); !ok && m.OperationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OperationType: %s. Supported values are: %s.", m.OperationType, strings.Join(GetWorkRequestOperationTypeEnumStringValues(), ","))) } - if _, ok := mappingWorkRequestStatusEnum[string(m.Status)]; !ok && m.Status != "" { + if _, ok := GetMappingWorkRequestStatusEnum(string(m.Status)); !ok && m.Status != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetWorkRequestStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_error.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_error.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_error.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_error.go index b80584a19de1..543181e9b514 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_error.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_log_entry.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_log_entry.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_log_entry.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_log_entry.go index ad2082c4958f..01bc678eaddb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_log_entry.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_log_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_operation_type.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_operation_type.go new file mode 100644 index 000000000000..9d31614d7aaa --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_operation_type.go @@ -0,0 +1,114 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Container Engine for Kubernetes API +// +// API for the Container Engine for Kubernetes service. Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Container Engine for Kubernetes (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "strings" +) + +// WorkRequestOperationTypeEnum Enum with underlying type: string +type WorkRequestOperationTypeEnum string + +// Set of constants representing the allowable values for WorkRequestOperationTypeEnum +const ( + WorkRequestOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" + WorkRequestOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" + WorkRequestOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" + WorkRequestOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" + WorkRequestOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" + WorkRequestOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" + WorkRequestOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" + WorkRequestOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" + WorkRequestOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE" + WorkRequestOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE" + WorkRequestOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE" + WorkRequestOperationTypeVirtualnodeDelete WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE" + WorkRequestOperationTypeEnableAddon WorkRequestOperationTypeEnum = "ENABLE_ADDON" + WorkRequestOperationTypeUpdateAddon WorkRequestOperationTypeEnum = "UPDATE_ADDON" + WorkRequestOperationTypeDisableAddon WorkRequestOperationTypeEnum = "DISABLE_ADDON" + WorkRequestOperationTypeReconcileAddon WorkRequestOperationTypeEnum = "RECONCILE_ADDON" +) + +var mappingWorkRequestOperationTypeEnum = map[string]WorkRequestOperationTypeEnum{ + "CLUSTER_CREATE": WorkRequestOperationTypeClusterCreate, + "CLUSTER_UPDATE": WorkRequestOperationTypeClusterUpdate, + "CLUSTER_DELETE": WorkRequestOperationTypeClusterDelete, + "NODEPOOL_CREATE": WorkRequestOperationTypeNodepoolCreate, + "NODEPOOL_UPDATE": WorkRequestOperationTypeNodepoolUpdate, + "NODEPOOL_DELETE": WorkRequestOperationTypeNodepoolDelete, + "NODEPOOL_RECONCILE": WorkRequestOperationTypeNodepoolReconcile, + "WORKREQUEST_CANCEL": WorkRequestOperationTypeWorkrequestCancel, + "VIRTUALNODEPOOL_CREATE": WorkRequestOperationTypeVirtualnodepoolCreate, + "VIRTUALNODEPOOL_UPDATE": WorkRequestOperationTypeVirtualnodepoolUpdate, + "VIRTUALNODEPOOL_DELETE": WorkRequestOperationTypeVirtualnodepoolDelete, + "VIRTUALNODE_DELETE": WorkRequestOperationTypeVirtualnodeDelete, + "ENABLE_ADDON": WorkRequestOperationTypeEnableAddon, + "UPDATE_ADDON": WorkRequestOperationTypeUpdateAddon, + "DISABLE_ADDON": WorkRequestOperationTypeDisableAddon, + "RECONCILE_ADDON": WorkRequestOperationTypeReconcileAddon, +} + +var mappingWorkRequestOperationTypeEnumLowerCase = map[string]WorkRequestOperationTypeEnum{ + "cluster_create": WorkRequestOperationTypeClusterCreate, + "cluster_update": WorkRequestOperationTypeClusterUpdate, + "cluster_delete": WorkRequestOperationTypeClusterDelete, + "nodepool_create": WorkRequestOperationTypeNodepoolCreate, + "nodepool_update": WorkRequestOperationTypeNodepoolUpdate, + "nodepool_delete": WorkRequestOperationTypeNodepoolDelete, + "nodepool_reconcile": WorkRequestOperationTypeNodepoolReconcile, + "workrequest_cancel": WorkRequestOperationTypeWorkrequestCancel, + "virtualnodepool_create": WorkRequestOperationTypeVirtualnodepoolCreate, + "virtualnodepool_update": WorkRequestOperationTypeVirtualnodepoolUpdate, + "virtualnodepool_delete": WorkRequestOperationTypeVirtualnodepoolDelete, + "virtualnode_delete": WorkRequestOperationTypeVirtualnodeDelete, + "enable_addon": WorkRequestOperationTypeEnableAddon, + "update_addon": WorkRequestOperationTypeUpdateAddon, + "disable_addon": WorkRequestOperationTypeDisableAddon, + "reconcile_addon": WorkRequestOperationTypeReconcileAddon, +} + +// GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum +func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum { + values := make([]WorkRequestOperationTypeEnum, 0) + for _, v := range mappingWorkRequestOperationTypeEnum { + values = append(values, v) + } + return values +} + +// GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum +func GetWorkRequestOperationTypeEnumStringValues() []string { + return []string{ + "CLUSTER_CREATE", + "CLUSTER_UPDATE", + "CLUSTER_DELETE", + "NODEPOOL_CREATE", + "NODEPOOL_UPDATE", + "NODEPOOL_DELETE", + "NODEPOOL_RECONCILE", + "WORKREQUEST_CANCEL", + "VIRTUALNODEPOOL_CREATE", + "VIRTUALNODEPOOL_UPDATE", + "VIRTUALNODEPOOL_DELETE", + "VIRTUALNODE_DELETE", + "ENABLE_ADDON", + "UPDATE_ADDON", + "DISABLE_ADDON", + "RECONCILE_ADDON", + } +} + +// GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool) { + enum, ok := mappingWorkRequestOperationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_resource.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_resource.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_resource.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_resource.go index 3161f4824834..c5aa34d069bd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_resource.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_resource.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -43,7 +43,7 @@ func (m WorkRequestResource) String() string { func (m WorkRequestResource) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingWorkRequestResourceActionTypeEnum[string(m.ActionType)]; !ok && m.ActionType != "" { + if _, ok := GetMappingWorkRequestResourceActionTypeEnum(string(m.ActionType)); !ok && m.ActionType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ActionType: %s. Supported values are: %s.", m.ActionType, strings.Join(GetWorkRequestResourceActionTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -80,6 +80,18 @@ var mappingWorkRequestResourceActionTypeEnum = map[string]WorkRequestResourceAct "CANCELED_DELETE": WorkRequestResourceActionTypeCanceledDelete, } +var mappingWorkRequestResourceActionTypeEnumLowerCase = map[string]WorkRequestResourceActionTypeEnum{ + "created": WorkRequestResourceActionTypeCreated, + "updated": WorkRequestResourceActionTypeUpdated, + "deleted": WorkRequestResourceActionTypeDeleted, + "related": WorkRequestResourceActionTypeRelated, + "in_progress": WorkRequestResourceActionTypeInProgress, + "failed": WorkRequestResourceActionTypeFailed, + "canceled_create": WorkRequestResourceActionTypeCanceledCreate, + "canceled_update": WorkRequestResourceActionTypeCanceledUpdate, + "canceled_delete": WorkRequestResourceActionTypeCanceledDelete, +} + // GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum { values := make([]WorkRequestResourceActionTypeEnum, 0) @@ -103,3 +115,9 @@ func GetWorkRequestResourceActionTypeEnumStringValues() []string { "CANCELED_DELETE", } } + +// GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool) { + enum, ok := mappingWorkRequestResourceActionTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_status.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_status.go index 1bdac0ade959..58f2609f7900 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -11,6 +11,10 @@ package containerengine +import ( + "strings" +) + // WorkRequestStatusEnum Enum with underlying type: string type WorkRequestStatusEnum string @@ -33,6 +37,15 @@ var mappingWorkRequestStatusEnum = map[string]WorkRequestStatusEnum{ "CANCELED": WorkRequestStatusCanceled, } +var mappingWorkRequestStatusEnumLowerCase = map[string]WorkRequestStatusEnum{ + "accepted": WorkRequestStatusAccepted, + "in_progress": WorkRequestStatusInProgress, + "failed": WorkRequestStatusFailed, + "succeeded": WorkRequestStatusSucceeded, + "canceling": WorkRequestStatusCanceling, + "canceled": WorkRequestStatusCanceled, +} + // GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum { values := make([]WorkRequestStatusEnum, 0) @@ -53,3 +66,9 @@ func GetWorkRequestStatusEnumStringValues() []string { "CANCELED", } } + +// GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool) { + enum, ok := mappingWorkRequestStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_summary.go similarity index 68% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_summary.go index 1282f9a03914..02a2e12d9f3a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/containerengine/work_request_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -13,7 +13,7 @@ package containerengine import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -55,10 +55,10 @@ func (m WorkRequestSummary) String() string { func (m WorkRequestSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingWorkRequestOperationTypeEnum[string(m.OperationType)]; !ok && m.OperationType != "" { + if _, ok := GetMappingWorkRequestOperationTypeEnum(string(m.OperationType)); !ok && m.OperationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OperationType: %s. Supported values are: %s.", m.OperationType, strings.Join(GetWorkRequestOperationTypeEnumStringValues(), ","))) } - if _, ok := mappingWorkRequestStatusEnum[string(m.Status)]; !ok && m.Status != "" { + if _, ok := GetMappingWorkRequestStatusEnum(string(m.Status)); !ok && m.Status != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetWorkRequestStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -75,14 +75,22 @@ type WorkRequestSummaryOperationTypeEnum = WorkRequestOperationTypeEnum // Set of constants representing the allowable values for WorkRequestOperationTypeEnum // Deprecated const ( - WorkRequestSummaryOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" - WorkRequestSummaryOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" - WorkRequestSummaryOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" - WorkRequestSummaryOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" - WorkRequestSummaryOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" - WorkRequestSummaryOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" - WorkRequestSummaryOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" - WorkRequestSummaryOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" + WorkRequestSummaryOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" + WorkRequestSummaryOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" + WorkRequestSummaryOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" + WorkRequestSummaryOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" + WorkRequestSummaryOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" + WorkRequestSummaryOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" + WorkRequestSummaryOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" + WorkRequestSummaryOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" + WorkRequestSummaryOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE" + WorkRequestSummaryOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE" + WorkRequestSummaryOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE" + WorkRequestSummaryOperationTypeVirtualnodeDelete WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE" + WorkRequestSummaryOperationTypeEnableAddon WorkRequestOperationTypeEnum = "ENABLE_ADDON" + WorkRequestSummaryOperationTypeUpdateAddon WorkRequestOperationTypeEnum = "UPDATE_ADDON" + WorkRequestSummaryOperationTypeDisableAddon WorkRequestOperationTypeEnum = "DISABLE_ADDON" + WorkRequestSummaryOperationTypeReconcileAddon WorkRequestOperationTypeEnum = "RECONCILE_ADDON" ) // GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_shielded_integrity_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/accept_shielded_integrity_policy_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_shielded_integrity_policy_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/accept_shielded_integrity_policy_request_response.go index 74f955b6fe5a..f3071a0fc3aa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/accept_shielded_integrity_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/accept_shielded_integrity_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // AcceptShieldedIntegrityPolicyRequest wrapper for the AcceptShieldedIntegrityPolicy operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AcceptShieldedIntegrityPolicy.go.html to see an example of how to use AcceptShieldedIntegrityPolicyRequest. type AcceptShieldedIntegrityPolicyRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statement_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statement_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go index e18e78e2948a..cd2743f55ac4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statement_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -46,7 +48,7 @@ func (m AddDrgRouteDistributionStatementDetails) String() string { // Not recommended for calling this function directly func (m AddDrgRouteDistributionStatementDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingAddDrgRouteDistributionStatementDetailsActionEnum[string(m.Action)]; !ok && m.Action != "" { + if _, ok := GetMappingAddDrgRouteDistributionStatementDetailsActionEnum(string(m.Action)); !ok && m.Action != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Action: %s. Supported values are: %s.", m.Action, strings.Join(GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues(), ","))) } @@ -101,6 +103,10 @@ var mappingAddDrgRouteDistributionStatementDetailsActionEnum = map[string]AddDrg "ACCEPT": AddDrgRouteDistributionStatementDetailsActionAccept, } +var mappingAddDrgRouteDistributionStatementDetailsActionEnumLowerCase = map[string]AddDrgRouteDistributionStatementDetailsActionEnum{ + "accept": AddDrgRouteDistributionStatementDetailsActionAccept, +} + // GetAddDrgRouteDistributionStatementDetailsActionEnumValues Enumerates the set of values for AddDrgRouteDistributionStatementDetailsActionEnum func GetAddDrgRouteDistributionStatementDetailsActionEnumValues() []AddDrgRouteDistributionStatementDetailsActionEnum { values := make([]AddDrgRouteDistributionStatementDetailsActionEnum, 0) @@ -116,3 +122,9 @@ func GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues() []string "ACCEPT", } } + +// GetMappingAddDrgRouteDistributionStatementDetailsActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddDrgRouteDistributionStatementDetailsActionEnum(val string) (AddDrgRouteDistributionStatementDetailsActionEnum, bool) { + enum, ok := mappingAddDrgRouteDistributionStatementDetailsActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statements_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statements_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_details.go index bf46c8fdc9dc..6b45b917900d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statements_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statements_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_request_response.go index c2120bb5c901..6b198f2c8b65 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // AddDrgRouteDistributionStatementsRequest wrapper for the AddDrgRouteDistributionStatements operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatementsRequest. type AddDrgRouteDistributionStatementsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rule_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rule_details.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rule_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rule_details.go index f1e8344a51d8..a4e5379b2a9f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rule_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,20 +9,22 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // AddDrgRouteRuleDetails Details needed when adding a DRG route rule. type AddDrgRouteRuleDetails struct { - // Type of destination for the rule. Required if `direction` = `EGRESS`. + // Type of destination for the rule. // Allowed values: // * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. DestinationType AddDrgRouteRuleDetailsDestinationTypeEnum `mandatory:"true" json:"destinationType"` @@ -48,7 +50,7 @@ func (m AddDrgRouteRuleDetails) String() string { // Not recommended for calling this function directly func (m AddDrgRouteRuleDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingAddDrgRouteRuleDetailsDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues(), ","))) } @@ -70,6 +72,10 @@ var mappingAddDrgRouteRuleDetailsDestinationTypeEnum = map[string]AddDrgRouteRul "CIDR_BLOCK": AddDrgRouteRuleDetailsDestinationTypeCidrBlock, } +var mappingAddDrgRouteRuleDetailsDestinationTypeEnumLowerCase = map[string]AddDrgRouteRuleDetailsDestinationTypeEnum{ + "cidr_block": AddDrgRouteRuleDetailsDestinationTypeCidrBlock, +} + // GetAddDrgRouteRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddDrgRouteRuleDetailsDestinationTypeEnum func GetAddDrgRouteRuleDetailsDestinationTypeEnumValues() []AddDrgRouteRuleDetailsDestinationTypeEnum { values := make([]AddDrgRouteRuleDetailsDestinationTypeEnum, 0) @@ -85,3 +91,9 @@ func GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string { "CIDR_BLOCK", } } + +// GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum(val string) (AddDrgRouteRuleDetailsDestinationTypeEnum, bool) { + enum, ok := mappingAddDrgRouteRuleDetailsDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rules_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_details.go index e68bd684834a..902ee738c9f4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rules_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_request_response.go index 1f5a12ae3764..f666ebe8865b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // AddDrgRouteRulesRequest wrapper for the AddDrgRouteRules operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRulesRequest. type AddDrgRouteRulesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_image_shape_compatibility_entry_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_image_shape_compatibility_entry_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_details.go index bba536da8e39..35ee1483f4fb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_image_shape_compatibility_entry_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_image_shape_compatibility_entry_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_image_shape_compatibility_entry_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_request_response.go index 86e9da69b54e..f1d36fa44196 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_image_shape_compatibility_entry_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_scan_proxy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_subnet_cidr_request_response.go similarity index 65% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_scan_proxy_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_subnet_cidr_request_response.go index fe4fa5e1cfa1..329fbaab4c9b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_scan_proxy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_subnet_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,24 +6,23 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// CreateScanProxyRequest wrapper for the CreateScanProxy operation -type CreateScanProxyRequest struct { +// AddIpv6SubnetCidrRequest wrapper for the AddIpv6SubnetCidr operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6SubnetCidr.go.html to see an example of how to use AddIpv6SubnetCidrRequest. +type AddIpv6SubnetCidrRequest struct { - // Details for adding a RAC's scan listener information. - CreateScanProxyDetails `contributesTo:"body"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` - // The private endpoint's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - PrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"privateEndpointId"` - - // 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"` + // Details object for adding an IPv6 CIDR to a subnet. + AddSubnetIpv6CidrDetails `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 @@ -32,25 +31,26 @@ type CreateScanProxyRequest struct { // 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"` + // 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"` - // Indicates that this request is a dry-run. - // If set to true, nothing will be created, but only the validation will be performed. - IsDryRun *bool `mandatory:"false" contributesTo:"query" name:"isDryRun"` - // 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 CreateScanProxyRequest) String() string { +func (request AddIpv6SubnetCidrRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request CreateScanProxyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request AddIpv6SubnetCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -60,21 +60,21 @@ func (request CreateScanProxyRequest) HTTPRequest(method, path string, binaryReq } // BinaryRequestBody implements the OCIRequest interface -func (request CreateScanProxyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request AddIpv6SubnetCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateScanProxyRequest) RetryPolicy() *common.RetryPolicy { +func (request AddIpv6SubnetCidrRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request CreateScanProxyRequest) ValidateEnumValue() (bool, error) { +func (request AddIpv6SubnetCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -82,15 +82,12 @@ func (request CreateScanProxyRequest) ValidateEnumValue() (bool, error) { return false, nil } -// CreateScanProxyResponse wrapper for the CreateScanProxy operation -type CreateScanProxyResponse struct { +// AddIpv6SubnetCidrResponse wrapper for the AddIpv6SubnetCidr operation +type AddIpv6SubnetCidrResponse struct { // The underlying http response RawResponse *http.Response - // The ScanProxy instance - ScanProxy `presentIn:"body"` - // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` @@ -98,16 +95,17 @@ type CreateScanProxyResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } -func (response CreateScanProxyResponse) String() string { +func (response AddIpv6SubnetCidrResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response CreateScanProxyResponse) HTTPResponse() *http.Response { +func (response AddIpv6SubnetCidrResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_ipv6_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_vcn_cidr_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_ipv6_vcn_cidr_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_vcn_cidr_request_response.go index ab05b914bfad..8f67d775bd1f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_ipv6_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // AddIpv6VcnCidrRequest wrapper for the AddIpv6VcnCidr operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidrRequest. type AddIpv6VcnCidrRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. @@ -33,6 +37,9 @@ type AddIpv6VcnCidrRequest struct { // 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"` + // Details object for adding an IPv6 VCN CIDR. + AddVcnIpv6CidrDetails `contributesTo:"body"` + // 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 @@ -85,7 +92,8 @@ type AddIpv6VcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_network_security_group_security_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_network_security_group_security_rules_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_details.go index aefbddd7075a..a4a06b7c5fd2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_network_security_group_security_rules_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_network_security_group_security_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_request_response.go index fc5ba6d5d315..06418c67b48c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_public_ip_pool_capacity_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_details.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_public_ip_pool_capacity_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_details.go index fd65b3142ec4..c93505965f52 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_public_ip_pool_capacity_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_public_ip_pool_capacity_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_public_ip_pool_capacity_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_request_response.go index d0d6774a0349..180f4255f2c3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_public_ip_pool_capacity_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_security_rule_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_security_rule_details.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_security_rule_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_security_rule_details.go index 0601e792e7f8..91b191c43886 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_security_rule_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_security_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -105,14 +107,14 @@ func (m AddSecurityRuleDetails) String() string { // Not recommended for calling this function directly func (m AddSecurityRuleDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingAddSecurityRuleDetailsDirectionEnum[string(m.Direction)]; !ok && m.Direction != "" { + if _, ok := GetMappingAddSecurityRuleDetailsDirectionEnum(string(m.Direction)); !ok && m.Direction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Direction: %s. Supported values are: %s.", m.Direction, strings.Join(GetAddSecurityRuleDetailsDirectionEnumStringValues(), ","))) } - if _, ok := mappingAddSecurityRuleDetailsDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingAddSecurityRuleDetailsDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetAddSecurityRuleDetailsDestinationTypeEnumStringValues(), ","))) } - if _, ok := mappingAddSecurityRuleDetailsSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingAddSecurityRuleDetailsSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetAddSecurityRuleDetailsSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -137,6 +139,12 @@ var mappingAddSecurityRuleDetailsDestinationTypeEnum = map[string]AddSecurityRul "NETWORK_SECURITY_GROUP": AddSecurityRuleDetailsDestinationTypeNetworkSecurityGroup, } +var mappingAddSecurityRuleDetailsDestinationTypeEnumLowerCase = map[string]AddSecurityRuleDetailsDestinationTypeEnum{ + "cidr_block": AddSecurityRuleDetailsDestinationTypeCidrBlock, + "service_cidr_block": AddSecurityRuleDetailsDestinationTypeServiceCidrBlock, + "network_security_group": AddSecurityRuleDetailsDestinationTypeNetworkSecurityGroup, +} + // GetAddSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsDestinationTypeEnum func GetAddSecurityRuleDetailsDestinationTypeEnumValues() []AddSecurityRuleDetailsDestinationTypeEnum { values := make([]AddSecurityRuleDetailsDestinationTypeEnum, 0) @@ -155,6 +163,12 @@ func GetAddSecurityRuleDetailsDestinationTypeEnumStringValues() []string { } } +// GetMappingAddSecurityRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddSecurityRuleDetailsDestinationTypeEnum(val string) (AddSecurityRuleDetailsDestinationTypeEnum, bool) { + enum, ok := mappingAddSecurityRuleDetailsDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // AddSecurityRuleDetailsDirectionEnum Enum with underlying type: string type AddSecurityRuleDetailsDirectionEnum string @@ -169,6 +183,11 @@ var mappingAddSecurityRuleDetailsDirectionEnum = map[string]AddSecurityRuleDetai "INGRESS": AddSecurityRuleDetailsDirectionIngress, } +var mappingAddSecurityRuleDetailsDirectionEnumLowerCase = map[string]AddSecurityRuleDetailsDirectionEnum{ + "egress": AddSecurityRuleDetailsDirectionEgress, + "ingress": AddSecurityRuleDetailsDirectionIngress, +} + // GetAddSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for AddSecurityRuleDetailsDirectionEnum func GetAddSecurityRuleDetailsDirectionEnumValues() []AddSecurityRuleDetailsDirectionEnum { values := make([]AddSecurityRuleDetailsDirectionEnum, 0) @@ -186,6 +205,12 @@ func GetAddSecurityRuleDetailsDirectionEnumStringValues() []string { } } +// GetMappingAddSecurityRuleDetailsDirectionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddSecurityRuleDetailsDirectionEnum(val string) (AddSecurityRuleDetailsDirectionEnum, bool) { + enum, ok := mappingAddSecurityRuleDetailsDirectionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // AddSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string type AddSecurityRuleDetailsSourceTypeEnum string @@ -202,6 +227,12 @@ var mappingAddSecurityRuleDetailsSourceTypeEnum = map[string]AddSecurityRuleDeta "NETWORK_SECURITY_GROUP": AddSecurityRuleDetailsSourceTypeNetworkSecurityGroup, } +var mappingAddSecurityRuleDetailsSourceTypeEnumLowerCase = map[string]AddSecurityRuleDetailsSourceTypeEnum{ + "cidr_block": AddSecurityRuleDetailsSourceTypeCidrBlock, + "service_cidr_block": AddSecurityRuleDetailsSourceTypeServiceCidrBlock, + "network_security_group": AddSecurityRuleDetailsSourceTypeNetworkSecurityGroup, +} + // GetAddSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsSourceTypeEnum func GetAddSecurityRuleDetailsSourceTypeEnumValues() []AddSecurityRuleDetailsSourceTypeEnum { values := make([]AddSecurityRuleDetailsSourceTypeEnum, 0) @@ -219,3 +250,9 @@ func GetAddSecurityRuleDetailsSourceTypeEnumStringValues() []string { "NETWORK_SECURITY_GROUP", } } + +// GetMappingAddSecurityRuleDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAddSecurityRuleDetailsSourceTypeEnum(val string) (AddSecurityRuleDetailsSourceTypeEnum, bool) { + enum, ok := mappingAddSecurityRuleDetailsSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_token_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_subnet_ipv6_cidr_details.go similarity index 60% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_token_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_subnet_ipv6_cidr_details.go index eaf7c2c327de..4aa8fd5e34ad 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_token_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_subnet_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,31 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// LocalPeeringTokenDetails An object containing a generated peering token to be given to a peer who then accepts the token as part of the peering handshake process. -type LocalPeeringTokenDetails struct { +// AddSubnetIpv6CidrDetails Details used when adding an IPv6 CIDR block to a subnet. +type AddSubnetIpv6CidrDetails struct { - // An opaque token to be shared with a peer. - TokenForPeer *string `mandatory:"true" json:"tokenForPeer"` + // This field is not required and should only be specified when adding an IPv6 CIDR + // to a subnet's IPv6 address space. + // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // Example: `2001:0db8:0123::/64` + Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"` } -func (m LocalPeeringTokenDetails) String() string { +func (m AddSubnetIpv6CidrDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m LocalPeeringTokenDetails) ValidateEnumValue() (bool, error) { +func (m AddSubnetIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_vcn_cidr_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_vcn_cidr_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_details.go index 60200ea49cce..125b30f8aa7a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_vcn_cidr_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_vcn_cidr_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_request_response.go index 314c55ac8d6a..77470a60711f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/add_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -88,7 +92,8 @@ type AddVcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vnic_attachments_compartment_request.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_ipv6_cidr_details.go similarity index 50% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vnic_attachments_compartment_request.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_ipv6_cidr_details.go index 646b7996b304..4ac8c7158907 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vnic_attachments_compartment_request.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/add_vcn_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,42 +9,40 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// ChangeVnicAttachmentsCompartmentRequest This structure is used when changing vnic attachment compartment. -type ChangeVnicAttachmentsCompartmentRequest struct { +// AddVcnIpv6CidrDetails Details used when adding a ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or a BYOIPv6 prefix. You can add only one of these per request. +type AddVcnIpv6CidrDetails struct { - // List of VNICs whose attachments need to move to the destination compartment - VnicIds []string `mandatory:"false" json:"vnicIds"` + // This field is not required and should only be specified if a ULA or private IPv6 prefix is desired for VCN's private IP address space. + // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // Example: `2001:0db8:0123::/48` or `fd00:1000:0:1::/64` + Ipv6PrivateCidrBlock *string `mandatory:"false" json:"ipv6PrivateCidrBlock"` - // The ID of the parent resource that these VNICs are attached to - ParentResourceId *string `mandatory:"false" json:"parentResourceId"` + // Indicates whether Oracle will allocate an IPv6 GUA. Only one prefix of /56 size can be allocated by Oracle as a GUA. + IsOracleGuaAllocationEnabled *bool `mandatory:"false" json:"isOracleGuaAllocationEnabled"` - // The destination compartment ID - DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"` - - // The compartment ID to create the work request in. This is NOT the customer's compartment - // but one that belongs to the calling service. Typically this is not the same as the destination - // compartment ID - WorkRequestCompartmentId *string `mandatory:"false" json:"workRequestCompartmentId"` + Byoipv6CidrDetail *Byoipv6CidrDetails `mandatory:"false" json:"byoipv6CidrDetail"` } -func (m ChangeVnicAttachmentsCompartmentRequest) String() string { +func (m AddVcnIpv6CidrDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m ChangeVnicAttachmentsCompartmentRequest) ValidateEnumValue() (bool, error) { +func (m AddVcnIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/added_network_security_group_security_rules.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/added_network_security_group_security_rules.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/added_network_security_group_security_rules.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/added_network_security_group_security_rules.go index 72f0da5aa3ef..8857206b44ee 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/added_network_security_group_security_rules.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/added_network_security_group_security_rules.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/advertise_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/advertise_byoip_range_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/advertise_byoip_range_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/advertise_byoip_range_request_response.go index ca7f98239d99..75792550b7e2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/advertise_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/advertise_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_ike_ip_sec_parameters.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_ike_ip_sec_parameters.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_ike_ip_sec_parameters.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_ike_ip_sec_parameters.go index 1d1b1d99abc2..26c8099407bd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_ike_ip_sec_parameters.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_ike_ip_sec_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_phase_one_parameters.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_one_parameters.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_phase_one_parameters.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_one_parameters.go index 63d8ccfdc4e1..c8b455be9794 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_phase_one_parameters.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_one_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_phase_two_parameters.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_two_parameters.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_phase_two_parameters.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_two_parameters.go index 09888ed5207a..0c1d847cf87b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/allowed_phase_two_parameters.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_two_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go new file mode 100644 index 000000000000..bec33b11ec85 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go @@ -0,0 +1,164 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AmdMilanBmGpuLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with a GPU shape on the AMD Milan platform. +type AmdMilanBmGpuLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m AmdMilanBmGpuLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AmdMilanBmGpuLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m AmdMilanBmGpuLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdMilanBmGpuLaunchInstancePlatformConfig AmdMilanBmGpuLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdMilanBmGpuLaunchInstancePlatformConfig + }{ + "AMD_MILAN_BM_GPU", + (MarshalTypeAmdMilanBmGpuLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +var mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps0": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "nps1": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "nps4": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go new file mode 100644 index 000000000000..2423b75277c5 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go @@ -0,0 +1,165 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AmdMilanBmGpuPlatformConfig The platform configuration used when launching a bare metal GPU instance with the following shape: BM.GPU.GM4.8 +// (the AMD Milan platform). +type AmdMilanBmGpuPlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m AmdMilanBmGpuPlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m AmdMilanBmGpuPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m AmdMilanBmGpuPlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m AmdMilanBmGpuPlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m AmdMilanBmGpuPlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AmdMilanBmGpuPlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m AmdMilanBmGpuPlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdMilanBmGpuPlatformConfig AmdMilanBmGpuPlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdMilanBmGpuPlatformConfig + }{ + "AMD_MILAN_BM_GPU", + (MarshalTypeAmdMilanBmGpuPlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum +const ( + AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps0 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps1 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps2 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps4 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps4, +} + +var mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum{ + "nps0": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps0, + "nps1": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps1, + "nps2": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps2, + "nps4": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum +func GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum +func GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_milan_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go similarity index 63% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_milan_bm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go index 87f950d50dd8..e8264cf55d8c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_milan_bm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,11 +18,12 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// AmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with an E4 shape. +// AmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with one of the following shapes: BM.Standard.E4.128 +// or BM.DenseIO.E4.128 (the AMD Milan platform). type AmdMilanBmLaunchInstancePlatformConfig struct { // Whether Secure Boot is enabled on the instance. @@ -35,6 +38,33 @@ type AmdMilanBmLaunchInstancePlatformConfig struct { // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + // The number of NUMA nodes per socket (NPS). NumaNodesPerSocket AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` } @@ -68,7 +98,7 @@ func (m AmdMilanBmLaunchInstancePlatformConfig) String() string { // Not recommended for calling this function directly func (m AmdMilanBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum[string(m.NumaNodesPerSocket)]; !ok && m.NumaNodesPerSocket != "" { + if _, ok := GetMappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) } @@ -110,6 +140,13 @@ var mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[st "NPS4": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, } +var mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = 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) @@ -128,3 +165,9 @@ func GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues "NPS4", } } + +// GetMappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_milan_bm_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_milan_bm_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go index 300b5e953e47..33300c10af59 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_milan_bm_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,12 +18,12 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// AmdMilanBmPlatformConfig The platform configuration of a bare metal instance that uses an E4 shape. -// (the AMD Milan platform). +// AmdMilanBmPlatformConfig The platform configuration used when launching a bare metal instance with one of the following shapes: BM.Standard.E4.128 +// or BM.DenseIO.E4.128 (the AMD Milan platform). type AmdMilanBmPlatformConfig struct { // Whether Secure Boot is enabled on the instance. @@ -36,6 +38,33 @@ type AmdMilanBmPlatformConfig struct { // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + // The number of NUMA nodes per socket (NPS). NumaNodesPerSocket AmdMilanBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` } @@ -69,7 +98,7 @@ func (m AmdMilanBmPlatformConfig) String() string { // Not recommended for calling this function directly func (m AmdMilanBmPlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum[string(m.NumaNodesPerSocket)]; !ok && m.NumaNodesPerSocket != "" { + if _, ok := GetMappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) } @@ -111,6 +140,13 @@ var mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanB "NPS4": AmdMilanBmPlatformConfigNumaNodesPerSocketNps4, } +var mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnumLowerCase = 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) @@ -129,3 +165,9 @@ func GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string { "NPS4", } } + +// GetMappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmPlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go new file mode 100644 index 000000000000..3adbbcd3e69a --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go @@ -0,0 +1,165 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AmdRomeBmGpuLaunchInstancePlatformConfig The platform configuration used when launching a bare metal GPU instance with the BM.GPU4.8 shape +// (the AMD Rome platform). +type AmdRomeBmGpuLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m AmdRomeBmGpuLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AmdRomeBmGpuLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m AmdRomeBmGpuLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdRomeBmGpuLaunchInstancePlatformConfig AmdRomeBmGpuLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdRomeBmGpuLaunchInstancePlatformConfig + }{ + "AMD_ROME_BM_GPU", + (MarshalTypeAmdRomeBmGpuLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +var mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps0": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "nps1": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "nps4": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go new file mode 100644 index 000000000000..9afcd24be4ce --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go @@ -0,0 +1,165 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AmdRomeBmGpuPlatformConfig The platform configuration of a bare metal GPU instance that uses the BM.GPU4.8 shape +// (the AMD Rome platform). +type AmdRomeBmGpuPlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m AmdRomeBmGpuPlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m AmdRomeBmGpuPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m AmdRomeBmGpuPlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m AmdRomeBmGpuPlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m AmdRomeBmGpuPlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AmdRomeBmGpuPlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m AmdRomeBmGpuPlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdRomeBmGpuPlatformConfig AmdRomeBmGpuPlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdRomeBmGpuPlatformConfig + }{ + "AMD_ROME_BM_GPU", + (MarshalTypeAmdRomeBmGpuPlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum +const ( + AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps0 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps1 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps2 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps4 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps4, +} + +var mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum{ + "nps0": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps0, + "nps1": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps1, + "nps2": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps2, + "nps4": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go new file mode 100644 index 000000000000..d80a9df7ad95 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go @@ -0,0 +1,173 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AmdRomeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard.E3.128 shape +// (the AMD Rome platform). +type AmdRomeBmLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m AmdRomeBmLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AmdRomeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m AmdRomeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdRomeBmLaunchInstancePlatformConfig AmdRomeBmLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdRomeBmLaunchInstancePlatformConfig + }{ + "AMD_ROME_BM", + (MarshalTypeAmdRomeBmLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +var mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps0": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "nps1": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "nps4": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go new file mode 100644 index 000000000000..14a8dc4548bd --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go @@ -0,0 +1,172 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AmdRomeBmPlatformConfig The platform configuration of a bare metal instance that uses the BM.Standard.E3.128 shape (the AMD Rome platform). +type AmdRomeBmPlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket AmdRomeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m AmdRomeBmPlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m AmdRomeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m AmdRomeBmPlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m AmdRomeBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m AmdRomeBmPlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AmdRomeBmPlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m AmdRomeBmPlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdRomeBmPlatformConfig AmdRomeBmPlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdRomeBmPlatformConfig + }{ + "AMD_ROME_BM", + (MarshalTypeAmdRomeBmPlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdRomeBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdRomeBmPlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdRomeBmPlatformConfigNumaNodesPerSocketEnum +const ( + AmdRomeBmPlatformConfigNumaNodesPerSocketNps0 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdRomeBmPlatformConfigNumaNodesPerSocketNps1 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdRomeBmPlatformConfigNumaNodesPerSocketNps2 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdRomeBmPlatformConfigNumaNodesPerSocketNps4 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmPlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdRomeBmPlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdRomeBmPlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdRomeBmPlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdRomeBmPlatformConfigNumaNodesPerSocketNps4, +} + +var mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmPlatformConfigNumaNodesPerSocketEnum{ + "nps0": AmdRomeBmPlatformConfigNumaNodesPerSocketNps0, + "nps1": AmdRomeBmPlatformConfigNumaNodesPerSocketNps1, + "nps2": AmdRomeBmPlatformConfigNumaNodesPerSocketNps2, + "nps4": AmdRomeBmPlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmPlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmPlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdRomeBmPlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmPlatformConfigNumaNodesPerSocketEnum +func GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmPlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_vm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_vm_launch_instance_platform_config.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_vm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_vm_launch_instance_platform_config.go index a5676cc16079..b3d2985da0be 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_vm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_vm_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_vm_platform_config.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_vm_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_vm_platform_config.go index 7eddbb75322b..9ca6a5279394 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/amd_vm_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/amd_vm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing.go index ce27b4dbe68b..5460e8dcdabd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version.go index 872bb6d2fa90..77bbcae00d39 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -36,13 +38,13 @@ type AppCatalogListingResourceVersion struct { ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"` // List of regions that this listing resource version is available. - // For information about Regions, see - // Regions (https://docs.cloud.oracle.comGeneral/Concepts/regions.htm). + // For information about regions, see + // Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). // Example: `["us-ashburn-1", "us-phoenix-1"]` AvailableRegions []string `mandatory:"false" json:"availableRegions"` // Array of shapes compatible with this resource. - // You may enumerate all available shapes by calling listShapes. + // You can enumerate all available shapes by calling ListShapes. // Example: `["VM.Standard1.1", "VM.Standard1.2"]` CompatibleShapes []string `mandatory:"false" json:"compatibleShapes"` @@ -64,7 +66,7 @@ func (m AppCatalogListingResourceVersion) ValidateEnumValue() (bool, error) { errMessage := []string{} for _, val := range m.AllowedActions { - if _, ok := mappingAppCatalogListingResourceVersionAllowedActionsEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingAppCatalogListingResourceVersionAllowedActionsEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AllowedActions: %s. Supported values are: %s.", val, strings.Join(GetAppCatalogListingResourceVersionAllowedActionsEnumStringValues(), ","))) } } @@ -99,6 +101,16 @@ var mappingAppCatalogListingResourceVersionAllowedActionsEnum = map[string]AppCa "CAPTURE_CONSOLE_HISTORY": AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory, } +var mappingAppCatalogListingResourceVersionAllowedActionsEnumLowerCase = map[string]AppCatalogListingResourceVersionAllowedActionsEnum{ + "snapshot": AppCatalogListingResourceVersionAllowedActionsSnapshot, + "boot_volume_detach": AppCatalogListingResourceVersionAllowedActionsBootVolumeDetach, + "preserve_boot_volume": AppCatalogListingResourceVersionAllowedActionsPreserveBootVolume, + "serial_console_access": AppCatalogListingResourceVersionAllowedActionsSerialConsoleAccess, + "boot_recovery": AppCatalogListingResourceVersionAllowedActionsBootRecovery, + "backup_boot_volume": AppCatalogListingResourceVersionAllowedActionsBackupBootVolume, + "capture_console_history": AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory, +} + // GetAppCatalogListingResourceVersionAllowedActionsEnumValues Enumerates the set of values for AppCatalogListingResourceVersionAllowedActionsEnum func GetAppCatalogListingResourceVersionAllowedActionsEnumValues() []AppCatalogListingResourceVersionAllowedActionsEnum { values := make([]AppCatalogListingResourceVersionAllowedActionsEnum, 0) @@ -120,3 +132,9 @@ func GetAppCatalogListingResourceVersionAllowedActionsEnumStringValues() []strin "CAPTURE_CONSOLE_HISTORY", } } + +// GetMappingAppCatalogListingResourceVersionAllowedActionsEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAppCatalogListingResourceVersionAllowedActionsEnum(val string) (AppCatalogListingResourceVersionAllowedActionsEnum, bool) { + enum, ok := mappingAppCatalogListingResourceVersionAllowedActionsEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version_agreements.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_agreements.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version_agreements.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_agreements.go index 7f4f331907ab..fbc9119dc9a2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version_agreements.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_agreements.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_summary.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_summary.go index 208f2a053502..7f0854ab148b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_resource_version_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_summary.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_summary.go index 95e46629f91c..d174588a3fa5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_listing_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_subscription.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_subscription.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription.go index 42ac901a902a..c48186da4015 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_subscription.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_subscription_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription_summary.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_subscription_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription_summary.go index be78fefb2877..099db47dfc77 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/app_catalog_subscription_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_boot_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_boot_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_details.go index 44cafa55ab42..53487de2ee6b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_boot_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -47,7 +49,7 @@ func (m AttachBootVolumeDetails) String() string { func (m AttachBootVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingEncryptionInTransitTypeEnum[string(m.EncryptionInTransitType)]; !ok && m.EncryptionInTransitType != "" { + if _, ok := GetMappingEncryptionInTransitTypeEnum(string(m.EncryptionInTransitType)); !ok && m.EncryptionInTransitType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_boot_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_request_response.go index d986a3b6985d..7377bc92b867 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_emulated_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_emulated_volume_details.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_emulated_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_emulated_volume_details.go index 19402c19ec80..64e429fd2805 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_emulated_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_emulated_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,13 +18,19 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // AttachEmulatedVolumeDetails The representation of AttachEmulatedVolumeDetails type AttachEmulatedVolumeDetails struct { + // The OCID of the instance. + InstanceId *string `mandatory:"true" json:"instanceId"` + + // The OCID of the volume. + VolumeId *string `mandatory:"true" json:"volumeId"` + // The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices. Device *string `mandatory:"false" json:"device"` @@ -30,10 +38,6 @@ type AttachEmulatedVolumeDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the instance. For AttachVolume operation, this is a required field for the request, - // see AttachVolume. - InstanceId *string `mandatory:"false" json:"instanceId"` - // Whether the attachment was created in read-only mode. IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` @@ -42,11 +46,6 @@ type AttachEmulatedVolumeDetails struct { // 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"` - - // The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request. - VolumeId *string `mandatory:"false" json:"volumeId"` - - CreateVolumeDetails *CreateVolumeDetails `mandatory:"false" json:"createVolumeDetails"` } // GetDevice returns Device @@ -79,11 +78,6 @@ func (m AttachEmulatedVolumeDetails) GetVolumeId() *string { return m.VolumeId } -// GetCreateVolumeDetails returns CreateVolumeDetails -func (m AttachEmulatedVolumeDetails) GetCreateVolumeDetails() *CreateVolumeDetails { - return m.CreateVolumeDetails -} - func (m AttachEmulatedVolumeDetails) String() string { return common.PointerString(m) } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_i_scsi_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_i_scsi_volume_details.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_i_scsi_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_i_scsi_volume_details.go index f74ec251c623..f6dcff78f3c1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_i_scsi_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_i_scsi_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,13 +18,19 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // AttachIScsiVolumeDetails The representation of AttachIScsiVolumeDetails type AttachIScsiVolumeDetails struct { + // The OCID of the instance. + InstanceId *string `mandatory:"true" json:"instanceId"` + + // The OCID of the volume. + VolumeId *string `mandatory:"true" json:"volumeId"` + // The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices. Device *string `mandatory:"false" json:"device"` @@ -30,10 +38,6 @@ type AttachIScsiVolumeDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the instance. For AttachVolume operation, this is a required field for the request, - // see AttachVolume. - InstanceId *string `mandatory:"false" json:"instanceId"` - // Whether the attachment was created in read-only mode. IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` @@ -43,14 +47,12 @@ type AttachIScsiVolumeDetails struct { // be attached in shareable mode. Defaults to false if not specified. IsShareable *bool `mandatory:"false" json:"isShareable"` - // The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request. - VolumeId *string `mandatory:"false" json:"volumeId"` - - CreateVolumeDetails *CreateVolumeDetails `mandatory:"false" json:"createVolumeDetails"` - // Whether to use CHAP authentication for the volume attachment. Defaults to false. UseChap *bool `mandatory:"false" json:"useChap"` + // Whether to enable Oracle Cloud Agent to perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments. + IsAgentAutoIscsiLoginEnabled *bool `mandatory:"false" json:"isAgentAutoIscsiLoginEnabled"` + // Refer the top-level definition of encryptionInTransitType. // The default value is NONE. EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"` @@ -86,11 +88,6 @@ func (m AttachIScsiVolumeDetails) GetVolumeId() *string { return m.VolumeId } -// GetCreateVolumeDetails returns CreateVolumeDetails -func (m AttachIScsiVolumeDetails) GetCreateVolumeDetails() *CreateVolumeDetails { - return m.CreateVolumeDetails -} - func (m AttachIScsiVolumeDetails) String() string { return common.PointerString(m) } @@ -101,7 +98,7 @@ func (m AttachIScsiVolumeDetails) String() string { func (m AttachIScsiVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingEncryptionInTransitTypeEnum[string(m.EncryptionInTransitType)]; !ok && m.EncryptionInTransitType != "" { + if _, ok := GetMappingEncryptionInTransitTypeEnum(string(m.EncryptionInTransitType)); !ok && m.EncryptionInTransitType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_instance_pool_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_instance_pool_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_details.go index c18602f9659a..623d392ed2a7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_instance_pool_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_instance_pool_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_instance_pool_instance_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_request_response.go index 9981379f7e08..e563b78d7c40 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_instance_pool_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -89,7 +93,8 @@ type AttachInstancePoolInstanceResponse struct { // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_load_balancer_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_load_balancer_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_details.go index a2dbad408e04..ae05414ff431 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_load_balancer_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_load_balancer_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_load_balancer_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_request_response.go index a025ef75a9c6..7725c68a6d7d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_load_balancer_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_paravirtualized_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_paravirtualized_volume_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_paravirtualized_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_paravirtualized_volume_details.go index e8ce1852ed68..36a0b879adce 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_paravirtualized_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_paravirtualized_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,13 +18,19 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // AttachParavirtualizedVolumeDetails The representation of AttachParavirtualizedVolumeDetails type AttachParavirtualizedVolumeDetails struct { + // The OCID of the instance. + InstanceId *string `mandatory:"true" json:"instanceId"` + + // The OCID of the volume. + VolumeId *string `mandatory:"true" json:"volumeId"` + // The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices. Device *string `mandatory:"false" json:"device"` @@ -30,10 +38,6 @@ type AttachParavirtualizedVolumeDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the instance. For AttachVolume operation, this is a required field for the request, - // see AttachVolume. - InstanceId *string `mandatory:"false" json:"instanceId"` - // Whether the attachment was created in read-only mode. IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` @@ -43,11 +47,6 @@ type AttachParavirtualizedVolumeDetails struct { // be attached in shareable mode. Defaults to false if not specified. IsShareable *bool `mandatory:"false" json:"isShareable"` - // The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request. - VolumeId *string `mandatory:"false" json:"volumeId"` - - CreateVolumeDetails *CreateVolumeDetails `mandatory:"false" json:"createVolumeDetails"` - // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false. IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` } @@ -82,11 +81,6 @@ func (m AttachParavirtualizedVolumeDetails) GetVolumeId() *string { return m.VolumeId } -// GetCreateVolumeDetails returns CreateVolumeDetails -func (m AttachParavirtualizedVolumeDetails) GetCreateVolumeDetails() *CreateVolumeDetails { - return m.CreateVolumeDetails -} - func (m AttachParavirtualizedVolumeDetails) String() string { return common.PointerString(m) } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_service_determined_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_service_determined_volume_details.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_service_determined_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_service_determined_volume_details.go index 726c8bdfd77c..09f1b31f3af1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_service_determined_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_service_determined_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,13 +18,19 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // AttachServiceDeterminedVolumeDetails The representation of AttachServiceDeterminedVolumeDetails type AttachServiceDeterminedVolumeDetails struct { + // The OCID of the instance. + InstanceId *string `mandatory:"true" json:"instanceId"` + + // The OCID of the volume. + VolumeId *string `mandatory:"true" json:"volumeId"` + // The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices. Device *string `mandatory:"false" json:"device"` @@ -30,10 +38,6 @@ type AttachServiceDeterminedVolumeDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the instance. For AttachVolume operation, this is a required field for the request, - // see AttachVolume. - InstanceId *string `mandatory:"false" json:"instanceId"` - // Whether the attachment was created in read-only mode. IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` @@ -42,11 +46,6 @@ type AttachServiceDeterminedVolumeDetails struct { // 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"` - - // The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request. - VolumeId *string `mandatory:"false" json:"volumeId"` - - CreateVolumeDetails *CreateVolumeDetails `mandatory:"false" json:"createVolumeDetails"` } // GetDevice returns Device @@ -79,11 +78,6 @@ func (m AttachServiceDeterminedVolumeDetails) GetVolumeId() *string { return m.VolumeId } -// GetCreateVolumeDetails returns CreateVolumeDetails -func (m AttachServiceDeterminedVolumeDetails) GetCreateVolumeDetails() *CreateVolumeDetails { - return m.CreateVolumeDetails -} - func (m AttachServiceDeterminedVolumeDetails) String() string { return common.PointerString(m) } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_service_id_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_service_id_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_service_id_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_service_id_request_response.go index 80fd9a026934..26e0966d1e7a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_service_id_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_service_id_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_details.go index 63fc159073db..08a1ab6af585 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -23,14 +25,13 @@ import ( type AttachVnicDetails struct { CreateVnicDetails *CreateVnicDetails `mandatory:"true" json:"createVnicDetails"` + // The OCID of the instance. + InstanceId *string `mandatory:"true" json:"instanceId"` + // A user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the instance. For AttachVnic operation, this is a required field for the request, - // see AttachVnic. - InstanceId *string `mandatory:"false" json:"instanceId"` - // Which physical network interface card (NIC) the VNIC will use. Defaults to 0. // Certain bare metal instance shapes have two active physical NICs (0 and 1). If // you add a secondary VNIC to one of these instances, you can specify which NIC diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_request_response.go index 379a773165f3..fd8d26f6e12c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go index 6990a31ac50f..fc3cb28b81c2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,13 +18,19 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // AttachVolumeDetails The representation of AttachVolumeDetails type AttachVolumeDetails interface { + // The OCID of the instance. + GetInstanceId() *string + + // The OCID of the volume. + GetVolumeId() *string + // The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices. GetDevice() *string @@ -30,10 +38,6 @@ type AttachVolumeDetails interface { // Avoid entering confidential information. GetDisplayName() *string - // The OCID of the instance. For AttachVolume operation, this is a required field for the request, - // see AttachVolume. - GetInstanceId() *string - // Whether the attachment was created in read-only mode. GetIsReadOnly() *bool @@ -42,23 +46,17 @@ type AttachVolumeDetails interface { // 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 - - // The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request. - GetVolumeId() *string - - GetCreateVolumeDetails() *CreateVolumeDetails } type attachvolumedetails struct { - JsonData []byte - Device *string `mandatory:"false" json:"device"` - DisplayName *string `mandatory:"false" json:"displayName"` - InstanceId *string `mandatory:"false" json:"instanceId"` - IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` - IsShareable *bool `mandatory:"false" json:"isShareable"` - VolumeId *string `mandatory:"false" json:"volumeId"` - CreateVolumeDetails *CreateVolumeDetails `mandatory:"false" json:"createVolumeDetails"` - Type string `json:"type"` + JsonData []byte + InstanceId *string `mandatory:"true" json:"instanceId"` + VolumeId *string `mandatory:"true" json:"volumeId"` + Device *string `mandatory:"false" json:"device"` + DisplayName *string `mandatory:"false" json:"displayName"` + IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` + IsShareable *bool `mandatory:"false" json:"isShareable"` + Type string `json:"type"` } // UnmarshalJSON unmarshals json @@ -72,13 +70,12 @@ func (m *attachvolumedetails) UnmarshalJSON(data []byte) error { if err != nil { return err } + m.InstanceId = s.Model.InstanceId + m.VolumeId = s.Model.VolumeId m.Device = s.Model.Device m.DisplayName = s.Model.DisplayName - m.InstanceId = s.Model.InstanceId m.IsReadOnly = s.Model.IsReadOnly m.IsShareable = s.Model.IsShareable - m.VolumeId = s.Model.VolumeId - m.CreateVolumeDetails = s.Model.CreateVolumeDetails m.Type = s.Model.Type return err @@ -114,6 +111,16 @@ func (m *attachvolumedetails) UnmarshalPolymorphicJSON(data []byte) (interface{} } } +// GetInstanceId returns InstanceId +func (m attachvolumedetails) GetInstanceId() *string { + return m.InstanceId +} + +// GetVolumeId returns VolumeId +func (m attachvolumedetails) GetVolumeId() *string { + return m.VolumeId +} + // GetDevice returns Device func (m attachvolumedetails) GetDevice() *string { return m.Device @@ -124,11 +131,6 @@ func (m attachvolumedetails) GetDisplayName() *string { return m.DisplayName } -// GetInstanceId returns InstanceId -func (m attachvolumedetails) GetInstanceId() *string { - return m.InstanceId -} - // GetIsReadOnly returns IsReadOnly func (m attachvolumedetails) GetIsReadOnly() *bool { return m.IsReadOnly @@ -139,16 +141,6 @@ func (m attachvolumedetails) GetIsShareable() *bool { return m.IsShareable } -// GetVolumeId returns VolumeId -func (m attachvolumedetails) GetVolumeId() *string { - return m.VolumeId -} - -// GetCreateVolumeDetails returns CreateVolumeDetails -func (m attachvolumedetails) GetCreateVolumeDetails() *CreateVolumeDetails { - return m.CreateVolumeDetails -} - func (m attachvolumedetails) String() string { return common.PointerString(m) } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_volume_request_response.go index f4d313d3cdb5..db666ace2c06 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/attach_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/attach_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/autotune_policy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/autotune_policy.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/autotune_policy.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/autotune_policy.go index 7c2cabb412cf..883bfa0f9ec1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/autotune_policy.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -97,6 +99,11 @@ var mappingAutotunePolicyAutotuneTypeEnum = map[string]AutotunePolicyAutotuneTyp "PERFORMANCE_BASED": AutotunePolicyAutotuneTypePerformanceBased, } +var mappingAutotunePolicyAutotuneTypeEnumLowerCase = map[string]AutotunePolicyAutotuneTypeEnum{ + "detached_volume": AutotunePolicyAutotuneTypeDetachedVolume, + "performance_based": AutotunePolicyAutotuneTypePerformanceBased, +} + // GetAutotunePolicyAutotuneTypeEnumValues Enumerates the set of values for AutotunePolicyAutotuneTypeEnum func GetAutotunePolicyAutotuneTypeEnumValues() []AutotunePolicyAutotuneTypeEnum { values := make([]AutotunePolicyAutotuneTypeEnum, 0) @@ -113,3 +120,9 @@ func GetAutotunePolicyAutotuneTypeEnumStringValues() []string { "PERFORMANCE_BASED", } } + +// GetMappingAutotunePolicyAutotuneTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAutotunePolicyAutotuneTypeEnum(val string) (AutotunePolicyAutotuneTypeEnum, bool) { + enum, ok := mappingAutotunePolicyAutotuneTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bgp_session_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bgp_session_info.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bgp_session_info.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bgp_session_info.go index a99f6b6f5776..b7f9e15d1bcc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bgp_session_info.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bgp_session_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -90,10 +92,10 @@ func (m BgpSessionInfo) String() string { func (m BgpSessionInfo) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingBgpSessionInfoBgpStateEnum[string(m.BgpState)]; !ok && m.BgpState != "" { + if _, ok := GetMappingBgpSessionInfoBgpStateEnum(string(m.BgpState)); !ok && m.BgpState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpState: %s. Supported values are: %s.", m.BgpState, strings.Join(GetBgpSessionInfoBgpStateEnumStringValues(), ","))) } - if _, ok := mappingBgpSessionInfoBgpIpv6StateEnum[string(m.BgpIpv6State)]; !ok && m.BgpIpv6State != "" { + if _, ok := GetMappingBgpSessionInfoBgpIpv6StateEnum(string(m.BgpIpv6State)); !ok && m.BgpIpv6State != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpIpv6State: %s. Supported values are: %s.", m.BgpIpv6State, strings.Join(GetBgpSessionInfoBgpIpv6StateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -116,6 +118,11 @@ var mappingBgpSessionInfoBgpStateEnum = map[string]BgpSessionInfoBgpStateEnum{ "DOWN": BgpSessionInfoBgpStateDown, } +var mappingBgpSessionInfoBgpStateEnumLowerCase = map[string]BgpSessionInfoBgpStateEnum{ + "up": BgpSessionInfoBgpStateUp, + "down": BgpSessionInfoBgpStateDown, +} + // GetBgpSessionInfoBgpStateEnumValues Enumerates the set of values for BgpSessionInfoBgpStateEnum func GetBgpSessionInfoBgpStateEnumValues() []BgpSessionInfoBgpStateEnum { values := make([]BgpSessionInfoBgpStateEnum, 0) @@ -133,6 +140,12 @@ func GetBgpSessionInfoBgpStateEnumStringValues() []string { } } +// GetMappingBgpSessionInfoBgpStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBgpSessionInfoBgpStateEnum(val string) (BgpSessionInfoBgpStateEnum, bool) { + enum, ok := mappingBgpSessionInfoBgpStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // BgpSessionInfoBgpIpv6StateEnum Enum with underlying type: string type BgpSessionInfoBgpIpv6StateEnum string @@ -147,6 +160,11 @@ var mappingBgpSessionInfoBgpIpv6StateEnum = map[string]BgpSessionInfoBgpIpv6Stat "DOWN": BgpSessionInfoBgpIpv6StateDown, } +var mappingBgpSessionInfoBgpIpv6StateEnumLowerCase = map[string]BgpSessionInfoBgpIpv6StateEnum{ + "up": BgpSessionInfoBgpIpv6StateUp, + "down": BgpSessionInfoBgpIpv6StateDown, +} + // GetBgpSessionInfoBgpIpv6StateEnumValues Enumerates the set of values for BgpSessionInfoBgpIpv6StateEnum func GetBgpSessionInfoBgpIpv6StateEnumValues() []BgpSessionInfoBgpIpv6StateEnum { values := make([]BgpSessionInfoBgpIpv6StateEnum, 0) @@ -163,3 +181,9 @@ func GetBgpSessionInfoBgpIpv6StateEnumStringValues() []string { "DOWN", } } + +// GetMappingBgpSessionInfoBgpIpv6StateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBgpSessionInfoBgpIpv6StateEnum(val string) (BgpSessionInfoBgpIpv6StateEnum, bool) { + enum, ok := mappingBgpSessionInfoBgpIpv6StateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica.go index 722996cf21f6..dc146d9d302b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -87,7 +89,7 @@ func (m BlockVolumeReplica) String() string { // Not recommended for calling this function directly func (m BlockVolumeReplica) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingBlockVolumeReplicaLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingBlockVolumeReplicaLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetBlockVolumeReplicaLifecycleStateEnumStringValues(), ","))) } @@ -119,6 +121,15 @@ var mappingBlockVolumeReplicaLifecycleStateEnum = map[string]BlockVolumeReplicaL "FAULTY": BlockVolumeReplicaLifecycleStateFaulty, } +var mappingBlockVolumeReplicaLifecycleStateEnumLowerCase = map[string]BlockVolumeReplicaLifecycleStateEnum{ + "provisioning": BlockVolumeReplicaLifecycleStateProvisioning, + "available": BlockVolumeReplicaLifecycleStateAvailable, + "activating": BlockVolumeReplicaLifecycleStateActivating, + "terminating": BlockVolumeReplicaLifecycleStateTerminating, + "terminated": BlockVolumeReplicaLifecycleStateTerminated, + "faulty": BlockVolumeReplicaLifecycleStateFaulty, +} + // GetBlockVolumeReplicaLifecycleStateEnumValues Enumerates the set of values for BlockVolumeReplicaLifecycleStateEnum func GetBlockVolumeReplicaLifecycleStateEnumValues() []BlockVolumeReplicaLifecycleStateEnum { values := make([]BlockVolumeReplicaLifecycleStateEnum, 0) @@ -139,3 +150,9 @@ func GetBlockVolumeReplicaLifecycleStateEnumStringValues() []string { "FAULTY", } } + +// GetMappingBlockVolumeReplicaLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBlockVolumeReplicaLifecycleStateEnum(val string) (BlockVolumeReplicaLifecycleStateEnum, bool) { + enum, ok := mappingBlockVolumeReplicaLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_details.go index 251d1f924c95..d0d830e3b978 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_info.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica_info.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_info.go index 3e04207bf8dd..b7447ad6b9f5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/block_volume_replica_info.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boolean_image_capability_schema_descriptor.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boolean_image_capability_schema_descriptor.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boolean_image_capability_schema_descriptor.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boolean_image_capability_schema_descriptor.go index f7ee29a9a3b7..d70e40718346 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boolean_image_capability_schema_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boolean_image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -44,7 +46,7 @@ func (m BooleanImageCapabilitySchemaDescriptor) String() string { func (m BooleanImageCapabilitySchemaDescriptor) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageCapabilitySchemaDescriptorSourceEnum[string(m.Source)]; !ok && m.Source != "" { + if _, ok := GetMappingImageCapabilitySchemaDescriptorSourceEnum(string(m.Source)); !ok && m.Source != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Source: %s. Supported values are: %s.", m.Source, strings.Join(GetImageCapabilitySchemaDescriptorSourceEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go index ddc756cb4e46..56574a79e2c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -77,11 +79,12 @@ type BootVolume struct { // The number of volume performance units (VPUs) that will be applied to this boot volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Elastic Performance (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeelasticperformance.htm) for more information. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. - // For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB. + // * `30`-`120`: Represents the Ultra High Performance option. + // For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"` // The size of the boot volume in GBs. @@ -92,7 +95,7 @@ type BootVolume struct { // The OCID of the source volume group. VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"` - // The OCID of the Key Management master encryption key assigned to the boot volume. + // The OCID of the Vault service master encryption key assigned to the boot volume. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. @@ -118,7 +121,7 @@ func (m BootVolume) String() string { // Not recommended for calling this function directly func (m BootVolume) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingBootVolumeLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingBootVolumeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetBootVolumeLifecycleStateEnumStringValues(), ","))) } @@ -248,6 +251,15 @@ var mappingBootVolumeLifecycleStateEnum = map[string]BootVolumeLifecycleStateEnu "FAULTY": BootVolumeLifecycleStateFaulty, } +var mappingBootVolumeLifecycleStateEnumLowerCase = map[string]BootVolumeLifecycleStateEnum{ + "provisioning": BootVolumeLifecycleStateProvisioning, + "restoring": BootVolumeLifecycleStateRestoring, + "available": BootVolumeLifecycleStateAvailable, + "terminating": BootVolumeLifecycleStateTerminating, + "terminated": BootVolumeLifecycleStateTerminated, + "faulty": BootVolumeLifecycleStateFaulty, +} + // GetBootVolumeLifecycleStateEnumValues Enumerates the set of values for BootVolumeLifecycleStateEnum func GetBootVolumeLifecycleStateEnumValues() []BootVolumeLifecycleStateEnum { values := make([]BootVolumeLifecycleStateEnum, 0) @@ -268,3 +280,9 @@ func GetBootVolumeLifecycleStateEnumStringValues() []string { "FAULTY", } } + +// GetMappingBootVolumeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBootVolumeLifecycleStateEnum(val string) (BootVolumeLifecycleStateEnum, bool) { + enum, ok := mappingBootVolumeLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_attachment.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_attachment.go index 4fcf3a28ac02..8e2a49c2d49c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -68,11 +70,11 @@ func (m BootVolumeAttachment) String() string { // Not recommended for calling this function directly func (m BootVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingBootVolumeAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingBootVolumeAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetBootVolumeAttachmentLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingEncryptionInTransitTypeEnum[string(m.EncryptionInTransitType)]; !ok && m.EncryptionInTransitType != "" { + if _, ok := GetMappingEncryptionInTransitTypeEnum(string(m.EncryptionInTransitType)); !ok && m.EncryptionInTransitType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -99,6 +101,13 @@ var mappingBootVolumeAttachmentLifecycleStateEnum = map[string]BootVolumeAttachm "DETACHED": BootVolumeAttachmentLifecycleStateDetached, } +var mappingBootVolumeAttachmentLifecycleStateEnumLowerCase = map[string]BootVolumeAttachmentLifecycleStateEnum{ + "attaching": BootVolumeAttachmentLifecycleStateAttaching, + "attached": BootVolumeAttachmentLifecycleStateAttached, + "detaching": BootVolumeAttachmentLifecycleStateDetaching, + "detached": BootVolumeAttachmentLifecycleStateDetached, +} + // GetBootVolumeAttachmentLifecycleStateEnumValues Enumerates the set of values for BootVolumeAttachmentLifecycleStateEnum func GetBootVolumeAttachmentLifecycleStateEnumValues() []BootVolumeAttachmentLifecycleStateEnum { values := make([]BootVolumeAttachmentLifecycleStateEnum, 0) @@ -117,3 +126,9 @@ func GetBootVolumeAttachmentLifecycleStateEnumStringValues() []string { "DETACHED", } } + +// GetMappingBootVolumeAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBootVolumeAttachmentLifecycleStateEnum(val string) (BootVolumeAttachmentLifecycleStateEnum, bool) { + enum, ok := mappingBootVolumeAttachmentLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_backup.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_backup.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_backup.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_backup.go index 284f2992fb1b..8ce4ad257d2a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_backup.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -74,9 +76,9 @@ type BootVolumeBackup struct { // The image OCID used to create the boot volume the backup is taken from. ImageId *string `mandatory:"false" json:"imageId"` - // The OCID of the Key Management master encryption assigned to the boot volume backup. - // For more information about the Key Management service and encryption keys, see - // Overview of Key Management (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // The OCID of the Vault service master encryption assigned to the boot volume backup. + // For more information about the Vault service and encryption keys, see + // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` @@ -98,9 +100,6 @@ type BootVolumeBackup struct { // The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space // consumed on the boot volume and whether the backup is full or incremental. UniqueSizeInGBs *int64 `mandatory:"false" json:"uniqueSizeInGBs"` - - // The percentage complete of the operation to create the boot volume backup, based on the boot volume backup size. - BackupProgress *int `mandatory:"false" json:"backupProgress"` } func (m BootVolumeBackup) String() string { @@ -112,14 +111,14 @@ func (m BootVolumeBackup) String() string { // Not recommended for calling this function directly func (m BootVolumeBackup) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingBootVolumeBackupLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingBootVolumeBackupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetBootVolumeBackupLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingBootVolumeBackupSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingBootVolumeBackupSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetBootVolumeBackupSourceTypeEnumStringValues(), ","))) } - if _, ok := mappingBootVolumeBackupTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingBootVolumeBackupTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetBootVolumeBackupTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -150,6 +149,15 @@ var mappingBootVolumeBackupLifecycleStateEnum = map[string]BootVolumeBackupLifec "REQUEST_RECEIVED": BootVolumeBackupLifecycleStateRequestReceived, } +var mappingBootVolumeBackupLifecycleStateEnumLowerCase = map[string]BootVolumeBackupLifecycleStateEnum{ + "creating": BootVolumeBackupLifecycleStateCreating, + "available": BootVolumeBackupLifecycleStateAvailable, + "terminating": BootVolumeBackupLifecycleStateTerminating, + "terminated": BootVolumeBackupLifecycleStateTerminated, + "faulty": BootVolumeBackupLifecycleStateFaulty, + "request_received": BootVolumeBackupLifecycleStateRequestReceived, +} + // GetBootVolumeBackupLifecycleStateEnumValues Enumerates the set of values for BootVolumeBackupLifecycleStateEnum func GetBootVolumeBackupLifecycleStateEnumValues() []BootVolumeBackupLifecycleStateEnum { values := make([]BootVolumeBackupLifecycleStateEnum, 0) @@ -171,6 +179,12 @@ func GetBootVolumeBackupLifecycleStateEnumStringValues() []string { } } +// GetMappingBootVolumeBackupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBootVolumeBackupLifecycleStateEnum(val string) (BootVolumeBackupLifecycleStateEnum, bool) { + enum, ok := mappingBootVolumeBackupLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // BootVolumeBackupSourceTypeEnum Enum with underlying type: string type BootVolumeBackupSourceTypeEnum string @@ -185,6 +199,11 @@ var mappingBootVolumeBackupSourceTypeEnum = map[string]BootVolumeBackupSourceTyp "SCHEDULED": BootVolumeBackupSourceTypeScheduled, } +var mappingBootVolumeBackupSourceTypeEnumLowerCase = map[string]BootVolumeBackupSourceTypeEnum{ + "manual": BootVolumeBackupSourceTypeManual, + "scheduled": BootVolumeBackupSourceTypeScheduled, +} + // GetBootVolumeBackupSourceTypeEnumValues Enumerates the set of values for BootVolumeBackupSourceTypeEnum func GetBootVolumeBackupSourceTypeEnumValues() []BootVolumeBackupSourceTypeEnum { values := make([]BootVolumeBackupSourceTypeEnum, 0) @@ -202,6 +221,12 @@ func GetBootVolumeBackupSourceTypeEnumStringValues() []string { } } +// GetMappingBootVolumeBackupSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBootVolumeBackupSourceTypeEnum(val string) (BootVolumeBackupSourceTypeEnum, bool) { + enum, ok := mappingBootVolumeBackupSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // BootVolumeBackupTypeEnum Enum with underlying type: string type BootVolumeBackupTypeEnum string @@ -216,6 +241,11 @@ var mappingBootVolumeBackupTypeEnum = map[string]BootVolumeBackupTypeEnum{ "INCREMENTAL": BootVolumeBackupTypeIncremental, } +var mappingBootVolumeBackupTypeEnumLowerCase = map[string]BootVolumeBackupTypeEnum{ + "full": BootVolumeBackupTypeFull, + "incremental": BootVolumeBackupTypeIncremental, +} + // GetBootVolumeBackupTypeEnumValues Enumerates the set of values for BootVolumeBackupTypeEnum func GetBootVolumeBackupTypeEnumValues() []BootVolumeBackupTypeEnum { values := make([]BootVolumeBackupTypeEnum, 0) @@ -232,3 +262,9 @@ func GetBootVolumeBackupTypeEnumStringValues() []string { "INCREMENTAL", } } + +// GetMappingBootVolumeBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBootVolumeBackupTypeEnum(val string) (BootVolumeBackupTypeEnum, bool) { + enum, ok := mappingBootVolumeBackupTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_kms_key.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_kms_key.go similarity index 73% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_kms_key.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_kms_key.go index 9165800d6e8f..fcec05784266 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_kms_key.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_kms_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,20 +9,22 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// BootVolumeKmsKey The Key Management master encryption key associated with this volume. +// BootVolumeKmsKey The Vault service master encryption key associated with this volume. type BootVolumeKmsKey struct { - // The OCID of the Key Management key assigned to this volume. If the volume is not using Key Management, then the `kmsKeyId` will be a null string. + // The OCID of the Vault service key assigned to this volume. If the volume is not using Vault service, then the `kmsKeyId` will be a null string. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica.go index 7a9e21f9d6c1..1fdc4b143953 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -90,7 +92,7 @@ func (m BootVolumeReplica) String() string { // Not recommended for calling this function directly func (m BootVolumeReplica) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingBootVolumeReplicaLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingBootVolumeReplicaLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetBootVolumeReplicaLifecycleStateEnumStringValues(), ","))) } @@ -122,6 +124,15 @@ var mappingBootVolumeReplicaLifecycleStateEnum = map[string]BootVolumeReplicaLif "FAULTY": BootVolumeReplicaLifecycleStateFaulty, } +var mappingBootVolumeReplicaLifecycleStateEnumLowerCase = map[string]BootVolumeReplicaLifecycleStateEnum{ + "provisioning": BootVolumeReplicaLifecycleStateProvisioning, + "available": BootVolumeReplicaLifecycleStateAvailable, + "activating": BootVolumeReplicaLifecycleStateActivating, + "terminating": BootVolumeReplicaLifecycleStateTerminating, + "terminated": BootVolumeReplicaLifecycleStateTerminated, + "faulty": BootVolumeReplicaLifecycleStateFaulty, +} + // GetBootVolumeReplicaLifecycleStateEnumValues Enumerates the set of values for BootVolumeReplicaLifecycleStateEnum func GetBootVolumeReplicaLifecycleStateEnumValues() []BootVolumeReplicaLifecycleStateEnum { values := make([]BootVolumeReplicaLifecycleStateEnum, 0) @@ -142,3 +153,9 @@ func GetBootVolumeReplicaLifecycleStateEnumStringValues() []string { "FAULTY", } } + +// GetMappingBootVolumeReplicaLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBootVolumeReplicaLifecycleStateEnum(val string) (BootVolumeReplicaLifecycleStateEnum, bool) { + enum, ok := mappingBootVolumeReplicaLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_details.go index 4977d8c6993d..265f94db13ef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_info.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica_info.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_info.go index 50362a74fe32..6919dd129bea 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_replica_info.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_details.go index e1ae9138d8df..1aa7edaedc0c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_details.go index 0b21db85a280..ed67798c2b21 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_details.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_details.go index 5debe6c9bf42..0c0f45ccd0be 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_replica_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_replica_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_replica_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_replica_details.go index 8a98b27ffe14..ed0232b5cf1d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/boot_volume_source_from_boot_volume_replica_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_add_virtual_circuit_public_prefixes_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_add_virtual_circuit_public_prefixes_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_details.go index 7635b490c13e..b75f610377e0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_add_virtual_circuit_public_prefixes_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_add_virtual_circuit_public_prefixes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_add_virtual_circuit_public_prefixes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_request_response.go index 7bb0747f30dc..c11c58c4f1fa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_add_virtual_circuit_public_prefixes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Request with publix prefixes to be added to the virtual circuit diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_delete_virtual_circuit_public_prefixes_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_delete_virtual_circuit_public_prefixes_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_details.go index 9024b180e6af..10b1bc4f1bbb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_delete_virtual_circuit_public_prefixes_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go index c320e5b455af..349f358dde2a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Request with public prefixes to be deleted from the virtual circuit. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_allocated_range_collection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_collection.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_allocated_range_collection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_collection.go index 510c44aaeb30..64ddb87e111e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_allocated_range_collection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_allocated_range_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_summary.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_allocated_range_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_summary.go index 290e2d0d90fd..a573848bde2d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_allocated_range_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range.go index 8b00bf97d0bb..7f883aefd5a2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,23 +9,22 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// 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. +// ByoipRange Oracle offers the ability to Bring Your Own IP (BYOIP), importing public IP addresses or IPv6 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"` @@ -42,6 +41,12 @@ type ByoipRange struct { // 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"` + // A list of `ByoipRangeVcnIpv6AllocationSummary` objects. + ByoipRangeVcnIpv6Allocations []ByoipRangeVcnIpv6AllocationSummary `mandatory:"false" json:"byoipRangeVcnIpv6Allocations"` + + // The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. + CidrBlock *string `mandatory:"false" json:"cidrBlock"` + // 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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -56,6 +61,11 @@ type ByoipRange struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + // The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or larger, and can be subdivided into sub-ranges used + // across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify + // a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. + Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` + // The `ByoipRange` resource's current status. LifecycleDetails ByoipRangeLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` @@ -81,11 +91,11 @@ func (m ByoipRange) String() string { // Not recommended for calling this function directly func (m ByoipRange) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingByoipRangeLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingByoipRangeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetByoipRangeLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingByoipRangeLifecycleDetailsEnum[string(m.LifecycleDetails)]; !ok && m.LifecycleDetails != "" { + if _, ok := GetMappingByoipRangeLifecycleDetailsEnum(string(m.LifecycleDetails)); !ok && m.LifecycleDetails != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetByoipRangeLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -122,6 +132,18 @@ var mappingByoipRangeLifecycleDetailsEnum = map[string]ByoipRangeLifecycleDetail "WITHDRAWING": ByoipRangeLifecycleDetailsWithdrawing, } +var mappingByoipRangeLifecycleDetailsEnumLowerCase = 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) @@ -146,6 +168,12 @@ func GetByoipRangeLifecycleDetailsEnumStringValues() []string { } } +// GetMappingByoipRangeLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingByoipRangeLifecycleDetailsEnum(val string) (ByoipRangeLifecycleDetailsEnum, bool) { + enum, ok := mappingByoipRangeLifecycleDetailsEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ByoipRangeLifecycleStateEnum Enum with underlying type: string type ByoipRangeLifecycleStateEnum string @@ -166,6 +194,14 @@ var mappingByoipRangeLifecycleStateEnum = map[string]ByoipRangeLifecycleStateEnu "DELETED": ByoipRangeLifecycleStateDeleted, } +var mappingByoipRangeLifecycleStateEnumLowerCase = 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) @@ -185,3 +221,9 @@ func GetByoipRangeLifecycleStateEnumStringValues() []string { "DELETED", } } + +// GetMappingByoipRangeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingByoipRangeLifecycleStateEnum(val string) (ByoipRangeLifecycleStateEnum, bool) { + enum, ok := mappingByoipRangeLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range_collection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_collection.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range_collection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_collection.go index 74eb6fcf3e82..b5fdcc56109f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range_collection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_summary.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_summary.go index 65971a9374cb..d913bed29bae 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/byoip_range_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,19 +9,24 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // ByoipRangeSummary Information about a `ByoipRange` resource. type ByoipRangeSummary struct { + // A list of `ByoipRangeVcnIpv6AllocationSummary` objects. + ByoipRangeVcnIpv6Allocations []ByoipRangeVcnIpv6AllocationSummary `mandatory:"false" json:"byoipRangeVcnIpv6Allocations"` + // The public IPv4 address range you are importing to the Oracle cloud. CidrBlock *string `mandatory:"false" json:"cidrBlock"` @@ -45,6 +50,11 @@ type ByoipRangeSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource. Id *string `mandatory:"false" json:"id"` + // The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or larger, and can be subdivided into sub-ranges used + // across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify + // a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. + Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` + // The `ByoipRange` resource's current state. LifecycleState ByoipRangeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` @@ -66,10 +76,10 @@ func (m ByoipRangeSummary) String() string { func (m ByoipRangeSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingByoipRangeLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingByoipRangeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetByoipRangeLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingByoipRangeLifecycleDetailsEnum[string(m.LifecycleDetails)]; !ok && m.LifecycleDetails != "" { + if _, ok := GetMappingByoipRangeLifecycleDetailsEnum(string(m.LifecycleDetails)); !ok && m.LifecycleDetails != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetByoipRangeLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_vcn_ipv6_allocation_summary.go similarity index 57% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_vcn_ipv6_allocation_summary.go index 9d9d526a9673..e1bec9020977 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/rollback_drg_migration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoip_range_vcn_ipv6_allocation_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,40 +9,43 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// RollbackDrgMigrationDetails Request object to Drg Migration API -type RollbackDrgMigrationDetails struct { +// ByoipRangeVcnIpv6AllocationSummary A summary of IPv6 CIDR block subranges currently allocated to a VCN. +type ByoipRangeVcnIpv6AllocationSummary struct { - // The size of migration batch. - BatchSize *int `mandatory:"true" json:"batchSize"` + // 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:"false" json:"byoipRangeId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) DRG to migrate. - DrgId *string `mandatory:"false" json:"drgId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange`. CompartmentId *string `mandatory:"false" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy to contain the DRG. - TenancyId *string `mandatory:"false" json:"tenancyId"` + // The BYOIPv6 CIDR block range or subrange allocated to a VCN. This could be all or part of a BYOIPv6 CIDR block. + // Each VCN allocation must be /64 or larger. + Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Vcn` resource to which the ByoipRange belongs. + VcnId *string `mandatory:"false" json:"vcnId"` } -func (m RollbackDrgMigrationDetails) String() string { +func (m ByoipRangeVcnIpv6AllocationSummary) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m RollbackDrgMigrationDetails) ValidateEnumValue() (bool, error) { +func (m ByoipRangeVcnIpv6AllocationSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoipv6_cidr_details.go similarity index 52% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_connection_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoipv6_cidr_details.go index f1439401d930..07134e90dc52 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_connection_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/byoipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,38 +9,41 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// CreateLocalPeeringConnectionDetails The representation of CreateLocalPeeringConnectionDetails -type CreateLocalPeeringConnectionDetails struct { +// Byoipv6CidrDetails The list of one or more BYOIPv6 CIDR blocks for the VCN that meets the following criteria: +// - The CIDR must from a BYOIPv6 range. +// - The IPv6 CIDR blocks must be valid. +// - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. +// - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a VCN. +type Byoipv6CidrDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the local peering connection. - CompartmentId *string `mandatory:"true" json:"compartmentId"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. + Byoipv6RangeId *string `mandatory:"true" json:"byoipv6RangeId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the local peering connection belongs to. - VcnId *string `mandatory:"true" json:"vcnId"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` + // An IPv6 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole CIDR block identified in `byoipv6RangeId`, or a subrange. + // Example: `2001:0db8:0123::/48` + Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"` } -func (m CreateLocalPeeringConnectionDetails) String() string { +func (m Byoipv6CidrDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m CreateLocalPeeringConnectionDetails) ValidateEnumValue() (bool, error) { +func (m Byoipv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capacity_reservation_instance_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capacity_reservation_instance_summary.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capacity_reservation_instance_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capacity_reservation_instance_summary.go index 8c7775c91d86..522aa950ac25 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capacity_reservation_instance_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capacity_reservation_instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_console_history_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_console_history_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_details.go index 5cdd237df071..2056ee8fb90b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_console_history_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_console_history_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_request_response.go index 03d52ed0a0a3..340b451bafa3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_filter.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_filter.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go index d75cfd564da2..3e9e1a1bca6e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/capture_filter.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -23,10 +25,10 @@ import ( // The capture filter is created with no rules defined, and it must have at least one rule for the VTAP to start mirroring traffic. type CaptureFilter struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). + // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The capture filter's current administrative state. @@ -66,11 +68,11 @@ func (m CaptureFilter) String() string { // Not recommended for calling this function directly func (m CaptureFilter) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCaptureFilterLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingCaptureFilterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCaptureFilterLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingCaptureFilterFilterTypeEnum[string(m.FilterType)]; !ok && m.FilterType != "" { + if _, ok := GetMappingCaptureFilterFilterTypeEnum(string(m.FilterType)); !ok && m.FilterType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FilterType: %s. Supported values are: %s.", m.FilterType, strings.Join(GetCaptureFilterFilterTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -99,6 +101,14 @@ var mappingCaptureFilterLifecycleStateEnum = map[string]CaptureFilterLifecycleSt "TERMINATED": CaptureFilterLifecycleStateTerminated, } +var mappingCaptureFilterLifecycleStateEnumLowerCase = map[string]CaptureFilterLifecycleStateEnum{ + "provisioning": CaptureFilterLifecycleStateProvisioning, + "available": CaptureFilterLifecycleStateAvailable, + "updating": CaptureFilterLifecycleStateUpdating, + "terminating": CaptureFilterLifecycleStateTerminating, + "terminated": CaptureFilterLifecycleStateTerminated, +} + // GetCaptureFilterLifecycleStateEnumValues Enumerates the set of values for CaptureFilterLifecycleStateEnum func GetCaptureFilterLifecycleStateEnumValues() []CaptureFilterLifecycleStateEnum { values := make([]CaptureFilterLifecycleStateEnum, 0) @@ -119,6 +129,12 @@ func GetCaptureFilterLifecycleStateEnumStringValues() []string { } } +// GetMappingCaptureFilterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCaptureFilterLifecycleStateEnum(val string) (CaptureFilterLifecycleStateEnum, bool) { + enum, ok := mappingCaptureFilterLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CaptureFilterFilterTypeEnum Enum with underlying type: string type CaptureFilterFilterTypeEnum string @@ -131,6 +147,10 @@ var mappingCaptureFilterFilterTypeEnum = map[string]CaptureFilterFilterTypeEnum{ "VTAP": CaptureFilterFilterTypeVtap, } +var mappingCaptureFilterFilterTypeEnumLowerCase = map[string]CaptureFilterFilterTypeEnum{ + "vtap": CaptureFilterFilterTypeVtap, +} + // GetCaptureFilterFilterTypeEnumValues Enumerates the set of values for CaptureFilterFilterTypeEnum func GetCaptureFilterFilterTypeEnumValues() []CaptureFilterFilterTypeEnum { values := make([]CaptureFilterFilterTypeEnum, 0) @@ -146,3 +166,9 @@ func GetCaptureFilterFilterTypeEnumStringValues() []string { "VTAP", } } + +// GetMappingCaptureFilterFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCaptureFilterFilterTypeEnum(val string) (CaptureFilterFilterTypeEnum, bool) { + enum, ok := mappingCaptureFilterFilterTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_backup_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_backup_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_details.go index a0766a59bf40..702da66ae01d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_backup_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_backup_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_backup_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_request_response.go index b4aeb5f53002..2d77933556ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_backup_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_details.go index 333b9b48ae9a..e18440611b97 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_request_response.go index 0137c754f45f..9623915e0b3e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_boot_volume_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_byoip_range_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_byoip_range_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_details.go index 3fcd569d0046..a40c3582df6c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_byoip_range_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_byoip_range_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_byoip_range_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_request_response.go index fbaa9c78b0f4..93b82bc5f783 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_byoip_range_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_capture_filter_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_capture_filter_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go index 766304ca86bd..41a4bef7d51b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_capture_filter_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_capture_filter_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_capture_filter_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_request_response.go index 456ebb241e53..15130af6f869 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_capture_filter_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ChangeCaptureFilterCompartmentRequest wrapper for the ChangeCaptureFilterCompartment operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCaptureFilterCompartment.go.html to see an example of how to use ChangeCaptureFilterCompartmentRequest. type ChangeCaptureFilterCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // Request to change the compartment of a VTAP. @@ -91,7 +95,8 @@ type ChangeCaptureFilterCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cluster_network_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cluster_network_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_details.go index 5cbcfc4b1c3b..073aa70ee8d0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cluster_network_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cluster_network_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cluster_network_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_request_response.go index 3c2bfdebb354..35d17b20a0b3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cluster_network_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_capacity_reservation_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_capacity_reservation_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_details.go index 91bc212d9eca..07c1d0383ed5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_capacity_reservation_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_capacity_reservation_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_capacity_reservation_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_request_response.go index 268b22669f9e..ae1524f08101 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_capacity_reservation_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ChangeComputeCapacityReservationCompartmentRequest wrapper for the ChangeComputeCapacityReservationCompartment operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartmentRequest. type ChangeComputeCapacityReservationCompartmentRequest struct { // The OCID of the compute capacity reservation. @@ -88,7 +92,8 @@ type ChangeComputeCapacityReservationCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_cluster_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_details.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_cluster_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_details.go index ce0455ce7cfe..3b98a28ba2e6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_cluster_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_cluster_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_cluster_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_request_response.go index eb37eb4d3c1f..4b01c9939004 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_cluster_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ChangeComputeClusterCompartmentRequest wrapper for the ChangeComputeClusterCompartment operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeClusterCompartment.go.html to see an example of how to use ChangeComputeClusterCompartmentRequest. type ChangeComputeClusterCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_image_capability_schema_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_image_capability_schema_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_details.go index 03aea066417c..5f2c8a1d433e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_image_capability_schema_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_image_capability_schema_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_image_capability_schema_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_request_response.go index 3d3ceb20d89d..1cf1ecf5c462 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_compute_image_capability_schema_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cpe_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cpe_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_details.go index d01bd19cba86..969cc7ef3a69 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cpe_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cpe_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cpe_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_request_response.go index ebec609d6f2d..26bcccfde94c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cpe_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Request to change the compartment of a CPE. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_details.go index 6e58699d844c..6546d2edb34e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_request_response.go index dcc08a8a4124..87551fbc4e77 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Request to change the compartment of a Cross Connect. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_group_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_group_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_details.go index 93852c4a88c8..19a161f2bdc7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_group_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_group_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_group_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_request_response.go index 41b34f1461b0..e25bbf55cd89 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_cross_connect_group_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // Request to change the compartment of a Cross Connect Group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dedicated_vm_host_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dedicated_vm_host_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_details.go index 87f03d22adf7..32c529c7a9b1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dedicated_vm_host_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dedicated_vm_host_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dedicated_vm_host_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_request_response.go index 0069af0014b8..163297e234cf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dedicated_vm_host_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -91,7 +95,8 @@ type ChangeDedicatedVmHostCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dhcp_options_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dhcp_options_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_details.go index a4fc18c355b3..88b51c313d43 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dhcp_options_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dhcp_options_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dhcp_options_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_request_response.go index 08454068ab41..7d41f91aa881 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_dhcp_options_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // Request to change the compartment of a set of DHCP Options. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_details.go index 28ab9e882fc2..34096742c2db 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_request_response.go index dd8b183d0a45..cecc5edeb1e9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Request to change the compartment of a DRG. @@ -86,7 +90,8 @@ type ChangeDrgCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_i_p_sec_connection_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_i_p_sec_connection_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_i_p_sec_connection_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_i_p_sec_connection_compartment_request_response.go index c3931c149acd..08cb1383a72c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_i_p_sec_connection_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_i_p_sec_connection_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Request to change the compartment of a IPSec connection. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_image_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_image_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_details.go index f0cf12249bc1..f7edde2bb75b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_image_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_image_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_image_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_request_response.go index b96d242eacef..85208ec57bfb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_image_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_details.go index cf69f4b8b499..cae812e5c841 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_request_response.go index d4bafb7061a8..a78aab1f24de 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. @@ -91,7 +95,8 @@ type ChangeInstanceCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_configuration_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_configuration_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_details.go index 34606aab170b..6da63161c855 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_configuration_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_configuration_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_configuration_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_request_response.go index 9321053ecbbd..1df4f3787c8a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_configuration_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_pool_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_pool_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_details.go index d7b4a9d3d55f..540ff4c45934 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_pool_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_pool_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_pool_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_request_response.go index 93e5e629daa2..565b1e78eeb0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_instance_pool_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internet_gateway_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internet_gateway_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_details.go index ac42b37014d0..28388bbf363e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internet_gateway_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internet_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internet_gateway_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_request_response.go index 6f2166c6e4d6..069f5ef42b09 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_internet_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // Request to change the compartment of an internet gateway. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_ip_sec_connection_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_ip_sec_connection_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_ip_sec_connection_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_ip_sec_connection_compartment_details.go index 1b0af4c60ec9..1ebfe861c729 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_ip_sec_connection_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_ip_sec_connection_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_local_peering_gateway_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_local_peering_gateway_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_details.go index 28daf6812a50..b7ea0c4410ef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_local_peering_gateway_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_local_peering_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_local_peering_gateway_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_request_response.go index bbc1ee690b4b..66749ddb2266 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_local_peering_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Request to change the compartment of a given local peering gateway. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_nat_gateway_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_nat_gateway_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_details.go index 398136438bf2..d0c1d5141c26 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_nat_gateway_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_nat_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_nat_gateway_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_request_response.go index 2b80725049a5..646b66bf55f6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_nat_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_network_security_group_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_network_security_group_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_details.go index bb0d30ba2f53..9915548c9389 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_network_security_group_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_network_security_group_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_network_security_group_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_request_response.go index 80c63bd24381..9bf30936098a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_network_security_group_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_details.go index a667ba6daa83..0e7f39f7bc59 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_request_response.go index b69098c05a5b..2efabf49bc14 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // Request to change the compartment of a Public IP. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_pool_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_pool_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_details.go index 03fb70337d7c..7953610137ae 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_pool_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_pool_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_pool_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_request_response.go index 96d1fe3f3f09..05db5971e806 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_public_ip_pool_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_remote_peering_connection_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_remote_peering_connection_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_details.go index eb6fa91f2edb..35d7981699d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_remote_peering_connection_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_remote_peering_connection_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_remote_peering_connection_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_request_response.go index fe0e080bd65c..aae238003121 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_remote_peering_connection_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Request to change the compartment of a remote peering connection. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_route_table_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_route_table_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_details.go index 628ba48a71c6..dbe6233cc56c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_route_table_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_route_table_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_route_table_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_request_response.go index 4d9abdcd60e9..8f9fff4857fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_route_table_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // Request to change the compartment of a given route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_security_list_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_security_list_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_details.go index 52adef002703..8b9ec44aa342 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_security_list_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_security_list_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_security_list_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_request_response.go index 3a3cfabce842..02fe30e32bc2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_security_list_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // Request to change the compartment of a given security list. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_service_gateway_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_service_gateway_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_details.go index 6c075eba7497..f4ba30e579e9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_service_gateway_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_service_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_service_gateway_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_request_response.go index d0cdc1cdc565..06a6f001fe7d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_service_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_subnet_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_subnet_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_details.go index 0e1f2c77b14c..3b27fe9cd610 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_subnet_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_subnet_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_subnet_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_request_response.go index a836cb3e65c3..b2e5240fbf35 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_subnet_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Request to change the compartment of a given subnet. @@ -86,7 +90,8 @@ type ChangeSubnetCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_details.go index 4e467d963e1e..97399d7ae534 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_request_response.go index a78ee87a9a64..ea0b6743a5b5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vcn_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VCN. @@ -86,7 +90,8 @@ type ChangeVcnCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_virtual_circuit_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_virtual_circuit_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_details.go index 2a2a3ba2fae8..c989c095e461 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_virtual_circuit_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_virtual_circuit_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_virtual_circuit_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_request_response.go index 1a3e9803f2ab..8585b5d658b1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_virtual_circuit_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Request to change the compartment of a virtual circuit. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vlan_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vlan_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_details.go index 637139219c7d..06a4c11a0773 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vlan_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vlan_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vlan_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_request_response.go index de5a5974edd4..d0bf10e1129a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vlan_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. @@ -88,7 +92,8 @@ type ChangeVlanCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_backup_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_backup_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_details.go index 63fbf15f26e0..82e3ca87b66a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_backup_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_backup_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_backup_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_request_response.go index 7b79039b1355..77e392cb98a9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_backup_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_details.go index 6a6797e01b88..7be2e537dddf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_request_response.go index 23571557c1d8..a7bc57ae39de 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_backup_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_backup_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_details.go index 796648b5fe72..1af6bc8a4975 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_backup_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_backup_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_backup_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_request_response.go index 1a3f644dee67..1cf84d4c83b3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_backup_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_details.go index 79cf089242d8..0ff78f5301a2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_request_response.go index 828208ef6a3b..fbc7f598f46b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_volume_group_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vtap_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vtap_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_details.go index c07e537e65e4..be866860606f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vtap_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vtap_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vtap_compartment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_request_response.go index 0eab7c9a8640..6fb3491ce9c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_vtap_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ChangeVtapCompartmentRequest wrapper for the ChangeVtapCompartment operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVtapCompartment.go.html to see an example of how to use ChangeVtapCompartmentRequest. type ChangeVtapCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // Request to change the compartment that contains a VTAP. @@ -91,7 +95,8 @@ type ChangeVtapCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_attachment_compartment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_config_details.go similarity index 54% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_attachment_compartment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_config_details.go index c3718e4e6740..01074b0a4e45 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/change_drg_attachment_compartment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,32 +9,40 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// ChangeDrgAttachmentCompartmentDetails The configuration details for the move operation. -type ChangeDrgAttachmentCompartmentDetails struct { +// ClusterConfigDetails The HPC cluster configuration requested when launching instances in a compute capacity reservation. +// If the parameter is provided, the reservation is created with the HPC island and a list of HPC blocks that you +// specify. If a list of HPC blocks are missing or not provided, the reservation is created with any HPC blocks in +// the HPC island that you specify. If the values of HPC island or HPC block that you provide are not valid, an error +// is returned. +type ClusterConfigDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - // DRG attachment to. - CompartmentId *string `mandatory:"true" json:"compartmentId"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HpcIsland. + HpcIslandId *string `mandatory:"true" json:"hpcIslandId"` + + // The list of OCID of the network blocks. + NetworkBlockIds []string `mandatory:"false" json:"networkBlockIds"` } -func (m ChangeDrgAttachmentCompartmentDetails) String() string { +func (m ClusterConfigDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m ChangeDrgAttachmentCompartmentDetails) ValidateEnumValue() (bool, error) { +func (m ClusterConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network.go index 6082e12a4132..e1f348446bd4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -41,6 +43,12 @@ type ClusterNetwork struct { // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the hpc island used by the cluster network. + HpcIslandId *string `mandatory:"false" json:"hpcIslandId"` + + // The list of network block OCIDs of the HPC island. + NetworkBlockIds []string `mandatory:"false" json:"networkBlockIds"` + // 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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -71,7 +79,7 @@ func (m ClusterNetwork) String() string { // Not recommended for calling this function directly func (m ClusterNetwork) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingClusterNetworkLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingClusterNetworkLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClusterNetworkLifecycleStateEnumStringValues(), ","))) } @@ -107,6 +115,17 @@ var mappingClusterNetworkLifecycleStateEnum = map[string]ClusterNetworkLifecycle "RUNNING": ClusterNetworkLifecycleStateRunning, } +var mappingClusterNetworkLifecycleStateEnumLowerCase = map[string]ClusterNetworkLifecycleStateEnum{ + "provisioning": ClusterNetworkLifecycleStateProvisioning, + "scaling": ClusterNetworkLifecycleStateScaling, + "starting": ClusterNetworkLifecycleStateStarting, + "stopping": ClusterNetworkLifecycleStateStopping, + "terminating": ClusterNetworkLifecycleStateTerminating, + "stopped": ClusterNetworkLifecycleStateStopped, + "terminated": ClusterNetworkLifecycleStateTerminated, + "running": ClusterNetworkLifecycleStateRunning, +} + // GetClusterNetworkLifecycleStateEnumValues Enumerates the set of values for ClusterNetworkLifecycleStateEnum func GetClusterNetworkLifecycleStateEnumValues() []ClusterNetworkLifecycleStateEnum { values := make([]ClusterNetworkLifecycleStateEnum, 0) @@ -129,3 +148,9 @@ func GetClusterNetworkLifecycleStateEnumStringValues() []string { "RUNNING", } } + +// GetMappingClusterNetworkLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingClusterNetworkLifecycleStateEnum(val string) (ClusterNetworkLifecycleStateEnum, bool) { + enum, ok := mappingClusterNetworkLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network_placement_configuration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network_placement_configuration_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go index b45f102d884a..424ab962c601 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network_placement_configuration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network_summary.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network_summary.go index a785108c23d7..5c8c4e70ad27 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cluster_network_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cluster_network_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -67,7 +69,7 @@ func (m ClusterNetworkSummary) String() string { // Not recommended for calling this function directly func (m ClusterNetworkSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingClusterNetworkSummaryLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingClusterNetworkSummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetClusterNetworkSummaryLifecycleStateEnumStringValues(), ","))) } @@ -103,6 +105,17 @@ var mappingClusterNetworkSummaryLifecycleStateEnum = map[string]ClusterNetworkSu "RUNNING": ClusterNetworkSummaryLifecycleStateRunning, } +var mappingClusterNetworkSummaryLifecycleStateEnumLowerCase = map[string]ClusterNetworkSummaryLifecycleStateEnum{ + "provisioning": ClusterNetworkSummaryLifecycleStateProvisioning, + "scaling": ClusterNetworkSummaryLifecycleStateScaling, + "starting": ClusterNetworkSummaryLifecycleStateStarting, + "stopping": ClusterNetworkSummaryLifecycleStateStopping, + "terminating": ClusterNetworkSummaryLifecycleStateTerminating, + "stopped": ClusterNetworkSummaryLifecycleStateStopped, + "terminated": ClusterNetworkSummaryLifecycleStateTerminated, + "running": ClusterNetworkSummaryLifecycleStateRunning, +} + // GetClusterNetworkSummaryLifecycleStateEnumValues Enumerates the set of values for ClusterNetworkSummaryLifecycleStateEnum func GetClusterNetworkSummaryLifecycleStateEnumValues() []ClusterNetworkSummaryLifecycleStateEnum { values := make([]ClusterNetworkSummaryLifecycleStateEnum, 0) @@ -125,3 +138,9 @@ func GetClusterNetworkSummaryLifecycleStateEnumStringValues() []string { "RUNNING", } } + +// GetMappingClusterNetworkSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingClusterNetworkSummaryLifecycleStateEnum(val string) (ClusterNetworkSummaryLifecycleStateEnum, bool) { + enum, ok := mappingClusterNetworkSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_worker_ip_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compartment_internal.go similarity index 70% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_worker_ip_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compartment_internal.go index 0342a3b5f16b..a5344b0f3839 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_worker_ip_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compartment_internal.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,37 +9,33 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// VnicWorkerIpConfig Details of a `vnicWorker` IP config. -type VnicWorkerIpConfig struct { +// CompartmentInternal Helper definition required to perform authZ using SPLAT expressions on a Compartment +type CompartmentInternal struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IP associated with the `vnicWorker`. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. Id *string `mandatory:"false" json:"id"` - - // The IP address. - IpAddress *string `mandatory:"false" json:"ipAddress"` - - // The NAT IP address associated with the Private IP - NatIpAddress *string `mandatory:"false" json:"natIpAddress"` } -func (m VnicWorkerIpConfig) String() string { +func (m CompartmentInternal) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m VnicWorkerIpConfig) ValidateEnumValue() (bool, error) { +func (m CompartmentInternal) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation.go index f8ca386b36e1..56b1157e8cc8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -89,7 +91,7 @@ func (m ComputeCapacityReservation) String() string { // Not recommended for calling this function directly func (m ComputeCapacityReservation) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingComputeCapacityReservationLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingComputeCapacityReservationLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeCapacityReservationLifecycleStateEnumStringValues(), ","))) } @@ -121,6 +123,15 @@ var mappingComputeCapacityReservationLifecycleStateEnum = map[string]ComputeCapa "DELETING": ComputeCapacityReservationLifecycleStateDeleting, } +var mappingComputeCapacityReservationLifecycleStateEnumLowerCase = map[string]ComputeCapacityReservationLifecycleStateEnum{ + "active": ComputeCapacityReservationLifecycleStateActive, + "creating": ComputeCapacityReservationLifecycleStateCreating, + "updating": ComputeCapacityReservationLifecycleStateUpdating, + "moving": ComputeCapacityReservationLifecycleStateMoving, + "deleted": ComputeCapacityReservationLifecycleStateDeleted, + "deleting": ComputeCapacityReservationLifecycleStateDeleting, +} + // GetComputeCapacityReservationLifecycleStateEnumValues Enumerates the set of values for ComputeCapacityReservationLifecycleStateEnum func GetComputeCapacityReservationLifecycleStateEnumValues() []ComputeCapacityReservationLifecycleStateEnum { values := make([]ComputeCapacityReservationLifecycleStateEnum, 0) @@ -141,3 +152,9 @@ func GetComputeCapacityReservationLifecycleStateEnumStringValues() []string { "DELETING", } } + +// GetMappingComputeCapacityReservationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeCapacityReservationLifecycleStateEnum(val string) (ComputeCapacityReservationLifecycleStateEnum, bool) { + enum, ok := mappingComputeCapacityReservationLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation_instance_shape_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_instance_shape_summary.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation_instance_shape_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_instance_shape_summary.go index feefc2442fc5..785995e4ae5c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation_instance_shape_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_instance_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_summary.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_summary.go index 24cd6335b6e2..b22b106be19e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_capacity_reservation_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -79,7 +81,7 @@ func (m ComputeCapacityReservationSummary) String() string { func (m ComputeCapacityReservationSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingComputeCapacityReservationLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingComputeCapacityReservationLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeCapacityReservationLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster.go index 082ec3ee90c8..7aa022e367df 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -69,7 +71,7 @@ func (m ComputeCluster) String() string { // Not recommended for calling this function directly func (m ComputeCluster) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingComputeClusterLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingComputeClusterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeClusterLifecycleStateEnumStringValues(), ","))) } @@ -93,6 +95,11 @@ var mappingComputeClusterLifecycleStateEnum = map[string]ComputeClusterLifecycle "DELETED": ComputeClusterLifecycleStateDeleted, } +var mappingComputeClusterLifecycleStateEnumLowerCase = map[string]ComputeClusterLifecycleStateEnum{ + "active": ComputeClusterLifecycleStateActive, + "deleted": ComputeClusterLifecycleStateDeleted, +} + // GetComputeClusterLifecycleStateEnumValues Enumerates the set of values for ComputeClusterLifecycleStateEnum func GetComputeClusterLifecycleStateEnumValues() []ComputeClusterLifecycleStateEnum { values := make([]ComputeClusterLifecycleStateEnum, 0) @@ -109,3 +116,9 @@ func GetComputeClusterLifecycleStateEnumStringValues() []string { "DELETED", } } + +// GetMappingComputeClusterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeClusterLifecycleStateEnum(val string) (ComputeClusterLifecycleStateEnum, bool) { + enum, ok := mappingComputeClusterLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster_collection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_collection.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster_collection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_collection.go index a7f67582b740..4462692def65 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster_collection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_summary.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_summary.go index 76c976054e37..c263aad8ea2d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_cluster_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -64,7 +66,7 @@ func (m ComputeClusterSummary) String() string { // Not recommended for calling this function directly func (m ComputeClusterSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingComputeClusterLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingComputeClusterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeClusterLifecycleStateEnumStringValues(), ","))) } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema.go index d63d841b3b32..8d24f28ed97d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_summary.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_summary.go index 90dacab165a6..c3abba8ff43a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_version.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_version.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version.go index 1ad04d5fea94..fb3a9a77b860 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_version.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_version_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version_summary.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_version_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version_summary.go index a0582e9146a6..8b0e09c78b0d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_global_image_capability_schema_version_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_image_capability_schema.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema.go similarity index 95% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_image_capability_schema.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema.go index c5ae0db8ffdb..468a35d22c93 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_image_capability_schema.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_image_capability_schema_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema_summary.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_image_capability_schema_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema_summary.go index 56afcdf7044c..dc1aadc93eb2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_image_capability_schema_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_instance_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_instance_details.go index 94eb220fa286..987e7a397f0f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/compute_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/compute_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,16 +18,19 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // ComputeInstanceDetails Compute Instance Configuration instance details. type ComputeInstanceDetails struct { + + // Block volume parameters. BlockVolumes []InstanceConfigurationBlockVolumeDetails `mandatory:"false" json:"blockVolumes"` LaunchDetails *InstanceConfigurationLaunchInstanceDetails `mandatory:"false" json:"launchDetails"` + // Secondary VNIC parameters. SecondaryVnics []InstanceConfigurationAttachVnicDetails `mandatory:"false" json:"secondaryVnics"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_gateways_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_gateways_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_details.go index 2ccb3fd84337..b648d4c30298 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_gateways_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_gateways_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_request_response.go index 2566ac6d2cc6..4630d62a201e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,24 +6,24 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Details regarding the local peering gateway to connect. ConnectLocalPeeringGatewaysDetails `contributesTo:"body"` - // A comma separated list of tenancy OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)s that might be accessed by this request. Only required - // for cross tenancy requests. May be `null` for requests that do not cross tenancy boundaries. - XCrossTenancyRequest *string `mandatory:"false" contributesTo:"header" name:"x-cross-tenancy-request"` - // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_remote_peering_connections_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_remote_peering_connections_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_details.go index e4da9cf2a935..9cf2cdd1a580 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_remote_peering_connections_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_remote_peering_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_remote_peering_connections_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_request_response.go index 792a1744d609..5163021e1ba6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_remote_peering_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Details to connect peering connection with peering connection from remote region diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/console_history.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/console_history.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/console_history.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/console_history.go index df1dc16d1e6b..93842d1d4726 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/console_history.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/console_history.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -70,7 +72,7 @@ func (m ConsoleHistory) String() string { // Not recommended for calling this function directly func (m ConsoleHistory) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingConsoleHistoryLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingConsoleHistoryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetConsoleHistoryLifecycleStateEnumStringValues(), ","))) } @@ -98,6 +100,13 @@ var mappingConsoleHistoryLifecycleStateEnum = map[string]ConsoleHistoryLifecycle "FAILED": ConsoleHistoryLifecycleStateFailed, } +var mappingConsoleHistoryLifecycleStateEnumLowerCase = map[string]ConsoleHistoryLifecycleStateEnum{ + "requested": ConsoleHistoryLifecycleStateRequested, + "getting-history": ConsoleHistoryLifecycleStateGettingHistory, + "succeeded": ConsoleHistoryLifecycleStateSucceeded, + "failed": ConsoleHistoryLifecycleStateFailed, +} + // GetConsoleHistoryLifecycleStateEnumValues Enumerates the set of values for ConsoleHistoryLifecycleStateEnum func GetConsoleHistoryLifecycleStateEnumValues() []ConsoleHistoryLifecycleStateEnum { values := make([]ConsoleHistoryLifecycleStateEnum, 0) @@ -116,3 +125,9 @@ func GetConsoleHistoryLifecycleStateEnumStringValues() []string { "FAILED", } } + +// GetMappingConsoleHistoryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingConsoleHistoryLifecycleStateEnum(val string) (ConsoleHistoryLifecycleStateEnum, bool) { + enum, ok := mappingConsoleHistoryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_boot_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_details.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_boot_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_details.go index 5d9bc159ad64..394b9a18c4df 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_boot_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -30,12 +32,12 @@ type CopyBootVolumeBackupDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the Key Management key in the destination region which will be the master encryption key + // The OCID of the Vault service key in the destination region which will be the master encryption key // for the copied boot volume backup. If you do not specify this attribute the boot volume backup // will be encrypted with the Oracle-provided encryption key when it is copied to the destination region. // - // For more information about the Key Management service and encryption keys, see - // Overview of Key Management (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // For more information about the Vault service and encryption keys, see + // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_boot_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_request_response.go index 99c55d5133a9..d0f1afed269b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -89,7 +93,8 @@ type CopyBootVolumeBackupResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_details.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_details.go index 992c382f8aa3..a2b41a8031c0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -30,13 +32,13 @@ type CopyVolumeBackupDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the Key Management key in the destination region which will be the master encryption key + // The OCID of the Vault service key in the destination region which will be the master encryption key // for the copied volume backup. // If you do not specify this attribute the volume backup will be encrypted with the Oracle-provided encryption // key when it is copied to the destination region. // - // For more information about the Key Management service and encryption keys, see - // Overview of Key Management (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // For more information about the Vault service and encryption keys, see + // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_request_response.go index dbdb6136ebd7..f70335d84100 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -89,7 +93,8 @@ type CopyVolumeBackupResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_group_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_details.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_group_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_details.go index af25a8ac9c0f..bded0cfad1a4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_group_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -30,14 +32,14 @@ type CopyVolumeGroupBackupDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID of the Key Management key in the destination region which will be the master encryption key + // The OCID of the Vault service key in the destination region which will be the master encryption key // for the copied volume group backup. // If you do not specify this attribute the volume group backup will be encrypted with the Oracle-provided encryption // key when it is copied to the destination region. // - // For more information about the Key Management service and encryption keys, see - // Overview of Key Management (https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/Content/KeyManagement/Tasks/usingkeys.htm). + // For more information about the Vault service and encryption keys, see + // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_group_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_request_response.go index 300ba059e5e0..a1cdf2466597 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/copy_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CopyVolumeGroupBackupRequest wrapper for the CopyVolumeGroupBackup operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeGroupBackup.go.html to see an example of how to use CopyVolumeGroupBackupRequest. type CopyVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_blockstorage_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_blockstorage_client.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go index 078dd9e280a9..96c64bc89639 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_blockstorage_client.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,8 +18,8 @@ package core import ( "context" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" "net/http" ) @@ -56,7 +58,7 @@ func NewBlockstorageClientWithOboToken(configProvider common.ConfigurationProvid func newBlockstorageClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client BlockstorageClient, err error) { // Blockstorage service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSetting()) + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("Blockstorage")) common.ConfigCircuitBreakerFromEnvVar(&baseClient) common.ConfigCircuitBreakerFromGlobalVar(&baseClient) @@ -80,6 +82,9 @@ func (client *BlockstorageClient) setConfigurationProvider(configProvider common // Error has been checked already region, _ := configProvider.Region() client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } client.config = &configProvider return nil } @@ -92,6 +97,10 @@ 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/iaas/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() @@ -135,6 +144,8 @@ func (client BlockstorageClient) changeBootVolumeBackupCompartment(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/ChangeBootVolumeBackupCompartment" + err = common.PostProcessServiceError(err, "Blockstorage", "ChangeBootVolumeBackupCompartment", apiReferenceLink) return response, err } @@ -145,6 +156,10 @@ 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/iaas/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() @@ -188,6 +203,8 @@ func (client BlockstorageClient) changeBootVolumeCompartment(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/ChangeBootVolumeCompartment" + err = common.PostProcessServiceError(err, "Blockstorage", "ChangeBootVolumeCompartment", apiReferenceLink) return response, err } @@ -198,6 +215,10 @@ 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/iaas/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() @@ -241,6 +262,8 @@ func (client BlockstorageClient) changeVolumeBackupCompartment(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/ChangeVolumeBackupCompartment" + err = common.PostProcessServiceError(err, "Blockstorage", "ChangeVolumeBackupCompartment", apiReferenceLink) return response, err } @@ -251,6 +274,10 @@ 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/iaas/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() @@ -294,6 +321,8 @@ func (client BlockstorageClient) changeVolumeCompartment(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/ChangeVolumeCompartment" + err = common.PostProcessServiceError(err, "Blockstorage", "ChangeVolumeCompartment", apiReferenceLink) return response, err } @@ -304,6 +333,10 @@ 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/iaas/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() @@ -347,6 +380,8 @@ func (client BlockstorageClient) changeVolumeGroupBackupCompartment(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/ChangeVolumeGroupBackupCompartment" + err = common.PostProcessServiceError(err, "Blockstorage", "ChangeVolumeGroupBackupCompartment", apiReferenceLink) return response, err } @@ -357,6 +392,10 @@ 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/iaas/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() @@ -400,6 +439,8 @@ func (client BlockstorageClient) changeVolumeGroupCompartment(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/ChangeVolumeGroupCompartment" + err = common.PostProcessServiceError(err, "Blockstorage", "ChangeVolumeGroupCompartment", apiReferenceLink) return response, err } @@ -409,6 +450,10 @@ 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/iaas/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() @@ -457,6 +502,8 @@ func (client BlockstorageClient) copyBootVolumeBackup(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/CopyBootVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "CopyBootVolumeBackup", apiReferenceLink) return response, err } @@ -466,6 +513,10 @@ 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/iaas/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() @@ -514,6 +565,8 @@ func (client BlockstorageClient) copyVolumeBackup(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/CopyVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "CopyVolumeBackup", apiReferenceLink) return response, err } @@ -522,7 +575,11 @@ func (client BlockstorageClient) copyVolumeBackup(ctx context.Context, request c } // CopyVolumeGroupBackup Creates a volume group backup copy in specified region. For general information about volume group backups, -// see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumebackups.htm) +// see Overview of Block Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm). +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeGroupBackup.go.html to see an example of how to use CopyVolumeGroupBackup API. func (client BlockstorageClient) CopyVolumeGroupBackup(ctx context.Context, request CopyVolumeGroupBackupRequest) (response CopyVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -571,6 +628,8 @@ func (client BlockstorageClient) copyVolumeGroupBackup(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/CopyVolumeGroupBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "CopyVolumeGroupBackup", apiReferenceLink) return response, err } @@ -582,6 +641,10 @@ func (client BlockstorageClient) copyVolumeGroupBackup(ctx context.Context, requ // For general information about boot volumes, see Boot Volumes (https://docs.cloud.oracle.com/iaas/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() @@ -630,6 +693,8 @@ func (client BlockstorageClient) createBootVolume(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/CreateBootVolume" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateBootVolume", apiReferenceLink) return response, err } @@ -642,6 +707,10 @@ 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() @@ -690,6 +759,8 @@ func (client BlockstorageClient) createBootVolumeBackup(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/CreateBootVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateBootVolumeBackup", apiReferenceLink) return response, err } @@ -709,6 +780,10 @@ 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() @@ -757,6 +832,8 @@ func (client BlockstorageClient) createVolume(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/CreateVolume" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateVolume", apiReferenceLink) return response, err } @@ -769,6 +846,10 @@ 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() @@ -817,6 +898,8 @@ func (client BlockstorageClient) createVolumeBackup(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/CreateVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateVolumeBackup", apiReferenceLink) return response, err } @@ -827,6 +910,10 @@ 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() @@ -875,6 +962,8 @@ func (client BlockstorageClient) createVolumeBackupPolicy(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/CreateVolumeBackupPolicy" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateVolumeBackupPolicy", apiReferenceLink) return response, err } @@ -885,6 +974,10 @@ 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() @@ -928,6 +1021,8 @@ func (client BlockstorageClient) createVolumeBackupPolicyAssignment(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicyAssignment/CreateVolumeBackupPolicyAssignment" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateVolumeBackupPolicyAssignment", apiReferenceLink) return response, err } @@ -941,6 +1036,10 @@ 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/iaas/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() @@ -989,6 +1088,8 @@ func (client BlockstorageClient) createVolumeGroup(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/CreateVolumeGroup" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateVolumeGroup", apiReferenceLink) return response, err } @@ -998,6 +1099,10 @@ 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/iaas/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() @@ -1046,6 +1151,8 @@ func (client BlockstorageClient) createVolumeGroupBackup(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/CreateVolumeGroupBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "CreateVolumeGroupBackup", apiReferenceLink) return response, err } @@ -1057,6 +1164,10 @@ 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/iaas/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() @@ -1100,6 +1211,8 @@ func (client BlockstorageClient) deleteBootVolume(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteBootVolume", apiReferenceLink) return response, err } @@ -1108,6 +1221,10 @@ 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() @@ -1151,6 +1268,8 @@ func (client BlockstorageClient) deleteBootVolumeBackup(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteBootVolumeBackup", apiReferenceLink) return response, err } @@ -1158,7 +1277,11 @@ func (client BlockstorageClient) deleteBootVolumeBackup(ctx context.Context, req return response, err } -// DeleteBootVolumeKmsKey Removes the specified boot volume's assigned Key Management encryption key. +// DeleteBootVolumeKmsKey Removes the specified boot volume's assigned Vault Service 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() @@ -1202,6 +1325,8 @@ func (client BlockstorageClient) deleteBootVolumeKmsKey(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteBootVolumeKmsKey", apiReferenceLink) return response, err } @@ -1213,6 +1338,10 @@ 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/iaas/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() @@ -1256,6 +1385,8 @@ func (client BlockstorageClient) deleteVolume(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteVolume", apiReferenceLink) return response, err } @@ -1264,6 +1395,10 @@ 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() @@ -1307,6 +1442,8 @@ func (client BlockstorageClient) deleteVolumeBackup(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteVolumeBackup", apiReferenceLink) return response, err } @@ -1319,6 +1456,10 @@ 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() @@ -1362,6 +1503,8 @@ func (client BlockstorageClient) deleteVolumeBackupPolicy(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteVolumeBackupPolicy", apiReferenceLink) return response, err } @@ -1370,6 +1513,10 @@ 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() @@ -1413,6 +1560,8 @@ func (client BlockstorageClient) deleteVolumeBackupPolicyAssignment(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteVolumeBackupPolicyAssignment", apiReferenceLink) return response, err } @@ -1422,6 +1571,10 @@ 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/iaas/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() @@ -1465,6 +1618,8 @@ func (client BlockstorageClient) deleteVolumeGroup(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteVolumeGroup", apiReferenceLink) return response, err } @@ -1474,6 +1629,10 @@ func (client BlockstorageClient) deleteVolumeGroup(ctx context.Context, request // 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/iaas/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() @@ -1517,6 +1676,8 @@ func (client BlockstorageClient) deleteVolumeGroupBackup(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteVolumeGroupBackup", apiReferenceLink) return response, err } @@ -1524,7 +1685,11 @@ func (client BlockstorageClient) deleteVolumeGroupBackup(ctx context.Context, re return response, err } -// DeleteVolumeKmsKey Removes the specified volume's assigned Key Management encryption key. +// DeleteVolumeKmsKey Removes the specified volume's assigned Vault service 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() @@ -1568,6 +1733,8 @@ func (client BlockstorageClient) deleteVolumeKmsKey(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Blockstorage", "DeleteVolumeKmsKey", apiReferenceLink) return response, err } @@ -1576,6 +1743,10 @@ func (client BlockstorageClient) deleteVolumeKmsKey(ctx context.Context, request } // GetBlockVolumeReplica Gets information for the specified block volume replica. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplica API. func (client BlockstorageClient) GetBlockVolumeReplica(ctx context.Context, request GetBlockVolumeReplicaRequest) (response GetBlockVolumeReplicaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1619,6 +1790,8 @@ func (client BlockstorageClient) getBlockVolumeReplica(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BlockVolumeReplica/GetBlockVolumeReplica" + err = common.PostProcessServiceError(err, "Blockstorage", "GetBlockVolumeReplica", apiReferenceLink) return response, err } @@ -1627,6 +1800,10 @@ func (client BlockstorageClient) getBlockVolumeReplica(ctx context.Context, requ } // 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() @@ -1670,6 +1847,8 @@ func (client BlockstorageClient) getBootVolume(ctx context.Context, request comm defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/GetBootVolume" + err = common.PostProcessServiceError(err, "Blockstorage", "GetBootVolume", apiReferenceLink) return response, err } @@ -1678,6 +1857,10 @@ 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() @@ -1721,6 +1904,8 @@ func (client BlockstorageClient) getBootVolumeBackup(ctx context.Context, reques defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/GetBootVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "GetBootVolumeBackup", apiReferenceLink) return response, err } @@ -1728,7 +1913,11 @@ func (client BlockstorageClient) getBootVolumeBackup(ctx context.Context, reques return response, err } -// GetBootVolumeKmsKey Gets the Key Management encryption key assigned to the specified boot volume. +// GetBootVolumeKmsKey Gets the Vault service 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() @@ -1772,6 +1961,8 @@ func (client BlockstorageClient) getBootVolumeKmsKey(ctx context.Context, reques defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeKmsKey/GetBootVolumeKmsKey" + err = common.PostProcessServiceError(err, "Blockstorage", "GetBootVolumeKmsKey", apiReferenceLink) return response, err } @@ -1780,6 +1971,10 @@ func (client BlockstorageClient) getBootVolumeKmsKey(ctx context.Context, reques } // GetBootVolumeReplica Gets information for the specified boot volume replica. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplica API. func (client BlockstorageClient) GetBootVolumeReplica(ctx context.Context, request GetBootVolumeReplicaRequest) (response GetBootVolumeReplicaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1823,6 +2018,8 @@ func (client BlockstorageClient) getBootVolumeReplica(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeReplica/GetBootVolumeReplica" + err = common.PostProcessServiceError(err, "Blockstorage", "GetBootVolumeReplica", apiReferenceLink) return response, err } @@ -1831,6 +2028,10 @@ func (client BlockstorageClient) getBootVolumeReplica(ctx context.Context, reque } // 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() @@ -1874,6 +2075,8 @@ func (client BlockstorageClient) getVolume(ctx context.Context, request common.O defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/GetVolume" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolume", apiReferenceLink) return response, err } @@ -1882,6 +2085,10 @@ 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() @@ -1925,6 +2132,8 @@ func (client BlockstorageClient) getVolumeBackup(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/GetVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeBackup", apiReferenceLink) return response, err } @@ -1933,6 +2142,10 @@ 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() @@ -1976,6 +2189,8 @@ func (client BlockstorageClient) getVolumeBackupPolicy(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/GetVolumeBackupPolicy" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeBackupPolicy", apiReferenceLink) return response, err } @@ -1986,6 +2201,10 @@ 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() @@ -2029,6 +2248,8 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssetAssignment(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicyAssignment/GetVolumeBackupPolicyAssetAssignment" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeBackupPolicyAssetAssignment", apiReferenceLink) return response, err } @@ -2037,6 +2258,10 @@ 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() @@ -2080,6 +2305,8 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssignment(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicyAssignment/GetVolumeBackupPolicyAssignment" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeBackupPolicyAssignment", apiReferenceLink) return response, err } @@ -2088,6 +2315,10 @@ 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/iaas/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() @@ -2131,6 +2362,8 @@ func (client BlockstorageClient) getVolumeGroup(ctx context.Context, request com defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/GetVolumeGroup" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeGroup", apiReferenceLink) return response, err } @@ -2139,6 +2372,10 @@ 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/iaas/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() @@ -2182,6 +2419,8 @@ func (client BlockstorageClient) getVolumeGroupBackup(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/GetVolumeGroupBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeGroupBackup", apiReferenceLink) return response, err } @@ -2190,6 +2429,10 @@ func (client BlockstorageClient) getVolumeGroupBackup(ctx context.Context, reque } // GetVolumeGroupReplica Gets information for the specified volume group replica. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupReplica.go.html to see an example of how to use GetVolumeGroupReplica API. func (client BlockstorageClient) GetVolumeGroupReplica(ctx context.Context, request GetVolumeGroupReplicaRequest) (response GetVolumeGroupReplicaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2233,6 +2476,8 @@ func (client BlockstorageClient) getVolumeGroupReplica(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupReplica/GetVolumeGroupReplica" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeGroupReplica", apiReferenceLink) return response, err } @@ -2240,7 +2485,11 @@ func (client BlockstorageClient) getVolumeGroupReplica(ctx context.Context, requ return response, err } -// GetVolumeKmsKey Gets the Key Management encryption key assigned to the specified volume. +// GetVolumeKmsKey Gets the Vault service 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() @@ -2284,6 +2533,8 @@ func (client BlockstorageClient) getVolumeKmsKey(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeKmsKey/GetVolumeKmsKey" + err = common.PostProcessServiceError(err, "Blockstorage", "GetVolumeKmsKey", apiReferenceLink) return response, err } @@ -2292,6 +2543,10 @@ func (client BlockstorageClient) getVolumeKmsKey(ctx context.Context, request co } // ListBlockVolumeReplicas Lists the block volume replicas in the specified compartment and availability domain. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicas API. func (client BlockstorageClient) ListBlockVolumeReplicas(ctx context.Context, request ListBlockVolumeReplicasRequest) (response ListBlockVolumeReplicasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2335,6 +2590,8 @@ func (client BlockstorageClient) listBlockVolumeReplicas(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BlockVolumeReplica/ListBlockVolumeReplicas" + err = common.PostProcessServiceError(err, "Blockstorage", "ListBlockVolumeReplicas", apiReferenceLink) return response, err } @@ -2343,6 +2600,10 @@ func (client BlockstorageClient) listBlockVolumeReplicas(ctx context.Context, re } // 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() @@ -2386,6 +2647,8 @@ func (client BlockstorageClient) listBootVolumeBackups(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/ListBootVolumeBackups" + err = common.PostProcessServiceError(err, "Blockstorage", "ListBootVolumeBackups", apiReferenceLink) return response, err } @@ -2394,6 +2657,10 @@ func (client BlockstorageClient) listBootVolumeBackups(ctx context.Context, requ } // ListBootVolumeReplicas Lists the boot volume replicas in the specified compartment and availability domain. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicas API. func (client BlockstorageClient) ListBootVolumeReplicas(ctx context.Context, request ListBootVolumeReplicasRequest) (response ListBootVolumeReplicasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2437,6 +2704,8 @@ func (client BlockstorageClient) listBootVolumeReplicas(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeReplica/ListBootVolumeReplicas" + err = common.PostProcessServiceError(err, "Blockstorage", "ListBootVolumeReplicas", apiReferenceLink) return response, err } @@ -2445,6 +2714,10 @@ func (client BlockstorageClient) listBootVolumeReplicas(ctx context.Context, req } // 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() @@ -2488,6 +2761,8 @@ func (client BlockstorageClient) listBootVolumes(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/ListBootVolumes" + err = common.PostProcessServiceError(err, "Blockstorage", "ListBootVolumes", apiReferenceLink) return response, err } @@ -2498,6 +2773,10 @@ 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() @@ -2541,6 +2820,8 @@ func (client BlockstorageClient) listVolumeBackupPolicies(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/ListVolumeBackupPolicies" + err = common.PostProcessServiceError(err, "Blockstorage", "ListVolumeBackupPolicies", apiReferenceLink) return response, err } @@ -2549,6 +2830,10 @@ 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() @@ -2592,6 +2877,8 @@ func (client BlockstorageClient) listVolumeBackups(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/ListVolumeBackups" + err = common.PostProcessServiceError(err, "Blockstorage", "ListVolumeBackups", apiReferenceLink) return response, err } @@ -2601,6 +2888,10 @@ 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/iaas/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() @@ -2644,6 +2935,8 @@ func (client BlockstorageClient) listVolumeGroupBackups(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/ListVolumeGroupBackups" + err = common.PostProcessServiceError(err, "Blockstorage", "ListVolumeGroupBackups", apiReferenceLink) return response, err } @@ -2653,6 +2946,10 @@ func (client BlockstorageClient) listVolumeGroupBackups(ctx context.Context, req // ListVolumeGroupReplicas Lists the volume group replicas in the specified compartment. You can filter the results by volume group. // For more information, see Volume Group Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupReplicas.go.html to see an example of how to use ListVolumeGroupReplicas API. func (client BlockstorageClient) ListVolumeGroupReplicas(ctx context.Context, request ListVolumeGroupReplicasRequest) (response ListVolumeGroupReplicasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2696,6 +2993,8 @@ func (client BlockstorageClient) listVolumeGroupReplicas(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupReplica/ListVolumeGroupReplicas" + err = common.PostProcessServiceError(err, "Blockstorage", "ListVolumeGroupReplicas", apiReferenceLink) return response, err } @@ -2705,6 +3004,10 @@ func (client BlockstorageClient) listVolumeGroupReplicas(ctx context.Context, re // ListVolumeGroups Lists the volume groups in the specified compartment and availability domain. // For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/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() @@ -2748,6 +3051,8 @@ func (client BlockstorageClient) listVolumeGroups(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/ListVolumeGroups" + err = common.PostProcessServiceError(err, "Blockstorage", "ListVolumeGroups", apiReferenceLink) return response, err } @@ -2756,6 +3061,10 @@ 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() @@ -2799,6 +3108,8 @@ func (client BlockstorageClient) listVolumes(ctx context.Context, request common defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/ListVolumes" + err = common.PostProcessServiceError(err, "Blockstorage", "ListVolumes", apiReferenceLink) return response, err } @@ -2807,6 +3118,10 @@ 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() @@ -2850,6 +3165,8 @@ func (client BlockstorageClient) updateBootVolume(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/UpdateBootVolume" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateBootVolume", apiReferenceLink) return response, err } @@ -2859,6 +3176,10 @@ 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() @@ -2897,6 +3218,8 @@ func (client BlockstorageClient) updateBootVolumeBackup(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/UpdateBootVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateBootVolumeBackup", apiReferenceLink) return response, err } @@ -2904,7 +3227,11 @@ func (client BlockstorageClient) updateBootVolumeBackup(ctx context.Context, req return response, err } -// UpdateBootVolumeKmsKey Updates the specified volume with a new Key Management master encryption key. +// UpdateBootVolumeKmsKey Updates the specified volume with a new Vault service 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() @@ -2948,6 +3275,8 @@ func (client BlockstorageClient) updateBootVolumeKmsKey(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeKmsKey/UpdateBootVolumeKmsKey" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateBootVolumeKmsKey", apiReferenceLink) return response, err } @@ -2957,6 +3286,10 @@ 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() @@ -3000,6 +3333,8 @@ func (client BlockstorageClient) updateVolume(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/UpdateVolume" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateVolume", apiReferenceLink) return response, err } @@ -3009,6 +3344,10 @@ 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() @@ -3047,6 +3386,8 @@ func (client BlockstorageClient) updateVolumeBackup(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/UpdateVolumeBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateVolumeBackup", apiReferenceLink) return response, err } @@ -3059,6 +3400,10 @@ 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() @@ -3107,6 +3452,8 @@ func (client BlockstorageClient) updateVolumeBackupPolicy(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/UpdateVolumeBackupPolicy" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateVolumeBackupPolicy", apiReferenceLink) return response, err } @@ -3119,6 +3466,10 @@ 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/iaas/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() @@ -3162,6 +3513,8 @@ func (client BlockstorageClient) updateVolumeGroup(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/UpdateVolumeGroup" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateVolumeGroup", apiReferenceLink) return response, err } @@ -3170,6 +3523,10 @@ 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/iaas/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() @@ -3208,6 +3565,8 @@ func (client BlockstorageClient) updateVolumeGroupBackup(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/UpdateVolumeGroupBackup" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateVolumeGroupBackup", apiReferenceLink) return response, err } @@ -3216,6 +3575,10 @@ 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() @@ -3259,6 +3622,8 @@ func (client BlockstorageClient) updateVolumeKmsKey(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeKmsKey/UpdateVolumeKmsKey" + err = common.PostProcessServiceError(err, "Blockstorage", "UpdateVolumeKmsKey", apiReferenceLink) return response, err } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_compute_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_compute_client.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go index 6ea063a3dfe8..8ff895d6c215 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_compute_client.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,8 +18,8 @@ package core import ( "context" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" "net/http" ) @@ -78,6 +80,9 @@ func (client *ComputeClient) setConfigurationProvider(configProvider common.Conf // Error has been checked already region, _ := configProvider.Region() client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } client.config = &configProvider return nil } @@ -88,6 +93,10 @@ func (client *ComputeClient) ConfigurationProvider() *common.ConfigurationProvid } // AcceptShieldedIntegrityPolicy Accept the changes to the PCR values in the measured boot report. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AcceptShieldedIntegrityPolicy.go.html to see an example of how to use AcceptShieldedIntegrityPolicy API. func (client ComputeClient) AcceptShieldedIntegrityPolicy(ctx context.Context, request AcceptShieldedIntegrityPolicyRequest) (response AcceptShieldedIntegrityPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -136,6 +145,8 @@ func (client ComputeClient) acceptShieldedIntegrityPolicy(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/MeasuredBootReport/AcceptShieldedIntegrityPolicy" + err = common.PostProcessServiceError(err, "Compute", "AcceptShieldedIntegrityPolicy", apiReferenceLink) return response, err } @@ -144,6 +155,10 @@ func (client ComputeClient) acceptShieldedIntegrityPolicy(ctx context.Context, r } // 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() @@ -187,6 +202,8 @@ func (client ComputeClient) addImageShapeCompatibilityEntry(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/AddImageShapeCompatibilityEntry" + err = common.PostProcessServiceError(err, "Compute", "AddImageShapeCompatibilityEntry", apiReferenceLink) return response, err } @@ -195,6 +212,10 @@ 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() @@ -243,6 +264,8 @@ func (client ComputeClient) attachBootVolume(ctx context.Context, request common defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeAttachment/AttachBootVolume" + err = common.PostProcessServiceError(err, "Compute", "AttachBootVolume", apiReferenceLink) return response, err } @@ -253,6 +276,10 @@ 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/iaas/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() @@ -301,6 +328,8 @@ func (client ComputeClient) attachVnic(ctx context.Context, request common.OCIRe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/AttachVnic" + err = common.PostProcessServiceError(err, "Compute", "AttachVnic", apiReferenceLink) return response, err } @@ -309,6 +338,10 @@ 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() @@ -357,6 +390,8 @@ func (client ComputeClient) attachVolume(ctx context.Context, request common.OCI defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/AttachVolume" + err = common.PostProcessServiceError(err, "Compute", "AttachVolume", apiReferenceLink) return response, err } @@ -379,6 +414,10 @@ 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() @@ -427,6 +466,8 @@ func (client ComputeClient) captureConsoleHistory(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/CaptureConsoleHistory" + err = common.PostProcessServiceError(err, "Compute", "CaptureConsoleHistory", apiReferenceLink) return response, err } @@ -437,6 +478,10 @@ func (client ComputeClient) captureConsoleHistory(ctx context.Context, request c // ChangeComputeCapacityReservationCompartment Moves a compute capacity reservation into 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/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartment API. func (client ComputeClient) ChangeComputeCapacityReservationCompartment(ctx context.Context, request ChangeComputeCapacityReservationCompartmentRequest) (response ChangeComputeCapacityReservationCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -485,6 +530,8 @@ func (client ComputeClient) changeComputeCapacityReservationCompartment(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/ChangeComputeCapacityReservationCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeComputeCapacityReservationCompartment", apiReferenceLink) return response, err } @@ -496,6 +543,10 @@ func (client ComputeClient) changeComputeCapacityReservationCompartment(ctx cont // A compute cluster is a remote direct memory access (RDMA) network group. // 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/ChangeComputeClusterCompartment.go.html to see an example of how to use ChangeComputeClusterCompartment API. func (client ComputeClient) ChangeComputeClusterCompartment(ctx context.Context, request ChangeComputeClusterCompartmentRequest) (response ChangeComputeClusterCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -544,6 +595,8 @@ func (client ComputeClient) changeComputeClusterCompartment(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/ChangeComputeClusterCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeComputeClusterCompartment", apiReferenceLink) return response, err } @@ -555,9 +608,14 @@ func (client ComputeClient) changeComputeClusterCompartment(ctx context.Context, // 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. +// A default retry strategy applies to this operation ChangeComputeImageCapabilitySchemaCompartment() func (client ComputeClient) ChangeComputeImageCapabilitySchemaCompartment(ctx context.Context, request ChangeComputeImageCapabilitySchemaCompartmentRequest) (response ChangeComputeImageCapabilitySchemaCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -603,6 +661,8 @@ func (client ComputeClient) changeComputeImageCapabilitySchemaCompartment(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/ChangeComputeImageCapabilitySchemaCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeComputeImageCapabilitySchemaCompartment", apiReferenceLink) return response, err } @@ -611,6 +671,10 @@ 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() @@ -659,6 +723,8 @@ func (client ComputeClient) changeDedicatedVmHostCompartment(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/ChangeDedicatedVmHostCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeDedicatedVmHostCompartment", apiReferenceLink) return response, err } @@ -669,9 +735,14 @@ 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. +// A default retry strategy applies to this operation ChangeImageCompartment() func (client ComputeClient) ChangeImageCompartment(ctx context.Context, request ChangeImageCompartmentRequest) (response ChangeImageCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -717,6 +788,8 @@ func (client ComputeClient) changeImageCompartment(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/ChangeImageCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeImageCompartment", apiReferenceLink) return response, err } @@ -729,6 +802,10 @@ 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() @@ -777,6 +854,8 @@ func (client ComputeClient) changeInstanceCompartment(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/ChangeInstanceCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeInstanceCompartment", apiReferenceLink) return response, err } @@ -785,9 +864,14 @@ 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. +// A default retry strategy applies to this operation CreateAppCatalogSubscription() func (client ComputeClient) CreateAppCatalogSubscription(ctx context.Context, request CreateAppCatalogSubscriptionRequest) (response CreateAppCatalogSubscriptionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -833,6 +917,8 @@ func (client ComputeClient) createAppCatalogSubscription(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogSubscription/CreateAppCatalogSubscription" + err = common.PostProcessServiceError(err, "Compute", "CreateAppCatalogSubscription", apiReferenceLink) return response, err } @@ -845,6 +931,10 @@ func (client ComputeClient) createAppCatalogSubscription(ctx context.Context, re // When you launch an instance using this reservation, you are assured that you have enough space for your instance, // and you won't get out of capacity errors. // For more information, see Reserved Capacity (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm). +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservation API. func (client ComputeClient) CreateComputeCapacityReservation(ctx context.Context, request CreateComputeCapacityReservationRequest) (response CreateComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -893,6 +983,8 @@ func (client ComputeClient) createComputeCapacityReservation(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Compute", "CreateComputeCapacityReservation", apiReferenceLink) return response, err } @@ -906,6 +998,10 @@ func (client ComputeClient) createComputeCapacityReservation(ctx context.Context // For more information, see Compute Clusters (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). // To create a cluster network that uses intance pools to manage groups of identical instances, // see CreateClusterNetwork. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCluster.go.html to see an example of how to use CreateComputeCluster API. func (client ComputeClient) CreateComputeCluster(ctx context.Context, request CreateComputeClusterRequest) (response CreateComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -954,6 +1050,8 @@ func (client ComputeClient) createComputeCluster(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/CreateComputeCluster" + err = common.PostProcessServiceError(err, "Compute", "CreateComputeCluster", apiReferenceLink) return response, err } @@ -962,9 +1060,14 @@ func (client ComputeClient) createComputeCluster(ctx context.Context, request co } // 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. +// A default retry strategy applies to this operation CreateComputeImageCapabilitySchema() func (client ComputeClient) CreateComputeImageCapabilitySchema(ctx context.Context, request CreateComputeImageCapabilitySchemaRequest) (response CreateComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -1010,6 +1113,8 @@ func (client ComputeClient) createComputeImageCapabilitySchema(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/CreateComputeImageCapabilitySchema" + err = common.PostProcessServiceError(err, "Compute", "CreateComputeImageCapabilitySchema", apiReferenceLink) return response, err } @@ -1021,6 +1126,10 @@ 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() @@ -1069,6 +1178,8 @@ func (client ComputeClient) createDedicatedVmHost(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/CreateDedicatedVmHost" + err = common.PostProcessServiceError(err, "Compute", "CreateDedicatedVmHost", apiReferenceLink) return response, err } @@ -1093,9 +1204,14 @@ 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. +// A default retry strategy applies to this operation CreateImage() func (client ComputeClient) CreateImage(ctx context.Context, request CreateImageRequest) (response CreateImageResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -1141,6 +1257,8 @@ func (client ComputeClient) createImage(ctx context.Context, request common.OCIR defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/CreateImage" + err = common.PostProcessServiceError(err, "Compute", "CreateImage", apiReferenceLink) return response, err } @@ -1152,6 +1270,10 @@ func (client ComputeClient) createImage(ctx context.Context, request common.OCIR // After the console connection has been created and is available, // you connect to the console using SSH. // For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/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() @@ -1200,69 +1322,8 @@ func (client ComputeClient) createInstanceConsoleConnection(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// CreateInstanceScreenshot Captures the most recent screenshot data for the specified instance. -// The `createInstanceScreenshot` operation works with the other screenshot operations -// as described below. -// 1. Use `createInstanceScreenshot` to request the capture of the current instance -// screen state. The object will have a state of CREATING. -// 2. Optionally, use `GetInstanceScreenshot` to get the metadata of the screen capture. -// 3. Use `GetInstanceScreenshotContent` to get the actual screenshot data in base64 -// encoded string. -func (client ComputeClient) CreateInstanceScreenshot(ctx context.Context, request CreateInstanceScreenshotRequest) (response CreateInstanceScreenshotResponse, 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.createInstanceScreenshot, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInstanceScreenshotResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInstanceScreenshotResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInstanceScreenshotResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInstanceScreenshotResponse") - } - return -} - -// createInstanceScreenshot implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) createInstanceScreenshot(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/instances/{instanceId}/screenshots", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInstanceScreenshotResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/CreateInstanceConsoleConnection" + err = common.PostProcessServiceError(err, "Compute", "CreateInstanceConsoleConnection", apiReferenceLink) return response, err } @@ -1271,6 +1332,10 @@ func (client ComputeClient) createInstanceScreenshot(ctx context.Context, reques } // 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() @@ -1314,6 +1379,8 @@ func (client ComputeClient) deleteAppCatalogSubscription(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Compute", "DeleteAppCatalogSubscription", apiReferenceLink) return response, err } @@ -1322,6 +1389,10 @@ func (client ComputeClient) deleteAppCatalogSubscription(ctx context.Context, re } // DeleteComputeCapacityReservation Deletes the specified compute capacity reservation. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservation API. func (client ComputeClient) DeleteComputeCapacityReservation(ctx context.Context, request DeleteComputeCapacityReservationRequest) (response DeleteComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1365,6 +1436,8 @@ func (client ComputeClient) deleteComputeCapacityReservation(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/DeleteComputeCapacityReservation" + err = common.PostProcessServiceError(err, "Compute", "DeleteComputeCapacityReservation", apiReferenceLink) return response, err } @@ -1374,6 +1447,10 @@ func (client ComputeClient) deleteComputeCapacityReservation(ctx context.Context // DeleteComputeCluster Deletes the compute cluster, which is a remote direct memory access (RDMA) network group. // To delete a compute cluster, all instances in the cluster must be deleted first. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCluster.go.html to see an example of how to use DeleteComputeCluster API. func (client ComputeClient) DeleteComputeCluster(ctx context.Context, request DeleteComputeClusterRequest) (response DeleteComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1417,6 +1494,8 @@ func (client ComputeClient) deleteComputeCluster(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/DeleteComputeCluster" + err = common.PostProcessServiceError(err, "Compute", "DeleteComputeCluster", apiReferenceLink) return response, err } @@ -1425,6 +1504,10 @@ func (client ComputeClient) deleteComputeCluster(ctx context.Context, request co } // 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() @@ -1468,6 +1551,8 @@ func (client ComputeClient) deleteComputeImageCapabilitySchema(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/DeleteComputeImageCapabilitySchema" + err = common.PostProcessServiceError(err, "Compute", "DeleteComputeImageCapabilitySchema", apiReferenceLink) return response, err } @@ -1476,6 +1561,10 @@ 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() @@ -1519,6 +1608,8 @@ func (client ComputeClient) deleteConsoleHistory(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/DeleteConsoleHistory" + err = common.PostProcessServiceError(err, "Compute", "DeleteConsoleHistory", apiReferenceLink) return response, err } @@ -1529,6 +1620,10 @@ 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() @@ -1572,6 +1667,8 @@ func (client ComputeClient) deleteDedicatedVmHost(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/DeleteDedicatedVmHost" + err = common.PostProcessServiceError(err, "Compute", "DeleteDedicatedVmHost", apiReferenceLink) return response, err } @@ -1580,6 +1677,10 @@ 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() @@ -1623,6 +1724,8 @@ func (client ComputeClient) deleteImage(ctx context.Context, request common.OCIR defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Compute", "DeleteImage", apiReferenceLink) return response, err } @@ -1631,6 +1734,10 @@ 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() @@ -1674,6 +1781,8 @@ func (client ComputeClient) deleteInstanceConsoleConnection(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/DeleteInstanceConsoleConnection" + err = common.PostProcessServiceError(err, "Compute", "DeleteInstanceConsoleConnection", apiReferenceLink) return response, err } @@ -1684,6 +1793,10 @@ 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() @@ -1727,6 +1840,8 @@ func (client ComputeClient) detachBootVolume(ctx context.Context, request common defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Compute", "DetachBootVolume", apiReferenceLink) return response, err } @@ -1743,6 +1858,10 @@ func (client ComputeClient) detachBootVolume(ctx context.Context, request common // target of a route rule (https://docs.cloud.oracle.com/iaas/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() @@ -1786,6 +1905,8 @@ func (client ComputeClient) detachVnic(ctx context.Context, request common.OCIRe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/DetachVnic" + err = common.PostProcessServiceError(err, "Compute", "DetachVnic", apiReferenceLink) return response, err } @@ -1796,6 +1917,10 @@ 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() @@ -1839,6 +1964,8 @@ func (client ComputeClient) detachVolume(ctx context.Context, request common.OCI defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/DetachVolume" + err = common.PostProcessServiceError(err, "Compute", "DetachVolume", apiReferenceLink) return response, err } @@ -1853,9 +1980,14 @@ func (client ComputeClient) detachVolume(ctx context.Context, request common.OCI // see Let Users Write Objects to Object Storage Buckets (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/commonpolicies.htm#Let4). // See Object Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/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. +// A default retry strategy applies to this operation ExportImage() func (client ComputeClient) ExportImage(ctx context.Context, request ExportImageRequest) (response ExportImageResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -1901,6 +2033,8 @@ func (client ComputeClient) exportImage(ctx context.Context, request common.OCIR defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/ExportImage" + err = common.PostProcessServiceError(err, "Compute", "ExportImage", apiReferenceLink) return response, err } @@ -1909,9 +2043,14 @@ 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. +// A default retry strategy applies to this operation GetAppCatalogListing() func (client ComputeClient) GetAppCatalogListing(ctx context.Context, request GetAppCatalogListingRequest) (response GetAppCatalogListingResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -1952,6 +2091,8 @@ func (client ComputeClient) getAppCatalogListing(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListing/GetAppCatalogListing" + err = common.PostProcessServiceError(err, "Compute", "GetAppCatalogListing", apiReferenceLink) return response, err } @@ -1960,9 +2101,14 @@ 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. +// A default retry strategy applies to this operation GetAppCatalogListingAgreements() func (client ComputeClient) GetAppCatalogListingAgreements(ctx context.Context, request GetAppCatalogListingAgreementsRequest) (response GetAppCatalogListingAgreementsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2003,6 +2149,8 @@ func (client ComputeClient) getAppCatalogListingAgreements(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreements" + err = common.PostProcessServiceError(err, "Compute", "GetAppCatalogListingAgreements", apiReferenceLink) return response, err } @@ -2011,9 +2159,14 @@ 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. +// A default retry strategy applies to this operation GetAppCatalogListingResourceVersion() func (client ComputeClient) GetAppCatalogListingResourceVersion(ctx context.Context, request GetAppCatalogListingResourceVersionRequest) (response GetAppCatalogListingResourceVersionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2054,6 +2207,8 @@ func (client ComputeClient) getAppCatalogListingResourceVersion(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersion" + err = common.PostProcessServiceError(err, "Compute", "GetAppCatalogListingResourceVersion", apiReferenceLink) return response, err } @@ -2062,6 +2217,10 @@ 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() @@ -2105,6 +2264,8 @@ func (client ComputeClient) getBootVolumeAttachment(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeAttachment/GetBootVolumeAttachment" + err = common.PostProcessServiceError(err, "Compute", "GetBootVolumeAttachment", apiReferenceLink) return response, err } @@ -2113,6 +2274,10 @@ func (client ComputeClient) getBootVolumeAttachment(ctx context.Context, request } // GetComputeCapacityReservation Gets information about the specified compute capacity reservation. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservation API. func (client ComputeClient) GetComputeCapacityReservation(ctx context.Context, request GetComputeCapacityReservationRequest) (response GetComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2156,6 +2321,8 @@ func (client ComputeClient) getComputeCapacityReservation(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/GetComputeCapacityReservation" + err = common.PostProcessServiceError(err, "Compute", "GetComputeCapacityReservation", apiReferenceLink) return response, err } @@ -2164,6 +2331,10 @@ func (client ComputeClient) getComputeCapacityReservation(ctx context.Context, r } // GetComputeCluster Gets information about the specified compute cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCluster.go.html to see an example of how to use GetComputeCluster API. func (client ComputeClient) GetComputeCluster(ctx context.Context, request GetComputeClusterRequest) (response GetComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2207,6 +2378,8 @@ func (client ComputeClient) getComputeCluster(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/GetComputeCluster" + err = common.PostProcessServiceError(err, "Compute", "GetComputeCluster", apiReferenceLink) return response, err } @@ -2215,9 +2388,14 @@ func (client ComputeClient) getComputeCluster(ctx context.Context, request commo } // 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. +// A default retry strategy applies to this operation GetComputeGlobalImageCapabilitySchema() func (client ComputeClient) GetComputeGlobalImageCapabilitySchema(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaRequest) (response GetComputeGlobalImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2258,6 +2436,8 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchema(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchema/GetComputeGlobalImageCapabilitySchema" + err = common.PostProcessServiceError(err, "Compute", "GetComputeGlobalImageCapabilitySchema", apiReferenceLink) return response, err } @@ -2266,9 +2446,14 @@ 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. +// A default retry strategy applies to this operation GetComputeGlobalImageCapabilitySchemaVersion() func (client ComputeClient) GetComputeGlobalImageCapabilitySchemaVersion(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaVersionRequest) (response GetComputeGlobalImageCapabilitySchemaVersionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2309,6 +2494,8 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchemaVersion(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaVersion/GetComputeGlobalImageCapabilitySchemaVersion" + err = common.PostProcessServiceError(err, "Compute", "GetComputeGlobalImageCapabilitySchemaVersion", apiReferenceLink) return response, err } @@ -2317,9 +2504,14 @@ 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. +// A default retry strategy applies to this operation GetComputeImageCapabilitySchema() func (client ComputeClient) GetComputeImageCapabilitySchema(ctx context.Context, request GetComputeImageCapabilitySchemaRequest) (response GetComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2360,6 +2552,8 @@ func (client ComputeClient) getComputeImageCapabilitySchema(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/GetComputeImageCapabilitySchema" + err = common.PostProcessServiceError(err, "Compute", "GetComputeImageCapabilitySchema", apiReferenceLink) return response, err } @@ -2370,6 +2564,10 @@ 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() @@ -2413,6 +2611,8 @@ func (client ComputeClient) getConsoleHistory(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistory" + err = common.PostProcessServiceError(err, "Compute", "GetConsoleHistory", apiReferenceLink) return response, err } @@ -2423,6 +2623,10 @@ 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() @@ -2466,6 +2670,8 @@ func (client ComputeClient) getConsoleHistoryContent(ctx context.Context, reques defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistoryContent" + err = common.PostProcessServiceError(err, "Compute", "GetConsoleHistoryContent", apiReferenceLink) return response, err } @@ -2474,6 +2680,10 @@ 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() @@ -2517,6 +2727,8 @@ func (client ComputeClient) getDedicatedVmHost(ctx context.Context, request comm defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/GetDedicatedVmHost" + err = common.PostProcessServiceError(err, "Compute", "GetDedicatedVmHost", apiReferenceLink) return response, err } @@ -2525,9 +2737,14 @@ 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. +// A default retry strategy applies to this operation GetImage() func (client ComputeClient) GetImage(ctx context.Context, request GetImageRequest) (response GetImageResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2568,6 +2785,8 @@ func (client ComputeClient) getImage(ctx context.Context, request common.OCIRequ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/GetImage" + err = common.PostProcessServiceError(err, "Compute", "GetImage", apiReferenceLink) return response, err } @@ -2576,9 +2795,14 @@ 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. +// A default retry strategy applies to this operation GetImageShapeCompatibilityEntry() func (client ComputeClient) GetImageShapeCompatibilityEntry(ctx context.Context, request GetImageShapeCompatibilityEntryRequest) (response GetImageShapeCompatibilityEntryResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2619,6 +2843,8 @@ func (client ComputeClient) getImageShapeCompatibilityEntry(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/GetImageShapeCompatibilityEntry" + err = common.PostProcessServiceError(err, "Compute", "GetImageShapeCompatibilityEntry", apiReferenceLink) return response, err } @@ -2627,6 +2853,12 @@ func (client ComputeClient) getImageShapeCompatibilityEntry(ctx context.Context, } // GetInstance Gets information about the specified instance. +// **Note:** To retrieve public and private IP addresses for an instance, use the ListVnicAttachments +// operation to get the VNIC ID for the instance, and then call GetVnic with the VNIC ID. +// +// # 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() @@ -2670,6 +2902,8 @@ func (client ComputeClient) getInstance(ctx context.Context, request common.OCIR defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/GetInstance" + err = common.PostProcessServiceError(err, "Compute", "GetInstance", apiReferenceLink) return response, err } @@ -2678,6 +2912,10 @@ 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() @@ -2721,6 +2959,8 @@ func (client ComputeClient) getInstanceConsoleConnection(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/GetInstanceConsoleConnection" + err = common.PostProcessServiceError(err, "Compute", "GetInstanceConsoleConnection", apiReferenceLink) return response, err } @@ -2728,8 +2968,13 @@ func (client ComputeClient) getInstanceConsoleConnection(ctx context.Context, re return response, err } -// GetInstanceScreenshot Retrieves the metadata of the specified screenshot taken for the specified instance. -func (client ComputeClient) GetInstanceScreenshot(ctx context.Context, request GetInstanceScreenshotRequest) (response GetInstanceScreenshotResponse, err error) { +// GetInstanceMaintenanceReboot Gets the maximum possible date that a maintenance reboot can be extended. For more information, see +// Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceReboot.go.html to see an example of how to use GetInstanceMaintenanceReboot API. +func (client ComputeClient) GetInstanceMaintenanceReboot(ctx context.Context, request GetInstanceMaintenanceRebootRequest) (response GetInstanceMaintenanceRebootResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -2738,90 +2983,42 @@ func (client ComputeClient) GetInstanceScreenshot(ctx context.Context, request G if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getInstanceScreenshot, policy) + ociResponse, err = common.Retry(ctx, request, client.getInstanceMaintenanceReboot, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInstanceScreenshotResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetInstanceMaintenanceRebootResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetInstanceScreenshotResponse{} + response = GetInstanceMaintenanceRebootResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetInstanceScreenshotResponse); ok { + if convertedResponse, ok := ociResponse.(GetInstanceMaintenanceRebootResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInstanceScreenshotResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetInstanceMaintenanceRebootResponse") } return } -// getInstanceScreenshot implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) getInstanceScreenshot(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getInstanceMaintenanceReboot implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) getInstanceMaintenanceReboot(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/instances/{instanceId}/screenshots/{instanceScreenshotId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/instances/{instanceId}/maintenanceReboot", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetInstanceScreenshotResponse + var response GetInstanceMaintenanceRebootResponse 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 -} - -// GetInstanceScreenshotContent Retrieves the data of the specified screenshot taken for the specified instance. -func (client ComputeClient) GetInstanceScreenshotContent(ctx context.Context, request GetInstanceScreenshotContentRequest) (response GetInstanceScreenshotContentResponse, 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.getInstanceScreenshotContent, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInstanceScreenshotContentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInstanceScreenshotContentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInstanceScreenshotContentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInstanceScreenshotContentResponse") - } - return -} - -// getInstanceScreenshotContent implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) getInstanceScreenshotContent(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/instances/{instanceId}/screenshots/{instanceScreenshotId}/content", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInstanceScreenshotContentResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceReboot/GetInstanceMaintenanceReboot" + err = common.PostProcessServiceError(err, "Compute", "GetInstanceMaintenanceReboot", apiReferenceLink) return response, err } @@ -2830,6 +3027,10 @@ func (client ComputeClient) getInstanceScreenshotContent(ctx context.Context, re } // GetMeasuredBootReport Gets the measured boot report for this shielded instance. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetMeasuredBootReport.go.html to see an example of how to use GetMeasuredBootReport API. func (client ComputeClient) GetMeasuredBootReport(ctx context.Context, request GetMeasuredBootReportRequest) (response GetMeasuredBootReportResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2873,6 +3074,8 @@ func (client ComputeClient) getMeasuredBootReport(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/MeasuredBootReport/GetMeasuredBootReport" + err = common.PostProcessServiceError(err, "Compute", "GetMeasuredBootReport", apiReferenceLink) return response, err } @@ -2881,6 +3084,10 @@ func (client ComputeClient) getMeasuredBootReport(ctx context.Context, request c } // 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() @@ -2924,6 +3131,8 @@ func (client ComputeClient) getVnicAttachment(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/GetVnicAttachment" + err = common.PostProcessServiceError(err, "Compute", "GetVnicAttachment", apiReferenceLink) return response, err } @@ -2932,6 +3141,10 @@ 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() @@ -2975,6 +3188,8 @@ func (client ComputeClient) getVolumeAttachment(ctx context.Context, request com defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/GetVolumeAttachment" + err = common.PostProcessServiceError(err, "Compute", "GetVolumeAttachment", apiReferenceLink) return response, err } @@ -2984,6 +3199,10 @@ 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() @@ -3027,6 +3246,8 @@ func (client ComputeClient) getWindowsInstanceInitialCredentials(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceCredentials/GetWindowsInstanceInitialCredentials" + err = common.PostProcessServiceError(err, "Compute", "GetWindowsInstanceInitialCredentials", apiReferenceLink) return response, err } @@ -3046,20 +3267,29 @@ func (client ComputeClient) getWindowsInstanceInitialCredentials(ctx context.Con // - **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 +// +// - **SENDDIAGNOSTICINTERRUPT** - For advanced users. **Caution: 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/iaas/Content/Compute/Tasks/sendingdiagnosticinterrupt.htm). -// - **EXTENDSCHEDULEDSTOP** - Extends the scheduled stop time of instance. -// - **VALIDATELIVEMIGRATE** - Live migrate the instance to validate impact on the customer workload. -// Live migrating an instance moves it to a different physical host while the instance is running. // -// - **DIAGNOSTICREBOOT** - **This feature currently only supports virtual machines** Powers off the VM instance then rebuilds and powers it back on. +// - **DIAGNOSTICREBOOT** - Powers off the instance, rebuilds it, and then powers it back on. +// Before you send a diagnostic reboot, restart the instance's OS, confirm that the instance and networking settings are configured +// correctly, and try other troubleshooting steps (https://docs.cloud.oracle.com/iaas/Content/Compute/References/troubleshooting-compute-instances.htm). +// Use diagnostic reboot as a final attempt to troubleshoot an unreachable instance. For virtual machine (VM) instances only. +// For more information, see Performing a Diagnostic Reboot (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/diagnostic-reboot.htm). +// +// - **REBOOTMIGRATE** - Powers off the instance, moves it to new hardware, and then powers it back on. For more information, see +// Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). // // For more information about managing instance lifecycle states, see // Stopping and Starting an Instance (https://docs.cloud.oracle.com/iaas/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() @@ -3108,6 +3338,8 @@ func (client ComputeClient) instanceAction(ctx context.Context, request common.O defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/InstanceAction" + err = common.PostProcessServiceError(err, "Compute", "InstanceAction", apiReferenceLink) return response, err } @@ -3147,6 +3379,10 @@ 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() @@ -3195,6 +3431,8 @@ func (client ComputeClient) launchInstance(ctx context.Context, request common.O defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance" + err = common.PostProcessServiceError(err, "Compute", "LaunchInstance", apiReferenceLink) return response, err } @@ -3203,9 +3441,14 @@ 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. +// A default retry strategy applies to this operation ListAppCatalogListingResourceVersions() func (client ComputeClient) ListAppCatalogListingResourceVersions(ctx context.Context, request ListAppCatalogListingResourceVersionsRequest) (response ListAppCatalogListingResourceVersionsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3246,6 +3489,8 @@ func (client ComputeClient) listAppCatalogListingResourceVersions(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingResourceVersionSummary/ListAppCatalogListingResourceVersions" + err = common.PostProcessServiceError(err, "Compute", "ListAppCatalogListingResourceVersions", apiReferenceLink) return response, err } @@ -3254,9 +3499,14 @@ 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. +// A default retry strategy applies to this operation ListAppCatalogListings() func (client ComputeClient) ListAppCatalogListings(ctx context.Context, request ListAppCatalogListingsRequest) (response ListAppCatalogListingsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3297,6 +3547,8 @@ func (client ComputeClient) listAppCatalogListings(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingSummary/ListAppCatalogListings" + err = common.PostProcessServiceError(err, "Compute", "ListAppCatalogListings", apiReferenceLink) return response, err } @@ -3305,9 +3557,14 @@ 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. +// A default retry strategy applies to this operation ListAppCatalogSubscriptions() func (client ComputeClient) ListAppCatalogSubscriptions(ctx context.Context, request ListAppCatalogSubscriptionsRequest) (response ListAppCatalogSubscriptionsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3348,6 +3605,8 @@ func (client ComputeClient) listAppCatalogSubscriptions(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogSubscriptionSummary/ListAppCatalogSubscriptions" + err = common.PostProcessServiceError(err, "Compute", "ListAppCatalogSubscriptions", apiReferenceLink) return response, err } @@ -3357,6 +3616,10 @@ 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() @@ -3400,6 +3663,8 @@ func (client ComputeClient) listBootVolumeAttachments(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeAttachment/ListBootVolumeAttachments" + err = common.PostProcessServiceError(err, "Compute", "ListBootVolumeAttachments", apiReferenceLink) return response, err } @@ -3408,6 +3673,10 @@ func (client ComputeClient) listBootVolumeAttachments(ctx context.Context, reque } // ListComputeCapacityReservationInstanceShapes Lists the shapes that can be reserved within the specified compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapes API. func (client ComputeClient) ListComputeCapacityReservationInstanceShapes(ctx context.Context, request ListComputeCapacityReservationInstanceShapesRequest) (response ListComputeCapacityReservationInstanceShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3451,6 +3720,8 @@ func (client ComputeClient) listComputeCapacityReservationInstanceShapes(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservationInstanceShapeSummary/ListComputeCapacityReservationInstanceShapes" + err = common.PostProcessServiceError(err, "Compute", "ListComputeCapacityReservationInstanceShapes", apiReferenceLink) return response, err } @@ -3459,6 +3730,10 @@ func (client ComputeClient) listComputeCapacityReservationInstanceShapes(ctx con } // ListComputeCapacityReservationInstances Lists the instances launched under a capacity reservation. You can filter results by specifying criteria. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstances API. func (client ComputeClient) ListComputeCapacityReservationInstances(ctx context.Context, request ListComputeCapacityReservationInstancesRequest) (response ListComputeCapacityReservationInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3502,6 +3777,8 @@ func (client ComputeClient) listComputeCapacityReservationInstances(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CapacityReservationInstanceSummary/ListComputeCapacityReservationInstances" + err = common.PostProcessServiceError(err, "Compute", "ListComputeCapacityReservationInstances", apiReferenceLink) return response, err } @@ -3512,6 +3789,10 @@ func (client ComputeClient) listComputeCapacityReservationInstances(ctx context. // ListComputeCapacityReservations Lists the compute capacity reservations that match the specified criteria and compartment. // You can limit the list by specifying a compute capacity reservation display name // (the list will include all the identically-named compute capacity reservations in the compartment). +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservations API. func (client ComputeClient) ListComputeCapacityReservations(ctx context.Context, request ListComputeCapacityReservationsRequest) (response ListComputeCapacityReservationsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3555,6 +3836,8 @@ func (client ComputeClient) listComputeCapacityReservations(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/ListComputeCapacityReservations" + err = common.PostProcessServiceError(err, "Compute", "ListComputeCapacityReservations", apiReferenceLink) return response, err } @@ -3564,6 +3847,10 @@ func (client ComputeClient) listComputeCapacityReservations(ctx context.Context, // ListComputeClusters Lists the compute clusters in the specified compartment. // A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeClusters.go.html to see an example of how to use ListComputeClusters API. func (client ComputeClient) ListComputeClusters(ctx context.Context, request ListComputeClustersRequest) (response ListComputeClustersResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3607,6 +3894,8 @@ func (client ComputeClient) listComputeClusters(ctx context.Context, request com defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/ListComputeClusters" + err = common.PostProcessServiceError(err, "Compute", "ListComputeClusters", apiReferenceLink) return response, err } @@ -3615,9 +3904,14 @@ func (client ComputeClient) listComputeClusters(ctx context.Context, request com } // 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. +// A default retry strategy applies to this operation ListComputeGlobalImageCapabilitySchemaVersions() func (client ComputeClient) ListComputeGlobalImageCapabilitySchemaVersions(ctx context.Context, request ListComputeGlobalImageCapabilitySchemaVersionsRequest) (response ListComputeGlobalImageCapabilitySchemaVersionsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3658,6 +3952,8 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemaVersions(ctx c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaVersionSummary/ListComputeGlobalImageCapabilitySchemaVersions" + err = common.PostProcessServiceError(err, "Compute", "ListComputeGlobalImageCapabilitySchemaVersions", apiReferenceLink) return response, err } @@ -3666,9 +3962,14 @@ 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. +// A default retry strategy applies to this operation ListComputeGlobalImageCapabilitySchemas() func (client ComputeClient) ListComputeGlobalImageCapabilitySchemas(ctx context.Context, request ListComputeGlobalImageCapabilitySchemasRequest) (response ListComputeGlobalImageCapabilitySchemasResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3709,6 +4010,8 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemas(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaSummary/ListComputeGlobalImageCapabilitySchemas" + err = common.PostProcessServiceError(err, "Compute", "ListComputeGlobalImageCapabilitySchemas", apiReferenceLink) return response, err } @@ -3717,9 +4020,14 @@ 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. +// A default retry strategy applies to this operation ListComputeImageCapabilitySchemas() func (client ComputeClient) ListComputeImageCapabilitySchemas(ctx context.Context, request ListComputeImageCapabilitySchemasRequest) (response ListComputeImageCapabilitySchemasResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3760,6 +4068,8 @@ func (client ComputeClient) listComputeImageCapabilitySchemas(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchemaSummary/ListComputeImageCapabilitySchemas" + err = common.PostProcessServiceError(err, "Compute", "ListComputeImageCapabilitySchemas", apiReferenceLink) return response, err } @@ -3768,6 +4078,10 @@ 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() @@ -3811,6 +4125,8 @@ func (client ComputeClient) listConsoleHistories(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/ListConsoleHistories" + err = common.PostProcessServiceError(err, "Compute", "ListConsoleHistories", apiReferenceLink) return response, err } @@ -3820,6 +4136,10 @@ 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() @@ -3863,6 +4183,8 @@ func (client ComputeClient) listDedicatedVmHostInstanceShapes(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostInstanceShapeSummary/ListDedicatedVmHostInstanceShapes" + err = common.PostProcessServiceError(err, "Compute", "ListDedicatedVmHostInstanceShapes", apiReferenceLink) return response, err } @@ -3871,6 +4193,10 @@ 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() @@ -3914,6 +4240,8 @@ func (client ComputeClient) listDedicatedVmHostInstances(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostInstanceSummary/ListDedicatedVmHostInstances" + err = common.PostProcessServiceError(err, "Compute", "ListDedicatedVmHostInstances", apiReferenceLink) return response, err } @@ -3922,6 +4250,10 @@ 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() @@ -3965,6 +4297,8 @@ func (client ComputeClient) listDedicatedVmHostShapes(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostShapeSummary/ListDedicatedVmHostShapes" + err = common.PostProcessServiceError(err, "Compute", "ListDedicatedVmHostShapes", apiReferenceLink) return response, err } @@ -3975,6 +4309,10 @@ 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() @@ -4018,6 +4356,8 @@ func (client ComputeClient) listDedicatedVmHosts(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostSummary/ListDedicatedVmHosts" + err = common.PostProcessServiceError(err, "Compute", "ListDedicatedVmHosts", apiReferenceLink) return response, err } @@ -4026,9 +4366,14 @@ 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. +// A default retry strategy applies to this operation ListImageShapeCompatibilityEntries() func (client ComputeClient) ListImageShapeCompatibilityEntries(ctx context.Context, request ListImageShapeCompatibilityEntriesRequest) (response ListImageShapeCompatibilityEntriesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -4069,6 +4414,8 @@ func (client ComputeClient) listImageShapeCompatibilityEntries(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/ListImageShapeCompatibilityEntries" + err = common.PostProcessServiceError(err, "Compute", "ListImageShapeCompatibilityEntries", apiReferenceLink) return response, err } @@ -4080,14 +4427,19 @@ func (client ComputeClient) listImageShapeCompatibilityEntries(ctx context.Conte // platform images (https://docs.cloud.oracle.com/iaas/Content/Compute/References/images.htm) and // custom images (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm). // The list of platform images includes the three most recently published versions -// of each major distribution. +// of each major distribution. The list does not support filtering based on image tags. // The list of images returned is ordered to first show the recent platform images, // then all of the custom images. // **Caution:** Platform images are refreshed regularly. When new images are released, older versions are replaced. // The image OCIDs remain available, but when the platform image is replaced, the image OCIDs are no longer returned as part of the platform image list. +// +// # 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. +// A default retry strategy applies to this operation ListImages() func (client ComputeClient) ListImages(ctx context.Context, request ListImagesRequest) (response ListImagesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -4128,6 +4480,8 @@ func (client ComputeClient) listImages(ctx context.Context, request common.OCIRe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/ListImages" + err = common.PostProcessServiceError(err, "Compute", "ListImages", apiReferenceLink) return response, err } @@ -4137,6 +4491,10 @@ 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 instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/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() @@ -4180,6 +4538,8 @@ func (client ComputeClient) listInstanceConsoleConnections(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/ListInstanceConsoleConnections" + err = common.PostProcessServiceError(err, "Compute", "ListInstanceConsoleConnections", apiReferenceLink) return response, err } @@ -4188,6 +4548,10 @@ 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() @@ -4231,57 +4595,8 @@ func (client ComputeClient) listInstanceDevices(ctx context.Context, request com defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListInstanceScreenshots Lists the last screenshots taken for the specified instance. -func (client ComputeClient) ListInstanceScreenshots(ctx context.Context, request ListInstanceScreenshotsRequest) (response ListInstanceScreenshotsResponse, 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.listInstanceScreenshots, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInstanceScreenshotsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListInstanceScreenshotsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListInstanceScreenshotsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInstanceScreenshotsResponse") - } - return -} - -// listInstanceScreenshots implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) listInstanceScreenshots(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/instances/{instanceId}/screenshots", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListInstanceScreenshotsResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Device/ListInstanceDevices" + err = common.PostProcessServiceError(err, "Compute", "ListInstanceDevices", apiReferenceLink) return response, err } @@ -4292,6 +4607,12 @@ func (client ComputeClient) listInstanceScreenshots(ctx context.Context, request // 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). +// **Note:** To retrieve public and private IP addresses for an instance, use the ListVnicAttachments +// operation to get the VNIC ID for the instance, and then call GetVnic with the VNIC ID. +// +// # 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() @@ -4335,6 +4656,8 @@ func (client ComputeClient) listInstances(ctx context.Context, request common.OC defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/ListInstances" + err = common.PostProcessServiceError(err, "Compute", "ListInstances", apiReferenceLink) return response, err } @@ -4344,6 +4667,10 @@ 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() @@ -4387,6 +4714,8 @@ func (client ComputeClient) listShapes(ctx context.Context, request common.OCIRe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Shape/ListShapes" + err = common.PostProcessServiceError(err, "Compute", "ListShapes", apiReferenceLink) return response, err } @@ -4397,6 +4726,10 @@ 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() @@ -4440,6 +4773,8 @@ func (client ComputeClient) listVnicAttachments(ctx context.Context, request com defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/ListVnicAttachments" + err = common.PostProcessServiceError(err, "Compute", "ListVnicAttachments", apiReferenceLink) return response, err } @@ -4467,6 +4802,10 @@ 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() @@ -4510,6 +4849,8 @@ func (client ComputeClient) listVolumeAttachments(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/ListVolumeAttachments" + err = common.PostProcessServiceError(err, "Compute", "ListVolumeAttachments", apiReferenceLink) return response, err } @@ -4518,6 +4859,10 @@ 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() @@ -4561,6 +4906,8 @@ func (client ComputeClient) removeImageShapeCompatibilityEntry(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/RemoveImageShapeCompatibilityEntry" + err = common.PostProcessServiceError(err, "Compute", "RemoveImageShapeCompatibilityEntry", apiReferenceLink) return response, err } @@ -4568,14 +4915,17 @@ func (client ComputeClient) removeImageShapeCompatibilityEntry(ctx context.Conte return response, err } -// TerminateInstance Terminates the specified instance. Any attached VNICs and volumes are automatically detached +// TerminateInstance Terminates (deletes) the specified instance. Any attached VNICs and volumes are automatically detached // when the instance terminates. // To preserve the boot volume associated with the instance, specify `true` for `PreserveBootVolumeQueryParam`. // To delete the boot volume when the instance is deleted, specify `false` or do not specify a value for `PreserveBootVolumeQueryParam`. -// To preserve data volumes created with the instance, specify `true` for `PreserveDataVolumesQueryParam`. -// To delete the data volumes when the instance itself is deleted, specify `false` or do not specify a value for `PreserveDataVolumesQueryParam`. -// This is an asynchronous operation. The instance's `lifecycleState` will change to TERMINATING temporarily -// until the instance is completely removed. +// This is an asynchronous operation. The instance's `lifecycleState` changes to TERMINATING temporarily +// until the instance is completely deleted. After the instance is deleted, the record remains visible in the list of instances +// with the state TERMINATED for at least 12 hours, but no further action is needed. +// +// # 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() @@ -4619,6 +4969,8 @@ func (client ComputeClient) terminateInstance(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Compute", "TerminateInstance", apiReferenceLink) return response, err } @@ -4629,6 +4981,10 @@ func (client ComputeClient) terminateInstance(ctx context.Context, request commo // UpdateComputeCapacityReservation Updates the specified capacity reservation and its associated capacity configurations. // Fields that are not provided in the request will not be updated. Capacity configurations that are not included will be deleted. // Avoid entering confidential information. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservation API. func (client ComputeClient) UpdateComputeCapacityReservation(ctx context.Context, request UpdateComputeCapacityReservationRequest) (response UpdateComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4672,6 +5028,8 @@ func (client ComputeClient) updateComputeCapacityReservation(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/UpdateComputeCapacityReservation" + err = common.PostProcessServiceError(err, "Compute", "UpdateComputeCapacityReservation", apiReferenceLink) return response, err } @@ -4680,6 +5038,10 @@ func (client ComputeClient) updateComputeCapacityReservation(ctx context.Context } // UpdateComputeCluster Updates the specified compute cluster. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCluster.go.html to see an example of how to use UpdateComputeCluster API. func (client ComputeClient) UpdateComputeCluster(ctx context.Context, request UpdateComputeClusterRequest) (response UpdateComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4728,6 +5090,8 @@ func (client ComputeClient) updateComputeCluster(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/UpdateComputeCluster" + err = common.PostProcessServiceError(err, "Compute", "UpdateComputeCluster", apiReferenceLink) return response, err } @@ -4736,6 +5100,10 @@ func (client ComputeClient) updateComputeCluster(ctx context.Context, request co } // 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() @@ -4779,6 +5147,8 @@ func (client ComputeClient) updateComputeImageCapabilitySchema(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/UpdateComputeImageCapabilitySchema" + err = common.PostProcessServiceError(err, "Compute", "UpdateComputeImageCapabilitySchema", apiReferenceLink) return response, err } @@ -4787,6 +5157,10 @@ 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() @@ -4830,6 +5204,8 @@ func (client ComputeClient) updateConsoleHistory(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/UpdateConsoleHistory" + err = common.PostProcessServiceError(err, "Compute", "UpdateConsoleHistory", apiReferenceLink) return response, err } @@ -4839,6 +5215,10 @@ 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() @@ -4887,6 +5267,8 @@ func (client ComputeClient) updateDedicatedVmHost(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/UpdateDedicatedVmHost" + err = common.PostProcessServiceError(err, "Compute", "UpdateDedicatedVmHost", apiReferenceLink) return response, err } @@ -4895,6 +5277,10 @@ 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() @@ -4943,6 +5329,8 @@ func (client ComputeClient) updateImage(ctx context.Context, request common.OCIR defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/UpdateImage" + err = common.PostProcessServiceError(err, "Compute", "UpdateImage", apiReferenceLink) return response, err } @@ -4955,6 +5343,10 @@ 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() @@ -5003,6 +5395,8 @@ func (client ComputeClient) updateInstance(ctx context.Context, request common.O defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/UpdateInstance" + err = common.PostProcessServiceError(err, "Compute", "UpdateInstance", apiReferenceLink) return response, err } @@ -5011,6 +5405,10 @@ func (client ComputeClient) updateInstance(ctx context.Context, request common.O } // 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() @@ -5054,6 +5452,8 @@ func (client ComputeClient) updateInstanceConsoleConnection(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/UpdateInstanceConsoleConnection" + err = common.PostProcessServiceError(err, "Compute", "UpdateInstanceConsoleConnection", apiReferenceLink) return response, err } @@ -5062,6 +5462,10 @@ func (client ComputeClient) updateInstanceConsoleConnection(ctx context.Context, } // UpdateVolumeAttachment Updates information about the specified volume attachment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachment API. func (client ComputeClient) UpdateVolumeAttachment(ctx context.Context, request UpdateVolumeAttachmentRequest) (response UpdateVolumeAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5105,6 +5509,8 @@ func (client ComputeClient) updateVolumeAttachment(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/UpdateVolumeAttachment" + err = common.PostProcessServiceError(err, "Compute", "UpdateVolumeAttachment", apiReferenceLink) return response, err } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_computemanagement_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_computemanagement_client.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go index 810c756cdeea..ae1ffbd82827 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_computemanagement_client.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,8 +18,8 @@ package core import ( "context" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" "net/http" ) @@ -56,7 +58,7 @@ func NewComputeManagementClientWithOboToken(configProvider common.ConfigurationP func newComputeManagementClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client ComputeManagementClient, err error) { // ComputeManagement service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSetting()) + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("ComputeManagement")) common.ConfigCircuitBreakerFromEnvVar(&baseClient) common.ConfigCircuitBreakerFromGlobalVar(&baseClient) @@ -80,6 +82,9 @@ func (client *ComputeManagementClient) setConfigurationProvider(configProvider c // Error has been checked already region, _ := configProvider.Region() client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } client.config = &configProvider return nil } @@ -92,6 +97,10 @@ func (client *ComputeManagementClient) ConfigurationProvider() *common.Configura // AttachInstancePoolInstance Attaches an instance to an instance pool. For information about the prerequisites // that an instance must meet before you can attach it to a pool, see // Attaching an Instance to an Instance Pool (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/updatinginstancepool.htm#attach-instance). +// +// # 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() @@ -140,6 +149,8 @@ func (client ComputeManagementClient) attachInstancePoolInstance(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "ComputeManagement", "AttachInstancePoolInstance", apiReferenceLink) return response, err } @@ -148,6 +159,10 @@ func (client ComputeManagementClient) attachInstancePoolInstance(ctx context.Con } // 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() @@ -196,6 +211,8 @@ func (client ComputeManagementClient) attachLoadBalancer(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/AttachLoadBalancer" + err = common.PostProcessServiceError(err, "ComputeManagement", "AttachLoadBalancer", apiReferenceLink) return response, err } @@ -208,6 +225,10 @@ 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() @@ -256,6 +277,8 @@ func (client ComputeManagementClient) changeClusterNetworkCompartment(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ClusterNetwork/ChangeClusterNetworkCompartment" + err = common.PostProcessServiceError(err, "ComputeManagement", "ChangeClusterNetworkCompartment", apiReferenceLink) return response, err } @@ -274,6 +297,10 @@ 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() @@ -322,6 +349,8 @@ func (client ComputeManagementClient) changeInstanceConfigurationCompartment(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/ChangeInstanceConfigurationCompartment" + err = common.PostProcessServiceError(err, "ComputeManagement", "ChangeInstanceConfigurationCompartment", apiReferenceLink) return response, err } @@ -334,6 +363,10 @@ 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() @@ -382,6 +415,8 @@ func (client ComputeManagementClient) changeInstancePoolCompartment(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/ChangeInstancePoolCompartment" + err = common.PostProcessServiceError(err, "ComputeManagement", "ChangeInstancePoolCompartment", apiReferenceLink) return response, err } @@ -391,6 +426,10 @@ 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() @@ -439,6 +478,8 @@ func (client ComputeManagementClient) createClusterNetwork(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ClusterNetwork/CreateClusterNetwork" + err = common.PostProcessServiceError(err, "ComputeManagement", "CreateClusterNetwork", apiReferenceLink) return response, err } @@ -448,6 +489,10 @@ 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() @@ -496,6 +541,8 @@ func (client ComputeManagementClient) createInstanceConfiguration(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/CreateInstanceConfiguration" + err = common.PostProcessServiceError(err, "ComputeManagement", "CreateInstanceConfiguration", apiReferenceLink) return response, err } @@ -503,7 +550,11 @@ func (client ComputeManagementClient) createInstanceConfiguration(ctx context.Co return response, err } -// CreateInstancePool Create an instance pool. +// CreateInstancePool Creates 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() @@ -552,6 +603,8 @@ func (client ComputeManagementClient) createInstancePool(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/CreateInstancePool" + err = common.PostProcessServiceError(err, "ComputeManagement", "CreateInstancePool", apiReferenceLink) return response, err } @@ -560,6 +613,10 @@ 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() @@ -603,6 +660,8 @@ func (client ComputeManagementClient) deleteInstanceConfiguration(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "ComputeManagement", "DeleteInstanceConfiguration", apiReferenceLink) return response, err } @@ -611,6 +670,10 @@ func (client ComputeManagementClient) deleteInstanceConfiguration(ctx context.Co } // DetachInstancePoolInstance Detaches an instance from an 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() @@ -659,6 +722,8 @@ func (client ComputeManagementClient) detachInstancePoolInstance(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolInstance/DetachInstancePoolInstance" + err = common.PostProcessServiceError(err, "ComputeManagement", "DetachInstancePoolInstance", apiReferenceLink) return response, err } @@ -667,6 +732,10 @@ func (client ComputeManagementClient) detachInstancePoolInstance(ctx context.Con } // 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() @@ -715,6 +784,8 @@ func (client ComputeManagementClient) detachLoadBalancer(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/DetachLoadBalancer" + err = common.PostProcessServiceError(err, "ComputeManagement", "DetachLoadBalancer", apiReferenceLink) return response, err } @@ -723,6 +794,10 @@ 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() @@ -766,6 +841,8 @@ func (client ComputeManagementClient) getClusterNetwork(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ClusterNetwork/GetClusterNetwork" + err = common.PostProcessServiceError(err, "ComputeManagement", "GetClusterNetwork", apiReferenceLink) return response, err } @@ -774,6 +851,10 @@ 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() @@ -817,6 +898,8 @@ func (client ComputeManagementClient) getInstanceConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/GetInstanceConfiguration" + err = common.PostProcessServiceError(err, "ComputeManagement", "GetInstanceConfiguration", apiReferenceLink) return response, err } @@ -825,6 +908,10 @@ 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() @@ -868,6 +955,8 @@ func (client ComputeManagementClient) getInstancePool(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/GetInstancePool" + err = common.PostProcessServiceError(err, "ComputeManagement", "GetInstancePool", apiReferenceLink) return response, err } @@ -876,6 +965,10 @@ func (client ComputeManagementClient) getInstancePool(ctx context.Context, reque } // GetInstancePoolInstance Gets information about an instance that belongs to an instance pool. +// +// # 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() @@ -919,6 +1012,8 @@ func (client ComputeManagementClient) getInstancePoolInstance(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolInstance/GetInstancePoolInstance" + err = common.PostProcessServiceError(err, "ComputeManagement", "GetInstancePoolInstance", apiReferenceLink) return response, err } @@ -927,6 +1022,10 @@ func (client ComputeManagementClient) getInstancePoolInstance(ctx context.Contex } // 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() @@ -970,6 +1069,8 @@ func (client ComputeManagementClient) getInstancePoolLoadBalancerAttachment(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolLoadBalancerAttachment/GetInstancePoolLoadBalancerAttachment" + err = common.PostProcessServiceError(err, "ComputeManagement", "GetInstancePoolLoadBalancerAttachment", apiReferenceLink) return response, err } @@ -977,12 +1078,16 @@ func (client ComputeManagementClient) getInstancePoolLoadBalancerAttachment(ctx return response, err } -// LaunchInstanceConfiguration Launches an instance from an instance configuration. +// LaunchInstanceConfiguration Creates an instance from an instance configuration. // If the instance configuration does not include all of the parameters that are -// required to launch an instance, such as the availability domain and subnet ID, you must -// provide these parameters when you launch an instance from the instance configuration. +// required to create an instance, such as the availability domain and subnet ID, you must +// provide these parameters when you create 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() @@ -1031,6 +1136,8 @@ func (client ComputeManagementClient) launchInstanceConfiguration(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstanceConfiguration" + err = common.PostProcessServiceError(err, "ComputeManagement", "LaunchInstanceConfiguration", apiReferenceLink) return response, err } @@ -1039,6 +1146,10 @@ 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() @@ -1082,6 +1193,8 @@ func (client ComputeManagementClient) listClusterNetworkInstances(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ClusterNetwork/ListClusterNetworkInstances" + err = common.PostProcessServiceError(err, "ComputeManagement", "ListClusterNetworkInstances", apiReferenceLink) return response, err } @@ -1090,6 +1203,10 @@ 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() @@ -1133,6 +1250,8 @@ func (client ComputeManagementClient) listClusterNetworks(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ClusterNetwork/ListClusterNetworks" + err = common.PostProcessServiceError(err, "ComputeManagement", "ListClusterNetworks", apiReferenceLink) return response, err } @@ -1141,6 +1260,10 @@ 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() @@ -1184,6 +1307,8 @@ func (client ComputeManagementClient) listInstanceConfigurations(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfigurationSummary/ListInstanceConfigurations" + err = common.PostProcessServiceError(err, "ComputeManagement", "ListInstanceConfigurations", apiReferenceLink) return response, err } @@ -1192,6 +1317,10 @@ 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() @@ -1235,6 +1364,8 @@ func (client ComputeManagementClient) listInstancePoolInstances(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceSummary/ListInstancePoolInstances" + err = common.PostProcessServiceError(err, "ComputeManagement", "ListInstancePoolInstances", apiReferenceLink) return response, err } @@ -1243,6 +1374,10 @@ 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() @@ -1286,6 +1421,8 @@ func (client ComputeManagementClient) listInstancePools(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolSummary/ListInstancePools" + err = common.PostProcessServiceError(err, "ComputeManagement", "ListInstancePools", apiReferenceLink) return response, err } @@ -1295,6 +1432,10 @@ func (client ComputeManagementClient) listInstancePools(ctx context.Context, req // 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() @@ -1343,6 +1484,8 @@ func (client ComputeManagementClient) resetInstancePool(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/ResetInstancePool" + err = common.PostProcessServiceError(err, "ComputeManagement", "ResetInstancePool", apiReferenceLink) return response, err } @@ -1354,6 +1497,10 @@ func (client ComputeManagementClient) resetInstancePool(ctx context.Context, req // 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() @@ -1402,65 +1549,8 @@ func (client ComputeManagementClient) softresetInstancePool(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// SoftstopInstancePool Performs the softstop (ACPI shutdown and power on) action on the specified instance pool, -// which performs the action on all the instances in the pool. -// Softstop gracefully reboots the instances by sending a shutdown command to the operating systems. -// After waiting 15 minutes for the OS to shutdown, the instances are powered off and then powered back on. -func (client ComputeManagementClient) SoftstopInstancePool(ctx context.Context, request SoftstopInstancePoolRequest) (response SoftstopInstancePoolResponse, 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.softstopInstancePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = SoftstopInstancePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = SoftstopInstancePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(SoftstopInstancePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into SoftstopInstancePoolResponse") - } - return -} - -// softstopInstancePool implements the OCIOperation interface (enables retrying operations) -func (client ComputeManagementClient) softstopInstancePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/instancePools/{instancePoolId}/actions/softstop", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response SoftstopInstancePoolResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/SoftresetInstancePool" + err = common.PostProcessServiceError(err, "ComputeManagement", "SoftresetInstancePool", apiReferenceLink) return response, err } @@ -1470,6 +1560,10 @@ func (client ComputeManagementClient) softstopInstancePool(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() @@ -1518,6 +1612,8 @@ func (client ComputeManagementClient) startInstancePool(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/StartInstancePool" + err = common.PostProcessServiceError(err, "ComputeManagement", "StartInstancePool", apiReferenceLink) return response, err } @@ -1527,6 +1623,10 @@ func (client ComputeManagementClient) startInstancePool(ctx context.Context, req // 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() @@ -1575,6 +1675,8 @@ func (client ComputeManagementClient) stopInstancePool(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/StopInstancePool" + err = common.PostProcessServiceError(err, "ComputeManagement", "StopInstancePool", apiReferenceLink) return response, err } @@ -1585,6 +1687,10 @@ 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() @@ -1628,6 +1734,8 @@ func (client ComputeManagementClient) terminateClusterNetwork(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ClusterNetwork/TerminateClusterNetwork" + err = common.PostProcessServiceError(err, "ComputeManagement", "TerminateClusterNetwork", apiReferenceLink) return response, err } @@ -1641,6 +1749,10 @@ 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() @@ -1684,6 +1796,8 @@ func (client ComputeManagementClient) terminateInstancePool(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "ComputeManagement", "TerminateInstancePool", apiReferenceLink) return response, err } @@ -1692,6 +1806,10 @@ 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() @@ -1740,6 +1858,8 @@ func (client ComputeManagementClient) updateClusterNetwork(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ClusterNetwork/UpdateClusterNetwork" + err = common.PostProcessServiceError(err, "ComputeManagement", "UpdateClusterNetwork", apiReferenceLink) return response, err } @@ -1748,6 +1868,10 @@ 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() @@ -1796,6 +1920,8 @@ func (client ComputeManagementClient) updateInstanceConfiguration(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/UpdateInstanceConfiguration" + err = common.PostProcessServiceError(err, "ComputeManagement", "UpdateInstanceConfiguration", apiReferenceLink) return response, err } @@ -1805,6 +1931,10 @@ 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() @@ -1853,6 +1983,8 @@ func (client ComputeManagementClient) updateInstancePool(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePool/UpdateInstancePool" + err = common.PostProcessServiceError(err, "ComputeManagement", "UpdateInstancePool", apiReferenceLink) return response, err } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_virtualnetwork_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go similarity index 59% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_virtualnetwork_client.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go index dbd0e6706188..2687a7565618 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/core_virtualnetwork_client.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,8 +18,8 @@ package core import ( "context" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" "net/http" ) @@ -56,7 +58,7 @@ func NewVirtualNetworkClientWithOboToken(configProvider common.ConfigurationProv func newVirtualNetworkClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client VirtualNetworkClient, err error) { // VirtualNetwork service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSetting()) + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("VirtualNetwork")) common.ConfigCircuitBreakerFromEnvVar(&baseClient) common.ConfigCircuitBreakerFromGlobalVar(&baseClient) @@ -80,6 +82,9 @@ func (client *VirtualNetworkClient) setConfigurationProvider(configProvider comm // Error has been checked already region, _ := configProvider.Region() client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } client.config = &configProvider return nil } @@ -89,8 +94,12 @@ func (client *VirtualNetworkClient) ConfigurationProvider() *common.Configuratio return client.config } -// AcceptLocalPeeringToken Accepts a local peering token generated by a peer in the same region. -func (client VirtualNetworkClient) AcceptLocalPeeringToken(ctx context.Context, request AcceptLocalPeeringTokenRequest) (response AcceptLocalPeeringTokenResponse, err error) { +// AddDrgRouteDistributionStatements Adds one or more route distribution statements to the specified route distribution. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatements API. +func (client VirtualNetworkClient) AddDrgRouteDistributionStatements(ctx context.Context, request AddDrgRouteDistributionStatementsRequest) (response AddDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -99,40 +108,42 @@ func (client VirtualNetworkClient) AcceptLocalPeeringToken(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.acceptLocalPeeringToken, policy) + ociResponse, err = common.Retry(ctx, request, client.addDrgRouteDistributionStatements, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AcceptLocalPeeringTokenResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = AddDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AcceptLocalPeeringTokenResponse{} + response = AddDrgRouteDistributionStatementsResponse{} } } return } - if convertedResponse, ok := ociResponse.(AcceptLocalPeeringTokenResponse); ok { + if convertedResponse, ok := ociResponse.(AddDrgRouteDistributionStatementsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AcceptLocalPeeringTokenResponse") + err = fmt.Errorf("failed to convert OCIResponse into AddDrgRouteDistributionStatementsResponse") } return } -// acceptLocalPeeringToken implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) acceptLocalPeeringToken(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// addDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringConnections/{localPeeringConnectionId}/actions/acceptPeeringToken", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions/{drgRouteDistributionId}/actions/addDrgRouteDistributionStatements", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AcceptLocalPeeringTokenResponse + var response AddDrgRouteDistributionStatementsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistributionStatement/AddDrgRouteDistributionStatements" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddDrgRouteDistributionStatements", apiReferenceLink) return response, err } @@ -140,8 +151,12 @@ func (client VirtualNetworkClient) acceptLocalPeeringToken(ctx context.Context, return response, err } -// AddAdditionalRouteRules Add route rules to a route table. -func (client VirtualNetworkClient) AddAdditionalRouteRules(ctx context.Context, request AddAdditionalRouteRulesRequest) (response AddAdditionalRouteRulesResponse, err error) { +// AddDrgRouteRules Adds one or more static route rules to the specified DRG route table. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRules API. +func (client VirtualNetworkClient) AddDrgRouteRules(ctx context.Context, request AddDrgRouteRulesRequest) (response AddDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -150,91 +165,47 @@ func (client VirtualNetworkClient) AddAdditionalRouteRules(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.addAdditionalRouteRules, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AddAdditionalRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = AddAdditionalRouteRulesResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(AddAdditionalRouteRulesResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into AddAdditionalRouteRulesResponse") - } - return -} - -// addAdditionalRouteRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) addAdditionalRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/routeTables/{rtId}/actions/addAdditionalRouteRules", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - var response AddAdditionalRouteRulesResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - return response, err + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) } - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// AddDrgRouteDistributionStatements Adds one or more route distribution statements to the specified route distribution. -func (client VirtualNetworkClient) AddDrgRouteDistributionStatements(ctx context.Context, request AddDrgRouteDistributionStatementsRequest) (response AddDrgRouteDistributionStatementsResponse, 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.addDrgRouteDistributionStatements, policy) + ociResponse, err = common.Retry(ctx, request, client.addDrgRouteRules, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AddDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = AddDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AddDrgRouteDistributionStatementsResponse{} + response = AddDrgRouteRulesResponse{} } } return } - if convertedResponse, ok := ociResponse.(AddDrgRouteDistributionStatementsResponse); ok { + if convertedResponse, ok := ociResponse.(AddDrgRouteRulesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AddDrgRouteDistributionStatementsResponse") + err = fmt.Errorf("failed to convert OCIResponse into AddDrgRouteRulesResponse") } return } -// addDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) addDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// addDrgRouteRules implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions/{drgRouteDistributionId}/actions/addDrgRouteDistributionStatements", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/addDrgRouteRules", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AddDrgRouteDistributionStatementsResponse + var response AddDrgRouteRulesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteRule/AddDrgRouteRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddDrgRouteRules", apiReferenceLink) return response, err } @@ -242,8 +213,12 @@ func (client VirtualNetworkClient) addDrgRouteDistributionStatements(ctx context return response, err } -// AddDrgRouteRules Adds one or more static route rules to the specified DRG route table. -func (client VirtualNetworkClient) AddDrgRouteRules(ctx context.Context, request AddDrgRouteRulesRequest) (response AddDrgRouteRulesResponse, err error) { +// AddIpv6SubnetCidr Add an IPv6 CIDR to a subnet. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6SubnetCidr.go.html to see an example of how to use AddIpv6SubnetCidr API. +func (client VirtualNetworkClient) AddIpv6SubnetCidr(ctx context.Context, request AddIpv6SubnetCidrRequest) (response AddIpv6SubnetCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -257,40 +232,42 @@ func (client VirtualNetworkClient) AddDrgRouteRules(ctx context.Context, request request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.addDrgRouteRules, policy) + ociResponse, err = common.Retry(ctx, request, client.addIpv6SubnetCidr, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AddDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = AddIpv6SubnetCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AddDrgRouteRulesResponse{} + response = AddIpv6SubnetCidrResponse{} } } return } - if convertedResponse, ok := ociResponse.(AddDrgRouteRulesResponse); ok { + if convertedResponse, ok := ociResponse.(AddIpv6SubnetCidrResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AddDrgRouteRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into AddIpv6SubnetCidrResponse") } return } -// addDrgRouteRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) addDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// addIpv6SubnetCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addIpv6SubnetCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/addDrgRouteRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets/{subnetId}/actions/addIpv6Cidr", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AddDrgRouteRulesResponse + var response AddIpv6SubnetCidrResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/AddIpv6SubnetCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddIpv6SubnetCidr", apiReferenceLink) return response, err } @@ -300,6 +277,10 @@ func (client VirtualNetworkClient) addDrgRouteRules(ctx context.Context, request // AddIpv6VcnCidr Add an IPv6 CIDR to a VCN. The VCN size is always /56 and assigned by Oracle. // Once added the IPv6 CIDR block cannot be removed or modified. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidr API. func (client VirtualNetworkClient) AddIpv6VcnCidr(ctx context.Context, request AddIpv6VcnCidrRequest) (response AddIpv6VcnCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -348,6 +329,8 @@ func (client VirtualNetworkClient) addIpv6VcnCidr(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/AddIpv6VcnCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddIpv6VcnCidr", apiReferenceLink) return response, err } @@ -356,6 +339,10 @@ func (client VirtualNetworkClient) addIpv6VcnCidr(ctx context.Context, request c } // 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() @@ -399,6 +386,8 @@ func (client VirtualNetworkClient) addNetworkSecurityGroupSecurityRules(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityRule/AddNetworkSecurityGroupSecurityRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddNetworkSecurityGroupSecurityRules", apiReferenceLink) return response, err } @@ -408,6 +397,10 @@ func (client VirtualNetworkClient) addNetworkSecurityGroupSecurityRules(ctx cont // 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() @@ -456,6 +449,8 @@ func (client VirtualNetworkClient) addPublicIpPoolCapacity(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/AddPublicIpPoolCapacity" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddPublicIpPoolCapacity", apiReferenceLink) return response, err } @@ -468,6 +463,10 @@ func (client VirtualNetworkClient) addPublicIpPoolCapacity(ctx context.Context, // - 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() @@ -516,6 +515,8 @@ func (client VirtualNetworkClient) addVcnCidr(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/AddVcnCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddVcnCidr", apiReferenceLink) return response, err } @@ -525,6 +526,10 @@ func (client VirtualNetworkClient) addVcnCidr(ctx context.Context, request commo // 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() @@ -568,6 +573,8 @@ func (client VirtualNetworkClient) advertiseByoipRange(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/AdvertiseByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AdvertiseByoipRange", apiReferenceLink) return response, err } @@ -575,10 +582,20 @@ func (client VirtualNetworkClient) advertiseByoipRange(ctx context.Context, requ return response, err } -// AttachDav Attach the Direct Attached Vnic to requested instance. Only after a DAV -// has been attached, the respective MicroVnic mappings will get generated for -// VCN DP tto consume. -func (client VirtualNetworkClient) AttachDav(ctx context.Context, request AttachDavRequest) (response AttachDavResponse, err error) { +// 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 +// target. See RouteTable. +// **Note:** The `AttachServiceId` operation is an easy way to add an individual `Service` to +// the service gateway. Compare it with +// 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 { @@ -587,45 +604,42 @@ func (client VirtualNetworkClient) AttachDav(ctx context.Context, request Attach 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.attachDav, policy) + ociResponse, err = common.Retry(ctx, request, client.attachServiceId, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AttachDavResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = AttachServiceIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AttachDavResponse{} + response = AttachServiceIdResponse{} } } return } - if convertedResponse, ok := ociResponse.(AttachDavResponse); ok { + if convertedResponse, ok := ociResponse.(AttachServiceIdResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AttachDavResponse") + err = fmt.Errorf("failed to convert OCIResponse into AttachServiceIdResponse") } return } -// attachDav implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) attachDav(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// attachServiceId implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/davs/{davId}/actions/attachDavToInstance", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/attachService", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AttachDavResponse + var response AttachServiceIdResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/AttachServiceId" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AttachServiceId", apiReferenceLink) return response, err } @@ -633,58 +647,55 @@ func (client VirtualNetworkClient) attachDav(ctx context.Context, request common 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 -// target. See RouteTable. -// **Note:** The `AttachServiceId` operation is an easy way to add an individual `Service` to -// the service gateway. Compare it with -// UpdateServiceGateway, which replaces -// the entire existing list of enabled `Service` objects with the list that you provide in the -// `Update` call. -func (client VirtualNetworkClient) AttachServiceId(ctx context.Context, request AttachServiceIdRequest) (response AttachServiceIdResponse, err error) { +// BulkAddVirtualCircuitPublicPrefixes Adds one or more customer public IP prefixes to the specified public virtual circuit. +// 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. +// A default retry strategy applies to this operation BulkAddVirtualCircuitPublicPrefixes() +func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request BulkAddVirtualCircuitPublicPrefixesRequest) (response BulkAddVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.attachServiceId, policy) + ociResponse, err = common.Retry(ctx, request, client.bulkAddVirtualCircuitPublicPrefixes, policy) if err != nil { if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AttachServiceIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = AttachServiceIdResponse{} - } + response = BulkAddVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} } return } - if convertedResponse, ok := ociResponse.(AttachServiceIdResponse); ok { + if convertedResponse, ok := ociResponse.(BulkAddVirtualCircuitPublicPrefixesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AttachServiceIdResponse") + err = fmt.Errorf("failed to convert OCIResponse into BulkAddVirtualCircuitPublicPrefixesResponse") } return } -// attachServiceId implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// bulkAddVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/attachService", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkAddPublicPrefixes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AttachServiceIdResponse + var response BulkAddVirtualCircuitPublicPrefixesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitPublicPrefix/BulkAddVirtualCircuitPublicPrefixes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkAddVirtualCircuitPublicPrefixes", apiReferenceLink) return response, err } @@ -692,57 +703,55 @@ func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request return response, err } -// AttachVnicToDestinationSmartNic Attaches VNIC, that needs to be live migrated, to destination smart NIC. This is the first step -// for live migration of the VNIC from source to destination smart NIC. -// **Note** that VNIC's ingress traffic will still be routed to source smart NIC. -func (client VirtualNetworkClient) AttachVnicToDestinationSmartNic(ctx context.Context, request AttachVnicToDestinationSmartNicRequest) (response AttachVnicToDestinationSmartNicResponse, err error) { +// BulkDeleteVirtualCircuitPublicPrefixes Removes one or more customer public IP prefixes from the specified public virtual circuit. +// 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. +// A default retry strategy applies to this operation BulkDeleteVirtualCircuitPublicPrefixes() +func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request BulkDeleteVirtualCircuitPublicPrefixesRequest) (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() 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.attachVnicToDestinationSmartNic, policy) + ociResponse, err = common.Retry(ctx, request, client.bulkDeleteVirtualCircuitPublicPrefixes, policy) if err != nil { if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AttachVnicToDestinationSmartNicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = AttachVnicToDestinationSmartNicResponse{} - } + response = BulkDeleteVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} } return } - if convertedResponse, ok := ociResponse.(AttachVnicToDestinationSmartNicResponse); ok { + if convertedResponse, ok := ociResponse.(BulkDeleteVirtualCircuitPublicPrefixesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AttachVnicToDestinationSmartNicResponse") + err = fmt.Errorf("failed to convert OCIResponse into BulkDeleteVirtualCircuitPublicPrefixesResponse") } return } -// attachVnicToDestinationSmartNic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) attachVnicToDestinationSmartNic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// bulkDeleteVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics/{internalVnicId}/attachment/action/attachVnicToDestinationSmartNic", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkDeletePublicPrefixes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AttachVnicToDestinationSmartNicResponse + var response BulkDeleteVirtualCircuitPublicPrefixesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitPublicPrefix/BulkDeleteVirtualCircuitPublicPrefixes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkDeleteVirtualCircuitPublicPrefixes", apiReferenceLink) return response, err } @@ -750,8 +759,14 @@ func (client VirtualNetworkClient) attachVnicToDestinationSmartNic(ctx context.C return response, err } -// AttachVnicWorker Attach a VnicWorker to an Instance. -func (client VirtualNetworkClient) AttachVnicWorker(ctx context.Context, request AttachVnicWorkerRequest) (response AttachVnicWorkerResponse, err error) { +// 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 { @@ -765,40 +780,42 @@ func (client VirtualNetworkClient) AttachVnicWorker(ctx context.Context, request request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.attachVnicWorker, policy) + 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 = AttachVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeByoipRangeCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AttachVnicWorkerResponse{} + response = ChangeByoipRangeCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(AttachVnicWorkerResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeByoipRangeCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AttachVnicWorkerResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeByoipRangeCompartmentResponse") } return } -// attachVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) attachVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeByoipRangeCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeByoipRangeCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vnicWorkers/{vnicWorkerId}/actions/attachVnicWorkerToInstance", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AttachVnicWorkerResponse + var response ChangeByoipRangeCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/ChangeByoipRangeCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeByoipRangeCompartment", apiReferenceLink) return response, err } @@ -806,8 +823,14 @@ func (client VirtualNetworkClient) attachVnicWorker(ctx context.Context, request return response, err } -// Backfill Backfill EP-DB with V1 Drg objects -func (client VirtualNetworkClient) Backfill(ctx context.Context, request BackfillRequest) (response BackfillResponse, err error) { +// ChangeCaptureFilterCompartment Moves a capture filter to a new compartment in 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/ChangeCaptureFilterCompartment.go.html to see an example of how to use ChangeCaptureFilterCompartment API. +func (client VirtualNetworkClient) ChangeCaptureFilterCompartment(ctx context.Context, request ChangeCaptureFilterCompartmentRequest) (response ChangeCaptureFilterCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -821,40 +844,42 @@ func (client VirtualNetworkClient) Backfill(ctx context.Context, request Backfil request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.backfill, policy) + ociResponse, err = common.Retry(ctx, request, client.changeCaptureFilterCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = BackfillResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeCaptureFilterCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = BackfillResponse{} + response = ChangeCaptureFilterCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(BackfillResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeCaptureFilterCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into BackfillResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeCaptureFilterCompartmentResponse") } return } -// backfill implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) backfill(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeCaptureFilterCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeCaptureFilterCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/backfill", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/captureFilters/{captureFilterId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response BackfillResponse + var response ChangeCaptureFilterCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/ChangeCaptureFilterCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeCaptureFilterCompartment", apiReferenceLink) return response, err } @@ -862,48 +887,64 @@ func (client VirtualNetworkClient) backfill(ctx context.Context, request common. return response, err } -// BulkAddVirtualCircuitPublicPrefixes Adds one or more customer public IP prefixes to the specified public virtual circuit. -// 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. -func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request BulkAddVirtualCircuitPublicPrefixesRequest) (response BulkAddVirtualCircuitPublicPrefixesResponse, err error) { +// 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. +// A default retry strategy applies to this operation ChangeCpeCompartment() +func (client VirtualNetworkClient) ChangeCpeCompartment(ctx context.Context, request ChangeCpeCompartmentRequest) (response ChangeCpeCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.bulkAddVirtualCircuitPublicPrefixes, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeCpeCompartment, policy) if err != nil { if ociResponse != nil { - response = BulkAddVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeCpeCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeCpeCompartmentResponse{} + } } return } - if convertedResponse, ok := ociResponse.(BulkAddVirtualCircuitPublicPrefixesResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeCpeCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into BulkAddVirtualCircuitPublicPrefixesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeCpeCompartmentResponse") } return } -// bulkAddVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeCpeCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeCpeCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkAddPublicPrefixes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/cpes/{cpeId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response BulkAddVirtualCircuitPublicPrefixesResponse + var response ChangeCpeCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Cpe/ChangeCpeCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeCpeCompartment", apiReferenceLink) return response, err } @@ -911,48 +952,64 @@ func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx conte return response, err } -// BulkDeleteVirtualCircuitPublicPrefixes Removes one or more customer public IP prefixes from the specified public virtual circuit. -// 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. -func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request BulkDeleteVirtualCircuitPublicPrefixesRequest) (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error) { +// 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. +// A default retry strategy applies to this operation ChangeCrossConnectCompartment() +func (client VirtualNetworkClient) ChangeCrossConnectCompartment(ctx context.Context, request ChangeCrossConnectCompartmentRequest) (response ChangeCrossConnectCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.bulkDeleteVirtualCircuitPublicPrefixes, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeCrossConnectCompartment, policy) if err != nil { if ociResponse != nil { - response = BulkDeleteVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeCrossConnectCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeCrossConnectCompartmentResponse{} + } } return } - if convertedResponse, ok := ociResponse.(BulkDeleteVirtualCircuitPublicPrefixesResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeCrossConnectCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into BulkDeleteVirtualCircuitPublicPrefixesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeCrossConnectCompartmentResponse") } return } -// bulkDeleteVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeCrossConnectCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeCrossConnectCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkDeletePublicPrefixes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnects/{crossConnectId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response BulkDeleteVirtualCircuitPublicPrefixesResponse + var response ChangeCrossConnectCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnect/ChangeCrossConnectCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeCrossConnectCompartment", apiReferenceLink) return response, err } @@ -960,10 +1017,17 @@ func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx co return response, err } -// BulkMigration Migrates batches of V1 DRG from VCN to V2 Drgs in Transit-Hub. Steps include mirroring of V1 Drgs from VCN, migrating them to V2 and updating them as V2 in VCN -func (client VirtualNetworkClient) BulkMigration(ctx context.Context, request BulkMigrationRequest) (response BulkMigrationResponse, err error) { +// 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. +// A default retry strategy applies to this operation ChangeCrossConnectGroupCompartment() +func (client VirtualNetworkClient) ChangeCrossConnectGroupCompartment(ctx context.Context, request ChangeCrossConnectGroupCompartmentRequest) (response ChangeCrossConnectGroupCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -975,40 +1039,42 @@ func (client VirtualNetworkClient) BulkMigration(ctx context.Context, request Bu request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.bulkMigration, policy) + ociResponse, err = common.Retry(ctx, request, client.changeCrossConnectGroupCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = BulkMigrationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeCrossConnectGroupCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = BulkMigrationResponse{} + response = ChangeCrossConnectGroupCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(BulkMigrationResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeCrossConnectGroupCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into BulkMigrationResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeCrossConnectGroupCompartmentResponse") } return } -// bulkMigration implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) bulkMigration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeCrossConnectGroupCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeCrossConnectGroupCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/bulkMigration", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnectGroups/{crossConnectGroupId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response BulkMigrationResponse + var response ChangeCrossConnectGroupCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectGroup/ChangeCrossConnectGroupCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeCrossConnectGroupCompartment", apiReferenceLink) return response, err } @@ -1016,10 +1082,14 @@ func (client VirtualNetworkClient) bulkMigration(ctx context.Context, request co return response, err } -// ChangeByoipRangeCompartment Moves a BYOIP CIDR block to a different compartment. For information +// 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). -func (client VirtualNetworkClient) ChangeByoipRangeCompartment(ctx context.Context, request ChangeByoipRangeCompartmentRequest) (response ChangeByoipRangeCompartmentResponse, err error) { +// +// # 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 { @@ -1033,40 +1103,42 @@ func (client VirtualNetworkClient) ChangeByoipRangeCompartment(ctx context.Conte request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeByoipRangeCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeDhcpOptionsCompartment, 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} + response = ChangeDhcpOptionsCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeByoipRangeCompartmentResponse{} + response = ChangeDhcpOptionsCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeByoipRangeCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeDhcpOptionsCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeByoipRangeCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeDhcpOptionsCompartmentResponse") } return } -// changeByoipRangeCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeByoipRangeCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeDhcpOptionsCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeDhcpOptionsCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/dhcps/{dhcpId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeByoipRangeCompartmentResponse + var response ChangeDhcpOptionsCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DhcpOptions/ChangeDhcpOptionsCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeDhcpOptionsCompartment", apiReferenceLink) return response, err } @@ -1074,10 +1146,14 @@ func (client VirtualNetworkClient) changeByoipRangeCompartment(ctx context.Conte return response, err } -// ChangeC3DrgCompartment Moves a DRG into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeC3DrgCompartment(ctx context.Context, request ChangeC3DrgCompartmentRequest) (response ChangeC3DrgCompartmentResponse, err error) { +// +// # 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 { @@ -1091,40 +1167,42 @@ func (client VirtualNetworkClient) ChangeC3DrgCompartment(ctx context.Context, r request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeC3DrgCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeDrgCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeC3DrgCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeDrgCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeC3DrgCompartmentResponse{} + response = ChangeDrgCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeC3DrgCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeDrgCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeC3DrgCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeDrgCompartmentResponse") } return } -// changeC3DrgCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeC3DrgCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeDrgCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeDrgCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/c3_drgs/{drgId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs/{drgId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeC3DrgCompartmentResponse + var response ChangeDrgCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/ChangeDrgCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeDrgCompartment", apiReferenceLink) return response, err } @@ -1132,12 +1210,17 @@ func (client VirtualNetworkClient) changeC3DrgCompartment(ctx context.Context, r return response, err } -// ChangeCaptureFilterCompartment Moves a capture filter to a new compartment in the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeCaptureFilterCompartment(ctx context.Context, request ChangeCaptureFilterCompartmentRequest) (response ChangeCaptureFilterCompartmentResponse, err error) { +// +// # 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. +// A default retry strategy applies to this operation ChangeIPSecConnectionCompartment() +func (client VirtualNetworkClient) ChangeIPSecConnectionCompartment(ctx context.Context, request ChangeIPSecConnectionCompartmentRequest) (response ChangeIPSecConnectionCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -1149,40 +1232,42 @@ func (client VirtualNetworkClient) ChangeCaptureFilterCompartment(ctx context.Co request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeCaptureFilterCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeIPSecConnectionCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeCaptureFilterCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeIPSecConnectionCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeCaptureFilterCompartmentResponse{} + response = ChangeIPSecConnectionCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeCaptureFilterCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeIPSecConnectionCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeCaptureFilterCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeIPSecConnectionCompartmentResponse") } return } -// changeCaptureFilterCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeCaptureFilterCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeIPSecConnectionCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeIPSecConnectionCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/captureFilters/{captureFilterId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipsecConnections/{ipscId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeCaptureFilterCompartmentResponse + var response ChangeIPSecConnectionCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnection/ChangeIPSecConnectionCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeIPSecConnectionCompartment", apiReferenceLink) return response, err } @@ -1190,8 +1275,14 @@ func (client VirtualNetworkClient) changeCaptureFilterCompartment(ctx context.Co return response, err } -// ChangeClientVpnCompartment Moves a ClientVpn into a different compartment within the same tenancy. -func (client VirtualNetworkClient) ChangeClientVpnCompartment(ctx context.Context, request ChangeClientVpnCompartmentRequest) (response ChangeClientVpnCompartmentResponse, err error) { +// 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 { @@ -1205,40 +1296,42 @@ func (client VirtualNetworkClient) ChangeClientVpnCompartment(ctx context.Contex request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeClientVpnCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeInternetGatewayCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeClientVpnCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeInternetGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeClientVpnCompartmentResponse{} + response = ChangeInternetGatewayCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeClientVpnCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeInternetGatewayCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeClientVpnCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeInternetGatewayCompartmentResponse") } return } -// changeClientVpnCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeClientVpnCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeInternetGatewayCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeInternetGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/clientVpns/{clientVpnId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/internetGateways/{igId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeClientVpnCompartmentResponse + var response ChangeInternetGatewayCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InternetGateway/ChangeInternetGatewayCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeInternetGatewayCompartment", apiReferenceLink) return response, err } @@ -1246,10 +1339,14 @@ func (client VirtualNetworkClient) changeClientVpnCompartment(ctx context.Contex return response, err } -// ChangeCpeCompartment Moves a CPE object into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeCpeCompartment(ctx context.Context, request ChangeCpeCompartmentRequest) (response ChangeCpeCompartmentResponse, err error) { +// +// # 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 { @@ -1263,40 +1360,42 @@ func (client VirtualNetworkClient) ChangeCpeCompartment(ctx context.Context, req request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeCpeCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeLocalPeeringGatewayCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeCpeCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeLocalPeeringGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeCpeCompartmentResponse{} + response = ChangeLocalPeeringGatewayCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeCpeCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeLocalPeeringGatewayCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeCpeCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeLocalPeeringGatewayCompartmentResponse") } return } -// changeCpeCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeCpeCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeLocalPeeringGatewayCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeLocalPeeringGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/cpes/{cpeId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringGateways/{localPeeringGatewayId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeCpeCompartmentResponse + var response ChangeLocalPeeringGatewayCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LocalPeeringGateway/ChangeLocalPeeringGatewayCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeLocalPeeringGatewayCompartment", apiReferenceLink) return response, err } @@ -1304,10 +1403,14 @@ func (client VirtualNetworkClient) changeCpeCompartment(ctx context.Context, req return response, err } -// ChangeCrossConnectCompartment Moves a cross-connect into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeCrossConnectCompartment(ctx context.Context, request ChangeCrossConnectCompartmentRequest) (response ChangeCrossConnectCompartmentResponse, err error) { +// +// # 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 { @@ -1321,40 +1424,42 @@ func (client VirtualNetworkClient) ChangeCrossConnectCompartment(ctx context.Con request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeCrossConnectCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeNatGatewayCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeCrossConnectCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeNatGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeCrossConnectCompartmentResponse{} + response = ChangeNatGatewayCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeCrossConnectCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeNatGatewayCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeCrossConnectCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeNatGatewayCompartmentResponse") } return } -// changeCrossConnectCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeCrossConnectCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeNatGatewayCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeNatGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnects/{crossConnectId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/natGateways/{natGatewayId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeCrossConnectCompartmentResponse + var response ChangeNatGatewayCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NatGateway/ChangeNatGatewayCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeNatGatewayCompartment", apiReferenceLink) return response, err } @@ -1362,10 +1467,13 @@ func (client VirtualNetworkClient) changeCrossConnectCompartment(ctx context.Con return response, err } -// 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). -func (client VirtualNetworkClient) ChangeCrossConnectGroupCompartment(ctx context.Context, request ChangeCrossConnectGroupCompartmentRequest) (response ChangeCrossConnectGroupCompartmentResponse, err error) { +// 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 { @@ -1379,40 +1487,42 @@ func (client VirtualNetworkClient) ChangeCrossConnectGroupCompartment(ctx contex request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeCrossConnectGroupCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeNetworkSecurityGroupCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeCrossConnectGroupCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeNetworkSecurityGroupCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeCrossConnectGroupCompartmentResponse{} + response = ChangeNetworkSecurityGroupCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeCrossConnectGroupCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeNetworkSecurityGroupCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeCrossConnectGroupCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeNetworkSecurityGroupCompartmentResponse") } return } -// changeCrossConnectGroupCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeCrossConnectGroupCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeNetworkSecurityGroupCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeNetworkSecurityGroupCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnectGroups/{crossConnectGroupId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/networkSecurityGroups/{networkSecurityGroupId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeCrossConnectGroupCompartmentResponse + var response ChangeNetworkSecurityGroupCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/ChangeNetworkSecurityGroupCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeNetworkSecurityGroupCompartment", apiReferenceLink) return response, err } @@ -1420,10 +1530,16 @@ func (client VirtualNetworkClient) changeCrossConnectGroupCompartment(ctx contex return response, err } -// ChangeDhcpOptionsCompartment Moves a set of DHCP options into a different compartment within the same tenancy. For information +// ChangePublicIpCompartment Moves a public IP 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). -func (client VirtualNetworkClient) ChangeDhcpOptionsCompartment(ctx context.Context, request ChangeDhcpOptionsCompartmentRequest) (response ChangeDhcpOptionsCompartmentResponse, err error) { +// 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 { @@ -1437,40 +1553,42 @@ func (client VirtualNetworkClient) ChangeDhcpOptionsCompartment(ctx context.Cont request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeDhcpOptionsCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changePublicIpCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeDhcpOptionsCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangePublicIpCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeDhcpOptionsCompartmentResponse{} + response = ChangePublicIpCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeDhcpOptionsCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangePublicIpCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeDhcpOptionsCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangePublicIpCompartmentResponse") } return } -// changeDhcpOptionsCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeDhcpOptionsCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changePublicIpCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changePublicIpCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/dhcps/{dhcpId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps/{publicIpId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeDhcpOptionsCompartmentResponse + var response ChangePublicIpCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/ChangePublicIpCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangePublicIpCompartment", apiReferenceLink) return response, err } @@ -1478,10 +1596,14 @@ func (client VirtualNetworkClient) changeDhcpOptionsCompartment(ctx context.Cont return response, err } -// ChangeDrgAttachmentCompartment Moves a DRG attachment into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeDrgAttachmentCompartment(ctx context.Context, request ChangeDrgAttachmentCompartmentRequest) (response ChangeDrgAttachmentCompartmentResponse, err error) { +// +// # 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 { @@ -1495,40 +1617,42 @@ func (client VirtualNetworkClient) ChangeDrgAttachmentCompartment(ctx context.Co request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeDrgAttachmentCompartment, policy) + 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 = ChangeDrgAttachmentCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangePublicIpPoolCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeDrgAttachmentCompartmentResponse{} + response = ChangePublicIpPoolCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeDrgAttachmentCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangePublicIpPoolCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeDrgAttachmentCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangePublicIpPoolCompartmentResponse") } return } -// changeDrgAttachmentCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeDrgAttachmentCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changePublicIpPoolCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changePublicIpPoolCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgAttachments/{drgAttachmentId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeDrgAttachmentCompartmentResponse + var response ChangePublicIpPoolCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/ChangePublicIpPoolCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangePublicIpPoolCompartment", apiReferenceLink) return response, err } @@ -1536,12 +1660,17 @@ func (client VirtualNetworkClient) changeDrgAttachmentCompartment(ctx context.Co return response, err } -// ChangeDrgCompartment Moves a DRG into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeDrgCompartment(ctx context.Context, request ChangeDrgCompartmentRequest) (response ChangeDrgCompartmentResponse, err error) { +// +// # 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. +// A default retry strategy applies to this operation ChangeRemotePeeringConnectionCompartment() +func (client VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment(ctx context.Context, request ChangeRemotePeeringConnectionCompartmentRequest) (response ChangeRemotePeeringConnectionCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -1553,40 +1682,42 @@ func (client VirtualNetworkClient) ChangeDrgCompartment(ctx context.Context, req request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeDrgCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeRemotePeeringConnectionCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeDrgCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeRemotePeeringConnectionCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeDrgCompartmentResponse{} + response = ChangeRemotePeeringConnectionCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeDrgCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeRemotePeeringConnectionCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeDrgCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeRemotePeeringConnectionCompartmentResponse") } return } -// changeDrgCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeDrgCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeRemotePeeringConnectionCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeRemotePeeringConnectionCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs/{drgId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/remotePeeringConnections/{remotePeeringConnectionId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeDrgCompartmentResponse + var response ChangeRemotePeeringConnectionCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RemotePeeringConnection/ChangeRemotePeeringConnectionCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeRemotePeeringConnectionCompartment", apiReferenceLink) return response, err } @@ -1594,10 +1725,14 @@ func (client VirtualNetworkClient) changeDrgCompartment(ctx context.Context, req return response, err } -// ChangeIPSecConnectionCompartment Moves an IPSec connection into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeIPSecConnectionCompartment(ctx context.Context, request ChangeIPSecConnectionCompartmentRequest) (response ChangeIPSecConnectionCompartmentResponse, err error) { +// +// # 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 { @@ -1611,40 +1746,42 @@ func (client VirtualNetworkClient) ChangeIPSecConnectionCompartment(ctx context. request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeIPSecConnectionCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeRouteTableCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeIPSecConnectionCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeRouteTableCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeIPSecConnectionCompartmentResponse{} + response = ChangeRouteTableCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeIPSecConnectionCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeRouteTableCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeIPSecConnectionCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeRouteTableCompartmentResponse") } return } -// changeIPSecConnectionCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeIPSecConnectionCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeRouteTableCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeRouteTableCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipsecConnections/{ipscId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/routeTables/{rtId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeIPSecConnectionCompartmentResponse + var response ChangeRouteTableCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RouteTable/ChangeRouteTableCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeRouteTableCompartment", apiReferenceLink) return response, err } @@ -1652,10 +1789,14 @@ func (client VirtualNetworkClient) changeIPSecConnectionCompartment(ctx context. return response, err } -// ChangeInternalDrgCompartment Moves a DRG into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeInternalDrgCompartment(ctx context.Context, request ChangeInternalDrgCompartmentRequest) (response ChangeInternalDrgCompartmentResponse, err error) { +// +// # 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 { @@ -1664,40 +1805,47 @@ func (client VirtualNetworkClient) ChangeInternalDrgCompartment(ctx context.Cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.changeInternalDrgCompartment, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeSecurityListCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeInternalDrgCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeSecurityListCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeInternalDrgCompartmentResponse{} + response = ChangeSecurityListCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeInternalDrgCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeSecurityListCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeInternalDrgCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeSecurityListCompartmentResponse") } return } -// changeInternalDrgCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeInternalDrgCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeSecurityListCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeSecurityListCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalDrgs/{internalDrgId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/securityLists/{securityListId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeInternalDrgCompartmentResponse + var response ChangeSecurityListCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityList/ChangeSecurityListCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeSecurityListCompartment", apiReferenceLink) return response, err } @@ -1705,8 +1853,14 @@ func (client VirtualNetworkClient) changeInternalDrgCompartment(ctx context.Cont return response, err } -// ChangeInternalGenericGatewayCompartment Change the compartment of the specified internal generic gateway -func (client VirtualNetworkClient) ChangeInternalGenericGatewayCompartment(ctx context.Context, request ChangeInternalGenericGatewayCompartmentRequest) (response ChangeInternalGenericGatewayCompartmentResponse, err error) { +// 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 { @@ -1720,40 +1874,42 @@ func (client VirtualNetworkClient) ChangeInternalGenericGatewayCompartment(ctx c request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeInternalGenericGatewayCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeServiceGatewayCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeInternalGenericGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeServiceGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeInternalGenericGatewayCompartmentResponse{} + response = ChangeServiceGatewayCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeInternalGenericGatewayCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeServiceGatewayCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeInternalGenericGatewayCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeServiceGatewayCompartmentResponse") } return } -// changeInternalGenericGatewayCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeInternalGenericGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeServiceGatewayCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeServiceGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalGenericGateways/{internalGenericGatewayId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeInternalGenericGatewayCompartmentResponse + var response ChangeServiceGatewayCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/ChangeServiceGatewayCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeServiceGatewayCompartment", apiReferenceLink) return response, err } @@ -1761,10 +1917,14 @@ func (client VirtualNetworkClient) changeInternalGenericGatewayCompartment(ctx c return response, err } -// ChangeInternetGatewayCompartment Moves an internet gateway into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeInternetGatewayCompartment(ctx context.Context, request ChangeInternetGatewayCompartmentRequest) (response ChangeInternetGatewayCompartmentResponse, err error) { +// +// # 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 { @@ -1778,40 +1938,42 @@ func (client VirtualNetworkClient) ChangeInternetGatewayCompartment(ctx context. request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeInternetGatewayCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeSubnetCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeInternetGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeSubnetCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeInternetGatewayCompartmentResponse{} + response = ChangeSubnetCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeInternetGatewayCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeSubnetCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeInternetGatewayCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeSubnetCompartmentResponse") } return } -// changeInternetGatewayCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeInternetGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeSubnetCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeSubnetCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internetGateways/{igId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets/{subnetId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeInternetGatewayCompartmentResponse + var response ChangeSubnetCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/ChangeSubnetCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeSubnetCompartment", apiReferenceLink) return response, err } @@ -1819,10 +1981,14 @@ func (client VirtualNetworkClient) changeInternetGatewayCompartment(ctx context. return response, err } -// ChangeLocalPeeringGatewayCompartment Moves a local peering gateway into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeLocalPeeringGatewayCompartment(ctx context.Context, request ChangeLocalPeeringGatewayCompartmentRequest) (response ChangeLocalPeeringGatewayCompartmentResponse, err error) { +// +// # 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 { @@ -1836,40 +2002,42 @@ func (client VirtualNetworkClient) ChangeLocalPeeringGatewayCompartment(ctx cont request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeLocalPeeringGatewayCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeVcnCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeLocalPeeringGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeVcnCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeLocalPeeringGatewayCompartmentResponse{} + response = ChangeVcnCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeLocalPeeringGatewayCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeVcnCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeLocalPeeringGatewayCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeVcnCompartmentResponse") } return } -// changeLocalPeeringGatewayCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeLocalPeeringGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeVcnCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeVcnCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringGateways/{localPeeringGatewayId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeLocalPeeringGatewayCompartmentResponse + var response ChangeVcnCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/ChangeVcnCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeVcnCompartment", apiReferenceLink) return response, err } @@ -1877,12 +2045,17 @@ func (client VirtualNetworkClient) changeLocalPeeringGatewayCompartment(ctx cont return response, err } -// ChangeNatGatewayCompartment Moves a NAT gateway into a different compartment within the same tenancy. For information +// 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). -func (client VirtualNetworkClient) ChangeNatGatewayCompartment(ctx context.Context, request ChangeNatGatewayCompartmentRequest) (response ChangeNatGatewayCompartmentResponse, err error) { +// +// # 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. +// A default retry strategy applies to this operation ChangeVirtualCircuitCompartment() +func (client VirtualNetworkClient) ChangeVirtualCircuitCompartment(ctx context.Context, request ChangeVirtualCircuitCompartmentRequest) (response ChangeVirtualCircuitCompartmentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -1894,40 +2067,42 @@ func (client VirtualNetworkClient) ChangeNatGatewayCompartment(ctx context.Conte request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeNatGatewayCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeVirtualCircuitCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeNatGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeVirtualCircuitCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeNatGatewayCompartmentResponse{} + response = ChangeVirtualCircuitCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeNatGatewayCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeVirtualCircuitCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeNatGatewayCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeVirtualCircuitCompartmentResponse") } return } -// changeNatGatewayCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeNatGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeVirtualCircuitCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeVirtualCircuitCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/natGateways/{natGatewayId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeNatGatewayCompartmentResponse + var response ChangeVirtualCircuitCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuit/ChangeVirtualCircuitCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeVirtualCircuitCompartment", apiReferenceLink) return response, err } @@ -1935,9 +2110,14 @@ func (client VirtualNetworkClient) changeNatGatewayCompartment(ctx context.Conte return response, err } -// 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). -func (client VirtualNetworkClient) ChangeNetworkSecurityGroupCompartment(ctx context.Context, request ChangeNetworkSecurityGroupCompartmentRequest) (response ChangeNetworkSecurityGroupCompartmentResponse, err error) { +// 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 { @@ -1951,40 +2131,42 @@ func (client VirtualNetworkClient) ChangeNetworkSecurityGroupCompartment(ctx con request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeNetworkSecurityGroupCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeVlanCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeNetworkSecurityGroupCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeVlanCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeNetworkSecurityGroupCompartmentResponse{} + response = ChangeVlanCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeNetworkSecurityGroupCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeVlanCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeNetworkSecurityGroupCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeVlanCompartmentResponse") } return } -// changeNetworkSecurityGroupCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeNetworkSecurityGroupCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeVlanCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeVlanCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/networkSecurityGroups/{networkSecurityGroupId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vlans/{vlanId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeNetworkSecurityGroupCompartmentResponse + var response ChangeVlanCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vlan/ChangeVlanCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeVlanCompartment", apiReferenceLink) return response, err } @@ -1992,10 +2174,14 @@ func (client VirtualNetworkClient) changeNetworkSecurityGroupCompartment(ctx con return response, err } -// ChangePrivateEndpointCompartment Moves a private endpoint into a different compartment within the same tenancy. For information +// ChangeVtapCompartment Moves a VTAP to a new 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). -func (client VirtualNetworkClient) ChangePrivateEndpointCompartment(ctx context.Context, request ChangePrivateEndpointCompartmentRequest) (response ChangePrivateEndpointCompartmentResponse, err error) { +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVtapCompartment.go.html to see an example of how to use ChangeVtapCompartment API. +func (client VirtualNetworkClient) ChangeVtapCompartment(ctx context.Context, request ChangeVtapCompartmentRequest) (response ChangeVtapCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -2009,40 +2195,42 @@ func (client VirtualNetworkClient) ChangePrivateEndpointCompartment(ctx context. request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changePrivateEndpointCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.changeVtapCompartment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangePrivateEndpointCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ChangeVtapCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangePrivateEndpointCompartmentResponse{} + response = ChangeVtapCompartmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangePrivateEndpointCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeVtapCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangePrivateEndpointCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeVtapCompartmentResponse") } return } -// changePrivateEndpointCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changePrivateEndpointCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeVtapCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeVtapCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateEndpoints/{privateEndpointId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vtaps/{vtapId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangePrivateEndpointCompartmentResponse + var response ChangeVtapCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/ChangeVtapCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeVtapCompartment", apiReferenceLink) return response, err } @@ -2050,12 +2238,18 @@ func (client VirtualNetworkClient) changePrivateEndpointCompartment(ctx context. return response, err } -// ChangePublicIpCompartment Moves a public IP 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). -// This operation applies only to reserved public IPs. Ephemeral public IPs always belong to the -// same compartment as their VNIC and move accordingly. -func (client VirtualNetworkClient) ChangePublicIpCompartment(ctx context.Context, request ChangePublicIpCompartmentRequest) (response ChangePublicIpCompartmentResponse, err error) { +// ConnectLocalPeeringGateways Connects this local peering gateway (LPG) to another one in the same region. +// This operation must be called by the VCN administrator who is designated as +// the *requestor* in the peering relationship. The *acceptor* must implement +// 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/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 { @@ -2064,45 +2258,42 @@ func (client VirtualNetworkClient) ChangePublicIpCompartment(ctx context.Context 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.changePublicIpCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.connectLocalPeeringGateways, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangePublicIpCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ConnectLocalPeeringGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangePublicIpCompartmentResponse{} + response = ConnectLocalPeeringGatewaysResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangePublicIpCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ConnectLocalPeeringGatewaysResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangePublicIpCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ConnectLocalPeeringGatewaysResponse") } return } -// changePublicIpCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changePublicIpCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// connectLocalPeeringGateways implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) connectLocalPeeringGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps/{publicIpId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringGateways/{localPeeringGatewayId}/actions/connect", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangePublicIpCompartmentResponse + var response ConnectLocalPeeringGatewaysResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LocalPeeringGateway/ConnectLocalPeeringGateways" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ConnectLocalPeeringGateways", apiReferenceLink) return response, err } @@ -2110,57 +2301,63 @@ 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). -func (client VirtualNetworkClient) ChangePublicIpPoolCompartment(ctx context.Context, request ChangePublicIpPoolCompartmentRequest) (response ChangePublicIpPoolCompartmentResponse, err error) { +// ConnectRemotePeeringConnections Connects this RPC to another one in a different region. +// This operation must be called by the VCN administrator who is designated as +// the *requestor* in the peering relationship. The *acceptor* must implement +// 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/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. +// A default retry strategy applies to this operation ConnectRemotePeeringConnections() +func (client VirtualNetworkClient) ConnectRemotePeeringConnections(ctx context.Context, request ConnectRemotePeeringConnectionsRequest) (response ConnectRemotePeeringConnectionsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() 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) + ociResponse, err = common.Retry(ctx, request, client.connectRemotePeeringConnections, 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} + response = ConnectRemotePeeringConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangePublicIpPoolCompartmentResponse{} + response = ConnectRemotePeeringConnectionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangePublicIpPoolCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(ConnectRemotePeeringConnectionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangePublicIpPoolCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ConnectRemotePeeringConnectionsResponse") } return } -// changePublicIpPoolCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changePublicIpPoolCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// connectRemotePeeringConnections implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) connectRemotePeeringConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/remotePeeringConnections/{remotePeeringConnectionId}/actions/connect", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangePublicIpPoolCompartmentResponse + var response ConnectRemotePeeringConnectionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RemotePeeringConnection/ConnectRemotePeeringConnections" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ConnectRemotePeeringConnections", apiReferenceLink) return response, err } @@ -2168,10 +2365,12 @@ func (client VirtualNetworkClient) changePublicIpPoolCompartment(ctx context.Con 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). -func (client VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment(ctx context.Context, request ChangeRemotePeeringConnectionCompartmentRequest) (response ChangeRemotePeeringConnectionCompartmentResponse, err error) { +// 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 { @@ -2185,40 +2384,42 @@ func (client VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment(ctx request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeRemotePeeringConnectionCompartment, policy) + 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 = ChangeRemotePeeringConnectionCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeRemotePeeringConnectionCompartmentResponse{} + response = CreateByoipRangeResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeRemotePeeringConnectionCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateByoipRangeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeRemotePeeringConnectionCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateByoipRangeResponse") } return } -// changeRemotePeeringConnectionCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeRemotePeeringConnectionCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/remotePeeringConnections/{remotePeeringConnectionId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeRemotePeeringConnectionCompartmentResponse + var response CreateByoipRangeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/CreateByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateByoipRange", apiReferenceLink) return response, err } @@ -2226,10 +2427,18 @@ func (client VirtualNetworkClient) changeRemotePeeringConnectionCompartment(ctx return response, err } -// 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). -func (client VirtualNetworkClient) ChangeRouteTableCompartment(ctx context.Context, request ChangeRouteTableCompartmentRequest) (response ChangeRouteTableCompartmentResponse, err error) { +// CreateCaptureFilter Creates a virtual test access point (VTAP) capture filter in the specified compartment. +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains +// the VTAP. For more information about 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 may optionally specify a *display name* for the VTAP, otherwise a default is provided. +// It does not have to be unique, and you can change it. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCaptureFilter.go.html to see an example of how to use CreateCaptureFilter API. +func (client VirtualNetworkClient) CreateCaptureFilter(ctx context.Context, request CreateCaptureFilterRequest) (response CreateCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -2243,40 +2452,42 @@ func (client VirtualNetworkClient) ChangeRouteTableCompartment(ctx context.Conte request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeRouteTableCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createCaptureFilter, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeRouteTableCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeRouteTableCompartmentResponse{} + response = CreateCaptureFilterResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeRouteTableCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateCaptureFilterResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeRouteTableCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateCaptureFilterResponse") } return } -// changeRouteTableCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeRouteTableCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createCaptureFilter implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/routeTables/{rtId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/captureFilters", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeRouteTableCompartmentResponse + var response CreateCaptureFilterResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/CreateCaptureFilter" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateCaptureFilter", apiReferenceLink) return response, err } @@ -2284,12 +2495,26 @@ func (client VirtualNetworkClient) changeRouteTableCompartment(ctx context.Conte return response, err } -// 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). -func (client VirtualNetworkClient) ChangeSecurityListCompartment(ctx context.Context, request ChangeSecurityListCompartmentRequest) (response ChangeSecurityListCompartmentResponse, err error) { +// CreateCpe Creates a new virtual customer-premises equipment (CPE) object in the specified compartment. For +// more information, see Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 +// CPE Configuration (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. +// A default retry strategy applies to this operation CreateCpe() +func (client VirtualNetworkClient) CreateCpe(ctx context.Context, request CreateCpeRequest) (response CreateCpeResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2301,40 +2526,42 @@ func (client VirtualNetworkClient) ChangeSecurityListCompartment(ctx context.Con request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeSecurityListCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createCpe, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeSecurityListCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeSecurityListCompartmentResponse{} + response = CreateCpeResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeSecurityListCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateCpeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeSecurityListCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateCpeResponse") } return } -// changeSecurityListCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeSecurityListCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createCpe implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/securityLists/{securityListId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/cpes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeSecurityListCompartmentResponse + var response CreateCpeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Cpe/CreateCpe" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateCpe", apiReferenceLink) return response, err } @@ -2342,12 +2569,30 @@ func (client VirtualNetworkClient) changeSecurityListCompartment(ctx context.Con return response, err } -// 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). -func (client VirtualNetworkClient) ChangeServiceGatewayCompartment(ctx context.Context, request ChangeServiceGatewayCompartmentRequest) (response ChangeServiceGatewayCompartmentResponse, err error) { +// CreateCrossConnect Creates a new cross-connect. Oracle recommends you create each cross-connect in a +// CrossConnectGroup so you can use link aggregation +// 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/iaas/Content/Network/Concepts/fastconnect.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 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. +// A default retry strategy applies to this operation CreateCrossConnect() +func (client VirtualNetworkClient) CreateCrossConnect(ctx context.Context, request CreateCrossConnectRequest) (response CreateCrossConnectResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2359,40 +2604,42 @@ func (client VirtualNetworkClient) ChangeServiceGatewayCompartment(ctx context.C request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeServiceGatewayCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createCrossConnect, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeServiceGatewayCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeServiceGatewayCompartmentResponse{} + response = CreateCrossConnectResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeServiceGatewayCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateCrossConnectResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeServiceGatewayCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateCrossConnectResponse") } return } -// changeServiceGatewayCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeServiceGatewayCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createCrossConnect implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnects", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeServiceGatewayCompartmentResponse + var response CreateCrossConnectResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnect/CreateCrossConnect" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateCrossConnect", apiReferenceLink) return response, err } @@ -2400,12 +2647,27 @@ func (client VirtualNetworkClient) changeServiceGatewayCompartment(ctx context.C return response, err } -// 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). -func (client VirtualNetworkClient) ChangeSubnetCompartment(ctx context.Context, request ChangeSubnetCompartmentRequest) (response ChangeSubnetCompartmentResponse, err error) { +// 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/iaas/Content/Network/Concepts/fastconnect.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 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. +// A default retry strategy applies to this operation CreateCrossConnectGroup() +func (client VirtualNetworkClient) CreateCrossConnectGroup(ctx context.Context, request CreateCrossConnectGroupRequest) (response CreateCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2417,40 +2679,42 @@ func (client VirtualNetworkClient) ChangeSubnetCompartment(ctx context.Context, request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeSubnetCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createCrossConnectGroup, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeSubnetCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeSubnetCompartmentResponse{} + response = CreateCrossConnectGroupResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeSubnetCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateCrossConnectGroupResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeSubnetCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateCrossConnectGroupResponse") } return } -// changeSubnetCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeSubnetCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createCrossConnectGroup implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets/{subnetId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnectGroups", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeSubnetCompartmentResponse + var response CreateCrossConnectGroupResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectGroup/CreateCrossConnectGroup" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateCrossConnectGroup", apiReferenceLink) return response, err } @@ -2458,10 +2722,21 @@ func (client VirtualNetworkClient) changeSubnetCompartment(ctx context.Context, return response, err } -// 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). -func (client VirtualNetworkClient) ChangeVcnCompartment(ctx context.Context, request ChangeVcnCompartmentRequest) (response ChangeVcnCompartmentResponse, err error) { +// CreateDhcpOptions Creates a new set of DHCP options for the specified VCN. For more information, see +// DhcpOptions. +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of +// 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/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 { @@ -2475,40 +2750,42 @@ func (client VirtualNetworkClient) ChangeVcnCompartment(ctx context.Context, req request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeVcnCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createDhcpOptions, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeVcnCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeVcnCompartmentResponse{} + response = CreateDhcpOptionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeVcnCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateDhcpOptionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeVcnCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateDhcpOptionsResponse") } return } -// changeVcnCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeVcnCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createDhcpOptions implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/dhcps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeVcnCompartmentResponse + var response CreateDhcpOptionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DhcpOptions/CreateDhcpOptions" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateDhcpOptions", apiReferenceLink) return response, err } @@ -2516,10 +2793,21 @@ func (client VirtualNetworkClient) changeVcnCompartment(ctx context.Context, req return response, err } -// ChangeVcnDrgCompartment 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). -func (client VirtualNetworkClient) ChangeVcnDrgCompartment(ctx context.Context, request ChangeVcnDrgCompartmentRequest) (response ChangeVcnDrgCompartmentResponse, err error) { +// 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/iaas/Content/Network/Tasks/managingDRGs.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 { @@ -2533,40 +2821,42 @@ func (client VirtualNetworkClient) ChangeVcnDrgCompartment(ctx context.Context, request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeVcnDrgCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createDrg, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeVcnDrgCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeVcnDrgCompartmentResponse{} + response = CreateDrgResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeVcnDrgCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateDrgResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeVcnDrgCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateDrgResponse") } return } -// changeVcnDrgCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeVcnDrgCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createDrg implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcn_drgs/{drgId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeVcnDrgCompartmentResponse + var response CreateDrgResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/CreateDrg" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateDrg", apiReferenceLink) return response, err } @@ -2574,57 +2864,69 @@ func (client VirtualNetworkClient) changeVcnDrgCompartment(ctx context.Context, return response, err } -// 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). -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { +// CreateDrgAttachment Attaches the specified DRG to the specified network resource. A VCN can be attached to only one DRG +// at a time, but a DRG can be attached to more than one VCN. The response includes a `DrgAttachment` +// object with its own OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For more information about DRGs, see +// 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 currently selected compartment. +// For more information about compartments and access control, see +// 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() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeVirtualCircuitCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createDrgAttachment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeVirtualCircuitCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeVirtualCircuitCompartmentResponse{} + response = CreateDrgAttachmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeVirtualCircuitCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateDrgAttachmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeVirtualCircuitCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateDrgAttachmentResponse") } return } -// changeVirtualCircuitCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeVirtualCircuitCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createDrgAttachment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgAttachments", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeVirtualCircuitCompartmentResponse + var response CreateDrgAttachmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgAttachment/CreateDrgAttachment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateDrgAttachment", apiReferenceLink) return response, err } @@ -2632,10 +2934,15 @@ func (client VirtualNetworkClient) changeVirtualCircuitCompartment(ctx context.C return response, err } -// 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). -func (client VirtualNetworkClient) ChangeVlanCompartment(ctx context.Context, request ChangeVlanCompartmentRequest) (response ChangeVlanCompartmentResponse, err error) { +// CreateDrgRouteDistribution Creates a new route distribution for the specified DRG. +// Assign the route distribution as an import distribution to a DRG route table using the `UpdateDrgRouteTable` or `CreateDrgRouteTable` operations. +// Assign the route distribution as an export distribution to a DRG attachment +// using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistribution API. +func (client VirtualNetworkClient) CreateDrgRouteDistribution(ctx context.Context, request CreateDrgRouteDistributionRequest) (response CreateDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -2649,40 +2956,42 @@ func (client VirtualNetworkClient) ChangeVlanCompartment(ctx context.Context, re request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeVlanCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createDrgRouteDistribution, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeVlanCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeVlanCompartmentResponse{} + response = CreateDrgRouteDistributionResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeVlanCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateDrgRouteDistributionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeVlanCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateDrgRouteDistributionResponse") } return } -// changeVlanCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeVlanCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vlans/{vlanId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeVlanCompartmentResponse + var response CreateDrgRouteDistributionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistribution/CreateDrgRouteDistribution" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateDrgRouteDistribution", apiReferenceLink) return response, err } @@ -2690,10 +2999,13 @@ func (client VirtualNetworkClient) changeVlanCompartment(ctx context.Context, re return response, err } -// ChangeVnicAttachmentsCompartmentRequest Request to change the compartment ID for a list of VNIC Attachments. 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). -func (client VirtualNetworkClient) ChangeVnicAttachmentsCompartmentRequest(ctx context.Context, request ChangeVnicAttachmentsCompartmentRequestRequest) (response ChangeVnicAttachmentsCompartmentRequestResponse, err error) { +// CreateDrgRouteTable Creates a new DRG route table for the specified DRG. Assign the DRG route table to a DRG attachment +// using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTable API. +func (client VirtualNetworkClient) CreateDrgRouteTable(ctx context.Context, request CreateDrgRouteTableRequest) (response CreateDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -2707,40 +3019,42 @@ func (client VirtualNetworkClient) ChangeVnicAttachmentsCompartmentRequest(ctx c request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeVnicAttachmentsCompartmentRequest, policy) + ociResponse, err = common.Retry(ctx, request, client.createDrgRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeVnicAttachmentsCompartmentRequestResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeVnicAttachmentsCompartmentRequestResponse{} + response = CreateDrgRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeVnicAttachmentsCompartmentRequestResponse); ok { + if convertedResponse, ok := ociResponse.(CreateDrgRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeVnicAttachmentsCompartmentRequestResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateDrgRouteTableResponse") } return } -// changeVnicAttachmentsCompartmentRequest implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeVnicAttachmentsCompartmentRequest(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createDrgRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics/vnicAttachments/action/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeVnicAttachmentsCompartmentRequestResponse + var response CreateDrgRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteTable/CreateDrgRouteTable" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateDrgRouteTable", apiReferenceLink) return response, err } @@ -2748,12 +3062,37 @@ func (client VirtualNetworkClient) changeVnicAttachmentsCompartmentRequest(ctx c return response, err } -// ChangeVtapCompartment Moves a VTAP to a new 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). -func (client VirtualNetworkClient) ChangeVtapCompartment(ctx context.Context, request ChangeVtapCompartmentRequest) (response ChangeVtapCompartmentResponse, err error) { +// CreateIPSecConnection Creates a new IPSec connection between the specified DRG and CPE. For more information, see +// Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.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 +// the static routes. For more information, see the important note in +// IPSecConnection. +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the +// IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment +// 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/iaas/Content/Identity/Concepts/overview.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 +// with tunnel-specific information. For tunnel status and the required configuration information, see: +// - IPSecConnectionTunnel +// - 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 +// CPE Configuration (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. +// A default retry strategy applies to this operation CreateIPSecConnection() +func (client VirtualNetworkClient) CreateIPSecConnection(ctx context.Context, request CreateIPSecConnectionRequest) (response CreateIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -2765,40 +3104,42 @@ func (client VirtualNetworkClient) ChangeVtapCompartment(ctx context.Context, re request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeVtapCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.createIPSecConnection, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeVtapCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeVtapCompartmentResponse{} + response = CreateIPSecConnectionResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeVtapCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreateIPSecConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeVtapCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateIPSecConnectionResponse") } return } -// changeVtapCompartment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) changeVtapCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createIPSecConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vtaps/{vtapId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipsecConnections", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeVtapCompartmentResponse + var response CreateIPSecConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnection/CreateIPSecConnection" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateIPSecConnection", apiReferenceLink) return response, err } @@ -2806,8 +3147,27 @@ func (client VirtualNetworkClient) changeVtapCompartment(ctx context.Context, re return response, err } -// CompletePromotion Internal API to mark the DRG as upgraded -func (client VirtualNetworkClient) CompletePromotion(ctx context.Context, request CompletePromotionRequest) (response CompletePromotionResponse, err error) { +// CreateInternetGateway Creates a new internet gateway for the specified VCN. For more information, see +// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/iaas/Content/Identity/Concepts/overview.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 +// the subnet's route table (for example, 0.0.0.0/0 > internet gateway). See +// UpdateRouteTable. +// You must specify whether the internet gateway is enabled when you create it. If it's disabled, that means no +// 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 { @@ -2816,40 +3176,47 @@ func (client VirtualNetworkClient) CompletePromotion(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.completePromotion, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createInternetGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CompletePromotionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CompletePromotionResponse{} + response = CreateInternetGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(CompletePromotionResponse); ok { + if convertedResponse, ok := ociResponse.(CreateInternetGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CompletePromotionResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateInternetGatewayResponse") } return } -// completePromotion implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) completePromotion(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createInternetGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs/{drgId}/actions/completePromotion", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/internetGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CompletePromotionResponse + var response CreateInternetGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InternetGateway/CreateInternetGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateInternetGateway", apiReferenceLink) return response, err } @@ -2857,8 +3224,12 @@ func (client VirtualNetworkClient) completePromotion(ctx context.Context, reques return response, err } -// CompleteUnpromotion Internal API to mark the DRG as not migrated but not upgraded if anything goes wrong during the upgrade -func (client VirtualNetworkClient) CompleteUnpromotion(ctx context.Context, request CompleteUnpromotionRequest) (response CompleteUnpromotionResponse, err error) { +// 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 { @@ -2867,40 +3238,47 @@ func (client VirtualNetworkClient) CompleteUnpromotion(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.completeUnpromotion, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createIpv6, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CompleteUnpromotionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CompleteUnpromotionResponse{} + response = CreateIpv6Response{} } } return } - if convertedResponse, ok := ociResponse.(CompleteUnpromotionResponse); ok { + if convertedResponse, ok := ociResponse.(CreateIpv6Response); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CompleteUnpromotionResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateIpv6Response") } return } -// completeUnpromotion implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) completeUnpromotion(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createIpv6 implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs/{drgId}/actions/completeUnpromotion", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipv6", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CompleteUnpromotionResponse + var response CreateIpv6Response var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/CreateIpv6" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateIpv6", apiReferenceLink) return response, err } @@ -2908,8 +3286,12 @@ func (client VirtualNetworkClient) completeUnpromotion(ctx context.Context, requ return response, err } -// ConnectLocalPeeringConnections Connects this local peering connection to another local peering connection in the same region. -func (client VirtualNetworkClient) ConnectLocalPeeringConnections(ctx context.Context, request ConnectLocalPeeringConnectionsRequest) (response ConnectLocalPeeringConnectionsResponse, err error) { +// 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 { @@ -2918,40 +3300,47 @@ func (client VirtualNetworkClient) ConnectLocalPeeringConnections(ctx context.Co if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.connectLocalPeeringConnections, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createLocalPeeringGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ConnectLocalPeeringConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateLocalPeeringGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ConnectLocalPeeringConnectionsResponse{} + response = CreateLocalPeeringGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(ConnectLocalPeeringConnectionsResponse); ok { + if convertedResponse, ok := ociResponse.(CreateLocalPeeringGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ConnectLocalPeeringConnectionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateLocalPeeringGatewayResponse") } return } -// connectLocalPeeringConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) connectLocalPeeringConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createLocalPeeringGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createLocalPeeringGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringConnections/{localPeeringConnectionId}/actions/connect", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ConnectLocalPeeringConnectionsResponse + var response CreateLocalPeeringGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LocalPeeringGateway/CreateLocalPeeringGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateLocalPeeringGateway", apiReferenceLink) return response, err } @@ -2959,14 +3348,13 @@ func (client VirtualNetworkClient) connectLocalPeeringConnections(ctx context.Co return response, err } -// ConnectLocalPeeringGateways Connects this local peering gateway (LPG) to another one in the same region. -// This operation must be called by the VCN administrator who is designated as -// the *requestor* in the peering relationship. The *acceptor* must implement -// 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/iaas/Content/Network/Tasks/VCNpeering.htm). -func (client VirtualNetworkClient) ConnectLocalPeeringGateways(ctx context.Context, request ConnectLocalPeeringGatewaysRequest) (response ConnectLocalPeeringGatewaysResponse, err error) { +// 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 { @@ -2975,40 +3363,47 @@ func (client VirtualNetworkClient) ConnectLocalPeeringGateways(ctx context.Conte if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.connectLocalPeeringGateways, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createNatGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ConnectLocalPeeringGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateNatGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ConnectLocalPeeringGatewaysResponse{} + response = CreateNatGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(ConnectLocalPeeringGatewaysResponse); ok { + if convertedResponse, ok := ociResponse.(CreateNatGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ConnectLocalPeeringGatewaysResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateNatGatewayResponse") } return } -// connectLocalPeeringGateways implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) connectLocalPeeringGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createNatGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createNatGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringGateways/{localPeeringGatewayId}/actions/connect", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/natGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ConnectLocalPeeringGatewaysResponse + var response CreateNatGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NatGateway/CreateNatGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateNatGateway", apiReferenceLink) return response, err } @@ -3016,14 +3411,12 @@ func (client VirtualNetworkClient) connectLocalPeeringGateways(ctx context.Conte return response, err } -// ConnectRemotePeeringConnections Connects this RPC to another one in a different region. -// This operation must be called by the VCN administrator who is designated as -// the *requestor* in the peering relationship. The *acceptor* must implement -// 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/iaas/Content/Network/Tasks/VCNpeering.htm). -func (client VirtualNetworkClient) ConnectRemotePeeringConnections(ctx context.Context, request ConnectRemotePeeringConnectionsRequest) (response ConnectRemotePeeringConnectionsResponse, err error) { +// 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 { @@ -3032,40 +3425,47 @@ func (client VirtualNetworkClient) ConnectRemotePeeringConnections(ctx context.C if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.connectRemotePeeringConnections, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createNetworkSecurityGroup, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ConnectRemotePeeringConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateNetworkSecurityGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ConnectRemotePeeringConnectionsResponse{} + response = CreateNetworkSecurityGroupResponse{} } } return } - if convertedResponse, ok := ociResponse.(ConnectRemotePeeringConnectionsResponse); ok { + if convertedResponse, ok := ociResponse.(CreateNetworkSecurityGroupResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ConnectRemotePeeringConnectionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateNetworkSecurityGroupResponse") } return } -// connectRemotePeeringConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) connectRemotePeeringConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createNetworkSecurityGroup implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createNetworkSecurityGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/remotePeeringConnections/{remotePeeringConnectionId}/actions/connect", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/networkSecurityGroups", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ConnectRemotePeeringConnectionsResponse + var response CreateNetworkSecurityGroupResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/CreateNetworkSecurityGroup" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateNetworkSecurityGroup", apiReferenceLink) return response, err } @@ -3073,8 +3473,14 @@ func (client VirtualNetworkClient) connectRemotePeeringConnections(ctx context.C return response, err } -// CreateByoipRange Creates a subrange of the BYOIP CIDR block. -func (client VirtualNetworkClient) CreateByoipRange(ctx context.Context, request CreateByoipRangeRequest) (response CreateByoipRangeResponse, err error) { +// 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/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 { @@ -3088,40 +3494,42 @@ func (client VirtualNetworkClient) CreateByoipRange(ctx context.Context, request request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createByoipRange, policy) + ociResponse, err = common.Retry(ctx, request, client.createPrivateIp, 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} + response = CreatePrivateIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateByoipRangeResponse{} + response = CreatePrivateIpResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateByoipRangeResponse); ok { + if convertedResponse, ok := ociResponse.(CreatePrivateIpResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateByoipRangeResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreatePrivateIpResponse") } return } -// createByoipRange implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createPrivateIp implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createPrivateIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateByoipRangeResponse + var response CreatePrivateIpResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/CreatePrivateIp" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreatePrivateIp", apiReferenceLink) return response, err } @@ -3129,17 +3537,28 @@ func (client VirtualNetworkClient) createByoipRange(ctx context.Context, request return response, err } -// CreateC3Drg Creates a new dynamic routing gateway (DRG) in the specified compartment. For more information, -// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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. -func (client VirtualNetworkClient) CreateC3Drg(ctx context.Context, request CreateC3DrgRequest) (response CreateC3DrgResponse, err error) { +// 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/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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 +// assigned to a private IP, and only to the *primary* private IP on a VNIC, not a secondary +// private IP. Exception: If you create a NatGateway, Oracle +// automatically assigns the NAT gateway a regional ephemeral public IP that you cannot remove. +// * **For a reserved public IP:** You may also optionally assign the public IP to a private +// IP by specifying `privateIpId`. Or you can later assign the public IP with +// UpdatePublicIp. +// **Note:** When assigning a public IP to a private IP, the private IP must not already have +// a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned. +// 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 { @@ -3153,40 +3572,42 @@ func (client VirtualNetworkClient) CreateC3Drg(ctx context.Context, request Crea request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createC3Drg, policy) + ociResponse, err = common.Retry(ctx, request, client.createPublicIp, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateC3DrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreatePublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateC3DrgResponse{} + response = CreatePublicIpResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateC3DrgResponse); ok { + if convertedResponse, ok := ociResponse.(CreatePublicIpResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateC3DrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreatePublicIpResponse") } return } -// createC3Drg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createC3Drg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createPublicIp implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/c3_drgs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateC3DrgResponse + var response CreatePublicIpResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/CreatePublicIp" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreatePublicIp", apiReferenceLink) return response, err } @@ -3194,16 +3615,12 @@ func (client VirtualNetworkClient) createC3Drg(ctx context.Context, request comm return response, err } -// CreateC3DrgAttachment Attaches the specified DRG to the specified resource. A DRG can be attached to a VCN, virtual circuit, -// IPSec connection, or remote peering connection. A DRG can be attached to multiple VCNs. -// The response includes a `DrgAttachment` object with its own OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For more information about DRGs, see -// 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 attached resource. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -func (client VirtualNetworkClient) CreateC3DrgAttachment(ctx context.Context, request CreateC3DrgAttachmentRequest) (response CreateC3DrgAttachmentResponse, err error) { +// 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 { @@ -3217,40 +3634,42 @@ func (client VirtualNetworkClient) CreateC3DrgAttachment(ctx context.Context, re request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createC3DrgAttachment, policy) + 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 = CreateC3DrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreatePublicIpPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateC3DrgAttachmentResponse{} + response = CreatePublicIpPoolResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateC3DrgAttachmentResponse); ok { + if convertedResponse, ok := ociResponse.(CreatePublicIpPoolResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateC3DrgAttachmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreatePublicIpPoolResponse") } return } -// createC3DrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createC3DrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createPublicIpPool implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createPublicIpPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/c3_drgAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateC3DrgAttachmentResponse + var response CreatePublicIpPoolResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/CreatePublicIpPool" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreatePublicIpPool", apiReferenceLink) return response, err } @@ -3258,16 +3677,15 @@ func (client VirtualNetworkClient) createC3DrgAttachment(ctx context.Context, re return response, err } -// CreateCaptureFilter Creates a virtual test access point (VTAP) capture filter in the specified compartment. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains -// the VTAP. For more information about 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 may optionally specify a *display name* for the VTAP, otherwise a default is provided. -// It does not have to be unique, and you can change it. -func (client VirtualNetworkClient) CreateCaptureFilter(ctx context.Context, request CreateCaptureFilterRequest) (response CreateCaptureFilterResponse, err error) { +// 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. +// A default retry strategy applies to this operation CreateRemotePeeringConnection() +func (client VirtualNetworkClient) CreateRemotePeeringConnection(ctx context.Context, request CreateRemotePeeringConnectionRequest) (response CreateRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3279,40 +3697,42 @@ func (client VirtualNetworkClient) CreateCaptureFilter(ctx context.Context, requ request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createCaptureFilter, policy) + ociResponse, err = common.Retry(ctx, request, client.createRemotePeeringConnection, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateRemotePeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateCaptureFilterResponse{} + response = CreateRemotePeeringConnectionResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateCaptureFilterResponse); ok { + if convertedResponse, ok := ociResponse.(CreateRemotePeeringConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateCaptureFilterResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateRemotePeeringConnectionResponse") } return } -// createCaptureFilter implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/captureFilters", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/remotePeeringConnections", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateCaptureFilterResponse + var response CreateRemotePeeringConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RemotePeeringConnection/CreateRemotePeeringConnection" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateRemotePeeringConnection", apiReferenceLink) return response, err } @@ -3320,11 +3740,24 @@ func (client VirtualNetworkClient) createCaptureFilter(ctx context.Context, requ return response, err } -// CreateClientVpn Create a specific Client VPN endpoint. The maxConnections and the attachedSubnetId are required fields. Customers can -// specify a list of accessible subnets to manage the traffic access through this endpoint. Our service also provides -// customers options like addressing mode and authentication method etc. -// clientVpns. -func (client VirtualNetworkClient) CreateClientVpn(ctx context.Context, request CreateClientVpnRequest) (response CreateClientVpnResponse, err error) { +// 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/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/iaas/Content/Network/Tasks/managingroutetables.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 { @@ -3338,40 +3771,42 @@ func (client VirtualNetworkClient) CreateClientVpn(ctx context.Context, request request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createClientVpn, policy) + ociResponse, err = common.Retry(ctx, request, client.createRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateClientVpnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateClientVpnResponse{} + response = CreateRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateClientVpnResponse); ok { + if convertedResponse, ok := ociResponse.(CreateRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateClientVpnResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateRouteTableResponse") } return } -// createClientVpn implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createClientVpn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/clientVpns", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/routeTables", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateClientVpnResponse + var response CreateRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RouteTable/CreateRouteTable" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateRouteTable", apiReferenceLink) return response, err } @@ -3379,8 +3814,23 @@ func (client VirtualNetworkClient) createClientVpn(ctx context.Context, request return response, err } -// CreateClientVpnUser Create a clientVpn user on a clientVpn. -func (client VirtualNetworkClient) CreateClientVpnUser(ctx context.Context, request CreateClientVpnUserRequest) (response CreateClientVpnUserResponse, err error) { +// CreateSecurityList Creates a new security list for the specified VCN. For more information +// 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/iaas/Content/General/Concepts/servicelimits.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 { @@ -3394,40 +3844,42 @@ func (client VirtualNetworkClient) CreateClientVpnUser(ctx context.Context, requ request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createClientVpnUser, policy) + ociResponse, err = common.Retry(ctx, request, client.createSecurityList, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateClientVpnUserResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateSecurityListResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateClientVpnUserResponse{} + response = CreateSecurityListResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateClientVpnUserResponse); ok { + if convertedResponse, ok := ociResponse.(CreateSecurityListResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateClientVpnUserResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateSecurityListResponse") } return } -// createClientVpnUser implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createClientVpnUser(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createSecurityList implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createSecurityList(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/clientVpns/{clientVpnId}/users", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/securityLists", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateClientVpnUserResponse + var response CreateSecurityListResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityList/CreateSecurityList" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateSecurityList", apiReferenceLink) return response, err } @@ -3435,19 +3887,18 @@ func (client VirtualNetworkClient) createClientVpnUser(ctx context.Context, requ return response, err } -// CreateCpe Creates a new virtual customer-premises equipment (CPE) object in the specified compartment. For -// more information, see Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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/iaas/Content/Identity/Concepts/overview.htm). +// CreateServiceGateway Creates a new service gateway in the specified compartment. +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 -// CPE Configuration (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. -func (client VirtualNetworkClient) CreateCpe(ctx context.Context, request CreateCpeRequest) (response CreateCpeResponse, err error) { +// 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 { @@ -3461,40 +3912,42 @@ func (client VirtualNetworkClient) CreateCpe(ctx context.Context, request Create request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createCpe, policy) + ociResponse, err = common.Retry(ctx, request, client.createServiceGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateServiceGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateCpeResponse{} + response = CreateServiceGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateCpeResponse); ok { + if convertedResponse, ok := ociResponse.(CreateServiceGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateCpeResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateServiceGatewayResponse") } return } -// createCpe implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createServiceGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createServiceGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/cpes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateCpeResponse + var response CreateServiceGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/CreateServiceGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateServiceGateway", apiReferenceLink) return response, err } @@ -3502,23 +3955,36 @@ func (client VirtualNetworkClient) createCpe(ctx context.Context, request common return response, err } -// CreateCrossConnect Creates a new cross-connect. Oracle recommends you create each cross-connect in a -// CrossConnectGroup so you can use link aggregation -// 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/iaas/Content/Network/Concepts/fastconnect.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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/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 cross-connect. +// 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/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/iaas/Content/General/Concepts/servicelimits.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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/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/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/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. -func (client VirtualNetworkClient) CreateCrossConnect(ctx context.Context, request CreateCrossConnectRequest) (response CreateCrossConnectResponse, err error) { +// 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/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 { @@ -3532,40 +3998,42 @@ func (client VirtualNetworkClient) CreateCrossConnect(ctx context.Context, reque request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createCrossConnect, policy) + ociResponse, err = common.Retry(ctx, request, client.createSubnet, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateSubnetResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateCrossConnectResponse{} + response = CreateSubnetResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateCrossConnectResponse); ok { + if convertedResponse, ok := ociResponse.(CreateSubnetResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateCrossConnectResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateSubnetResponse") } return } -// createCrossConnect implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createSubnet implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createSubnet(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnects", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateCrossConnectResponse + var response CreateSubnetResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/CreateSubnet" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateSubnet", apiReferenceLink) return response, err } @@ -3573,20 +4041,36 @@ func (client VirtualNetworkClient) createCrossConnect(ctx context.Context, reque return response, err } -// 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/iaas/Content/Network/Concepts/fastconnect.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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/iaas/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see +// CreateVcn Creates a new virtual cloud network (VCN). For more information, see +// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 cross-connect group. -// It does not have to be unique, and you can change it. Avoid entering confidential information. -func (client VirtualNetworkClient) CreateCrossConnectGroup(ctx context.Context, request CreateCrossConnectGroupRequest) (response CreateCrossConnectGroupResponse, err error) { +// 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/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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 a Site-to-Site VPN +// or FastConnect. For more information, see +// 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 { @@ -3600,40 +4084,42 @@ func (client VirtualNetworkClient) CreateCrossConnectGroup(ctx context.Context, request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createCrossConnectGroup, policy) + ociResponse, err = common.Retry(ctx, request, client.createVcn, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateCrossConnectGroupResponse{} + response = CreateVcnResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateCrossConnectGroupResponse); ok { + if convertedResponse, ok := ociResponse.(CreateVcnResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateCrossConnectGroupResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateVcnResponse") } return } -// createCrossConnectGroup implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createVcn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/crossConnectGroups", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateCrossConnectGroupResponse + var response CreateVcnResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/CreateVcn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateVcn", apiReferenceLink) return response, err } @@ -3641,10 +4127,32 @@ func (client VirtualNetworkClient) createCrossConnectGroup(ctx context.Context, return response, err } -// CreateDav Request to create a Direct Attached Vnic. -func (client VirtualNetworkClient) CreateDav(ctx context.Context, request CreateDavRequest) (response CreateDavResponse, err error) { +// CreateVirtualCircuit Creates a new virtual circuit to use with Oracle Cloud +// Infrastructure FastConnect. For more information, see +// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 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/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. +// A default retry strategy applies to this operation CreateVirtualCircuit() +func (client VirtualNetworkClient) CreateVirtualCircuit(ctx context.Context, request CreateVirtualCircuitRequest) (response CreateVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -3656,40 +4164,42 @@ func (client VirtualNetworkClient) CreateDav(ctx context.Context, request Create request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createDav, policy) + ociResponse, err = common.Retry(ctx, request, client.createVirtualCircuit, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateDavResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateVirtualCircuitResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateDavResponse{} + response = CreateVirtualCircuitResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateDavResponse); ok { + if convertedResponse, ok := ociResponse.(CreateVirtualCircuitResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateDavResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateVirtualCircuitResponse") } return } -// createDav implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createDav(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createVirtualCircuit implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createVirtualCircuit(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/davs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateDavResponse + var response CreateVirtualCircuitResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuit/CreateVirtualCircuit" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateVirtualCircuit", apiReferenceLink) return response, err } @@ -3697,17 +4207,12 @@ func (client VirtualNetworkClient) createDav(ctx context.Context, request common return response, err } -// CreateDhcpOptions Creates a new set of DHCP options for the specified VCN. For more information, see -// DhcpOptions. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of -// 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/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. -func (client VirtualNetworkClient) CreateDhcpOptions(ctx context.Context, request CreateDhcpOptionsRequest) (response CreateDhcpOptionsResponse, err error) { +// 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 { @@ -3721,40 +4226,42 @@ func (client VirtualNetworkClient) CreateDhcpOptions(ctx context.Context, reques request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createDhcpOptions, policy) + ociResponse, err = common.Retry(ctx, request, client.createVlan, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateVlanResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateDhcpOptionsResponse{} + response = CreateVlanResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateDhcpOptionsResponse); ok { + if convertedResponse, ok := ociResponse.(CreateVlanResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateDhcpOptionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateVlanResponse") } return } -// createDhcpOptions implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createVlan implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createVlan(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/dhcps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vlans", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateDhcpOptionsResponse + var response CreateVlanResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vlan/CreateVlan" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateVlan", apiReferenceLink) return response, err } @@ -3762,17 +4269,18 @@ func (client VirtualNetworkClient) createDhcpOptions(ctx context.Context, reques return response, err } -// 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/iaas/Content/Network/Tasks/managingDRGs.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/iaas/Content/Identity/Concepts/overview.htm). +// CreateVtap Creates a virtual test access point (VTAP) in the specified compartment. +// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. +// For more information about 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 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. -func (client VirtualNetworkClient) CreateDrg(ctx context.Context, request CreateDrgRequest) (response CreateDrgResponse, err error) { +// You may optionally specify a *display name* for the VTAP, otherwise a default is provided. +// It does not have to be unique, and you can change it. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtap API. +func (client VirtualNetworkClient) CreateVtap(ctx context.Context, request CreateVtapRequest) (response CreateVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -3786,40 +4294,42 @@ func (client VirtualNetworkClient) CreateDrg(ctx context.Context, request Create request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.createDrg, policy) + ociResponse, err = common.Retry(ctx, request, client.createVtap, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CreateVtapResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateDrgResponse{} + response = CreateVtapResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateDrgResponse); ok { + if convertedResponse, ok := ociResponse.(CreateVtapResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateDrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into CreateVtapResponse") } return } -// createDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// createVtap implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createVtap(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vtaps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateDrgResponse + var response CreateVtapResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/CreateVtap" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateVtap", apiReferenceLink) return response, err } @@ -3827,16 +4337,16 @@ func (client VirtualNetworkClient) createDrg(ctx context.Context, request common return response, err } -// CreateDrgAttachment Attaches the specified DRG to the specified network resource. A VCN can be attached to only one DRG -// at a time, but a DRG can be attached to more than one VCN. The response includes a `DrgAttachment` -// object with its own OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). For more information about DRGs, see -// 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 currently selected compartment. -// For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -func (client VirtualNetworkClient) CreateDrgAttachment(ctx context.Context, request CreateDrgAttachmentRequest) (response CreateDrgAttachmentResponse, err error) { +// 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 { @@ -3845,45 +4355,42 @@ func (client VirtualNetworkClient) CreateDrgAttachment(ctx context.Context, requ 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.createDrgAttachment, policy) + 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 = CreateDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateDrgAttachmentResponse{} + response = DeleteByoipRangeResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateDrgAttachmentResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteByoipRangeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateDrgAttachmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteByoipRangeResponse") } return } -// createDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/byoipRanges/{byoipRangeId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateDrgAttachmentResponse + var response DeleteByoipRangeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/DeleteByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteByoipRange", apiReferenceLink) return response, err } @@ -3891,11 +4398,13 @@ func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, requ return response, err } -// CreateDrgRouteDistribution Creates a new route distribution for the specified DRG. -// Assign the route distribution as an import distribution to a DRG route table using the `UpdateDrgRouteTable` or `CreateDrgRouteTable` operations. -// Assign the route distribution as an export distribution to a DRG attachment -// using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations. -func (client VirtualNetworkClient) CreateDrgRouteDistribution(ctx context.Context, request CreateDrgRouteDistributionRequest) (response CreateDrgRouteDistributionResponse, err error) { +// DeleteCaptureFilter Deletes the specified VTAP capture filter. This is an asynchronous operation. The VTAP capture filter's `lifecycleState` will +// change to TERMINATING temporarily until the VTAP capture filter is completely removed. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilter API. +func (client VirtualNetworkClient) DeleteCaptureFilter(ctx context.Context, request DeleteCaptureFilterRequest) (response DeleteCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -3904,45 +4413,42 @@ func (client VirtualNetworkClient) CreateDrgRouteDistribution(ctx context.Contex 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.createDrgRouteDistribution, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteCaptureFilter, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = CreateDrgRouteDistributionResponse{} + response = DeleteCaptureFilterResponse{} } } return } - if convertedResponse, ok := ociResponse.(CreateDrgRouteDistributionResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteCaptureFilterResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateDrgRouteDistributionResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteCaptureFilterResponse") } return } -// createDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteCaptureFilter implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/captureFilters/{captureFilterId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateDrgRouteDistributionResponse + var response DeleteCaptureFilterResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/DeleteCaptureFilter" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteCaptureFilter", apiReferenceLink) return response, err } @@ -3950,8984 +4456,59 @@ func (client VirtualNetworkClient) createDrgRouteDistribution(ctx context.Contex return response, err } -// CreateDrgRouteTable Creates a new DRG route table for the specified DRG. Assign the DRG route table to a DRG attachment -// using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations. -func (client VirtualNetworkClient) CreateDrgRouteTable(ctx context.Context, request CreateDrgRouteTableRequest) (response CreateDrgRouteTableResponse, err error) { +// 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. +// A default retry strategy applies to this operation DeleteCpe() +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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createDrgRouteTable, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateDrgRouteTableResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateDrgRouteTableResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateDrgRouteTableResponse") - } - return -} - -// createDrgRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateDrgRouteTableResponse - 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 -} - -// CreateEndpointService Creates an endpoint service in the specified service VCN and specified compartment. -func (client VirtualNetworkClient) CreateEndpointService(ctx context.Context, request CreateEndpointServiceRequest) (response CreateEndpointServiceResponse, 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.createEndpointService, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateEndpointServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateEndpointServiceResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateEndpointServiceResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateEndpointServiceResponse") - } - return -} - -// createEndpointService implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createEndpointService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/endpointServices", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateEndpointServiceResponse - 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 -} - -// CreateFlowLogConfig Creates a new flow log configuration in the specified compartment. -func (client VirtualNetworkClient) CreateFlowLogConfig(ctx context.Context, request CreateFlowLogConfigRequest) (response CreateFlowLogConfigResponse, 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.createFlowLogConfig, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateFlowLogConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateFlowLogConfigResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateFlowLogConfigResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateFlowLogConfigResponse") - } - return -} - -// createFlowLogConfig implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createFlowLogConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/flowLogConfigs", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateFlowLogConfigResponse - 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 -} - -// CreateFlowLogConfigAttachment Attaches a flow log configuration to a resource such as a subnet. The result is a -// FlowLogConfigAttachment. The process of -// attaching enables flow logs for the resource. A resource can have only a single -// flow log configuration attached to it. -func (client VirtualNetworkClient) CreateFlowLogConfigAttachment(ctx context.Context, request CreateFlowLogConfigAttachmentRequest) (response CreateFlowLogConfigAttachmentResponse, 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.createFlowLogConfigAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateFlowLogConfigAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateFlowLogConfigAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateFlowLogConfigAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateFlowLogConfigAttachmentResponse") - } - return -} - -// createFlowLogConfigAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createFlowLogConfigAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/flowLogConfigAttachments", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateFlowLogConfigAttachmentResponse - 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 -} - -// CreateIPSecConnection Creates a new IPSec connection between the specified DRG and CPE. For more information, see -// Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.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 -// the static routes. For more information, see the important note in -// IPSecConnection. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the -// IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment -// 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/iaas/Content/Identity/Concepts/overview.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 -// with tunnel-specific information. For tunnel status and the required configuration information, see: -// - IPSecConnectionTunnel -// - 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 -// CPE Configuration (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createIPSecConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateIPSecConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateIPSecConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateIPSecConnectionResponse") - } - return -} - -// createIPSecConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipsecConnections", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateIPSecConnectionResponse - 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 -} - -// CreateInternalDnsRecord Creates a new Dns Record. -func (client VirtualNetworkClient) CreateInternalDnsRecord(ctx context.Context, request CreateInternalDnsRecordRequest) (response CreateInternalDnsRecordResponse, 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.createInternalDnsRecord, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternalDnsRecordResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternalDnsRecordResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternalDnsRecordResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternalDnsRecordResponse") - } - return -} - -// createInternalDnsRecord implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternalDnsRecord(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalDnsRecords", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternalDnsRecordResponse - 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 -} - -// CreateInternalDrg This is only used for internal operations to support TRANSIT HUB. Creates a new dynamic routing gateway (DRG) -// of type DRG_TRANSIT_HUB in the specified compartment. Creates a new dynamic routing gateway (DRG) in the specified -// compartment. For more information, 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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/iaas/Content/Identity/Concepts/overview.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. -func (client VirtualNetworkClient) CreateInternalDrg(ctx context.Context, request CreateInternalDrgRequest) (response CreateInternalDrgResponse, 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.createInternalDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternalDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternalDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternalDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternalDrgResponse") - } - return -} - -// createInternalDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternalDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalDrgs", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternalDrgResponse - 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 -} - -// CreateInternalDrgAttachment Connects the specified DRG to a specified network resource type. A VCN can be attached to only one DRG at a time, -// but a DRG can be attached to more than one VCN. The response includes a `DrgAttachment` object with its own OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). For more -// information about DRGs, see -// 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 its DRG. -// For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -func (client VirtualNetworkClient) CreateInternalDrgAttachment(ctx context.Context, request CreateInternalDrgAttachmentRequest) (response CreateInternalDrgAttachmentResponse, 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.createInternalDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternalDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternalDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternalDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternalDrgAttachmentResponse") - } - return -} - -// createInternalDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternalDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalDrgAttachments", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternalDrgAttachmentResponse - 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 -} - -// CreateInternalGenericGateway Request to create an internal generic gateway -func (client VirtualNetworkClient) CreateInternalGenericGateway(ctx context.Context, request CreateInternalGenericGatewayRequest) (response CreateInternalGenericGatewayResponse, 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.createInternalGenericGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternalGenericGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternalGenericGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternalGenericGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternalGenericGatewayResponse") - } - return -} - -// createInternalGenericGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternalGenericGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalGenericGateways", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternalGenericGatewayResponse - 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 -} - -// CreateInternalPublicIp Creates an internal 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/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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 -// assigned to a private IP, and only to the *primary* private IP on a VNIC, not a secondary -// private IP. Exception: If you create a NatGateway, Oracle -// automatically assigns the NAT gateway a regional ephemeral public IP that you cannot remove. -// * **For a reserved public IP:** You may also optionally assign the public IP to a private -// IP by specifying `privateIpId`. Or you can later assign the public IP with -// UpdatePublicIp. -// **Note:** When assigning a public IP to a private IP, the private IP must not already have -// a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned. -// 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. -func (client VirtualNetworkClient) CreateInternalPublicIp(ctx context.Context, request CreateInternalPublicIpRequest) (response CreateInternalPublicIpResponse, 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.createInternalPublicIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternalPublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternalPublicIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternalPublicIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternalPublicIpResponse") - } - return -} - -// createInternalPublicIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternalPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalPublicIps", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternalPublicIpResponse - 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 -} - -// CreateInternalVnic Create a new VNIC. -func (client VirtualNetworkClient) CreateInternalVnic(ctx context.Context, request CreateInternalVnicRequest) (response CreateInternalVnicResponse, 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.createInternalVnic, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternalVnicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternalVnicResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternalVnicResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternalVnicResponse") - } - return -} - -// createInternalVnic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternalVnic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternalVnicResponse - 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 -} - -// CreateInternalVnicAttachment Attaches the specified VNIC. -func (client VirtualNetworkClient) CreateInternalVnicAttachment(ctx context.Context, request CreateInternalVnicAttachmentRequest) (response CreateInternalVnicAttachmentResponse, 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.createInternalVnicAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternalVnicAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternalVnicAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternalVnicAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternalVnicAttachmentResponse") - } - return -} - -// createInternalVnicAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternalVnicAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics/{internalVnicId}/attachment", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternalVnicAttachmentResponse - 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 -} - -// CreateInternetGateway Creates a new internet gateway for the specified VCN. For more information, see -// 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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/iaas/Content/Identity/Concepts/overview.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 -// the subnet's route table (for example, 0.0.0.0/0 > internet gateway). See -// UpdateRouteTable. -// You must specify whether the internet gateway is enabled when you create it. If it's disabled, that means no -// 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. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createInternetGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateInternetGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateInternetGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateInternetGatewayResponse") - } - return -} - -// createInternetGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internetGateways", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateInternetGatewayResponse - 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 -} - -// CreateIpv6 Creates an IPv6 for the specified VNIC. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createIpv6, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateIpv6Response{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateIpv6Response); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateIpv6Response") - } - return -} - -// createIpv6 implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipv6", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateIpv6Response - 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 -} - -// CreateLocalPeeringConnection Creates a new local peering connection for the specified VCN. -func (client VirtualNetworkClient) CreateLocalPeeringConnection(ctx context.Context, request CreateLocalPeeringConnectionRequest) (response CreateLocalPeeringConnectionResponse, 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.createLocalPeeringConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateLocalPeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateLocalPeeringConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateLocalPeeringConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateLocalPeeringConnectionResponse") - } - return -} - -// createLocalPeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createLocalPeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringConnections", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateLocalPeeringConnectionResponse - 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 -} - -// CreateLocalPeeringGateway Creates a new local peering gateway (LPG) for the specified VCN. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createLocalPeeringGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateLocalPeeringGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateLocalPeeringGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateLocalPeeringGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateLocalPeeringGatewayResponse") - } - return -} - -// createLocalPeeringGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createLocalPeeringGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringGateways", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateLocalPeeringGatewayResponse - 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 -} - -// 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. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createNatGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateNatGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateNatGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateNatGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateNatGatewayResponse") - } - return -} - -// createNatGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createNatGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/natGateways", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateNatGatewayResponse - 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 -} - -// CreateNetworkSecurityGroup Creates a new network security group for the specified VCN. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createNetworkSecurityGroup, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateNetworkSecurityGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateNetworkSecurityGroupResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateNetworkSecurityGroupResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateNetworkSecurityGroupResponse") - } - return -} - -// createNetworkSecurityGroup implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createNetworkSecurityGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/networkSecurityGroups", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateNetworkSecurityGroupResponse - 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 -} - -// CreatePrivateAccessGateway Creates a new private access gateway (PAG) for the specified service VCN and specified compartment. -// After creating the gateway, update the route tables in your service VCN to send all traffic -// destined for private endpoints to this gateway. -func (client VirtualNetworkClient) CreatePrivateAccessGateway(ctx context.Context, request CreatePrivateAccessGatewayRequest) (response CreatePrivateAccessGatewayResponse, 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.createPrivateAccessGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreatePrivateAccessGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreatePrivateAccessGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreatePrivateAccessGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreatePrivateAccessGatewayResponse") - } - return -} - -// createPrivateAccessGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createPrivateAccessGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateAccessGateways", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreatePrivateAccessGatewayResponse - 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 -} - -// CreatePrivateEndpoint Creates a private endpoint in the specified subnet (in the customer's VCN) and the specified -// compartment. -func (client VirtualNetworkClient) CreatePrivateEndpoint(ctx context.Context, request CreatePrivateEndpointRequest) (response CreatePrivateEndpointResponse, 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.createPrivateEndpoint, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreatePrivateEndpointResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreatePrivateEndpointResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreatePrivateEndpointResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreatePrivateEndpointResponse") - } - return -} - -// createPrivateEndpoint implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createPrivateEndpoint(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateEndpoints", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreatePrivateEndpointResponse - 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 -} - -// 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/iaas/Content/Network/Tasks/managingIPaddresses.htm). -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createPrivateIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreatePrivateIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreatePrivateIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreatePrivateIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreatePrivateIpResponse") - } - return -} - -// createPrivateIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createPrivateIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreatePrivateIpResponse - 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 -} - -// CreatePrivateIpNextHop Creates the nextHop configuration for the specified private IP. -func (client VirtualNetworkClient) CreatePrivateIpNextHop(ctx context.Context, request CreatePrivateIpNextHopRequest) (response CreatePrivateIpNextHopResponse, 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.createPrivateIpNextHop, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreatePrivateIpNextHopResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreatePrivateIpNextHopResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreatePrivateIpNextHopResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreatePrivateIpNextHopResponse") - } - return -} - -// createPrivateIpNextHop implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createPrivateIpNextHop(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps/{privateIpId}/nextHop", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreatePrivateIpNextHopResponse - 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 -} - -// 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/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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 -// assigned to a private IP, and only to the *primary* private IP on a VNIC, not a secondary -// private IP. Exception: If you create a NatGateway, Oracle -// automatically assigns the NAT gateway a regional ephemeral public IP that you cannot remove. -// * **For a reserved public IP:** You may also optionally assign the public IP to a private -// IP by specifying `privateIpId`. Or you can later assign the public IP with -// UpdatePublicIp. -// **Note:** When assigning a public IP to a private IP, the private IP must not already have -// a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned. -// 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. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createPublicIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreatePublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreatePublicIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreatePublicIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreatePublicIpResponse") - } - return -} - -// createPublicIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreatePublicIpResponse - 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 -} - -// CreatePublicIpPool Creates a public IP pool. -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, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools", binaryReqBody, extraHeaders) - 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. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createRemotePeeringConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateRemotePeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateRemotePeeringConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateRemotePeeringConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateRemotePeeringConnectionResponse") - } - return -} - -// createRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/remotePeeringConnections", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateRemotePeeringConnectionResponse - 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 -} - -// 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/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/iaas/Content/Network/Tasks/managingroutetables.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createRouteTable, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateRouteTableResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateRouteTableResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateRouteTableResponse") - } - return -} - -// createRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/routeTables", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateRouteTableResponse - 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 -} - -// CreateScanProxy Add customer's Real Application Cluster (RAC)'s SCAN listener information -// including FQDN/IPs and the port. -func (client VirtualNetworkClient) CreateScanProxy(ctx context.Context, request CreateScanProxyRequest) (response CreateScanProxyResponse, 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.createScanProxy, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateScanProxyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateScanProxyResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateScanProxyResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateScanProxyResponse") - } - return -} - -// createScanProxy implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createScanProxy(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateEndpoints/{privateEndpointId}/scanProxy", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateScanProxyResponse - 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 -} - -// CreateSecurityList Creates a new security list for the specified VCN. For more information -// 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/iaas/Content/General/Concepts/servicelimits.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createSecurityList, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateSecurityListResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateSecurityListResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateSecurityListResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateSecurityListResponse") - } - return -} - -// createSecurityList implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createSecurityList(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/securityLists", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateSecurityListResponse - 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 -} - -// CreateServiceGateway Creates a new service gateway in the specified compartment. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createServiceGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateServiceGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateServiceGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateServiceGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateServiceGatewayResponse") - } - return -} - -// createServiceGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createServiceGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateServiceGatewayResponse - 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 -} - -// 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/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/iaas/Content/General/Concepts/servicelimits.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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/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/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/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/iaas/Content/Network/Concepts/dns.htm). -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createSubnet, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateSubnetResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateSubnetResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateSubnetResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateSubnetResponse") - } - return -} - -// createSubnet implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createSubnet(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateSubnetResponse - 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 -} - -// CreateVcn Creates a new virtual cloud network (VCN). For more information, see -// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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/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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 a Site-to-Site VPN -// or FastConnect. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createVcn, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateVcnResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateVcnResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateVcnResponse") - } - return -} - -// createVcn implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateVcnResponse - 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 -} - -// CreateVcnDrg Creates a new dynamic routing gateway (DRG) in the specified compartment. For more information, -// 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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/iaas/Content/Identity/Concepts/overview.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. -func (client VirtualNetworkClient) CreateVcnDrg(ctx context.Context, request CreateVcnDrgRequest) (response CreateVcnDrgResponse, 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.createVcnDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateVcnDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateVcnDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateVcnDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateVcnDrgResponse") - } - return -} - -// createVcnDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createVcnDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcn_drgs", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateVcnDrgResponse - 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 -} - -// CreateVcnDrgAttachment Attaches the specified DRG to the specified VCN. A VCN can be attached to only one DRG at a time. -// The response includes a `DrgAttachment` object with its own OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). For more -// information about DRGs, see -// 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/iaas/Content/Identity/Concepts/overview.htm). -func (client VirtualNetworkClient) CreateVcnDrgAttachment(ctx context.Context, request CreateVcnDrgAttachmentRequest) (response CreateVcnDrgAttachmentResponse, 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.createVcnDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateVcnDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateVcnDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateVcnDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateVcnDrgAttachmentResponse") - } - return -} - -// createVcnDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createVcnDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcn_drgAttachments", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateVcnDrgAttachmentResponse - 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 -} - -// CreateVirtualCircuit Creates a new virtual circuit to use with Oracle Cloud -// Infrastructure FastConnect. For more information, see -// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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/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 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/iaas/Content/Network/Tasks/managingroutetables.htm). -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createVirtualCircuit, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateVirtualCircuitResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateVirtualCircuitResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateVirtualCircuitResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateVirtualCircuitResponse") - } - return -} - -// createVirtualCircuit implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createVirtualCircuit(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateVirtualCircuitResponse - 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 -} - -// CreateVlan Creates a VLAN in the specified VCN and the specified compartment. -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() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createVlan, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateVlanResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateVlanResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateVlanResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateVlanResponse") - } - return -} - -// createVlan implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createVlan(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vlans", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateVlanResponse - 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 -} - -// CreateVnicWorker Creates a vnicWorker for the specified service VNIC. -func (client VirtualNetworkClient) CreateVnicWorker(ctx context.Context, request CreateVnicWorkerRequest) (response CreateVnicWorkerResponse, 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.createVnicWorker, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateVnicWorkerResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateVnicWorkerResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateVnicWorkerResponse") - } - return -} - -// createVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vnicWorkers", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateVnicWorkerResponse - 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 -} - -// CreateVtap Creates a virtual test access point (VTAP) in the specified compartment. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. -// For more information about 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 may optionally specify a *display name* for the VTAP, otherwise a default is provided. -// It does not have to be unique, and you can change it. -func (client VirtualNetworkClient) CreateVtap(ctx context.Context, request CreateVtapRequest) (response CreateVtapResponse, 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.createVtap, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateVtapResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateVtapResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateVtapResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateVtapResponse") - } - return -} - -// createVtap implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) createVtap(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vtaps", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateVtapResponse - 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 -} - -// 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. -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, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/byoipRanges/{byoipRangeId}", binaryReqBody, extraHeaders) - 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 -} - -// DeleteC3Drg Deletes the specified DRG. The DRG must not be attached to a network resource or be connected to your on-premise -// 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. -func (client VirtualNetworkClient) DeleteC3Drg(ctx context.Context, request DeleteC3DrgRequest) (response DeleteC3DrgResponse, 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.deleteC3Drg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteC3DrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteC3DrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteC3DrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteC3DrgResponse") - } - return -} - -// deleteC3Drg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteC3Drg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/c3_drgs/{drgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteC3DrgResponse - 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 -} - -// DeleteC3DrgAttachment Detaches a DRG from a network 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. -// There must be no DRG route rules that list the DRG attachment as a target. You can delete a DRG attachment that is -// referenced in DRG route map policies. -func (client VirtualNetworkClient) DeleteC3DrgAttachment(ctx context.Context, request DeleteC3DrgAttachmentRequest) (response DeleteC3DrgAttachmentResponse, 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.deleteC3DrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteC3DrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteC3DrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteC3DrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteC3DrgAttachmentResponse") - } - return -} - -// deleteC3DrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteC3DrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/c3_drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteC3DrgAttachmentResponse - 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 -} - -// DeleteCaptureFilter Deletes the specified VTAP capture filter. This is an asynchronous operation. The VTAP capture filter's `lifecycleState` will -// change to TERMINATING temporarily until the VTAP capture filter is completely removed. -func (client VirtualNetworkClient) DeleteCaptureFilter(ctx context.Context, request DeleteCaptureFilterRequest) (response DeleteCaptureFilterResponse, 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.deleteCaptureFilter, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteCaptureFilterResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteCaptureFilterResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteCaptureFilterResponse") - } - return -} - -// deleteCaptureFilter implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/captureFilters/{captureFilterId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteCaptureFilterResponse - 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 -} - -// DeleteClientVpn Delete the specific ClientVpn by given the clientVpnEndpointid. -func (client VirtualNetworkClient) DeleteClientVpn(ctx context.Context, request DeleteClientVpnRequest) (response DeleteClientVpnResponse, 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.deleteClientVpn, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteClientVpnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteClientVpnResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteClientVpnResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteClientVpnResponse") - } - return -} - -// deleteClientVpn implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteClientVpn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/clientVpns/{clientVpnId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteClientVpnResponse - 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 -} - -// DeleteClientVpnUser Delete the specific ClientVpnUser by given an id of ClientVpn and a username. -func (client VirtualNetworkClient) DeleteClientVpnUser(ctx context.Context, request DeleteClientVpnUserRequest) (response DeleteClientVpnUserResponse, 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.deleteClientVpnUser, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteClientVpnUserResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteClientVpnUserResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteClientVpnUserResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteClientVpnUserResponse") - } - return -} - -// deleteClientVpnUser implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteClientVpnUser(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/clientVpns/{clientVpnId}/users/{userName}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteClientVpnUserResponse - 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteCpe, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteCpeResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteCpeResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteCpeResponse") - } - return -} - -// deleteCpe implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/cpes/{cpeId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteCpeResponse - 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 -} - -// DeleteCrossConnect Deletes the specified cross-connect. It must not be mapped to a -// VirtualCircuit. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteCrossConnect, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteCrossConnectResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteCrossConnectResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteCrossConnectResponse") - } - return -} - -// deleteCrossConnect implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/crossConnects/{crossConnectId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteCrossConnectResponse - 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 -} - -// DeleteCrossConnectGroup Deletes the specified cross-connect group. It must not contain any -// cross-connects, and it cannot be mapped to a -// VirtualCircuit. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteCrossConnectGroup, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteCrossConnectGroupResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteCrossConnectGroupResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteCrossConnectGroupResponse") - } - return -} - -// deleteCrossConnectGroup implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/crossConnectGroups/{crossConnectGroupId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteCrossConnectGroupResponse - 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 -} - -// DeleteDav Deletes a Direct Attached Vnic. -func (client VirtualNetworkClient) DeleteDav(ctx context.Context, request DeleteDavRequest) (response DeleteDavResponse, 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.deleteDav, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteDavResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteDavResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteDavResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteDavResponse") - } - return -} - -// deleteDav implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteDav(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/davs/{davId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteDavResponse - 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 -} - -// DeleteDhcpOptions Deletes the specified set of DHCP options, but only if it's not associated with a subnet. You can't delete a -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteDhcpOptions, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteDhcpOptionsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteDhcpOptionsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteDhcpOptionsResponse") - } - return -} - -// deleteDhcpOptions implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/dhcps/{dhcpId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteDhcpOptionsResponse - 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 -} - -// DeleteDrg Deletes the specified DRG. The DRG must not be attached to a VCN or be connected to your on-premise -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgResponse") - } - return -} - -// deleteDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgs/{drgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteDrgResponse - 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 -} - -// DeleteDrgAttachment Detaches a DRG from a network resource by deleting the corresponding `DrgAttachment` resource. This is an asynchronous -// operation. The attachment's `lifecycleState` will temporarily change to DETACHING until the attachment -// is completely removed. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgAttachmentResponse") - } - return -} - -// deleteDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteDrgAttachmentResponse - 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 -} - -// DeleteDrgRouteDistribution Deletes the specified route distribution. You can't delete a route distribution currently in use by a DRG attachment or DRG route table. -// Remove the DRG route distribution from a DRG attachment or DRG route table by using the "RemoveExportDrgRouteDistribution" or "RemoveImportDrgRouteDistribution' operations. -func (client VirtualNetworkClient) DeleteDrgRouteDistribution(ctx context.Context, request DeleteDrgRouteDistributionRequest) (response DeleteDrgRouteDistributionResponse, 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.deleteDrgRouteDistribution, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteDrgRouteDistributionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteDrgRouteDistributionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgRouteDistributionResponse") - } - return -} - -// deleteDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgRouteDistributions/{drgRouteDistributionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteDrgRouteDistributionResponse - 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 -} - -// DeleteDrgRouteTable Deletes the specified DRG route table. There must not be any DRG attachments assigned. -func (client VirtualNetworkClient) DeleteDrgRouteTable(ctx context.Context, request DeleteDrgRouteTableRequest) (response DeleteDrgRouteTableResponse, 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.deleteDrgRouteTable, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteDrgRouteTableResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteDrgRouteTableResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgRouteTableResponse") - } - return -} - -// deleteDrgRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgRouteTables/{drgRouteTableId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteDrgRouteTableResponse - 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 -} - -// DeleteEndpointService Deletes the specified endpoint service. -// There must not be any private endpoints associated with the endpoint service. -func (client VirtualNetworkClient) DeleteEndpointService(ctx context.Context, request DeleteEndpointServiceRequest) (response DeleteEndpointServiceResponse, 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.deleteEndpointService, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteEndpointServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteEndpointServiceResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteEndpointServiceResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteEndpointServiceResponse") - } - return -} - -// deleteEndpointService implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteEndpointService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/endpointServices/{endpointServiceId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteEndpointServiceResponse - 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 -} - -// DeleteFlowLogConfig Deletes the specified flow log configuration. It must not be attached to a resource. -func (client VirtualNetworkClient) DeleteFlowLogConfig(ctx context.Context, request DeleteFlowLogConfigRequest) (response DeleteFlowLogConfigResponse, 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.deleteFlowLogConfig, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteFlowLogConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteFlowLogConfigResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteFlowLogConfigResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteFlowLogConfigResponse") - } - return -} - -// deleteFlowLogConfig implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteFlowLogConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/flowLogConfigs/{flowLogConfigId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteFlowLogConfigResponse - 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 -} - -// DeleteFlowLogConfigAttachment Deletes the specified flow log configuration attachment. This effectively disables flow logs -// for the attached resource. -func (client VirtualNetworkClient) DeleteFlowLogConfigAttachment(ctx context.Context, request DeleteFlowLogConfigAttachmentRequest) (response DeleteFlowLogConfigAttachmentResponse, 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.deleteFlowLogConfigAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteFlowLogConfigAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteFlowLogConfigAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteFlowLogConfigAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteFlowLogConfigAttachmentResponse") - } - return -} - -// deleteFlowLogConfigAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteFlowLogConfigAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/flowLogConfigAttachments/{flowLogConfigAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteFlowLogConfigAttachmentResponse - 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 -} - -// DeleteIPSecConnection Deletes the specified IPSec connection. If your goal is to disable the Site-to-Site VPN between your VCN and -// on-premises network, it's easiest to simply detach the DRG but keep all the Site-to-Site VPN components intact. -// If you were to delete all the components and then later need to create an Site-to-Site VPN again, you would -// need to configure your on-premises router again with the new information returned from -// CreateIPSecConnection. -// This is an asynchronous operation. The connection's `lifecycleState` will change to TERMINATING temporarily -// until the connection is completely removed. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteIPSecConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteIPSecConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteIPSecConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteIPSecConnectionResponse") - } - return -} - -// deleteIPSecConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/ipsecConnections/{ipscId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteIPSecConnectionResponse - 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 -} - -// DeleteInternalDnsRecord Deletes a DnsRecord. -func (client VirtualNetworkClient) DeleteInternalDnsRecord(ctx context.Context, request DeleteInternalDnsRecordRequest) (response DeleteInternalDnsRecordResponse, 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.deleteInternalDnsRecord, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternalDnsRecordResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternalDnsRecordResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternalDnsRecordResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternalDnsRecordResponse") - } - return -} - -// deleteInternalDnsRecord implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternalDnsRecord(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internalDnsRecords/{internalDnsRecordId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternalDnsRecordResponse - 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 -} - -// DeleteInternalDrg Deletes the specified DRG. The DRG must not be attached to a network resource or be connected to your on-premise -// 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. -func (client VirtualNetworkClient) DeleteInternalDrg(ctx context.Context, request DeleteInternalDrgRequest) (response DeleteInternalDrgResponse, 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.deleteInternalDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternalDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternalDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternalDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternalDrgResponse") - } - return -} - -// deleteInternalDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternalDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internalDrgs/{internalDrgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternalDrgResponse - 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 -} - -// DeleteInternalDrgAttachment Detaches a DRG from a VCN by deleting the corresponding `DrgAttachment`. -func (client VirtualNetworkClient) DeleteInternalDrgAttachment(ctx context.Context, request DeleteInternalDrgAttachmentRequest) (response DeleteInternalDrgAttachmentResponse, 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.deleteInternalDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternalDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternalDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternalDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternalDrgAttachmentResponse") - } - return -} - -// deleteInternalDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternalDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internalDrgAttachments/{internalDrgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternalDrgAttachmentResponse - 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 -} - -// DeleteInternalGenericGateway Deletes an internal generic gateway. -func (client VirtualNetworkClient) DeleteInternalGenericGateway(ctx context.Context, request DeleteInternalGenericGatewayRequest) (response DeleteInternalGenericGatewayResponse, 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.deleteInternalGenericGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternalGenericGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternalGenericGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternalGenericGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternalGenericGatewayResponse") - } - return -} - -// deleteInternalGenericGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternalGenericGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internalGenericGateways/{internalGenericGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternalGenericGatewayResponse - 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 -} - -// DeleteInternalPublicIp Unassigns and deletes the specified internal public IP (either ephemeral or reserved). -// You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The public IP address is returned to the -// Oracle Cloud Infrastructure public IP pool. -// For an assigned reserved public IP, the initial unassignment portion of this operation -// is asynchronous. Poll the public IP's `lifecycleState` to determine -// if the operation succeeded. -// If you want to simply unassign a reserved public IP and return it to your pool -// of reserved public IPs, instead use UpdateInternalPublicIp -func (client VirtualNetworkClient) DeleteInternalPublicIp(ctx context.Context, request DeleteInternalPublicIpRequest) (response DeleteInternalPublicIpResponse, 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.deleteInternalPublicIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternalPublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternalPublicIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternalPublicIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternalPublicIpResponse") - } - return -} - -// deleteInternalPublicIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternalPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internalPublicIps/{internalPublicIpId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternalPublicIpResponse - 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 -} - -// DeleteInternalVnic Deletes specified internal Vnic -func (client VirtualNetworkClient) DeleteInternalVnic(ctx context.Context, request DeleteInternalVnicRequest) (response DeleteInternalVnicResponse, 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.deleteInternalVnic, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternalVnicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternalVnicResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternalVnicResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternalVnicResponse") - } - return -} - -// deleteInternalVnic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternalVnic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internalVnics/{internalVnicId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternalVnicResponse - 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 -} - -// DeleteInternalVnicAttachment Deletes the specified service VNIC attachment. -func (client VirtualNetworkClient) DeleteInternalVnicAttachment(ctx context.Context, request DeleteInternalVnicAttachmentRequest) (response DeleteInternalVnicAttachmentResponse, 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.deleteInternalVnicAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternalVnicAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternalVnicAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternalVnicAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternalVnicAttachmentResponse") - } - return -} - -// deleteInternalVnicAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternalVnicAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internalVnics/{internalVnicId}/attachment", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternalVnicAttachmentResponse - 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 -} - -// DeleteInternetGateway Deletes the specified internet gateway. The internet gateway does not have to be disabled, but -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteInternetGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteInternetGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteInternetGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteInternetGatewayResponse") - } - return -} - -// deleteInternetGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internetGateways/{igId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteInternetGatewayResponse - 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 -} - -// DeleteIpv6 Unassigns and deletes the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). -// The IPv6 address is returned to the subnet's pool of available addresses. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteIpv6, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteIpv6Response{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteIpv6Response); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteIpv6Response") - } - return -} - -// deleteIpv6 implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/ipv6/{ipv6Id}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteIpv6Response - 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 -} - -// DeleteLocalPeeringConnection Deletes the specified local peering connection. -// This is an asynchronous operation; the local peering connection's `lifecycleState` will change to TERMINATING temporarily -// until the local peering connection is completely removed. -func (client VirtualNetworkClient) DeleteLocalPeeringConnection(ctx context.Context, request DeleteLocalPeeringConnectionRequest) (response DeleteLocalPeeringConnectionResponse, 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.deleteLocalPeeringConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteLocalPeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteLocalPeeringConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteLocalPeeringConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteLocalPeeringConnectionResponse") - } - return -} - -// deleteLocalPeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteLocalPeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/localPeeringConnections/{localPeeringConnectionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteLocalPeeringConnectionResponse - 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 -} - -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteLocalPeeringGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteLocalPeeringGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteLocalPeeringGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteLocalPeeringGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteLocalPeeringGatewayResponse") - } - return -} - -// deleteLocalPeeringGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteLocalPeeringGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/localPeeringGateways/{localPeeringGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteLocalPeeringGatewayResponse - 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 -} - -// DeleteNatGateway Deletes the specified NAT gateway. The NAT gateway does not have to be disabled, but there -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteNatGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteNatGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteNatGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteNatGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteNatGatewayResponse") - } - return -} - -// deleteNatGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteNatGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/natGateways/{natGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteNatGatewayResponse - 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 -} - -// DeleteNetworkSecurityGroup Deletes the specified network security group. The group must not contain any VNICs. -// To get a list of the VNICs in a network security group, use -// ListNetworkSecurityGroupVnics. -// Each returned NetworkSecurityGroupVnic object -// contains both the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC and the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC's parent resource (for example, -// the Compute instance that the VNIC is attached to). -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteNetworkSecurityGroup, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteNetworkSecurityGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteNetworkSecurityGroupResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteNetworkSecurityGroupResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteNetworkSecurityGroupResponse") - } - return -} - -// deleteNetworkSecurityGroup implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteNetworkSecurityGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/networkSecurityGroups/{networkSecurityGroupId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteNetworkSecurityGroupResponse - 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 -} - -// DeletePrivateAccessGateway Deletes the specified private access gateway (PAG). -func (client VirtualNetworkClient) DeletePrivateAccessGateway(ctx context.Context, request DeletePrivateAccessGatewayRequest) (response DeletePrivateAccessGatewayResponse, 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.deletePrivateAccessGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeletePrivateAccessGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeletePrivateAccessGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeletePrivateAccessGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeletePrivateAccessGatewayResponse") - } - return -} - -// deletePrivateAccessGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deletePrivateAccessGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/privateAccessGateways/{privateAccessGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeletePrivateAccessGatewayResponse - 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 -} - -// DeletePrivateEndpoint Deletes the specifed private endpoint. -func (client VirtualNetworkClient) DeletePrivateEndpoint(ctx context.Context, request DeletePrivateEndpointRequest) (response DeletePrivateEndpointResponse, 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.deletePrivateEndpoint, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeletePrivateEndpointResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeletePrivateEndpointResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeletePrivateEndpointResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeletePrivateEndpointResponse") - } - return -} - -// deletePrivateEndpoint implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deletePrivateEndpoint(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/privateEndpoints/{privateEndpointId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeletePrivateEndpointResponse - 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 -} - -// DeletePrivateIp Unassigns and deletes the specified private IP. You must -// specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The private IP address is returned to -// the subnet's pool of available addresses. -// 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/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), -// unassigning it from the VNIC causes that route rule to blackhole and the traffic -// will be dropped. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deletePrivateIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeletePrivateIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeletePrivateIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeletePrivateIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeletePrivateIpResponse") - } - return -} - -// deletePrivateIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deletePrivateIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/privateIps/{privateIpId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeletePrivateIpResponse - 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 -} - -// DeletePrivateIpNextHop Deletes nextHop configuration for the specified private IP. -func (client VirtualNetworkClient) DeletePrivateIpNextHop(ctx context.Context, request DeletePrivateIpNextHopRequest) (response DeletePrivateIpNextHopResponse, 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.deletePrivateIpNextHop, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeletePrivateIpNextHopResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeletePrivateIpNextHopResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeletePrivateIpNextHopResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeletePrivateIpNextHopResponse") - } - return -} - -// deletePrivateIpNextHop implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deletePrivateIpNextHop(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/privateIps/{privateIpId}/nextHop", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeletePrivateIpNextHopResponse - 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 -} - -// DeletePublicIp Unassigns and deletes the specified public IP (either ephemeral or reserved). -// You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The public IP address is returned to the -// Oracle Cloud Infrastructure public IP pool. -// **Note:** You cannot update, unassign, or delete the public IP that Oracle automatically -// assigned to an entity for you (such as a load balancer or NAT gateway). The public IP is -// automatically deleted if the assigned entity is terminated. -// For an assigned reserved public IP, the initial unassignment portion of this operation -// is asynchronous. Poll the public IP's `lifecycleState` to determine -// if the operation succeeded. -// If you want to simply unassign a reserved public IP and return it to your pool -// of reserved public IPs, instead use -// UpdatePublicIp. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deletePublicIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeletePublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeletePublicIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeletePublicIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeletePublicIpResponse") - } - return -} - -// deletePublicIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deletePublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/publicIps/{publicIpId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeletePublicIpResponse - 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 -} - -// 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. -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, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/publicIpPools/{publicIpPoolId}", binaryReqBody, extraHeaders) - 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteRemotePeeringConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteRemotePeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteRemotePeeringConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteRemotePeeringConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteRemotePeeringConnectionResponse") - } - return -} - -// deleteRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/remotePeeringConnections/{remotePeeringConnectionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteRemotePeeringConnectionResponse - 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 -} - -// DeleteReverseConnectionNatIp Deletes the reverse connection NAT IP address for the specified private endpoint and customer IP address. -func (client VirtualNetworkClient) DeleteReverseConnectionNatIp(ctx context.Context, request DeleteReverseConnectionNatIpRequest) (response DeleteReverseConnectionNatIpResponse, 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.deleteReverseConnectionNatIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteReverseConnectionNatIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteReverseConnectionNatIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteReverseConnectionNatIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteReverseConnectionNatIpResponse") - } - return -} - -// deleteReverseConnectionNatIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteReverseConnectionNatIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/privateEndpoints/{privateEndpointId}/reverseConnectionNatIps/{reverseConnectionCustomerIp}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteReverseConnectionNatIpResponse - 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 -} - -// DeleteRouteTable Deletes the specified route table, but only if it's not associated with a subnet. You can't delete a -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteRouteTable, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteRouteTableResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteRouteTableResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteRouteTableResponse") - } - return -} - -// deleteRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/routeTables/{rtId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteRouteTableResponse - 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 -} - -// DeleteScanProxy Deletes the specified ScanProxy. -func (client VirtualNetworkClient) DeleteScanProxy(ctx context.Context, request DeleteScanProxyRequest) (response DeleteScanProxyResponse, 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.deleteScanProxy, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteScanProxyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteScanProxyResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteScanProxyResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteScanProxyResponse") - } - return -} - -// deleteScanProxy implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteScanProxy(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/privateEndpoints/{privateEndpointId}/scanProxy/{scanProxyId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteScanProxyResponse - 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 -} - -// DeleteSecurityList Deletes the specified security list, but only if it's not associated with a subnet. You can't delete -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteSecurityList, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteSecurityListResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteSecurityListResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteSecurityListResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteSecurityListResponse") - } - return -} - -// deleteSecurityList implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteSecurityList(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/securityLists/{securityListId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteSecurityListResponse - 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 -} - -// DeleteServiceGateway Deletes the specified service gateway. There must not be a route table that lists the service -// gateway as a target. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteServiceGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteServiceGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteServiceGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteServiceGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteServiceGatewayResponse") - } - return -} - -// deleteServiceGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteServiceGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/serviceGateways/{serviceGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteServiceGatewayResponse - 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 -} - -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteSubnet, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteSubnetResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteSubnetResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteSubnetResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteSubnetResponse") - } - return -} - -// deleteSubnet implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteSubnet(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/subnets/{subnetId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteSubnetResponse - 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 -} - -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteVcn, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteVcnResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteVcnResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteVcnResponse") - } - return -} - -// deleteVcn implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vcns/{vcnId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteVcnResponse - 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 -} - -// DeleteVcnDrg Deletes the specified DRG. The DRG must not be attached to a VCN or be connected to your on-premise -// 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. -func (client VirtualNetworkClient) DeleteVcnDrg(ctx context.Context, request DeleteVcnDrgRequest) (response DeleteVcnDrgResponse, 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.deleteVcnDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteVcnDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteVcnDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteVcnDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteVcnDrgResponse") - } - return -} - -// deleteVcnDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteVcnDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vcn_drgs/{drgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteVcnDrgResponse - 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 -} - -// DeleteVcnDrgAttachment 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. -func (client VirtualNetworkClient) DeleteVcnDrgAttachment(ctx context.Context, request DeleteVcnDrgAttachmentRequest) (response DeleteVcnDrgAttachmentResponse, 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.deleteVcnDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteVcnDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteVcnDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteVcnDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteVcnDrgAttachmentResponse") - } - return -} - -// deleteVcnDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteVcnDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vcn_drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteVcnDrgAttachmentResponse - 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 -} - -// DeleteVirtualCircuit Deletes the specified virtual circuit. -// **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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteVirtualCircuit, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteVirtualCircuitResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteVirtualCircuitResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteVirtualCircuitResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteVirtualCircuitResponse") - } - return -} - -// deleteVirtualCircuit implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteVirtualCircuit(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/virtualCircuits/{virtualCircuitId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteVirtualCircuitResponse - 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 -} - -// DeleteVlan Deletes the specified VLAN, but only if there are no VNICs in the VLAN. -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() - } - ociResponse, err = common.Retry(ctx, request, client.deleteVlan, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteVlanResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteVlanResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteVlanResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteVlanResponse") - } - return -} - -// deleteVlan implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteVlan(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vlans/{vlanId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteVlanResponse - 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 -} - -// DeleteVnicWorker Deletes specified vnicWorker. -func (client VirtualNetworkClient) DeleteVnicWorker(ctx context.Context, request DeleteVnicWorkerRequest) (response DeleteVnicWorkerResponse, 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.deleteVnicWorker, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteVnicWorkerResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteVnicWorkerResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteVnicWorkerResponse") - } - return -} - -// deleteVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vnicWorkers/{vnicWorkerId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteVnicWorkerResponse - 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 -} - -// DeleteVtap Deletes the specified VTAP. This is an asynchronous operation. The VTAP's `lifecycleState` will change to -// TERMINATING temporarily until the VTAP is completely removed. -func (client VirtualNetworkClient) DeleteVtap(ctx context.Context, request DeleteVtapRequest) (response DeleteVtapResponse, 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.deleteVtap, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteVtapResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteVtapResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteVtapResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteVtapResponse") - } - return -} - -// deleteVtap implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) deleteVtap(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vtaps/{vtapId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteVtapResponse - 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 -} - -// DetachDav Detach the Direct Attached Vnic from instance. -func (client VirtualNetworkClient) DetachDav(ctx context.Context, request DetachDavRequest) (response DetachDavResponse, 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.detachDav, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DetachDavResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DetachDavResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DetachDavResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DetachDavResponse") - } - return -} - -// detachDav implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) detachDav(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/davs/{davId}/actions/detachDavFromInstance", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DetachDavResponse - 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 -} - -// DetachServiceId Removes the specified Service from the list of enabled -// `Service` objects for the specified gateway. You do not need to remove any route -// rules that specify this `Service` object's `cidrBlock` as the destination CIDR. However, consider -// removing the rules if your intent is to permanently disable use of the `Service` through this -// service gateway. -// **Note:** The `DetachServiceId` operation is an easy way to remove an individual `Service` from -// the service gateway. Compare it with -// UpdateServiceGateway, which replaces -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.detachServiceId, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DetachServiceIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DetachServiceIdResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DetachServiceIdResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DetachServiceIdResponse") - } - return -} - -// detachServiceId implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) detachServiceId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/detachService", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DetachServiceIdResponse - 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 -} - -// DetachVnicFromDestinationSmartNic Detaches VNIC, getting live migrated, from destination smart NIC. This API is called by compute -// as part of aborting an in-progress instance live migration. -// **Note** that this API cannot be called after API call to route traffic to destination smart NIC. -func (client VirtualNetworkClient) DetachVnicFromDestinationSmartNic(ctx context.Context, request DetachVnicFromDestinationSmartNicRequest) (response DetachVnicFromDestinationSmartNicResponse, 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.detachVnicFromDestinationSmartNic, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DetachVnicFromDestinationSmartNicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DetachVnicFromDestinationSmartNicResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DetachVnicFromDestinationSmartNicResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DetachVnicFromDestinationSmartNicResponse") - } - return -} - -// detachVnicFromDestinationSmartNic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) detachVnicFromDestinationSmartNic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics/{internalVnicId}/attachment/action/detachVnicFromDestinationSmartNic", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DetachVnicFromDestinationSmartNicResponse - 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 -} - -// DetachVnicFromSourceSmartNic Detaches VNIC, getting live migrated, from source smart NIC. This is the last step for live migration -// of the VNIC from source to destination smart NIC and removes all migration related information associated -// with it. -func (client VirtualNetworkClient) DetachVnicFromSourceSmartNic(ctx context.Context, request DetachVnicFromSourceSmartNicRequest) (response DetachVnicFromSourceSmartNicResponse, 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.detachVnicFromSourceSmartNic, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DetachVnicFromSourceSmartNicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DetachVnicFromSourceSmartNicResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DetachVnicFromSourceSmartNicResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DetachVnicFromSourceSmartNicResponse") - } - return -} - -// detachVnicFromSourceSmartNic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) detachVnicFromSourceSmartNic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics/{internalVnicId}/attachment/action/detachVnicFromSourceSmartNic", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DetachVnicFromSourceSmartNicResponse - 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 -} - -// DetachVnicWorker Detach a VnicWorker from an Instance. -func (client VirtualNetworkClient) DetachVnicWorker(ctx context.Context, request DetachVnicWorkerRequest) (response DetachVnicWorkerResponse, 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.detachVnicWorker, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DetachVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DetachVnicWorkerResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DetachVnicWorkerResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DetachVnicWorkerResponse") - } - return -} - -// detachVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) detachVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vnicWorkers/{vnicWorkerId}/actions/detachVnicWorkerFromInstance", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DetachVnicWorkerResponse - 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 -} - -// DisableReverseConnections Disables support for reverse connections and a DNS proxy for the specified private endpoint. -func (client VirtualNetworkClient) DisableReverseConnections(ctx context.Context, request DisableReverseConnectionsRequest) (response DisableReverseConnectionsResponse, 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.disableReverseConnections, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DisableReverseConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DisableReverseConnectionsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DisableReverseConnectionsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DisableReverseConnectionsResponse") - } - return -} - -// disableReverseConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) disableReverseConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateEndpoints/{privateEndpointId}/actions/disableReverseConnections", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DisableReverseConnectionsResponse - 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 -} - -// DisableVnicWorker Disables traffic to specified vnicWorker. -func (client VirtualNetworkClient) DisableVnicWorker(ctx context.Context, request DisableVnicWorkerRequest) (response DisableVnicWorkerResponse, 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.disableVnicWorker, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DisableVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DisableVnicWorkerResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DisableVnicWorkerResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DisableVnicWorkerResponse") - } - return -} - -// disableVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) disableVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vnicWorkers/{vnicWorkerId}/actions/disableVnicWorker", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DisableVnicWorkerResponse - 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 -} - -// DrainVnicWorker Drain a specified vnicWorker. -func (client VirtualNetworkClient) DrainVnicWorker(ctx context.Context, request DrainVnicWorkerRequest) (response DrainVnicWorkerResponse, 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.drainVnicWorker, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DrainVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DrainVnicWorkerResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DrainVnicWorkerResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DrainVnicWorkerResponse") - } - return -} - -// drainVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) drainVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vnicWorkers/{vnicWorkerId}/actions/drainVnicWorker", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DrainVnicWorkerResponse - 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 -} - -// DrgMigration Migrates batches of V1 DRG from VCN to V2 Drgs in Transit-Hub. Steps include mirroring of V1 Drgs from VCN, migrating them to V2 and updating them as V2 in VCN -func (client VirtualNetworkClient) DrgMigration(ctx context.Context, request DrgMigrationRequest) (response DrgMigrationResponse, 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.drgMigration, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DrgMigrationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DrgMigrationResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DrgMigrationResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DrgMigrationResponse") - } - return -} - -// drgMigration implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) drgMigration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgMigration", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DrgMigrationResponse - 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 -} - -// EnableReverseConnections Enables support for reverse connections and a DNS proxy for the specified private endpoint. -func (client VirtualNetworkClient) EnableReverseConnections(ctx context.Context, request EnableReverseConnectionsRequest) (response EnableReverseConnectionsResponse, 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.enableReverseConnections, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = EnableReverseConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = EnableReverseConnectionsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(EnableReverseConnectionsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into EnableReverseConnectionsResponse") - } - return -} - -// enableReverseConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) enableReverseConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateEndpoints/{privateEndpointId}/actions/enableReverseConnections", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response EnableReverseConnectionsResponse - 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 -} - -// EnableVnicWorker Enables traffic to specified vnicWorker. -func (client VirtualNetworkClient) EnableVnicWorker(ctx context.Context, request EnableVnicWorkerRequest) (response EnableVnicWorkerResponse, 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.enableVnicWorker, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = EnableVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = EnableVnicWorkerResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(EnableVnicWorkerResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into EnableVnicWorkerResponse") - } - return -} - -// enableVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) enableVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vnicWorkers/{vnicWorkerId}/actions/enableVnicWorker", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response EnableVnicWorkerResponse - 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 -} - -// GenerateLocalPeeringToken Generates a token from this local peering connection. You can share this token with a -// peer who can then accept the token. The peer will likewise generate a token that you can -// accept. Once both sides accept one another's token, a peering is established. Note that -// peering tokens are not entities and are not persisted by the API. -func (client VirtualNetworkClient) GenerateLocalPeeringToken(ctx context.Context, request GenerateLocalPeeringTokenRequest) (response GenerateLocalPeeringTokenResponse, 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.generateLocalPeeringToken, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GenerateLocalPeeringTokenResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GenerateLocalPeeringTokenResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GenerateLocalPeeringTokenResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GenerateLocalPeeringTokenResponse") - } - return -} - -// generateLocalPeeringToken implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) generateLocalPeeringToken(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/localPeeringConnections/{localPeeringConnectionId}/actions/generatePeeringToken", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GenerateLocalPeeringTokenResponse - 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 -} - -// GetAllDrgAttachments Returns a complete list of DRG attachments that belong to a particular DRG. -func (client VirtualNetworkClient) GetAllDrgAttachments(ctx context.Context, request GetAllDrgAttachmentsRequest) (response GetAllDrgAttachmentsResponse, 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.getAllDrgAttachments, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetAllDrgAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetAllDrgAttachmentsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetAllDrgAttachmentsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetAllDrgAttachmentsResponse") - } - return -} - -// getAllDrgAttachments implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getAllDrgAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs/{drgId}/actions/getAllDrgAttachments", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetAllDrgAttachmentsResponse - 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 -} - -// GetAllowedIkeIPSecParameters The parameters allowed for IKE IPSec tunnels. -func (client VirtualNetworkClient) GetAllowedIkeIPSecParameters(ctx context.Context, request GetAllowedIkeIPSecParametersRequest) (response GetAllowedIkeIPSecParametersResponse, 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.getAllowedIkeIPSecParameters, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetAllowedIkeIPSecParametersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetAllowedIkeIPSecParametersResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetAllowedIkeIPSecParametersResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetAllowedIkeIPSecParametersResponse") - } - return -} - -// getAllowedIkeIPSecParameters implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getAllowedIkeIPSecParameters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecAlgorithms", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetAllowedIkeIPSecParametersResponse - 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 -} - -// GetByoipRange Gets the `ByoipRange` resource. You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -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, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges/{byoipRangeId}", binaryReqBody, extraHeaders) - 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 -} - -// GetC3Drg Gets the specified DRG's information. -func (client VirtualNetworkClient) GetC3Drg(ctx context.Context, request GetC3DrgRequest) (response GetC3DrgResponse, 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.getC3Drg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetC3DrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetC3DrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetC3DrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetC3DrgResponse") - } - return -} - -// getC3Drg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getC3Drg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/c3_drgs/{drgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetC3DrgResponse - 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 -} - -// GetC3DrgAttachment Gets the `DrgAttachment` resource. -func (client VirtualNetworkClient) GetC3DrgAttachment(ctx context.Context, request GetC3DrgAttachmentRequest) (response GetC3DrgAttachmentResponse, 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.getC3DrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetC3DrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetC3DrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetC3DrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetC3DrgAttachmentResponse") - } - return -} - -// getC3DrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getC3DrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/c3_drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetC3DrgAttachmentResponse - 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 -} - -// GetCaptureFilter Gets information about the specified VTAP capture filter. -func (client VirtualNetworkClient) GetCaptureFilter(ctx context.Context, request GetCaptureFilterRequest) (response GetCaptureFilterResponse, 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.getCaptureFilter, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCaptureFilterResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCaptureFilterResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCaptureFilterResponse") - } - return -} - -// getCaptureFilter implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/captureFilters/{captureFilterId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCaptureFilterResponse - 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 -} - -// GetClientVpn Get the specific ClientVpn by given the id. -func (client VirtualNetworkClient) GetClientVpn(ctx context.Context, request GetClientVpnRequest) (response GetClientVpnResponse, 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.getClientVpn, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClientVpnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClientVpnResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClientVpnResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClientVpnResponse") - } - return -} - -// getClientVpn implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getClientVpn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clientVpns/{clientVpnId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClientVpnResponse - 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 -} - -// GetClientVpnProfile Get the profile of the specific ClientVpn by given an id of ClientVpn. -func (client VirtualNetworkClient) GetClientVpnProfile(ctx context.Context, request GetClientVpnProfileRequest) (response GetClientVpnProfileResponse, 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.getClientVpnProfile, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClientVpnProfileResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClientVpnProfileResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClientVpnProfileResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClientVpnProfileResponse") - } - return -} - -// getClientVpnProfile implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getClientVpnProfile(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clientVpns/{clientVpnId}/profile", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClientVpnProfileResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - response.RawResponse = httpResponse - if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetClientVpnStatus Get the status of ClientVpn. -func (client VirtualNetworkClient) GetClientVpnStatus(ctx context.Context, request GetClientVpnStatusRequest) (response GetClientVpnStatusResponse, 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.getClientVpnStatus, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClientVpnStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClientVpnStatusResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClientVpnStatusResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClientVpnStatusResponse") - } - return -} - -// getClientVpnStatus implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getClientVpnStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clientVpns/{clientVpnId}/status", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClientVpnStatusResponse - 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 -} - -// GetClientVpnUser Get the specific ClientVpnUser by given an id of ClientVpn and an username. -func (client VirtualNetworkClient) GetClientVpnUser(ctx context.Context, request GetClientVpnUserRequest) (response GetClientVpnUserResponse, 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.getClientVpnUser, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClientVpnUserResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClientVpnUserResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClientVpnUserResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClientVpnUserResponse") - } - return -} - -// getClientVpnUser implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getClientVpnUser(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clientVpns/{clientVpnId}/users/{userName}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClientVpnUserResponse - 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 -} - -// GetClientVpnUserProfile Get the profile of the specific ClientVpnUser by given an id of ClientVpn and a username. -func (client VirtualNetworkClient) GetClientVpnUserProfile(ctx context.Context, request GetClientVpnUserProfileRequest) (response GetClientVpnUserProfileResponse, 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.getClientVpnUserProfile, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetClientVpnUserProfileResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetClientVpnUserProfileResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetClientVpnUserProfileResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetClientVpnUserProfileResponse") - } - return -} - -// getClientVpnUserProfile implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getClientVpnUserProfile(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clientVpns/{clientVpnId}/users/{userName}/profile", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetClientVpnUserProfileResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - response.RawResponse = httpResponse - if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetCpe Gets the specified CPE's information. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getCpe, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCpeResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCpeResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCpeResponse") - } - return -} - -// getCpe implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpes/{cpeId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCpeResponse - 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 -} - -// GetCpeDeviceConfigContent Renders a set of CPE configuration content that can help a network engineer configure the actual -// CPE device (for example, a hardware router) represented by the specified Cpe -// object. -// The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the -// Cpe must have the CPE's device type specified by the `cpeDeviceShapeId` -// attribute. The content optionally includes answers that the customer provides (see -// UpdateTunnelCpeDeviceConfig), -// merged with a template of other information specific to the CPE device type. -// The operation returns configuration information for *all* of the -// IPSecConnection objects that use the specified CPE. -// Here are similar operations: -// - GetIpsecCpeDeviceConfigContent -// returns CPE configuration content for all IPSec tunnels in a single IPSec connection. -// - GetTunnelCpeDeviceConfigContent -// returns CPE configuration content for a specific IPSec tunnel in an IPSec connection. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getCpeDeviceConfigContent, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCpeDeviceConfigContentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCpeDeviceConfigContentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCpeDeviceConfigContentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCpeDeviceConfigContentResponse") - } - return -} - -// getCpeDeviceConfigContent implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCpeDeviceConfigContent(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpes/{cpeId}/cpeConfigContent", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCpeDeviceConfigContentResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - response.RawResponse = httpResponse - if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetCpeDeviceShape Gets the detailed information about the specified CPE device type. This might include a set of questions -// that are specific to the particular CPE device type. The customer must supply answers to those questions -// (see UpdateTunnelCpeDeviceConfig). -// The service merges the answers with a template of other information for the CPE device type. The following -// operations return the merged content: -// - GetCpeDeviceConfigContent -// - GetIpsecCpeDeviceConfigContent -// - GetTunnelCpeDeviceConfigContent -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() - } - ociResponse, err = common.Retry(ctx, request, client.getCpeDeviceShape, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCpeDeviceShapeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCpeDeviceShapeResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCpeDeviceShapeResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCpeDeviceShapeResponse") - } - return -} - -// getCpeDeviceShape implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCpeDeviceShape(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpeDeviceShapes/{cpeDeviceShapeId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCpeDeviceShapeResponse - 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 -} - -// GetCreateReverseConnectionNatIp Either gets (if it already exists) or creates (if it does not yet exist) a reverse connection -// NAT IP for the specified private endpoint and customer IP address. Use the reverse connection NAT -// IP address as the destination when initiating reverse connections to the customer's IP address. -// A private endpoint can have multiple reverse connection NAT IPs, each corresponding to a different -// customer VCN IP address. -func (client VirtualNetworkClient) GetCreateReverseConnectionNatIp(ctx context.Context, request GetCreateReverseConnectionNatIpRequest) (response GetCreateReverseConnectionNatIpResponse, 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.getCreateReverseConnectionNatIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCreateReverseConnectionNatIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCreateReverseConnectionNatIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCreateReverseConnectionNatIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCreateReverseConnectionNatIpResponse") - } - return -} - -// getCreateReverseConnectionNatIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCreateReverseConnectionNatIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateEndpoints/{privateEndpointId}/reverseConnectionNatIps", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCreateReverseConnectionNatIpResponse - 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 -} - -// GetCrossConnect Gets the specified cross-connect's information. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getCrossConnect, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCrossConnectResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCrossConnectResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectResponse") - } - return -} - -// getCrossConnect implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects/{crossConnectId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCrossConnectResponse - 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 -} - -// GetCrossConnectGroup Gets the specified cross-connect group's information. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getCrossConnectGroup, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCrossConnectGroupResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCrossConnectGroupResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectGroupResponse") - } - return -} - -// getCrossConnectGroup implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectGroups/{crossConnectGroupId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCrossConnectGroupResponse - 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 -} - -// GetCrossConnectLetterOfAuthority Gets the Letter of Authority for the specified cross-connect. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getCrossConnectLetterOfAuthority, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCrossConnectLetterOfAuthorityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCrossConnectLetterOfAuthorityResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCrossConnectLetterOfAuthorityResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectLetterOfAuthorityResponse") - } - return -} - -// getCrossConnectLetterOfAuthority implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCrossConnectLetterOfAuthority(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects/{crossConnectId}/letterOfAuthority", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCrossConnectLetterOfAuthorityResponse - 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 -} - -// GetCrossConnectStatus Gets the status of the specified cross-connect. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getCrossConnectStatus, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCrossConnectStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCrossConnectStatusResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCrossConnectStatusResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectStatusResponse") - } - return -} - -// getCrossConnectStatus implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getCrossConnectStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects/{crossConnectId}/status", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCrossConnectStatusResponse - 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 -} - -// GetDav Get the Direct Attached Vnic. -func (client VirtualNetworkClient) GetDav(ctx context.Context, request GetDavRequest) (response GetDavResponse, 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.getDav, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDavResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDavResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDavResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDavResponse") - } - return -} - -// getDav implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDav(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/davs/{davId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDavResponse - 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 -} - -// GetDhcpOptions Gets the specified set of DHCP options. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getDhcpOptions, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDhcpOptionsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDhcpOptionsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDhcpOptionsResponse") - } - return -} - -// getDhcpOptions implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/dhcps/{dhcpId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDhcpOptionsResponse - 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 -} - -// GetDrg Gets the specified DRG's information. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgResponse") - } - return -} - -// getDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs/{drgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgResponse - 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 -} - -// GetDrgAttachedNetworkInfo Returns the attached networks on DRG in C3. -func (client VirtualNetworkClient) GetDrgAttachedNetworkInfo(ctx context.Context, request GetDrgAttachedNetworkInfoRequest) (response GetDrgAttachedNetworkInfoResponse, 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.getDrgAttachedNetworkInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgAttachedNetworkInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgAttachedNetworkInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgAttachedNetworkInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgAttachedNetworkInfoResponse") - } - return -} - -// getDrgAttachedNetworkInfo implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrgAttachedNetworkInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs/{drgId}/drgAttachedNetworkInfo", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgAttachedNetworkInfoResponse - 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 -} - -// GetDrgAttachment Gets the `DrgAttachment` resource. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgAttachmentResponse") - } - return -} - -// getDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgAttachmentResponse - 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 -} - -// GetDrgMigrationCountRegion Gets the migrated drg count for a Region -func (client VirtualNetworkClient) GetDrgMigrationCountRegion(ctx context.Context, request GetDrgMigrationCountRegionRequest) (response GetDrgMigrationCountRegionResponse, 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.getDrgMigrationCountRegion, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgMigrationCountRegionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgMigrationCountRegionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgMigrationCountRegionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgMigrationCountRegionResponse") - } - return -} - -// getDrgMigrationCountRegion implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrgMigrationCountRegion(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgMigrationCount/region/{regionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgMigrationCountRegionResponse - 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 -} - -// GetDrgMigrationCountTenancy Gets the migrated drg count for a tenancy -func (client VirtualNetworkClient) GetDrgMigrationCountTenancy(ctx context.Context, request GetDrgMigrationCountTenancyRequest) (response GetDrgMigrationCountTenancyResponse, 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.getDrgMigrationCountTenancy, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgMigrationCountTenancyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgMigrationCountTenancyResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgMigrationCountTenancyResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgMigrationCountTenancyResponse") - } - return -} - -// getDrgMigrationCountTenancy implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrgMigrationCountTenancy(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgMigrationCount/tenancy/{tenancyId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgMigrationCountTenancyResponse - 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 -} - -// GetDrgRedundancyStatus Gets the redundancy status for the specified DRG. For more information, see -// Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). -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() - } - ociResponse, err = common.Retry(ctx, request, client.getDrgRedundancyStatus, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgRedundancyStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgRedundancyStatusResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgRedundancyStatusResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgRedundancyStatusResponse") - } - return -} - -// getDrgRedundancyStatus implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrgRedundancyStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs/{drgId}/redundancyStatus", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgRedundancyStatusResponse - 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 -} - -// GetDrgRouteDistribution Gets the specified route distribution's information. -func (client VirtualNetworkClient) GetDrgRouteDistribution(ctx context.Context, request GetDrgRouteDistributionRequest) (response GetDrgRouteDistributionResponse, 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.getDrgRouteDistribution, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgRouteDistributionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgRouteDistributionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgRouteDistributionResponse") - } - return -} - -// getDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteDistributions/{drgRouteDistributionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgRouteDistributionResponse - 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 -} - -// GetDrgRouteTable Gets the specified DRG route table's information. -func (client VirtualNetworkClient) GetDrgRouteTable(ctx context.Context, request GetDrgRouteTableRequest) (response GetDrgRouteTableResponse, 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.getDrgRouteTable, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetDrgRouteTableResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetDrgRouteTableResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDrgRouteTableResponse") - } - return -} - -// getDrgRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteTables/{drgRouteTableId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetDrgRouteTableResponse - 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 -} - -// GetEndpointService Gets the specified endpoint service's information. -func (client VirtualNetworkClient) GetEndpointService(ctx context.Context, request GetEndpointServiceRequest) (response GetEndpointServiceResponse, 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.getEndpointService, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetEndpointServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetEndpointServiceResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetEndpointServiceResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetEndpointServiceResponse") - } - return -} - -// getEndpointService implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getEndpointService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/endpointServices/{endpointServiceId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetEndpointServiceResponse - 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 -} - -// GetEndpointServiceNextHop Gets the specified Next Hops's information. -func (client VirtualNetworkClient) GetEndpointServiceNextHop(ctx context.Context, request GetEndpointServiceNextHopRequest) (response GetEndpointServiceNextHopResponse, 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.getEndpointServiceNextHop, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetEndpointServiceNextHopResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetEndpointServiceNextHopResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetEndpointServiceNextHopResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetEndpointServiceNextHopResponse") - } - return -} - -// getEndpointServiceNextHop implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getEndpointServiceNextHop(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/endpointServices/{endpointServiceId}/nextHops/{serviceIp}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetEndpointServiceNextHopResponse - 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 -} - -// GetFastConnectProviderService Gets the specified provider service. -// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). -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() - } - ociResponse, err = common.Retry(ctx, request, client.getFastConnectProviderService, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetFastConnectProviderServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetFastConnectProviderServiceResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetFastConnectProviderServiceResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetFastConnectProviderServiceResponse") - } - return -} - -// getFastConnectProviderService implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getFastConnectProviderService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices/{providerServiceId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetFastConnectProviderServiceResponse - 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 -} - -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getFastConnectProviderServiceKey, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetFastConnectProviderServiceKeyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetFastConnectProviderServiceKeyResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetFastConnectProviderServiceKeyResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetFastConnectProviderServiceKeyResponse") - } - return -} - -// getFastConnectProviderServiceKey implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getFastConnectProviderServiceKey(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices/{providerServiceId}/providerServiceKeys/{providerServiceKeyName}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetFastConnectProviderServiceKeyResponse - 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 -} - -// GetFlowLogConfig Gets the specified flow log configuration. -func (client VirtualNetworkClient) GetFlowLogConfig(ctx context.Context, request GetFlowLogConfigRequest) (response GetFlowLogConfigResponse, 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.getFlowLogConfig, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetFlowLogConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetFlowLogConfigResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetFlowLogConfigResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetFlowLogConfigResponse") - } - return -} - -// getFlowLogConfig implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getFlowLogConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/flowLogConfigs/{flowLogConfigId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetFlowLogConfigResponse - 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 -} - -// GetFlowLogConfigAttachment Gets the specified flow log configuration attachment. -func (client VirtualNetworkClient) GetFlowLogConfigAttachment(ctx context.Context, request GetFlowLogConfigAttachmentRequest) (response GetFlowLogConfigAttachmentResponse, 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.getFlowLogConfigAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetFlowLogConfigAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetFlowLogConfigAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetFlowLogConfigAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetFlowLogConfigAttachmentResponse") - } - return -} - -// getFlowLogConfigAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getFlowLogConfigAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/flowLogConfigAttachments/{flowLogConfigAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetFlowLogConfigAttachmentResponse - 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 -} - -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getIPSecConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIPSecConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIPSecConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionResponse") - } - return -} - -// getIPSecConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIPSecConnectionResponse - 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 -} - -// GetIPSecConnectionDeviceConfig Deprecated. To get tunnel information, instead use: -// * GetIPSecConnectionTunnel -// * GetIPSecConnectionTunnelSharedSecret -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() - } - ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionDeviceConfig, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIPSecConnectionDeviceConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIPSecConnectionDeviceConfigResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIPSecConnectionDeviceConfigResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionDeviceConfigResponse") - } - return -} - -// getIPSecConnectionDeviceConfig implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIPSecConnectionDeviceConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/deviceConfig", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIPSecConnectionDeviceConfigResponse - 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 -} - -// GetIPSecConnectionDeviceStatus Deprecated. To get the tunnel status, instead use -// GetIPSecConnectionTunnel. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionDeviceStatus, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIPSecConnectionDeviceStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIPSecConnectionDeviceStatusResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIPSecConnectionDeviceStatusResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionDeviceStatusResponse") - } - return -} - -// getIPSecConnectionDeviceStatus implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIPSecConnectionDeviceStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/deviceStatus", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIPSecConnectionDeviceStatusResponse - 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 -} - -// GetIPSecConnectionMigrationStatus Gets the specified IPSec connection's migration status. -func (client VirtualNetworkClient) GetIPSecConnectionMigrationStatus(ctx context.Context, request GetIPSecConnectionMigrationStatusRequest) (response GetIPSecConnectionMigrationStatusResponse, 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.getIPSecConnectionMigrationStatus, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIPSecConnectionMigrationStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIPSecConnectionMigrationStatusResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIPSecConnectionMigrationStatusResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionMigrationStatusResponse") - } - return -} - -// getIPSecConnectionMigrationStatus implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIPSecConnectionMigrationStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/migrationStatus", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIPSecConnectionMigrationStatusResponse - 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 -} - -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionTunnel, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIPSecConnectionTunnelResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIPSecConnectionTunnelResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIPSecConnectionTunnelResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionTunnelResponse") - } - return -} - -// getIPSecConnectionTunnel implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIPSecConnectionTunnel(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIPSecConnectionTunnelResponse - 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 -} - -// GetIPSecConnectionTunnelError Gets the identified error for the specified IPSec tunnel ID. -func (client VirtualNetworkClient) GetIPSecConnectionTunnelError(ctx context.Context, request GetIPSecConnectionTunnelErrorRequest) (response GetIPSecConnectionTunnelErrorResponse, 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.getIPSecConnectionTunnelError, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIPSecConnectionTunnelErrorResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIPSecConnectionTunnelErrorResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIPSecConnectionTunnelErrorResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionTunnelErrorResponse") - } - return -} - -// getIPSecConnectionTunnelError implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIPSecConnectionTunnelError(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/error", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIPSecConnectionTunnelErrorResponse - 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 -} - -// GetIPSecConnectionTunnelSharedSecret Gets the specified tunnel's shared secret (pre-shared key). To get other information -// about the tunnel, use GetIPSecConnectionTunnel. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionTunnelSharedSecret, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIPSecConnectionTunnelSharedSecretResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIPSecConnectionTunnelSharedSecretResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIPSecConnectionTunnelSharedSecretResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionTunnelSharedSecretResponse") - } - return -} - -// getIPSecConnectionTunnelSharedSecret implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIPSecConnectionTunnelSharedSecret(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/sharedSecret", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIPSecConnectionTunnelSharedSecretResponse - 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 -} - -// GetInternalDnsRecord Gets the information for the specified `DnsRecord`. -func (client VirtualNetworkClient) GetInternalDnsRecord(ctx context.Context, request GetInternalDnsRecordRequest) (response GetInternalDnsRecordResponse, 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.getInternalDnsRecord, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalDnsRecordResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalDnsRecordResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalDnsRecordResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalDnsRecordResponse") - } - return -} - -// getInternalDnsRecord implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalDnsRecord(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalDnsRecords/{internalDnsRecordId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalDnsRecordResponse - 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 -} - -// GetInternalDrg Gets the specified DRG's information. -func (client VirtualNetworkClient) GetInternalDrg(ctx context.Context, request GetInternalDrgRequest) (response GetInternalDrgResponse, 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.getInternalDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalDrgResponse") - } - return -} - -// getInternalDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalDrgs/{internalDrgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalDrgResponse - 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 -} - -// GetInternalDrgAttachment Gets the `DrgAttachment` resource. -func (client VirtualNetworkClient) GetInternalDrgAttachment(ctx context.Context, request GetInternalDrgAttachmentRequest) (response GetInternalDrgAttachmentResponse, 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.getInternalDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalDrgAttachmentResponse") - } - return -} - -// getInternalDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalDrgAttachments/{internalDrgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalDrgAttachmentResponse - 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 -} - -// GetInternalGenericGateway Get an internal generic gateway. -func (client VirtualNetworkClient) GetInternalGenericGateway(ctx context.Context, request GetInternalGenericGatewayRequest) (response GetInternalGenericGatewayResponse, 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.getInternalGenericGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalGenericGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalGenericGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalGenericGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalGenericGatewayResponse") - } - return -} - -// getInternalGenericGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalGenericGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalGenericGateways/{internalGenericGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalGenericGatewayResponse - 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 -} - -// GetInternalGenericGatewayByGatewayId Get an internal generic gateway based on the real gateway id. -func (client VirtualNetworkClient) GetInternalGenericGatewayByGatewayId(ctx context.Context, request GetInternalGenericGatewayByGatewayIdRequest) (response GetInternalGenericGatewayByGatewayIdResponse, 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.getInternalGenericGatewayByGatewayId, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalGenericGatewayByGatewayIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalGenericGatewayByGatewayIdResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalGenericGatewayByGatewayIdResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalGenericGatewayByGatewayIdResponse") - } - return -} - -// getInternalGenericGatewayByGatewayId implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalGenericGatewayByGatewayId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalGenericGateways/actions/getByGatewayId", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalGenericGatewayByGatewayIdResponse - 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 -} - -// GetInternalPublicIp Gets the specified internal public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// **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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. -func (client VirtualNetworkClient) GetInternalPublicIp(ctx context.Context, request GetInternalPublicIpRequest) (response GetInternalPublicIpResponse, 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.getInternalPublicIp, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalPublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalPublicIpResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalPublicIpResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalPublicIpResponse") - } - return -} - -// getInternalPublicIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalPublicIps/{internalPublicIpId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalPublicIpResponse - 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 -} - -// GetInternalSubnet Gets the specified subnet's information. -func (client VirtualNetworkClient) GetInternalSubnet(ctx context.Context, request GetInternalSubnetRequest) (response GetInternalSubnetResponse, 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.getInternalSubnet, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalSubnetResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalSubnetResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalSubnetResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalSubnetResponse") - } - return -} - -// getInternalSubnet implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalSubnet(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalSubnets/{internalSubnetId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalSubnetResponse - 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 -} - -// GetInternalVnic Gets the information for the specified internal vnic. -func (client VirtualNetworkClient) GetInternalVnic(ctx context.Context, request GetInternalVnicRequest) (response GetInternalVnicResponse, 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.getInternalVnic, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalVnicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalVnicResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalVnicResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalVnicResponse") - } - return -} - -// getInternalVnic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalVnic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalVnics/{internalVnicId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalVnicResponse - 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 -} - -// GetInternalVnicAttachment Gets the specified service VNIC attachment. -func (client VirtualNetworkClient) GetInternalVnicAttachment(ctx context.Context, request GetInternalVnicAttachmentRequest) (response GetInternalVnicAttachmentResponse, 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.getInternalVnicAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternalVnicAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternalVnicAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternalVnicAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternalVnicAttachmentResponse") - } - return -} - -// getInternalVnicAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternalVnicAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalVnics/{internalVnicId}/attachment", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternalVnicAttachmentResponse - 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 -} - -// GetInternetGateway Gets the specified internet gateway's information. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getInternetGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetInternetGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetInternetGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInternetGatewayResponse") - } - return -} - -// getInternetGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internetGateways/{igId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetInternetGatewayResponse - 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 -} - -// GetIpsecCpeDeviceConfigContent Renders a set of CPE configuration content for the specified IPSec connection (for all the -// tunnels in the connection). The content helps a network engineer configure the actual CPE -// device (for example, a hardware router) that the specified IPSec connection terminates on. -// The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the -// Cpe used by the specified IPSecConnection -// must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content -// optionally includes answers that the customer provides (see -// UpdateTunnelCpeDeviceConfig), -// merged with a template of other information specific to the CPE device type. -// The operation returns configuration information for all tunnels in the single specified -// IPSecConnection object. Here are other similar -// operations: -// - GetTunnelCpeDeviceConfigContent -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getIpsecCpeDeviceConfigContent, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIpsecCpeDeviceConfigContentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIpsecCpeDeviceConfigContentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIpsecCpeDeviceConfigContentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIpsecCpeDeviceConfigContentResponse") - } - return -} - -// getIpsecCpeDeviceConfigContent implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIpsecCpeDeviceConfigContent(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/cpeConfigContent", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIpsecCpeDeviceConfigContentResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - response.RawResponse = httpResponse - if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetIpv6 Gets the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). -// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -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() - } - ociResponse, err = common.Retry(ctx, request, client.getIpv6, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetIpv6Response{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetIpv6Response); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetIpv6Response") - } - return -} - -// getIpv6 implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipv6/{ipv6Id}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetIpv6Response - 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 -} - -// GetLocalPeeringConnection Gets the specified local peering connection's information. -func (client VirtualNetworkClient) GetLocalPeeringConnection(ctx context.Context, request GetLocalPeeringConnectionRequest) (response GetLocalPeeringConnectionResponse, 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.getLocalPeeringConnection, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetLocalPeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetLocalPeeringConnectionResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetLocalPeeringConnectionResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetLocalPeeringConnectionResponse") - } - return -} - -// getLocalPeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getLocalPeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/localPeeringConnections/{localPeeringConnectionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetLocalPeeringConnectionResponse - 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 -} - -// GetLocalPeeringGateway Gets the specified local peering gateway's information. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getLocalPeeringGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetLocalPeeringGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetLocalPeeringGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetLocalPeeringGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetLocalPeeringGatewayResponse") - } - return -} - -// getLocalPeeringGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getLocalPeeringGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/localPeeringGateways/{localPeeringGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetLocalPeeringGatewayResponse - 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 -} - -// GetNatGateway Gets the specified NAT gateway's information. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getNatGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetNatGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetNatGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetNatGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetNatGatewayResponse") - } - return -} - -// getNatGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getNatGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/natGateways/{natGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetNatGatewayResponse - 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 -} - -// GetNetworkSecurityGroup Gets the specified network security group's information. -// To list the VNICs in an NSG, see -// ListNetworkSecurityGroupVnics. -// To list the security rules in an NSG, see -// ListNetworkSecurityGroupSecurityRules. -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() - } - ociResponse, err = common.Retry(ctx, request, client.getNetworkSecurityGroup, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetNetworkSecurityGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetNetworkSecurityGroupResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetNetworkSecurityGroupResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetNetworkSecurityGroupResponse") - } - return -} - -// getNetworkSecurityGroup implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getNetworkSecurityGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups/{networkSecurityGroupId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetNetworkSecurityGroupResponse - 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 -} - -// GetNetworkingTopology Gets a virtual networking topology for the current region. -func (client VirtualNetworkClient) GetNetworkingTopology(ctx context.Context, request GetNetworkingTopologyRequest) (response GetNetworkingTopologyResponse, 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.getNetworkingTopology, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetNetworkingTopologyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetNetworkingTopologyResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetNetworkingTopologyResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetNetworkingTopologyResponse") - } - return -} - -// getNetworkingTopology implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getNetworkingTopology(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkingTopology", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetNetworkingTopologyResponse - 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 -} - -// GetPrivateAccessGateway Gets the specified private access gateway's information. -func (client VirtualNetworkClient) GetPrivateAccessGateway(ctx context.Context, request GetPrivateAccessGatewayRequest) (response GetPrivateAccessGatewayResponse, 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.getPrivateAccessGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPrivateAccessGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetPrivateAccessGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetPrivateAccessGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPrivateAccessGatewayResponse") - } - return -} - -// getPrivateAccessGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPrivateAccessGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateAccessGateways/{privateAccessGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetPrivateAccessGatewayResponse - 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 -} - -// GetPrivateEndpoint Get the specified private endpoint's information -func (client VirtualNetworkClient) GetPrivateEndpoint(ctx context.Context, request GetPrivateEndpointRequest) (response GetPrivateEndpointResponse, 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.getPrivateEndpoint, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPrivateEndpointResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetPrivateEndpointResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetPrivateEndpointResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPrivateEndpointResponse") - } - return -} - -// getPrivateEndpoint implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPrivateEndpoint(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateEndpoints/{privateEndpointId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetPrivateEndpointResponse - 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 -} - -// GetPrivateEndpointAssociation Gets the specified private endpoint associated with the specified endpoint service. The operation -// returns a summary of the private endpoint -// (PrivateEndpointAssociation), -// and not the full PrivateEndpoint object. -func (client VirtualNetworkClient) GetPrivateEndpointAssociation(ctx context.Context, request GetPrivateEndpointAssociationRequest) (response GetPrivateEndpointAssociationResponse, 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.getPrivateEndpointAssociation, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPrivateEndpointAssociationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetPrivateEndpointAssociationResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetPrivateEndpointAssociationResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPrivateEndpointAssociationResponse") - } - return -} - -// getPrivateEndpointAssociation implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPrivateEndpointAssociation(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/endpointServices/{endpointServiceId}/privateEndpointAssociations/{privateEndpointId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetPrivateEndpointAssociationResponse - 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 -} - -// GetPrivateIp Gets the specified private IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// Alternatively, you can get the object by using -// ListPrivateIps -// with the private IP address (for example, 10.0.3.3) and subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (client VirtualNetworkClient) GetPrivateIp(ctx context.Context, request GetPrivateIpRequest) (response GetPrivateIpResponse, err error) { - var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getPrivateIp, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteCpe, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPrivateIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetPrivateIpResponse{} + response = DeleteCpeResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetPrivateIpResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteCpeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPrivateIpResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteCpeResponse") } return } -// getPrivateIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPrivateIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteCpe implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateIps/{privateIpId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/cpes/{cpeId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetPrivateIpResponse + var response DeleteCpeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteCpe", apiReferenceLink) return response, err } @@ -12935,50 +4516,58 @@ func (client VirtualNetworkClient) getPrivateIp(ctx context.Context, request com return response, err } -// GetPrivateIpNextHop Gets nextHop configuration for the specified private IP. -func (client VirtualNetworkClient) GetPrivateIpNextHop(ctx context.Context, request GetPrivateIpNextHopRequest) (response GetPrivateIpNextHopResponse, err error) { +// 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. +// A default retry strategy applies to this operation DeleteCrossConnect() +func (client VirtualNetworkClient) DeleteCrossConnect(ctx context.Context, request DeleteCrossConnectRequest) (response DeleteCrossConnectResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getPrivateIpNextHop, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteCrossConnect, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPrivateIpNextHopResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetPrivateIpNextHopResponse{} + response = DeleteCrossConnectResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetPrivateIpNextHopResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteCrossConnectResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPrivateIpNextHopResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteCrossConnectResponse") } return } -// getPrivateIpNextHop implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPrivateIpNextHop(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteCrossConnect implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateIps/{privateIpId}/nextHop", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/crossConnects/{crossConnectId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetPrivateIpNextHopResponse + var response DeleteCrossConnectResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteCrossConnect", apiReferenceLink) return response, err } @@ -12986,57 +4575,59 @@ func (client VirtualNetworkClient) getPrivateIpNextHop(ctx context.Context, requ return response, err } -// GetPublicIp Gets the specified public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// Alternatively, you can get the object by using GetPublicIpByIpAddress -// with the public IP address (for example, 203.0.113.2). -// Or you can use GetPublicIpByPrivateIpId -// with the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is assigned to. -// **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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. -func (client VirtualNetworkClient) GetPublicIp(ctx context.Context, request GetPublicIpRequest) (response GetPublicIpResponse, err error) { +// 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. +// A default retry strategy applies to this operation DeleteCrossConnectGroup() +func (client VirtualNetworkClient) DeleteCrossConnectGroup(ctx context.Context, request DeleteCrossConnectGroupRequest) (response DeleteCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getPublicIp, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteCrossConnectGroup, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetPublicIpResponse{} + response = DeleteCrossConnectGroupResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetPublicIpResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteCrossConnectGroupResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteCrossConnectGroupResponse") } return } -// getPublicIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteCrossConnectGroup implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIps/{publicIpId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/crossConnectGroups/{crossConnectGroupId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetPublicIpResponse + var response DeleteCrossConnectGroupResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteCrossConnectGroup", apiReferenceLink) return response, err } @@ -13044,11 +4635,15 @@ func (client VirtualNetworkClient) getPublicIp(ctx context.Context, request comm return response, err } -// GetPublicIpByIpAddress Gets the public IP based on the public IP address (for example, 203.0.113.2). -// **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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. -func (client VirtualNetworkClient) GetPublicIpByIpAddress(ctx context.Context, request GetPublicIpByIpAddressRequest) (response GetPublicIpByIpAddressResponse, err error) { +// DeleteDhcpOptions Deletes the specified set of DHCP options, but only if it's not associated with a subnet. You can't delete a +// 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 { @@ -13057,40 +4652,42 @@ func (client VirtualNetworkClient) GetPublicIpByIpAddress(ctx context.Context, r if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getPublicIpByIpAddress, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteDhcpOptions, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPublicIpByIpAddressResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetPublicIpByIpAddressResponse{} + response = DeleteDhcpOptionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetPublicIpByIpAddressResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteDhcpOptionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpByIpAddressResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteDhcpOptionsResponse") } return } -// getPublicIpByIpAddress implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPublicIpByIpAddress(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteDhcpOptions implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps/actions/getByIpAddress", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/dhcps/{dhcpId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetPublicIpByIpAddressResponse + var response DeleteDhcpOptionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteDhcpOptions", apiReferenceLink) return response, err } @@ -13098,17 +4695,15 @@ func (client VirtualNetworkClient) getPublicIpByIpAddress(ctx context.Context, r return response, err } -// GetPublicIpByPrivateIpId Gets the public IP assigned to the specified private IP. You must specify the OCID -// of the private IP. If no public IP is assigned, a 404 is returned. -// **Note:** If you're fetching a reserved public IP that is in the process of being -// moved to a different private IP, and you provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original private -// IP, this operation returns a 404. If you instead provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target -// private IP, or if you instead call -// GetPublicIp or -// GetPublicIpByIpAddress, the -// service returns the public IP object with `lifecycleState` = ASSIGNING and -// `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. -func (client VirtualNetworkClient) GetPublicIpByPrivateIpId(ctx context.Context, request GetPublicIpByPrivateIpIdRequest) (response GetPublicIpByPrivateIpIdResponse, err error) { +// DeleteDrg Deletes the specified DRG. The DRG must not be attached to a VCN or be connected to your on-premise +// 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 { @@ -13117,40 +4712,42 @@ func (client VirtualNetworkClient) GetPublicIpByPrivateIpId(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getPublicIpByPrivateIpId, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteDrg, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPublicIpByPrivateIpIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetPublicIpByPrivateIpIdResponse{} + response = DeleteDrgResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetPublicIpByPrivateIpIdResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteDrgResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpByPrivateIpIdResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgResponse") } return } -// getPublicIpByPrivateIpId implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPublicIpByPrivateIpId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteDrg implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps/actions/getByPrivateIpId", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgs/{drgId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetPublicIpByPrivateIpIdResponse + var response DeleteDrgResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteDrg", apiReferenceLink) return response, err } @@ -13158,8 +4755,14 @@ 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). -func (client VirtualNetworkClient) GetPublicIpPool(ctx context.Context, request GetPublicIpPoolRequest) (response GetPublicIpPoolResponse, err error) { +// DeleteDrgAttachment Detaches a DRG from a network resource by deleting the corresponding `DrgAttachment` resource. This is an asynchronous +// operation. The attachment's `lifecycleState` will temporarily change to DETACHING 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 { @@ -13168,40 +4771,42 @@ func (client VirtualNetworkClient) GetPublicIpPool(ctx context.Context, request if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getPublicIpPool, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteDrgAttachment, 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} + response = DeleteDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetPublicIpPoolResponse{} + response = DeleteDrgAttachmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetPublicIpPoolResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteDrgAttachmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpPoolResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgAttachmentResponse") } return } -// getPublicIpPool implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getPublicIpPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteDrgAttachment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIpPools/{publicIpPoolId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetPublicIpPoolResponse + var response DeleteDrgAttachmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteDrgAttachment", apiReferenceLink) return response, err } @@ -13209,8 +4814,13 @@ func (client VirtualNetworkClient) getPublicIpPool(ctx context.Context, request return response, err } -// GetRemotePeeringConnection Get the specified remote peering connection's information. -func (client VirtualNetworkClient) GetRemotePeeringConnection(ctx context.Context, request GetRemotePeeringConnectionRequest) (response GetRemotePeeringConnectionResponse, err error) { +// DeleteDrgRouteDistribution Deletes the specified route distribution. You can't delete a route distribution currently in use by a DRG attachment or DRG route table. +// Remove the DRG route distribution from a DRG attachment or DRG route table by using the "RemoveExportDrgRouteDistribution" or "RemoveImportDrgRouteDistribution' operations. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistribution API. +func (client VirtualNetworkClient) DeleteDrgRouteDistribution(ctx context.Context, request DeleteDrgRouteDistributionRequest) (response DeleteDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -13219,40 +4829,42 @@ func (client VirtualNetworkClient) GetRemotePeeringConnection(ctx context.Contex if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getRemotePeeringConnection, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteDrgRouteDistribution, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetRemotePeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetRemotePeeringConnectionResponse{} + response = DeleteDrgRouteDistributionResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetRemotePeeringConnectionResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteDrgRouteDistributionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetRemotePeeringConnectionResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgRouteDistributionResponse") } return } -// getRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/remotePeeringConnections/{remotePeeringConnectionId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgRouteDistributions/{drgRouteDistributionId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetRemotePeeringConnectionResponse + var response DeleteDrgRouteDistributionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistributionStatement/DeleteDrgRouteDistribution" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteDrgRouteDistribution", apiReferenceLink) return response, err } @@ -13260,9 +4872,12 @@ func (client VirtualNetworkClient) getRemotePeeringConnection(ctx context.Contex return response, err } -// GetReverseConnectionNatIp Gets the reverse connection NAT IP address for the specified private endpoint. This is the IP -// address to use as the destination when initiating reverse connections to the customer's IP address. -func (client VirtualNetworkClient) GetReverseConnectionNatIp(ctx context.Context, request GetReverseConnectionNatIpRequest) (response GetReverseConnectionNatIpResponse, err error) { +// DeleteDrgRouteTable Deletes the specified DRG route table. There must not be any DRG attachments assigned. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTable API. +func (client VirtualNetworkClient) DeleteDrgRouteTable(ctx context.Context, request DeleteDrgRouteTableRequest) (response DeleteDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -13271,40 +4886,42 @@ func (client VirtualNetworkClient) GetReverseConnectionNatIp(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getReverseConnectionNatIp, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteDrgRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetReverseConnectionNatIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetReverseConnectionNatIpResponse{} + response = DeleteDrgRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetReverseConnectionNatIpResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteDrgRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetReverseConnectionNatIpResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteDrgRouteTableResponse") } return } -// getReverseConnectionNatIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getReverseConnectionNatIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteDrgRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateEndpoints/{privateEndpointId}/reverseConnectionNatIps/{reverseConnectionCustomerIp}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/drgRouteTables/{drgRouteTableId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetReverseConnectionNatIpResponse + var response DeleteDrgRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InternalPublicIp/DeleteDrgRouteTable" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteDrgRouteTable", apiReferenceLink) return response, err } @@ -13312,50 +4929,63 @@ func (client VirtualNetworkClient) getReverseConnectionNatIp(ctx context.Context return response, err } -// GetRouteTable Gets the specified route table's information. -func (client VirtualNetworkClient) GetRouteTable(ctx context.Context, request GetRouteTableRequest) (response GetRouteTableResponse, err error) { +// DeleteIPSecConnection Deletes the specified IPSec connection. If your goal is to disable the Site-to-Site VPN between your VCN and +// on-premises network, it's easiest to simply detach the DRG but keep all the Site-to-Site VPN components intact. +// If you were to delete all the components and then later need to create an Site-to-Site VPN again, you would +// need to configure your on-premises router again with the new information returned from +// 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. +// A default retry strategy applies to this operation DeleteIPSecConnection() +func (client VirtualNetworkClient) DeleteIPSecConnection(ctx context.Context, request DeleteIPSecConnectionRequest) (response DeleteIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getRouteTable, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteIPSecConnection, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetRouteTableResponse{} + response = DeleteIPSecConnectionResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetRouteTableResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteIPSecConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetRouteTableResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteIPSecConnectionResponse") } return } -// getRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteIPSecConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/routeTables/{rtId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/ipsecConnections/{ipscId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetRouteTableResponse + var response DeleteIPSecConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteIPSecConnection", apiReferenceLink) return response, err } @@ -13363,8 +4993,15 @@ func (client VirtualNetworkClient) getRouteTable(ctx context.Context, request co return response, err } -// GetScanProxy Get the specified ScanProxy instance's information. -func (client VirtualNetworkClient) GetScanProxy(ctx context.Context, request GetScanProxyRequest) (response GetScanProxyResponse, err error) { +// DeleteInternetGateway Deletes the specified internet gateway. The internet gateway does not have to be disabled, but +// 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 { @@ -13373,40 +5010,42 @@ func (client VirtualNetworkClient) GetScanProxy(ctx context.Context, request Get if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getScanProxy, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteInternetGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetScanProxyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetScanProxyResponse{} + response = DeleteInternetGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetScanProxyResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteInternetGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetScanProxyResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteInternetGatewayResponse") } return } -// getScanProxy implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getScanProxy(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteInternetGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateEndpoints/{privateEndpointId}/scanProxy/{scanProxyId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/internetGateways/{igId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetScanProxyResponse + var response DeleteInternetGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteInternetGateway", apiReferenceLink) return response, err } @@ -13414,8 +5053,13 @@ func (client VirtualNetworkClient) getScanProxy(ctx context.Context, request com return response, err } -// GetSecurityList Gets the specified security list's information. -func (client VirtualNetworkClient) GetSecurityList(ctx context.Context, request GetSecurityListRequest) (response GetSecurityListResponse, err error) { +// DeleteIpv6 Unassigns and deletes the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// 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 { @@ -13424,40 +5068,42 @@ func (client VirtualNetworkClient) GetSecurityList(ctx context.Context, request if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getSecurityList, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteIpv6, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetSecurityListResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetSecurityListResponse{} + response = DeleteIpv6Response{} } } return } - if convertedResponse, ok := ociResponse.(GetSecurityListResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteIpv6Response); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetSecurityListResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteIpv6Response") } return } -// getSecurityList implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getSecurityList(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteIpv6 implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/securityLists/{securityListId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/ipv6/{ipv6Id}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetSecurityListResponse + var response DeleteIpv6Response var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteIpv6", apiReferenceLink) return response, err } @@ -13465,8 +5111,14 @@ func (client VirtualNetworkClient) getSecurityList(ctx context.Context, request return response, err } -// GetService Gets the specified Service object. -func (client VirtualNetworkClient) GetService(ctx context.Context, request GetServiceRequest) (response GetServiceResponse, err error) { +// 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 { @@ -13475,40 +5127,42 @@ func (client VirtualNetworkClient) GetService(ctx context.Context, request GetSe if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getService, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteLocalPeeringGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteLocalPeeringGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetServiceResponse{} + response = DeleteLocalPeeringGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetServiceResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteLocalPeeringGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetServiceResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteLocalPeeringGatewayResponse") } return } -// getService implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteLocalPeeringGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteLocalPeeringGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/services/{serviceId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/localPeeringGateways/{localPeeringGatewayId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetServiceResponse + var response DeleteLocalPeeringGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteLocalPeeringGateway", apiReferenceLink) return response, err } @@ -13516,8 +5170,15 @@ func (client VirtualNetworkClient) getService(ctx context.Context, request commo return response, err } -// GetServiceGateway Gets the specified service gateway's information. -func (client VirtualNetworkClient) GetServiceGateway(ctx context.Context, request GetServiceGatewayRequest) (response GetServiceGatewayResponse, err error) { +// DeleteNatGateway Deletes the specified NAT gateway. The NAT gateway does not have to be disabled, but there +// 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 { @@ -13526,40 +5187,42 @@ func (client VirtualNetworkClient) GetServiceGateway(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getServiceGateway, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteNatGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetServiceGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteNatGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetServiceGatewayResponse{} + response = DeleteNatGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetServiceGatewayResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteNatGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetServiceGatewayResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteNatGatewayResponse") } return } -// getServiceGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getServiceGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteNatGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteNatGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/serviceGateways/{serviceGatewayId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/natGateways/{natGatewayId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetServiceGatewayResponse + var response DeleteNatGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteNatGateway", apiReferenceLink) return response, err } @@ -13567,8 +5230,17 @@ func (client VirtualNetworkClient) getServiceGateway(ctx context.Context, reques return response, err } -// GetSubnet Gets the specified subnet's information. -func (client VirtualNetworkClient) GetSubnet(ctx context.Context, request GetSubnetRequest) (response GetSubnetResponse, err error) { +// DeleteNetworkSecurityGroup Deletes the specified network security group. The group must not contain any VNICs. +// To get a list of the VNICs in a network security group, use +// ListNetworkSecurityGroupVnics. +// Each returned NetworkSecurityGroupVnic object +// contains both the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC and the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 { @@ -13577,40 +5249,42 @@ func (client VirtualNetworkClient) GetSubnet(ctx context.Context, request GetSub if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getSubnet, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteNetworkSecurityGroup, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetSubnetResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteNetworkSecurityGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetSubnetResponse{} + response = DeleteNetworkSecurityGroupResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetSubnetResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteNetworkSecurityGroupResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetSubnetResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteNetworkSecurityGroupResponse") } return } -// getSubnet implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getSubnet(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteNetworkSecurityGroup implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteNetworkSecurityGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/subnets/{subnetId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/networkSecurityGroups/{networkSecurityGroupId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetSubnetResponse + var response DeleteNetworkSecurityGroupResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/DeleteNetworkSecurityGroup" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteNetworkSecurityGroup", apiReferenceLink) return response, err } @@ -13618,8 +5292,20 @@ func (client VirtualNetworkClient) getSubnet(ctx context.Context, request common return response, err } -// GetSubnetTopology Gets a topology for a given subnet. -func (client VirtualNetworkClient) GetSubnetTopology(ctx context.Context, request GetSubnetTopologyRequest) (response GetSubnetTopologyResponse, err error) { +// DeletePrivateIp Unassigns and deletes the specified private IP. You must +// specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The private IP address is returned to +// the subnet's pool of available addresses. +// 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/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 { @@ -13628,40 +5314,42 @@ func (client VirtualNetworkClient) GetSubnetTopology(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getSubnetTopology, policy) + ociResponse, err = common.Retry(ctx, request, client.deletePrivateIp, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetSubnetTopologyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeletePrivateIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetSubnetTopologyResponse{} + response = DeletePrivateIpResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetSubnetTopologyResponse); ok { + if convertedResponse, ok := ociResponse.(DeletePrivateIpResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetSubnetTopologyResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeletePrivateIpResponse") } return } -// getSubnetTopology implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getSubnetTopology(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deletePrivateIp implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deletePrivateIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/subnetTopology", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/privateIps/{privateIpId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetSubnetTopologyResponse + var response DeletePrivateIpResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeletePrivateIp", apiReferenceLink) return response, err } @@ -13669,12 +5357,23 @@ func (client VirtualNetworkClient) getSubnetTopology(ctx context.Context, reques return response, err } -// GetTunnelCpeDeviceConfig Gets the set of CPE configuration answers for the tunnel, which the customer provided in -// UpdateTunnelCpeDeviceConfig. -// 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. -func (client VirtualNetworkClient) GetTunnelCpeDeviceConfig(ctx context.Context, request GetTunnelCpeDeviceConfigRequest) (response GetTunnelCpeDeviceConfigResponse, err error) { +// DeletePublicIp Unassigns and deletes the specified public IP (either ephemeral or reserved). +// You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The public IP address is returned to the +// Oracle Cloud Infrastructure public IP pool. +// **Note:** You cannot update, unassign, or delete the public IP that Oracle automatically +// assigned to an entity for you (such as a load balancer or NAT gateway). The public IP is +// automatically deleted if the assigned entity is terminated. +// For an assigned reserved public IP, the initial unassignment portion of this operation +// is asynchronous. Poll the public IP's `lifecycleState` to determine +// if the operation succeeded. +// 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 { @@ -13683,40 +5382,42 @@ func (client VirtualNetworkClient) GetTunnelCpeDeviceConfig(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getTunnelCpeDeviceConfig, policy) + ociResponse, err = common.Retry(ctx, request, client.deletePublicIp, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetTunnelCpeDeviceConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeletePublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetTunnelCpeDeviceConfigResponse{} + response = DeletePublicIpResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetTunnelCpeDeviceConfigResponse); ok { + if convertedResponse, ok := ociResponse.(DeletePublicIpResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetTunnelCpeDeviceConfigResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeletePublicIpResponse") } return } -// getTunnelCpeDeviceConfig implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getTunnelCpeDeviceConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deletePublicIp implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deletePublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelDeviceConfig", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/publicIps/{publicIpId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetTunnelCpeDeviceConfigResponse + var response DeletePublicIpResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeletePublicIp", apiReferenceLink) return response, err } @@ -13724,22 +5425,14 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfig(ctx context.Context, return response, err } -// GetTunnelCpeDeviceConfigContent Renders a set of CPE configuration content for the specified IPSec tunnel. The content helps a -// network engineer configure the actual CPE device (for example, a hardware router) that the specified -// IPSec tunnel terminates on. -// The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the -// Cpe used by the specified IPSecConnection -// must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content -// optionally includes answers that the customer provides (see -// UpdateTunnelCpeDeviceConfig), -// merged with a template of other information specific to the CPE device type. -// The operation returns configuration information for only the specified IPSec tunnel. -// Here are other similar operations: -// - GetIpsecCpeDeviceConfigContent -// 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. -func (client VirtualNetworkClient) GetTunnelCpeDeviceConfigContent(ctx context.Context, request GetTunnelCpeDeviceConfigContentRequest) (response GetTunnelCpeDeviceConfigContentResponse, err error) { +// 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 { @@ -13748,39 +5441,42 @@ func (client VirtualNetworkClient) GetTunnelCpeDeviceConfigContent(ctx context.C if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getTunnelCpeDeviceConfigContent, policy) + 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 = GetTunnelCpeDeviceConfigContentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeletePublicIpPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetTunnelCpeDeviceConfigContentResponse{} + response = DeletePublicIpPoolResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetTunnelCpeDeviceConfigContentResponse); ok { + if convertedResponse, ok := ociResponse.(DeletePublicIpPoolResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetTunnelCpeDeviceConfigContentResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeletePublicIpPoolResponse") } return } -// getTunnelCpeDeviceConfigContent implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getTunnelCpeDeviceConfigContent(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deletePublicIpPool implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deletePublicIpPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelDeviceConfig/content", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/publicIpPools/{publicIpPoolId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetTunnelCpeDeviceConfigContentResponse + var response DeletePublicIpPoolResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/DeletePublicIpPool" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeletePublicIpPool", apiReferenceLink) return response, err } @@ -13788,50 +5484,59 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfigContent(ctx context.C return response, err } -// GetUpgradeStatus Returns the DRG upgrade status. The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed. -func (client VirtualNetworkClient) GetUpgradeStatus(ctx context.Context, request GetUpgradeStatusRequest) (response GetUpgradeStatusResponse, err error) { +// 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. +// A default retry strategy applies to this operation DeleteRemotePeeringConnection() +func (client VirtualNetworkClient) DeleteRemotePeeringConnection(ctx context.Context, request DeleteRemotePeeringConnectionRequest) (response DeleteRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getUpgradeStatus, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteRemotePeeringConnection, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetUpgradeStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteRemotePeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetUpgradeStatusResponse{} + response = DeleteRemotePeeringConnectionResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetUpgradeStatusResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteRemotePeeringConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetUpgradeStatusResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteRemotePeeringConnectionResponse") } return } -// getUpgradeStatus implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getUpgradeStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs/{drgId}/actions/upgradeStatus", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/remotePeeringConnections/{remotePeeringConnectionId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetUpgradeStatusResponse + var response DeleteRemotePeeringConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteRemotePeeringConnection", apiReferenceLink) return response, err } @@ -13839,8 +5544,15 @@ func (client VirtualNetworkClient) getUpgradeStatus(ctx context.Context, request return response, err } -// GetVcn Gets the specified VCN's information. -func (client VirtualNetworkClient) GetVcn(ctx context.Context, request GetVcnRequest) (response GetVcnResponse, err error) { +// DeleteRouteTable Deletes the specified route table, but only if it's not associated with a subnet. You can't delete a +// 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 { @@ -13849,40 +5561,42 @@ func (client VirtualNetworkClient) GetVcn(ctx context.Context, request GetVcnReq if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVcn, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVcnResponse{} + response = DeleteRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVcnResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVcnResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteRouteTableResponse") } return } -// getVcn implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcns/{vcnId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/routeTables/{rtId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVcnResponse + var response DeleteRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteRouteTable", apiReferenceLink) return response, err } @@ -13890,8 +5604,15 @@ func (client VirtualNetworkClient) getVcn(ctx context.Context, request common.OC return response, err } -// GetVcnDnsResolverAssociation Get the associated DNS resolver information with a vcn -func (client VirtualNetworkClient) GetVcnDnsResolverAssociation(ctx context.Context, request GetVcnDnsResolverAssociationRequest) (response GetVcnDnsResolverAssociationResponse, err error) { +// DeleteSecurityList Deletes the specified security list, but only if it's not associated with a subnet. You can't delete +// 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 { @@ -13900,40 +5621,42 @@ func (client VirtualNetworkClient) GetVcnDnsResolverAssociation(ctx context.Cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVcnDnsResolverAssociation, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteSecurityList, 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} + response = DeleteSecurityListResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVcnDnsResolverAssociationResponse{} + response = DeleteSecurityListResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVcnDnsResolverAssociationResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteSecurityListResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVcnDnsResolverAssociationResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteSecurityListResponse") } return } -// getVcnDnsResolverAssociation implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVcnDnsResolverAssociation(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteSecurityList implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteSecurityList(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcns/{vcnId}/dnsResolverAssociation", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/securityLists/{securityListId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVcnDnsResolverAssociationResponse + var response DeleteSecurityListResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteSecurityList", apiReferenceLink) return response, err } @@ -13941,8 +5664,13 @@ func (client VirtualNetworkClient) getVcnDnsResolverAssociation(ctx context.Cont return response, err } -// GetVcnDrg Gets the specified DRG's information. -func (client VirtualNetworkClient) GetVcnDrg(ctx context.Context, request GetVcnDrgRequest) (response GetVcnDrgResponse, err error) { +// 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 { @@ -13951,40 +5679,42 @@ func (client VirtualNetworkClient) GetVcnDrg(ctx context.Context, request GetVcn if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVcnDrg, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteServiceGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVcnDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteServiceGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVcnDrgResponse{} + response = DeleteServiceGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVcnDrgResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteServiceGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVcnDrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteServiceGatewayResponse") } return } -// getVcnDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVcnDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteServiceGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteServiceGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcn_drgs/{drgId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/serviceGateways/{serviceGatewayId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVcnDrgResponse + var response DeleteServiceGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteServiceGateway", apiReferenceLink) return response, err } @@ -13992,8 +5722,14 @@ func (client VirtualNetworkClient) getVcnDrg(ctx context.Context, request common return response, err } -// GetVcnDrgAttachment Gets the information for the specified `DrgAttachment`. -func (client VirtualNetworkClient) GetVcnDrgAttachment(ctx context.Context, request GetVcnDrgAttachmentRequest) (response GetVcnDrgAttachmentResponse, err error) { +// 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 { @@ -14002,40 +5738,42 @@ func (client VirtualNetworkClient) GetVcnDrgAttachment(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVcnDrgAttachment, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteSubnet, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVcnDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteSubnetResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVcnDrgAttachmentResponse{} + response = DeleteSubnetResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVcnDrgAttachmentResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteSubnetResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVcnDrgAttachmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteSubnetResponse") } return } -// getVcnDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVcnDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteSubnet implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteSubnet(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcn_drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/subnets/{subnetId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVcnDrgAttachmentResponse + var response DeleteSubnetResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteSubnet", apiReferenceLink) return response, err } @@ -14043,8 +5781,16 @@ func (client VirtualNetworkClient) getVcnDrgAttachment(ctx context.Context, requ return response, err } -// GetVcnTopology Gets a virtual network topology for a given VCN. -func (client VirtualNetworkClient) GetVcnTopology(ctx context.Context, request GetVcnTopologyRequest) (response GetVcnTopologyResponse, err error) { +// DeleteVcn Deletes the specified VCN. The VCN must be completely empty and have no attached gateways. This is an asynchronous +// operation. +// A deleted VCN's `lifecycleState` changes to TERMINATING and then TERMINATED temporarily until the VCN is completely +// removed. A completely removed VCN does not appear in the results of a `ListVcns` operation and can't be used in a +// `GetVcn` 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 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 { @@ -14053,40 +5799,42 @@ func (client VirtualNetworkClient) GetVcnTopology(ctx context.Context, request G if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVcnTopology, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteVcn, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVcnTopologyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVcnTopologyResponse{} + response = DeleteVcnResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVcnTopologyResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteVcnResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVcnTopologyResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteVcnResponse") } return } -// getVcnTopology implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVcnTopology(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteVcn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcnTopology", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vcns/{vcnId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVcnTopologyResponse + var response DeleteVcnResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteVcn", apiReferenceLink) return response, err } @@ -14094,50 +5842,60 @@ func (client VirtualNetworkClient) getVcnTopology(ctx context.Context, request c return response, err } -// GetVirtualCircuit Gets the specified virtual circuit's information. -func (client VirtualNetworkClient) GetVirtualCircuit(ctx context.Context, request GetVirtualCircuitRequest) (response GetVirtualCircuitResponse, err error) { +// DeleteVirtualCircuit Deletes the specified virtual circuit. +// **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. +// A default retry strategy applies to this operation DeleteVirtualCircuit() +func (client VirtualNetworkClient) DeleteVirtualCircuit(ctx context.Context, request DeleteVirtualCircuitRequest) (response DeleteVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVirtualCircuit, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteVirtualCircuit, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVirtualCircuitResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteVirtualCircuitResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVirtualCircuitResponse{} + response = DeleteVirtualCircuitResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVirtualCircuitResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteVirtualCircuitResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVirtualCircuitResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteVirtualCircuitResponse") } return } -// getVirtualCircuit implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVirtualCircuit(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteVirtualCircuit implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteVirtualCircuit(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits/{virtualCircuitId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/virtualCircuits/{virtualCircuitId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVirtualCircuitResponse + var response DeleteVirtualCircuitResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteVirtualCircuit", apiReferenceLink) return response, err } @@ -14145,8 +5903,12 @@ func (client VirtualNetworkClient) getVirtualCircuit(ctx context.Context, reques return response, err } -// GetVlan Gets the specified VLAN's information. -func (client VirtualNetworkClient) GetVlan(ctx context.Context, request GetVlanRequest) (response GetVlanResponse, err error) { +// 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 { @@ -14155,40 +5917,42 @@ func (client VirtualNetworkClient) GetVlan(ctx context.Context, request GetVlanR if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVlan, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteVlan, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVlanResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteVlanResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVlanResponse{} + response = DeleteVlanResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVlanResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteVlanResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVlanResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteVlanResponse") } return } -// getVlan implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVlan(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteVlan implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteVlan(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vlans/{vlanId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vlans/{vlanId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVlanResponse + var response DeleteVlanResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vlan/DeleteVlan" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteVlan", apiReferenceLink) return response, err } @@ -14196,11 +5960,13 @@ func (client VirtualNetworkClient) getVlan(ctx context.Context, request common.O return response, err } -// GetVnic Gets the information for the specified virtual network interface card (VNIC). -// You can get the VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) from the -// ListVnicAttachments -// operation. -func (client VirtualNetworkClient) GetVnic(ctx context.Context, request GetVnicRequest) (response GetVnicResponse, err error) { +// DeleteVtap Deletes the specified VTAP. This is an asynchronous operation. The VTAP's `lifecycleState` will change to +// TERMINATING temporarily until the VTAP is completely removed. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtap API. +func (client VirtualNetworkClient) DeleteVtap(ctx context.Context, request DeleteVtapRequest) (response DeleteVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -14209,40 +5975,42 @@ func (client VirtualNetworkClient) GetVnic(ctx context.Context, request GetVnicR if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVnic, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteVtap, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVnicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteVtapResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVnicResponse{} + response = DeleteVtapResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVnicResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteVtapResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVnicResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteVtapResponse") } return } -// getVnic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVnic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteVtap implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteVtap(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vnics/{vnicId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/vtaps/{vtapId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVnicResponse + var response DeleteVtapResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/DeleteVtap" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteVtap", apiReferenceLink) return response, err } @@ -14250,8 +6018,22 @@ func (client VirtualNetworkClient) getVnic(ctx context.Context, request common.O return response, err } -// GetVnicWorker Gets specified vnicWorker. -func (client VirtualNetworkClient) GetVnicWorker(ctx context.Context, request GetVnicWorkerRequest) (response GetVnicWorkerResponse, err error) { +// DetachServiceId Removes the specified Service from the list of enabled +// `Service` objects for the specified gateway. You do not need to remove any route +// rules that specify this `Service` object's `cidrBlock` as the destination CIDR. However, consider +// removing the rules if your intent is to permanently disable use of the `Service` through this +// service gateway. +// **Note:** The `DetachServiceId` operation is an easy way to remove an individual `Service` from +// the service gateway. Compare it with +// UpdateServiceGateway, which replaces +// 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 { @@ -14260,40 +6042,42 @@ func (client VirtualNetworkClient) GetVnicWorker(ctx context.Context, request Ge if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVnicWorker, policy) + ociResponse, err = common.Retry(ctx, request, client.detachServiceId, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DetachServiceIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVnicWorkerResponse{} + response = DetachServiceIdResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVnicWorkerResponse); ok { + if convertedResponse, ok := ociResponse.(DetachServiceIdResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVnicWorkerResponse") + err = fmt.Errorf("failed to convert OCIResponse into DetachServiceIdResponse") } return } -// getVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// detachServiceId implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) detachServiceId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vnicWorkers/{vnicWorkerId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/detachService", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVnicWorkerResponse + var response DetachServiceIdResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/DetachServiceId" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DetachServiceId", apiReferenceLink) return response, err } @@ -14301,8 +6085,12 @@ func (client VirtualNetworkClient) getVnicWorker(ctx context.Context, request co return response, err } -// GetVtap Gets the specified `Vtap` resource. -func (client VirtualNetworkClient) GetVtap(ctx context.Context, request GetVtapRequest) (response GetVtapResponse, err error) { +// GetAllDrgAttachments Returns a complete list of DRG attachments that belong to a particular DRG. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachments API. +func (client VirtualNetworkClient) GetAllDrgAttachments(ctx context.Context, request GetAllDrgAttachmentsRequest) (response GetAllDrgAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -14311,40 +6099,42 @@ func (client VirtualNetworkClient) GetVtap(ctx context.Context, request GetVtapR if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getVtap, policy) + ociResponse, err = common.Retry(ctx, request, client.getAllDrgAttachments, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetVtapResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetAllDrgAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetVtapResponse{} + response = GetAllDrgAttachmentsResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetVtapResponse); ok { + if convertedResponse, ok := ociResponse.(GetAllDrgAttachmentsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetVtapResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetAllDrgAttachmentsResponse") } return } -// getVtap implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) getVtap(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getAllDrgAttachments implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getAllDrgAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vtaps/{vtapId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs/{drgId}/actions/getAllDrgAttachments", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetVtapResponse + var response GetAllDrgAttachmentsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/GetAllDrgAttachments" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetAllDrgAttachments", apiReferenceLink) return response, err } @@ -14352,50 +6142,57 @@ func (client VirtualNetworkClient) getVtap(ctx context.Context, request common.O return response, err } -// ListAdditionalRouteRules List the route rules in a large route table. -func (client VirtualNetworkClient) ListAdditionalRouteRules(ctx context.Context, request ListAdditionalRouteRulesRequest) (response ListAdditionalRouteRulesResponse, err error) { +// GetAllowedIkeIPSecParameters The parameters allowed for IKE IPSec tunnels. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParameters API. +// A default retry strategy applies to this operation GetAllowedIkeIPSecParameters() +func (client VirtualNetworkClient) GetAllowedIkeIPSecParameters(ctx context.Context, request GetAllowedIkeIPSecParametersRequest) (response GetAllowedIkeIPSecParametersResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listAdditionalRouteRules, policy) + ociResponse, err = common.Retry(ctx, request, client.getAllowedIkeIPSecParameters, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListAdditionalRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetAllowedIkeIPSecParametersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListAdditionalRouteRulesResponse{} + response = GetAllowedIkeIPSecParametersResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListAdditionalRouteRulesResponse); ok { + if convertedResponse, ok := ociResponse.(GetAllowedIkeIPSecParametersResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListAdditionalRouteRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetAllowedIkeIPSecParametersResponse") } return } -// listAdditionalRouteRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listAdditionalRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getAllowedIkeIPSecParameters implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getAllowedIkeIPSecParameters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/routeTables/{rtId}/additionalRouteRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecAlgorithms", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListAdditionalRouteRulesResponse + var response GetAllowedIkeIPSecParametersResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AllowedIkeIPSecParameters/GetAllowedIkeIPSecParameters" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetAllowedIkeIPSecParameters", apiReferenceLink) return response, err } @@ -14403,9 +6200,12 @@ func (client VirtualNetworkClient) listAdditionalRouteRules(ctx context.Context, return response, err } -// 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/iaas/Content/Network/Tasks/VCNpeering.htm). -func (client VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering(ctx context.Context, request ListAllowedPeerRegionsForRemotePeeringRequest) (response ListAllowedPeerRegionsForRemotePeeringResponse, err error) { +// 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 { @@ -14414,40 +6214,42 @@ func (client VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering(ctx co if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listAllowedPeerRegionsForRemotePeering, policy) + 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 = ListAllowedPeerRegionsForRemotePeeringResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListAllowedPeerRegionsForRemotePeeringResponse{} + response = GetByoipRangeResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListAllowedPeerRegionsForRemotePeeringResponse); ok { + if convertedResponse, ok := ociResponse.(GetByoipRangeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListAllowedPeerRegionsForRemotePeeringResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetByoipRangeResponse") } return } -// listAllowedPeerRegionsForRemotePeering implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listAllowedPeerRegionsForRemotePeering(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/allowedPeerRegionsForRemotePeering", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges/{byoipRangeId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListAllowedPeerRegionsForRemotePeeringResponse + var response GetByoipRangeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/GetByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetByoipRange", apiReferenceLink) return response, err } @@ -14455,9 +6257,12 @@ 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. -func (client VirtualNetworkClient) ListByoipAllocatedRanges(ctx context.Context, request ListByoipAllocatedRangesRequest) (response ListByoipAllocatedRangesResponse, err error) { +// GetCaptureFilter Gets information about the specified VTAP capture filter. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilter API. +func (client VirtualNetworkClient) GetCaptureFilter(ctx context.Context, request GetCaptureFilterRequest) (response GetCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -14466,40 +6271,42 @@ func (client VirtualNetworkClient) ListByoipAllocatedRanges(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listByoipAllocatedRanges, policy) + ociResponse, err = common.Retry(ctx, request, client.getCaptureFilter, 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} + response = GetCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListByoipAllocatedRangesResponse{} + response = GetCaptureFilterResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListByoipAllocatedRangesResponse); ok { + if convertedResponse, ok := ociResponse.(GetCaptureFilterResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListByoipAllocatedRangesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCaptureFilterResponse") } return } -// listByoipAllocatedRanges implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listByoipAllocatedRanges(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCaptureFilter implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges/{byoipRangeId}/byoipAllocatedRanges", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/captureFilters/{captureFilterId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListByoipAllocatedRangesResponse + var response GetCaptureFilterResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/GetCaptureFilter" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCaptureFilter", apiReferenceLink) return response, err } @@ -14507,51 +6314,57 @@ func (client VirtualNetworkClient) listByoipAllocatedRanges(ctx context.Context, return response, err } -// ListByoipRanges Lists the `ByoipRange` resources in the specified compartment. -// You can filter the list using query parameters. -func (client VirtualNetworkClient) ListByoipRanges(ctx context.Context, request ListByoipRangesRequest) (response ListByoipRangesResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetCpe() +func (client VirtualNetworkClient) GetCpe(ctx context.Context, request GetCpeRequest) (response GetCpeResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listByoipRanges, policy) + ociResponse, err = common.Retry(ctx, request, client.getCpe, 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} + response = GetCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListByoipRangesResponse{} + response = GetCpeResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListByoipRangesResponse); ok { + if convertedResponse, ok := ociResponse.(GetCpeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListByoipRangesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCpeResponse") } return } -// listByoipRanges implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listByoipRanges(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCpe implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpes/{cpeId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListByoipRangesResponse + var response GetCpeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Cpe/GetCpe" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCpe", apiReferenceLink) return response, err } @@ -14559,53 +6372,70 @@ func (client VirtualNetworkClient) listByoipRanges(ctx context.Context, request return response, err } -// ListC3DrgAttachments Lists the `DrgAttachment` resources for the specified compartment. You can filter the -// results by DRG, attached network, attachment type, DRG route table or VCN route table. -// The LIST API lists DRG attachment by attachment type. It will default to list VCN attachments, -// but you may request to list ALL attachments of ALL types. -func (client VirtualNetworkClient) ListC3DrgAttachments(ctx context.Context, request ListC3DrgAttachmentsRequest) (response ListC3DrgAttachmentsResponse, err error) { +// GetCpeDeviceConfigContent Renders a set of CPE configuration content that can help a network engineer configure the actual +// CPE device (for example, a hardware router) represented by the specified Cpe +// object. +// The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the +// Cpe must have the CPE's device type specified by the `cpeDeviceShapeId` +// attribute. The content optionally includes answers that the customer provides (see +// UpdateTunnelCpeDeviceConfig), +// merged with a template of other information specific to the CPE device type. +// The operation returns configuration information for *all* of the +// IPSecConnection objects that use the specified CPE. +// Here are similar operations: +// - GetIpsecCpeDeviceConfigContent +// returns CPE configuration content for all IPSec tunnels in a single IPSec connection. +// - GetTunnelCpeDeviceConfigContent +// returns CPE configuration content for a specific IPSec tunnel in 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. +// A default retry strategy applies to this operation GetCpeDeviceConfigContent() +func (client VirtualNetworkClient) GetCpeDeviceConfigContent(ctx context.Context, request GetCpeDeviceConfigContentRequest) (response GetCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listC3DrgAttachments, policy) + ociResponse, err = common.Retry(ctx, request, client.getCpeDeviceConfigContent, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListC3DrgAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetCpeDeviceConfigContentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListC3DrgAttachmentsResponse{} + response = GetCpeDeviceConfigContentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListC3DrgAttachmentsResponse); ok { + if convertedResponse, ok := ociResponse.(GetCpeDeviceConfigContentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListC3DrgAttachmentsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCpeDeviceConfigContentResponse") } return } -// listC3DrgAttachments implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listC3DrgAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCpeDeviceConfigContent implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCpeDeviceConfigContent(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/c3_drgAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpes/{cpeId}/cpeConfigContent", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListC3DrgAttachmentsResponse + var response GetCpeDeviceConfigContentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Cpe/GetCpeDeviceConfigContent" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCpeDeviceConfigContent", apiReferenceLink) return response, err } @@ -14613,50 +6443,64 @@ func (client VirtualNetworkClient) listC3DrgAttachments(ctx context.Context, req return response, err } -// ListC3Drgs Lists the DRGs in the specified compartment. -func (client VirtualNetworkClient) ListC3Drgs(ctx context.Context, request ListC3DrgsRequest) (response ListC3DrgsResponse, err error) { +// GetCpeDeviceShape Gets the detailed information about the specified CPE device type. This might include a set of questions +// that are specific to the particular CPE device type. The customer must supply answers to those questions +// (see UpdateTunnelCpeDeviceConfig). +// The service merges the answers with a template of other information for the CPE device type. The following +// operations return the merged content: +// - 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. +// A default retry strategy applies to this operation GetCpeDeviceShape() +func (client VirtualNetworkClient) GetCpeDeviceShape(ctx context.Context, request GetCpeDeviceShapeRequest) (response GetCpeDeviceShapeResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listC3Drgs, policy) + ociResponse, err = common.Retry(ctx, request, client.getCpeDeviceShape, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListC3DrgsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetCpeDeviceShapeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListC3DrgsResponse{} + response = GetCpeDeviceShapeResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListC3DrgsResponse); ok { + if convertedResponse, ok := ociResponse.(GetCpeDeviceShapeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListC3DrgsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCpeDeviceShapeResponse") } return } -// listC3Drgs implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listC3Drgs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCpeDeviceShape implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCpeDeviceShape(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/c3_drgs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpeDeviceShapes/{cpeDeviceShapeId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListC3DrgsResponse + var response GetCpeDeviceShapeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CpeDeviceShapeDetail/GetCpeDeviceShape" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCpeDeviceShape", apiReferenceLink) return response, err } @@ -14664,50 +6508,57 @@ func (client VirtualNetworkClient) listC3Drgs(ctx context.Context, request commo return response, err } -// ListCaptureFilters Lists the capture filters in the specified compartment. -func (client VirtualNetworkClient) ListCaptureFilters(ctx context.Context, request ListCaptureFiltersRequest) (response ListCaptureFiltersResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetCrossConnect() +func (client VirtualNetworkClient) GetCrossConnect(ctx context.Context, request GetCrossConnectRequest) (response GetCrossConnectResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCaptureFilters, policy) + ociResponse, err = common.Retry(ctx, request, client.getCrossConnect, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCaptureFiltersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCaptureFiltersResponse{} + response = GetCrossConnectResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCaptureFiltersResponse); ok { + if convertedResponse, ok := ociResponse.(GetCrossConnectResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCaptureFiltersResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectResponse") } return } -// listCaptureFilters implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCaptureFilters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCrossConnect implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/captureFilters", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects/{crossConnectId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCaptureFiltersResponse + var response GetCrossConnectResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnect/GetCrossConnect" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCrossConnect", apiReferenceLink) return response, err } @@ -14715,50 +6566,57 @@ func (client VirtualNetworkClient) listCaptureFilters(ctx context.Context, reque return response, err } -// ListClientVpnUsers List the ClientVpnUsers on a ClientClientVpnEnpoint in the specified compartement. -func (client VirtualNetworkClient) ListClientVpnUsers(ctx context.Context, request ListClientVpnUsersRequest) (response ListClientVpnUsersResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetCrossConnectGroup() +func (client VirtualNetworkClient) GetCrossConnectGroup(ctx context.Context, request GetCrossConnectGroupRequest) (response GetCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listClientVpnUsers, policy) + ociResponse, err = common.Retry(ctx, request, client.getCrossConnectGroup, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListClientVpnUsersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListClientVpnUsersResponse{} + response = GetCrossConnectGroupResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListClientVpnUsersResponse); ok { + if convertedResponse, ok := ociResponse.(GetCrossConnectGroupResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListClientVpnUsersResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectGroupResponse") } return } -// listClientVpnUsers implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listClientVpnUsers(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCrossConnectGroup implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clientVpns/{clientVpnId}/users", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectGroups/{crossConnectGroupId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListClientVpnUsersResponse + var response GetCrossConnectGroupResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectGroup/GetCrossConnectGroup" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCrossConnectGroup", apiReferenceLink) return response, err } @@ -14766,50 +6624,57 @@ func (client VirtualNetworkClient) listClientVpnUsers(ctx context.Context, reque return response, err } -// ListClientVpns List the ClientVpns in the specified compartement. -func (client VirtualNetworkClient) ListClientVpns(ctx context.Context, request ListClientVpnsRequest) (response ListClientVpnsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetCrossConnectLetterOfAuthority() +func (client VirtualNetworkClient) GetCrossConnectLetterOfAuthority(ctx context.Context, request GetCrossConnectLetterOfAuthorityRequest) (response GetCrossConnectLetterOfAuthorityResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listClientVpns, policy) + ociResponse, err = common.Retry(ctx, request, client.getCrossConnectLetterOfAuthority, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListClientVpnsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetCrossConnectLetterOfAuthorityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListClientVpnsResponse{} + response = GetCrossConnectLetterOfAuthorityResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListClientVpnsResponse); ok { + if convertedResponse, ok := ociResponse.(GetCrossConnectLetterOfAuthorityResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListClientVpnsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectLetterOfAuthorityResponse") } return } -// listClientVpns implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listClientVpns(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCrossConnectLetterOfAuthority implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCrossConnectLetterOfAuthority(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/clientVpns", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects/{crossConnectId}/letterOfAuthority", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListClientVpnsResponse + var response GetCrossConnectLetterOfAuthorityResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LetterOfAuthority/GetCrossConnectLetterOfAuthority" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCrossConnectLetterOfAuthority", apiReferenceLink) return response, err } @@ -14817,59 +6682,57 @@ func (client VirtualNetworkClient) listClientVpns(ctx context.Context, request c 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. -// If you want to generate CPE configuration content for one of the returned CPE device types, -// ensure that the Cpe object's `cpeDeviceShapeId` attribute is set -// to the CPE device type's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) (returned by this operation). -// For information about generating CPE configuration content, see these operations: -// - GetCpeDeviceConfigContent -// - GetIpsecCpeDeviceConfigContent -// - GetTunnelCpeDeviceConfigContent -func (client VirtualNetworkClient) ListCpeDeviceShapes(ctx context.Context, request ListCpeDeviceShapesRequest) (response ListCpeDeviceShapesResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetCrossConnectStatus() +func (client VirtualNetworkClient) GetCrossConnectStatus(ctx context.Context, request GetCrossConnectStatusRequest) (response GetCrossConnectStatusResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCpeDeviceShapes, policy) + ociResponse, err = common.Retry(ctx, request, client.getCrossConnectStatus, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCpeDeviceShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetCrossConnectStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCpeDeviceShapesResponse{} + response = GetCrossConnectStatusResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCpeDeviceShapesResponse); ok { + if convertedResponse, ok := ociResponse.(GetCrossConnectStatusResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCpeDeviceShapesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetCrossConnectStatusResponse") } return } -// listCpeDeviceShapes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCpeDeviceShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getCrossConnectStatus implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getCrossConnectStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpeDeviceShapes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects/{crossConnectId}/status", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCpeDeviceShapesResponse + var response GetCrossConnectStatusResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectStatus/GetCrossConnectStatus" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetCrossConnectStatus", apiReferenceLink) return response, err } @@ -14877,8 +6740,12 @@ func (client VirtualNetworkClient) listCpeDeviceShapes(ctx context.Context, requ return response, err } -// ListCpes Lists the customer-premises equipment objects (CPEs) in the specified compartment. -func (client VirtualNetworkClient) ListCpes(ctx context.Context, request ListCpesRequest) (response ListCpesResponse, err error) { +// 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 { @@ -14887,40 +6754,42 @@ func (client VirtualNetworkClient) ListCpes(ctx context.Context, request ListCpe if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCpes, policy) + ociResponse, err = common.Retry(ctx, request, client.getDhcpOptions, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCpesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCpesResponse{} + response = GetDhcpOptionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCpesResponse); ok { + if convertedResponse, ok := ociResponse.(GetDhcpOptionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCpesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetDhcpOptionsResponse") } return } -// listCpes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCpes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getDhcpOptions implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/dhcps/{dhcpId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCpesResponse + var response GetDhcpOptionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DhcpOptions/GetDhcpOptions" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetDhcpOptions", apiReferenceLink) return response, err } @@ -14928,8 +6797,12 @@ func (client VirtualNetworkClient) listCpes(ctx context.Context, request common. return response, err } -// ListCrossConnectGroups Lists the cross-connect groups in the specified compartment. -func (client VirtualNetworkClient) ListCrossConnectGroups(ctx context.Context, request ListCrossConnectGroupsRequest) (response ListCrossConnectGroupsResponse, err error) { +// 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 { @@ -14938,40 +6811,42 @@ func (client VirtualNetworkClient) ListCrossConnectGroups(ctx context.Context, r if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCrossConnectGroups, policy) + ociResponse, err = common.Retry(ctx, request, client.getDrg, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCrossConnectGroupsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCrossConnectGroupsResponse{} + response = GetDrgResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCrossConnectGroupsResponse); ok { + if convertedResponse, ok := ociResponse.(GetDrgResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectGroupsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetDrgResponse") } return } -// listCrossConnectGroups implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCrossConnectGroups(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getDrg implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectGroups", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs/{drgId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCrossConnectGroupsResponse + var response GetDrgResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/GetDrg" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetDrg", apiReferenceLink) return response, err } @@ -14979,9 +6854,12 @@ func (client VirtualNetworkClient) listCrossConnectGroups(ctx context.Context, r return response, err } -// 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. -func (client VirtualNetworkClient) ListCrossConnectLocations(ctx context.Context, request ListCrossConnectLocationsRequest) (response ListCrossConnectLocationsResponse, err error) { +// GetDrgAttachment Gets the `DrgAttachment` resource. +// +// # 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 { @@ -14990,40 +6868,42 @@ func (client VirtualNetworkClient) ListCrossConnectLocations(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCrossConnectLocations, policy) + ociResponse, err = common.Retry(ctx, request, client.getDrgAttachment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCrossConnectLocationsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCrossConnectLocationsResponse{} + response = GetDrgAttachmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCrossConnectLocationsResponse); ok { + if convertedResponse, ok := ociResponse.(GetDrgAttachmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectLocationsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetDrgAttachmentResponse") } return } -// listCrossConnectLocations implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCrossConnectLocations(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getDrgAttachment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectLocations", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCrossConnectLocationsResponse + var response GetDrgAttachmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgAttachment/GetDrgAttachment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetDrgAttachment", apiReferenceLink) return response, err } @@ -15031,51 +6911,58 @@ func (client VirtualNetworkClient) listCrossConnectLocations(ctx context.Context return response, err } -// ListCrossConnectMappings Lists the Cross Connect mapping Details for the specified -// virtual circuit. -func (client VirtualNetworkClient) ListCrossConnectMappings(ctx context.Context, request ListCrossConnectMappingsRequest) (response ListCrossConnectMappingsResponse, err error) { +// GetDrgRedundancyStatus Gets the redundancy status for the specified DRG. For more information, see +// 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. +// A default retry strategy applies to this operation GetDrgRedundancyStatus() +func (client VirtualNetworkClient) GetDrgRedundancyStatus(ctx context.Context, request GetDrgRedundancyStatusRequest) (response GetDrgRedundancyStatusResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCrossConnectMappings, policy) + ociResponse, err = common.Retry(ctx, request, client.getDrgRedundancyStatus, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCrossConnectMappingsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetDrgRedundancyStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCrossConnectMappingsResponse{} + response = GetDrgRedundancyStatusResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCrossConnectMappingsResponse); ok { + if convertedResponse, ok := ociResponse.(GetDrgRedundancyStatusResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectMappingsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetDrgRedundancyStatusResponse") } return } -// listCrossConnectMappings implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCrossConnectMappings(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getDrgRedundancyStatus implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getDrgRedundancyStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits/{virtualCircuitId}/crossConnectMappings", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs/{drgId}/redundancyStatus", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCrossConnectMappingsResponse + var response GetDrgRedundancyStatusResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRedundancyStatus/GetDrgRedundancyStatus" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetDrgRedundancyStatus", apiReferenceLink) return response, err } @@ -15083,9 +6970,12 @@ func (client VirtualNetworkClient) listCrossConnectMappings(ctx context.Context, return response, err } -// ListCrossConnects Lists the cross-connects in the specified compartment. You can filter the list -// by specifying the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a cross-connect group. -func (client VirtualNetworkClient) ListCrossConnects(ctx context.Context, request ListCrossConnectsRequest) (response ListCrossConnectsResponse, err error) { +// GetDrgRouteDistribution Gets the specified route distribution's information. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistribution API. +func (client VirtualNetworkClient) GetDrgRouteDistribution(ctx context.Context, request GetDrgRouteDistributionRequest) (response GetDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -15094,40 +6984,42 @@ func (client VirtualNetworkClient) ListCrossConnects(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCrossConnects, policy) + ociResponse, err = common.Retry(ctx, request, client.getDrgRouteDistribution, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCrossConnectsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCrossConnectsResponse{} + response = GetDrgRouteDistributionResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCrossConnectsResponse); ok { + if convertedResponse, ok := ociResponse.(GetDrgRouteDistributionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetDrgRouteDistributionResponse") } return } -// listCrossConnects implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCrossConnects(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteDistributions/{drgRouteDistributionId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCrossConnectsResponse + var response GetDrgRouteDistributionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistribution/GetDrgRouteDistribution" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetDrgRouteDistribution", apiReferenceLink) return response, err } @@ -15135,10 +7027,12 @@ func (client VirtualNetworkClient) listCrossConnects(ctx context.Context, reques return response, err } -// 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. -func (client VirtualNetworkClient) ListCrossconnectPortSpeedShapes(ctx context.Context, request ListCrossconnectPortSpeedShapesRequest) (response ListCrossconnectPortSpeedShapesResponse, err error) { +// GetDrgRouteTable Gets the specified DRG route table's information. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTable API. +func (client VirtualNetworkClient) GetDrgRouteTable(ctx context.Context, request GetDrgRouteTableRequest) (response GetDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -15147,40 +7041,42 @@ func (client VirtualNetworkClient) ListCrossconnectPortSpeedShapes(ctx context.C if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listCrossconnectPortSpeedShapes, policy) + ociResponse, err = common.Retry(ctx, request, client.getDrgRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCrossconnectPortSpeedShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListCrossconnectPortSpeedShapesResponse{} + response = GetDrgRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListCrossconnectPortSpeedShapesResponse); ok { + if convertedResponse, ok := ociResponse.(GetDrgRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCrossconnectPortSpeedShapesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetDrgRouteTableResponse") } return } -// listCrossconnectPortSpeedShapes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listCrossconnectPortSpeedShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getDrgRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectPortSpeedShapes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteTables/{drgRouteTableId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListCrossconnectPortSpeedShapesResponse + var response GetDrgRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteTable/GetDrgRouteTable" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetDrgRouteTable", apiReferenceLink) return response, err } @@ -15188,50 +7084,58 @@ func (client VirtualNetworkClient) listCrossconnectPortSpeedShapes(ctx context.C return response, err } -// ListDavs Gets the list of Direct Attached Vnics -func (client VirtualNetworkClient) ListDavs(ctx context.Context, request ListDavsRequest) (response ListDavsResponse, err error) { +// GetFastConnectProviderService Gets the specified provider service. +// 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. +// A default retry strategy applies to this operation GetFastConnectProviderService() +func (client VirtualNetworkClient) GetFastConnectProviderService(ctx context.Context, request GetFastConnectProviderServiceRequest) (response GetFastConnectProviderServiceResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDavs, policy) + ociResponse, err = common.Retry(ctx, request, client.getFastConnectProviderService, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDavsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetFastConnectProviderServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDavsResponse{} + response = GetFastConnectProviderServiceResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDavsResponse); ok { + if convertedResponse, ok := ociResponse.(GetFastConnectProviderServiceResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDavsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetFastConnectProviderServiceResponse") } return } -// listDavs implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDavs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getFastConnectProviderService implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getFastConnectProviderService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/davs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices/{providerServiceId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDavsResponse + var response GetFastConnectProviderServiceResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FastConnectProviderService/GetFastConnectProviderService" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetFastConnectProviderService", apiReferenceLink) return response, err } @@ -15239,53 +7143,58 @@ func (client VirtualNetworkClient) listDavs(ctx context.Context, request common. return response, err } -// ListDhcpOptions Lists the sets of DHCP options in the specified VCN and specified compartment. -// 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. -func (client VirtualNetworkClient) ListDhcpOptions(ctx context.Context, request ListDhcpOptionsRequest) (response ListDhcpOptionsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetFastConnectProviderServiceKey() +func (client VirtualNetworkClient) GetFastConnectProviderServiceKey(ctx context.Context, request GetFastConnectProviderServiceKeyRequest) (response GetFastConnectProviderServiceKeyResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDhcpOptions, policy) + ociResponse, err = common.Retry(ctx, request, client.getFastConnectProviderServiceKey, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetFastConnectProviderServiceKeyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDhcpOptionsResponse{} + response = GetFastConnectProviderServiceKeyResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDhcpOptionsResponse); ok { + if convertedResponse, ok := ociResponse.(GetFastConnectProviderServiceKeyResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDhcpOptionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetFastConnectProviderServiceKeyResponse") } return } -// listDhcpOptions implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getFastConnectProviderServiceKey implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getFastConnectProviderServiceKey(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/dhcps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices/{providerServiceId}/providerServiceKeys/{providerServiceKeyName}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDhcpOptionsResponse + var response GetFastConnectProviderServiceKeyResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FastConnectProviderServiceKey/GetFastConnectProviderServiceKey" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetFastConnectProviderServiceKey", apiReferenceLink) return response, err } @@ -15293,54 +7202,59 @@ func (client VirtualNetworkClient) listDhcpOptions(ctx context.Context, request return response, err } -// ListDrgAttachments Lists the `DrgAttachment` resource for the specified compartment. You can filter the -// results by DRG, attached network, attachment type, DRG route table or -// VCN route table. -// The LIST API lists DRG attachments by attachment type. It will default to list VCN attachments, -// but you may request to list ALL attachments of ALL types. -func (client VirtualNetworkClient) ListDrgAttachments(ctx context.Context, request ListDrgAttachmentsRequest) (response ListDrgAttachmentsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetIPSecConnection() +func (client VirtualNetworkClient) GetIPSecConnection(ctx context.Context, request GetIPSecConnectionRequest) (response GetIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDrgAttachments, policy) + ociResponse, err = common.Retry(ctx, request, client.getIPSecConnection, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDrgAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDrgAttachmentsResponse{} + response = GetIPSecConnectionResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDrgAttachmentsResponse); ok { + if convertedResponse, ok := ociResponse.(GetIPSecConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDrgAttachmentsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionResponse") } return } -// listDrgAttachments implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDrgAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIPSecConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDrgAttachmentsResponse + var response GetIPSecConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnection/GetIPSecConnection" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIPSecConnection", apiReferenceLink) return response, err } @@ -15348,50 +7262,59 @@ func (client VirtualNetworkClient) listDrgAttachments(ctx context.Context, reque return response, err } -// ListDrgRouteDistributionStatements Lists the statements for the specified route distribution. -func (client VirtualNetworkClient) ListDrgRouteDistributionStatements(ctx context.Context, request ListDrgRouteDistributionStatementsRequest) (response ListDrgRouteDistributionStatementsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetIPSecConnectionDeviceConfig() +func (client VirtualNetworkClient) GetIPSecConnectionDeviceConfig(ctx context.Context, request GetIPSecConnectionDeviceConfigRequest) (response GetIPSecConnectionDeviceConfigResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDrgRouteDistributionStatements, policy) + ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionDeviceConfig, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIPSecConnectionDeviceConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDrgRouteDistributionStatementsResponse{} + response = GetIPSecConnectionDeviceConfigResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDrgRouteDistributionStatementsResponse); ok { + if convertedResponse, ok := ociResponse.(GetIPSecConnectionDeviceConfigResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteDistributionStatementsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionDeviceConfigResponse") } return } -// listDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIPSecConnectionDeviceConfig implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIPSecConnectionDeviceConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteDistributions/{drgRouteDistributionId}/drgRouteDistributionStatements", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/deviceConfig", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDrgRouteDistributionStatementsResponse + var response GetIPSecConnectionDeviceConfigResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionDeviceConfig/GetIPSecConnectionDeviceConfig" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIPSecConnectionDeviceConfig", apiReferenceLink) return response, err } @@ -15399,52 +7322,58 @@ func (client VirtualNetworkClient) listDrgRouteDistributionStatements(ctx contex return response, err } -// ListDrgRouteDistributions Lists the route distributions in the specified DRG. -// To retrieve the statements in a distribution, use the -// ListDrgRouteDistributionStatements operation. -func (client VirtualNetworkClient) ListDrgRouteDistributions(ctx context.Context, request ListDrgRouteDistributionsRequest) (response ListDrgRouteDistributionsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetIPSecConnectionDeviceStatus() +func (client VirtualNetworkClient) GetIPSecConnectionDeviceStatus(ctx context.Context, request GetIPSecConnectionDeviceStatusRequest) (response GetIPSecConnectionDeviceStatusResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDrgRouteDistributions, policy) + ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionDeviceStatus, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDrgRouteDistributionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIPSecConnectionDeviceStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDrgRouteDistributionsResponse{} + response = GetIPSecConnectionDeviceStatusResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDrgRouteDistributionsResponse); ok { + if convertedResponse, ok := ociResponse.(GetIPSecConnectionDeviceStatusResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteDistributionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionDeviceStatusResponse") } return } -// listDrgRouteDistributions implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDrgRouteDistributions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIPSecConnectionDeviceStatus implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIPSecConnectionDeviceStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteDistributions", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/deviceStatus", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDrgRouteDistributionsResponse + var response GetIPSecConnectionDeviceStatusResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionDeviceStatus/GetIPSecConnectionDeviceStatus" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIPSecConnectionDeviceStatus", apiReferenceLink) return response, err } @@ -15452,50 +7381,59 @@ func (client VirtualNetworkClient) listDrgRouteDistributions(ctx context.Context return response, err } -// ListDrgRouteRules Lists the route rules in the specified DRG route table. -func (client VirtualNetworkClient) ListDrgRouteRules(ctx context.Context, request ListDrgRouteRulesRequest) (response ListDrgRouteRulesResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetIPSecConnectionTunnel() +func (client VirtualNetworkClient) GetIPSecConnectionTunnel(ctx context.Context, request GetIPSecConnectionTunnelRequest) (response GetIPSecConnectionTunnelResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDrgRouteRules, policy) + ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionTunnel, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIPSecConnectionTunnelResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDrgRouteRulesResponse{} + response = GetIPSecConnectionTunnelResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDrgRouteRulesResponse); ok { + if convertedResponse, ok := ociResponse.(GetIPSecConnectionTunnelResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionTunnelResponse") } return } -// listDrgRouteRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIPSecConnectionTunnel implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIPSecConnectionTunnel(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteTables/{drgRouteTableId}/drgRouteRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDrgRouteRulesResponse + var response GetIPSecConnectionTunnelResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionTunnel/GetIPSecConnectionTunnel" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIPSecConnectionTunnel", apiReferenceLink) return response, err } @@ -15503,51 +7441,57 @@ func (client VirtualNetworkClient) listDrgRouteRules(ctx context.Context, reques return response, err } -// ListDrgRouteTables Lists the DRG route tables for the specified DRG. -// Use the `ListDrgRouteRules` operation to retrieve the route rules in a table. -func (client VirtualNetworkClient) ListDrgRouteTables(ctx context.Context, request ListDrgRouteTablesRequest) (response ListDrgRouteTablesResponse, err error) { +// GetIPSecConnectionTunnelError Gets the identified error for the specified IPSec tunnel ID. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelError API. +// A default retry strategy applies to this operation GetIPSecConnectionTunnelError() +func (client VirtualNetworkClient) GetIPSecConnectionTunnelError(ctx context.Context, request GetIPSecConnectionTunnelErrorRequest) (response GetIPSecConnectionTunnelErrorResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDrgRouteTables, policy) + ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionTunnelError, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDrgRouteTablesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIPSecConnectionTunnelErrorResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDrgRouteTablesResponse{} + response = GetIPSecConnectionTunnelErrorResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDrgRouteTablesResponse); ok { + if convertedResponse, ok := ociResponse.(GetIPSecConnectionTunnelErrorResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteTablesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionTunnelErrorResponse") } return } -// listDrgRouteTables implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDrgRouteTables(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIPSecConnectionTunnelError implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIPSecConnectionTunnelError(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteTables", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/error", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDrgRouteTablesResponse + var response GetIPSecConnectionTunnelErrorResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionTunnelErrorDetails/GetIPSecConnectionTunnelError" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIPSecConnectionTunnelError", apiReferenceLink) return response, err } @@ -15555,50 +7499,58 @@ func (client VirtualNetworkClient) listDrgRouteTables(ctx context.Context, reque return response, err } -// ListDrgs Lists the DRGs in the specified compartment. -func (client VirtualNetworkClient) ListDrgs(ctx context.Context, request ListDrgsRequest) (response ListDrgsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetIPSecConnectionTunnelSharedSecret() +func (client VirtualNetworkClient) GetIPSecConnectionTunnelSharedSecret(ctx context.Context, request GetIPSecConnectionTunnelSharedSecretRequest) (response GetIPSecConnectionTunnelSharedSecretResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDrgs, policy) + ociResponse, err = common.Retry(ctx, request, client.getIPSecConnectionTunnelSharedSecret, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDrgsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIPSecConnectionTunnelSharedSecretResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDrgsResponse{} + response = GetIPSecConnectionTunnelSharedSecretResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDrgsResponse); ok { + if convertedResponse, ok := ociResponse.(GetIPSecConnectionTunnelSharedSecretResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDrgsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIPSecConnectionTunnelSharedSecretResponse") } return } -// listDrgs implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDrgs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIPSecConnectionTunnelSharedSecret implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIPSecConnectionTunnelSharedSecret(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/sharedSecret", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDrgsResponse + var response GetIPSecConnectionTunnelSharedSecretResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionTunnelSharedSecret/GetIPSecConnectionTunnelSharedSecret" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIPSecConnectionTunnelSharedSecret", apiReferenceLink) return response, err } @@ -15606,8 +7558,12 @@ func (client VirtualNetworkClient) listDrgs(ctx context.Context, request common. return response, err } -// ListDrgsByStates Returns a list of DRG by their upgrade state (Classical, Migrated, Upgraded). It is not -func (client VirtualNetworkClient) ListDrgsByStates(ctx context.Context, request ListDrgsByStatesRequest) (response ListDrgsByStatesResponse, err error) { +// 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 { @@ -15616,40 +7572,42 @@ func (client VirtualNetworkClient) ListDrgsByStates(ctx context.Context, request if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDrgsByStates, policy) + ociResponse, err = common.Retry(ctx, request, client.getInternetGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDrgsByStatesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDrgsByStatesResponse{} + response = GetInternetGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDrgsByStatesResponse); ok { + if convertedResponse, ok := ociResponse.(GetInternetGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDrgsByStatesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetInternetGatewayResponse") } return } -// listDrgsByStates implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listDrgsByStates(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getInternetGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgsByState", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/internetGateways/{igId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDrgsByStatesResponse + var response GetInternetGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InternetGateway/GetInternetGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetInternetGateway", apiReferenceLink) return response, err } @@ -15657,51 +7615,71 @@ func (client VirtualNetworkClient) listDrgsByStates(ctx context.Context, request return response, err } -// ListEndpointServices Lists the endpoint services in the specified compartment. You can optionally filter the list -// by specifying the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a service VCN. -func (client VirtualNetworkClient) ListEndpointServices(ctx context.Context, request ListEndpointServicesRequest) (response ListEndpointServicesResponse, err error) { +// GetIpsecCpeDeviceConfigContent Renders a set of CPE configuration content for the specified IPSec connection (for all the +// tunnels in the connection). The content helps a network engineer configure the actual CPE +// device (for example, a hardware router) that the specified IPSec connection terminates on. +// The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the +// Cpe used by the specified IPSecConnection +// must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content +// optionally includes answers that the customer provides (see +// UpdateTunnelCpeDeviceConfig), +// merged with a template of other information specific to the CPE device type. +// The operation returns configuration information for all tunnels in the single specified +// IPSecConnection object. Here are other similar +// operations: +// - GetTunnelCpeDeviceConfigContent +// 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. +// A default retry strategy applies to this operation GetIpsecCpeDeviceConfigContent() +func (client VirtualNetworkClient) GetIpsecCpeDeviceConfigContent(ctx context.Context, request GetIpsecCpeDeviceConfigContentRequest) (response GetIpsecCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listEndpointServices, policy) + ociResponse, err = common.Retry(ctx, request, client.getIpsecCpeDeviceConfigContent, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListEndpointServicesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIpsecCpeDeviceConfigContentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListEndpointServicesResponse{} + response = GetIpsecCpeDeviceConfigContentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListEndpointServicesResponse); ok { + if convertedResponse, ok := ociResponse.(GetIpsecCpeDeviceConfigContentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListEndpointServicesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIpsecCpeDeviceConfigContentResponse") } return } -// listEndpointServices implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listEndpointServices(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIpsecCpeDeviceConfigContent implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIpsecCpeDeviceConfigContent(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/endpointServices", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/cpeConfigContent", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListEndpointServicesResponse + var response GetIpsecCpeDeviceConfigContentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnection/GetIpsecCpeDeviceConfigContent" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIpsecCpeDeviceConfigContent", apiReferenceLink) return response, err } @@ -15709,12 +7687,15 @@ func (client VirtualNetworkClient) listEndpointServices(ctx context.Context, req return response, err } -// ListFastConnectProviderServices Lists the service offerings from supported providers. You need this -// information so you can specify your desired provider and service -// offering when you create a virtual circuit. -// For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). -// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). -func (client VirtualNetworkClient) ListFastConnectProviderServices(ctx context.Context, request ListFastConnectProviderServicesRequest) (response ListFastConnectProviderServicesResponse, err error) { +// GetIpv6 Gets the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// 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 (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/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 { @@ -15723,40 +7704,42 @@ func (client VirtualNetworkClient) ListFastConnectProviderServices(ctx context.C if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listFastConnectProviderServices, policy) + ociResponse, err = common.Retry(ctx, request, client.getIpv6, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListFastConnectProviderServicesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListFastConnectProviderServicesResponse{} + response = GetIpv6Response{} } } return } - if convertedResponse, ok := ociResponse.(ListFastConnectProviderServicesResponse); ok { + if convertedResponse, ok := ociResponse.(GetIpv6Response); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListFastConnectProviderServicesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetIpv6Response") } return } -// listFastConnectProviderServices implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listFastConnectProviderServices(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getIpv6 implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipv6/{ipv6Id}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListFastConnectProviderServicesResponse + var response GetIpv6Response var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/GetIpv6" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetIpv6", apiReferenceLink) return response, err } @@ -15764,10 +7747,12 @@ func (client VirtualNetworkClient) listFastConnectProviderServices(ctx context.C return response, err } -// 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/iaas/Content/Network/Concepts/fastconnect.htm). -func (client VirtualNetworkClient) ListFastConnectProviderVirtualCircuitBandwidthShapes(ctx context.Context, request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) (response ListFastConnectProviderVirtualCircuitBandwidthShapesResponse, err error) { +// 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 { @@ -15776,40 +7761,42 @@ func (client VirtualNetworkClient) ListFastConnectProviderVirtualCircuitBandwidt if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listFastConnectProviderVirtualCircuitBandwidthShapes, policy) + ociResponse, err = common.Retry(ctx, request, client.getLocalPeeringGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListFastConnectProviderVirtualCircuitBandwidthShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetLocalPeeringGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListFastConnectProviderVirtualCircuitBandwidthShapesResponse{} + response = GetLocalPeeringGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListFastConnectProviderVirtualCircuitBandwidthShapesResponse); ok { + if convertedResponse, ok := ociResponse.(GetLocalPeeringGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListFastConnectProviderVirtualCircuitBandwidthShapesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetLocalPeeringGatewayResponse") } return } -// listFastConnectProviderVirtualCircuitBandwidthShapes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listFastConnectProviderVirtualCircuitBandwidthShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getLocalPeeringGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getLocalPeeringGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices/{providerServiceId}/virtualCircuitBandwidthShapes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/localPeeringGateways/{localPeeringGatewayId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListFastConnectProviderVirtualCircuitBandwidthShapesResponse + var response GetLocalPeeringGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LocalPeeringGateway/GetLocalPeeringGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetLocalPeeringGateway", apiReferenceLink) return response, err } @@ -15817,9 +7804,12 @@ func (client VirtualNetworkClient) listFastConnectProviderVirtualCircuitBandwidt return response, err } -// ListFlowLogConfigAttachments Lists the flow log configuration attachments for the specified compartment. You can filter the -// results by a particular subnet by specifying both `targetEntityId` and `targetEntityType`. -func (client VirtualNetworkClient) ListFlowLogConfigAttachments(ctx context.Context, request ListFlowLogConfigAttachmentsRequest) (response ListFlowLogConfigAttachmentsResponse, err error) { +// 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 { @@ -15828,40 +7818,42 @@ func (client VirtualNetworkClient) ListFlowLogConfigAttachments(ctx context.Cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listFlowLogConfigAttachments, policy) + ociResponse, err = common.Retry(ctx, request, client.getNatGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListFlowLogConfigAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetNatGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListFlowLogConfigAttachmentsResponse{} + response = GetNatGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListFlowLogConfigAttachmentsResponse); ok { + if convertedResponse, ok := ociResponse.(GetNatGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListFlowLogConfigAttachmentsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetNatGatewayResponse") } return } -// listFlowLogConfigAttachments implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listFlowLogConfigAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getNatGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getNatGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/flowLogConfigAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/natGateways/{natGatewayId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListFlowLogConfigAttachmentsResponse + var response GetNatGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NatGateway/GetNatGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetNatGateway", apiReferenceLink) return response, err } @@ -15869,8 +7861,16 @@ func (client VirtualNetworkClient) listFlowLogConfigAttachments(ctx context.Cont return response, err } -// ListFlowLogConfigs Lists the flow log configurations for the specified compartment. -func (client VirtualNetworkClient) ListFlowLogConfigs(ctx context.Context, request ListFlowLogConfigsRequest) (response ListFlowLogConfigsResponse, err error) { +// GetNetworkSecurityGroup Gets the specified network security group's information. +// To list the VNICs in an NSG, see +// 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 { @@ -15879,40 +7879,42 @@ func (client VirtualNetworkClient) ListFlowLogConfigs(ctx context.Context, reque if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listFlowLogConfigs, policy) + ociResponse, err = common.Retry(ctx, request, client.getNetworkSecurityGroup, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListFlowLogConfigsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetNetworkSecurityGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListFlowLogConfigsResponse{} + response = GetNetworkSecurityGroupResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListFlowLogConfigsResponse); ok { + if convertedResponse, ok := ociResponse.(GetNetworkSecurityGroupResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListFlowLogConfigsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetNetworkSecurityGroupResponse") } return } -// listFlowLogConfigs implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listFlowLogConfigs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getNetworkSecurityGroup implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getNetworkSecurityGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/flowLogConfigs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups/{networkSecurityGroupId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListFlowLogConfigsResponse + var response GetNetworkSecurityGroupResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/GetNetworkSecurityGroup" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetNetworkSecurityGroup", apiReferenceLink) return response, err } @@ -15920,8 +7922,12 @@ func (client VirtualNetworkClient) listFlowLogConfigs(ctx context.Context, reque return response, err } -// ListIPSecConnectionTunnelRoutes The routes advertised to the on-premises network and the routes received from the on-premises network. -func (client VirtualNetworkClient) ListIPSecConnectionTunnelRoutes(ctx context.Context, request ListIPSecConnectionTunnelRoutesRequest) (response ListIPSecConnectionTunnelRoutesResponse, err error) { +// GetNetworkingTopology Gets a virtual networking topology for the current region. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopology API. +func (client VirtualNetworkClient) GetNetworkingTopology(ctx context.Context, request GetNetworkingTopologyRequest) (response GetNetworkingTopologyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -15930,40 +7936,42 @@ func (client VirtualNetworkClient) ListIPSecConnectionTunnelRoutes(ctx context.C if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listIPSecConnectionTunnelRoutes, policy) + ociResponse, err = common.Retry(ctx, request, client.getNetworkingTopology, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListIPSecConnectionTunnelRoutesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetNetworkingTopologyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListIPSecConnectionTunnelRoutesResponse{} + response = GetNetworkingTopologyResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListIPSecConnectionTunnelRoutesResponse); ok { + if convertedResponse, ok := ociResponse.(GetNetworkingTopologyResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionTunnelRoutesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetNetworkingTopologyResponse") } return } -// listIPSecConnectionTunnelRoutes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listIPSecConnectionTunnelRoutes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getNetworkingTopology implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getNetworkingTopology(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/routes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkingTopology", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListIPSecConnectionTunnelRoutesResponse + var response GetNetworkingTopologyResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkingTopology/GetNetworkingTopology" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetNetworkingTopology", apiReferenceLink) return response, err } @@ -15971,8 +7979,15 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnelRoutes(ctx context.C return response, err } -// ListIPSecConnectionTunnelSecurityAssociations Lists the tunnel security associations information for the specified IPSec tunnel ID. -func (client VirtualNetworkClient) ListIPSecConnectionTunnelSecurityAssociations(ctx context.Context, request ListIPSecConnectionTunnelSecurityAssociationsRequest) (response ListIPSecConnectionTunnelSecurityAssociationsResponse, err error) { +// GetPrivateIp Gets the specified private IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Alternatively, you can get the object by using +// ListPrivateIps +// with the private IP address (for example, 10.0.3.3) and subnet 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/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 { @@ -15981,40 +7996,42 @@ func (client VirtualNetworkClient) ListIPSecConnectionTunnelSecurityAssociations if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listIPSecConnectionTunnelSecurityAssociations, policy) + ociResponse, err = common.Retry(ctx, request, client.getPrivateIp, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListIPSecConnectionTunnelSecurityAssociationsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetPrivateIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListIPSecConnectionTunnelSecurityAssociationsResponse{} + response = GetPrivateIpResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListIPSecConnectionTunnelSecurityAssociationsResponse); ok { + if convertedResponse, ok := ociResponse.(GetPrivateIpResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionTunnelSecurityAssociationsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetPrivateIpResponse") } return } -// listIPSecConnectionTunnelSecurityAssociations implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listIPSecConnectionTunnelSecurityAssociations(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getPrivateIp implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getPrivateIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelSecurityAssociations", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateIps/{privateIpId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListIPSecConnectionTunnelSecurityAssociationsResponse + var response GetPrivateIpResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/GetPrivateIp" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetPrivateIp", apiReferenceLink) return response, err } @@ -16022,8 +8039,19 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnelSecurityAssociations return response, err } -// ListIPSecConnectionTunnels Lists the tunnel information for the specified IPSec connection. -func (client VirtualNetworkClient) ListIPSecConnectionTunnels(ctx context.Context, request ListIPSecConnectionTunnelsRequest) (response ListIPSecConnectionTunnelsResponse, err error) { +// GetPublicIp Gets the specified public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Alternatively, you can get the object by using GetPublicIpByIpAddress +// with the public IP address (for example, 203.0.113.2). +// Or you can use GetPublicIpByPrivateIpId +// with the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is assigned to. +// **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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 { @@ -16032,40 +8060,42 @@ func (client VirtualNetworkClient) ListIPSecConnectionTunnels(ctx context.Contex if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listIPSecConnectionTunnels, policy) + ociResponse, err = common.Retry(ctx, request, client.getPublicIp, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListIPSecConnectionTunnelsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetPublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListIPSecConnectionTunnelsResponse{} + response = GetPublicIpResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListIPSecConnectionTunnelsResponse); ok { + if convertedResponse, ok := ociResponse.(GetPublicIpResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionTunnelsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpResponse") } return } -// listIPSecConnectionTunnels implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listIPSecConnectionTunnels(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getPublicIp implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIps/{publicIpId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListIPSecConnectionTunnelsResponse + var response GetPublicIpResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/GetPublicIp" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetPublicIp", apiReferenceLink) return response, err } @@ -16073,9 +8103,15 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnels(ctx context.Contex return response, err } -// ListIPSecConnections Lists the IPSec connections for the specified compartment. You can filter the -// results by DRG or CPE. -func (client VirtualNetworkClient) ListIPSecConnections(ctx context.Context, request ListIPSecConnectionsRequest) (response ListIPSecConnectionsResponse, err error) { +// GetPublicIpByIpAddress Gets the public IP based on the public IP address (for example, 203.0.113.2). +// **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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 { @@ -16084,40 +8120,42 @@ func (client VirtualNetworkClient) ListIPSecConnections(ctx context.Context, req if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listIPSecConnections, policy) + ociResponse, err = common.Retry(ctx, request, client.getPublicIpByIpAddress, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListIPSecConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetPublicIpByIpAddressResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListIPSecConnectionsResponse{} + response = GetPublicIpByIpAddressResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListIPSecConnectionsResponse); ok { + if convertedResponse, ok := ociResponse.(GetPublicIpByIpAddressResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpByIpAddressResponse") } return } -// listIPSecConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listIPSecConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getPublicIpByIpAddress implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getPublicIpByIpAddress(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps/actions/getByIpAddress", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListIPSecConnectionsResponse + var response GetPublicIpByIpAddressResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/GetPublicIpByIpAddress" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetPublicIpByIpAddress", apiReferenceLink) return response, err } @@ -16125,9 +8163,21 @@ func (client VirtualNetworkClient) listIPSecConnections(ctx context.Context, req return response, err } -// ListInternalDnsRecords Get a list of Dns Records, based on compartment ID and Internal Hosted Zone Id. -// Implicit DNS Records created by VNIC and FloatingPrivateIP are not captured by this LIST operation. -func (client VirtualNetworkClient) ListInternalDnsRecords(ctx context.Context, request ListInternalDnsRecordsRequest) (response ListInternalDnsRecordsResponse, err error) { +// GetPublicIpByPrivateIpId Gets the public IP assigned to the specified private IP. You must specify the OCID +// of the private IP. If no public IP is assigned, a 404 is returned. +// **Note:** If you're fetching a reserved public IP that is in the process of being +// moved to a different private IP, and you provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original private +// IP, this operation returns a 404. If you instead provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target +// private IP, or if you instead call +// GetPublicIp or +// GetPublicIpByIpAddress, the +// service returns the public IP object with `lifecycleState` = ASSIGNING and +// `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 { @@ -16136,40 +8186,42 @@ func (client VirtualNetworkClient) ListInternalDnsRecords(ctx context.Context, r if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternalDnsRecords, policy) + ociResponse, err = common.Retry(ctx, request, client.getPublicIpByPrivateIpId, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInternalDnsRecordsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetPublicIpByPrivateIpIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternalDnsRecordsResponse{} + response = GetPublicIpByPrivateIpIdResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternalDnsRecordsResponse); ok { + if convertedResponse, ok := ociResponse.(GetPublicIpByPrivateIpIdResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternalDnsRecordsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpByPrivateIpIdResponse") } return } -// listInternalDnsRecords implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternalDnsRecords(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getPublicIpByPrivateIpId implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getPublicIpByPrivateIpId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalDnsRecords", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIps/actions/getByPrivateIpId", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternalDnsRecordsResponse + var response GetPublicIpByPrivateIpIdResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/GetPublicIpByPrivateIpId" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetPublicIpByPrivateIpId", apiReferenceLink) return response, err } @@ -16177,9 +8229,12 @@ func (client VirtualNetworkClient) listInternalDnsRecords(ctx context.Context, r return response, err } -// ListInternalDrgAttachments Lists the `InternalDrgAttachment` objects for the specified compartment. You can filter the -// results by VCN or DRG. -func (client VirtualNetworkClient) ListInternalDrgAttachments(ctx context.Context, request ListInternalDrgAttachmentsRequest) (response ListInternalDrgAttachmentsResponse, err error) { +// 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 { @@ -16188,40 +8243,42 @@ func (client VirtualNetworkClient) ListInternalDrgAttachments(ctx context.Contex if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternalDrgAttachments, policy) + 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 = ListInternalDrgAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetPublicIpPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternalDrgAttachmentsResponse{} + response = GetPublicIpPoolResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternalDrgAttachmentsResponse); ok { + if convertedResponse, ok := ociResponse.(GetPublicIpPoolResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternalDrgAttachmentsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpPoolResponse") } return } -// listInternalDrgAttachments implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternalDrgAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getPublicIpPool implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getPublicIpPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalDrgAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIpPools/{publicIpPoolId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternalDrgAttachmentsResponse + var response GetPublicIpPoolResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/GetPublicIpPool" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetPublicIpPool", apiReferenceLink) return response, err } @@ -16229,50 +8286,57 @@ func (client VirtualNetworkClient) listInternalDrgAttachments(ctx context.Contex return response, err } -// ListInternalDrgs Lists the InternalDRGs in the specified compartment. -func (client VirtualNetworkClient) ListInternalDrgs(ctx context.Context, request ListInternalDrgsRequest) (response ListInternalDrgsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetRemotePeeringConnection() +func (client VirtualNetworkClient) GetRemotePeeringConnection(ctx context.Context, request GetRemotePeeringConnectionRequest) (response GetRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternalDrgs, policy) + ociResponse, err = common.Retry(ctx, request, client.getRemotePeeringConnection, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInternalDrgsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetRemotePeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternalDrgsResponse{} + response = GetRemotePeeringConnectionResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternalDrgsResponse); ok { + if convertedResponse, ok := ociResponse.(GetRemotePeeringConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternalDrgsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetRemotePeeringConnectionResponse") } return } -// listInternalDrgs implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternalDrgs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalDrgs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/remotePeeringConnections/{remotePeeringConnectionId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternalDrgsResponse + var response GetRemotePeeringConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RemotePeeringConnection/GetRemotePeeringConnection" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetRemotePeeringConnection", apiReferenceLink) return response, err } @@ -16280,8 +8344,12 @@ func (client VirtualNetworkClient) listInternalDrgs(ctx context.Context, request return response, err } -// ListInternalGenericGateways Gets a list of internal generic gateways for a gateway's compartment -func (client VirtualNetworkClient) ListInternalGenericGateways(ctx context.Context, request ListInternalGenericGatewaysRequest) (response ListInternalGenericGatewaysResponse, err error) { +// 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 { @@ -16290,40 +8358,42 @@ func (client VirtualNetworkClient) ListInternalGenericGateways(ctx context.Conte if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternalGenericGateways, policy) + ociResponse, err = common.Retry(ctx, request, client.getRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInternalGenericGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternalGenericGatewaysResponse{} + response = GetRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternalGenericGatewaysResponse); ok { + if convertedResponse, ok := ociResponse.(GetRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternalGenericGatewaysResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetRouteTableResponse") } return } -// listInternalGenericGateways implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternalGenericGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalGenericGateways", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/routeTables/{rtId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternalGenericGatewaysResponse + var response GetRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RouteTable/GetRouteTable" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetRouteTable", apiReferenceLink) return response, err } @@ -16331,26 +8401,12 @@ func (client VirtualNetworkClient) listInternalGenericGateways(ctx context.Conte return response, err } -// ListInternalPublicIps Lists the InternalPublicIp Objects -// in the specified compartment. You can filter the list by using query parameters. -// To list your reserved public IPs: -// - Set `scope` = `REGION` (required) -// - Leave the `availabilityDomain` parameter empty -// - Set `lifetime` = `RESERVED` -// -// To list the ephemeral public IPs assigned to a regional entity such as a NAT gateway: -// - Set `scope` = `REGION` (required) -// - Leave the `availabilityDomain` parameter empty -// - Set `lifetime` = `EPHEMERAL` +// GetSecurityList Gets the specified security list's information. // -// To list the ephemeral public IPs assigned to private IPs: -// - Set `scope` = `AVAILABILITY_DOMAIN` (required) -// - Set the `availabilityDomain` parameter to the desired availability domain (required) -// - Set `lifetime` = `EPHEMERAL` +// # See also // -// **Note:** An ephemeral public IP assigned to a private IP -// is always in the same availability domain and compartment as the private IP. -func (client VirtualNetworkClient) ListInternalPublicIps(ctx context.Context, request ListInternalPublicIpsRequest) (response ListInternalPublicIpsResponse, err error) { +// 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 { @@ -16359,40 +8415,42 @@ func (client VirtualNetworkClient) ListInternalPublicIps(ctx context.Context, re if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternalPublicIps, policy) + ociResponse, err = common.Retry(ctx, request, client.getSecurityList, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInternalPublicIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetSecurityListResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternalPublicIpsResponse{} + response = GetSecurityListResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternalPublicIpsResponse); ok { + if convertedResponse, ok := ociResponse.(GetSecurityListResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternalPublicIpsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetSecurityListResponse") } return } -// listInternalPublicIps implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternalPublicIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getSecurityList implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getSecurityList(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalPublicIps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/securityLists/{securityListId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternalPublicIpsResponse + var response GetSecurityListResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityList/GetSecurityList" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetSecurityList", apiReferenceLink) return response, err } @@ -16400,8 +8458,12 @@ func (client VirtualNetworkClient) listInternalPublicIps(ctx context.Context, re return response, err } -// ListInternalVnicAttachments Get a list of VNIC Attachments -func (client VirtualNetworkClient) ListInternalVnicAttachments(ctx context.Context, request ListInternalVnicAttachmentsRequest) (response ListInternalVnicAttachmentsResponse, err error) { +// 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 { @@ -16410,40 +8472,42 @@ func (client VirtualNetworkClient) ListInternalVnicAttachments(ctx context.Conte if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternalVnicAttachments, policy) + ociResponse, err = common.Retry(ctx, request, client.getService, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInternalVnicAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternalVnicAttachmentsResponse{} + response = GetServiceResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternalVnicAttachmentsResponse); ok { + if convertedResponse, ok := ociResponse.(GetServiceResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternalVnicAttachmentsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetServiceResponse") } return } -// listInternalVnicAttachments implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternalVnicAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getService implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalVnics/vnicAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/services/{serviceId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternalVnicAttachmentsResponse + var response GetServiceResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Service/GetService" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetService", apiReferenceLink) return response, err } @@ -16451,8 +8515,12 @@ func (client VirtualNetworkClient) listInternalVnicAttachments(ctx context.Conte return response, err } -// ListInternalVnics Lists the internal Vnics. -func (client VirtualNetworkClient) ListInternalVnics(ctx context.Context, request ListInternalVnicsRequest) (response ListInternalVnicsResponse, err error) { +// 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 { @@ -16461,40 +8529,42 @@ func (client VirtualNetworkClient) ListInternalVnics(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternalVnics, policy) + ociResponse, err = common.Retry(ctx, request, client.getServiceGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInternalVnicsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetServiceGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternalVnicsResponse{} + response = GetServiceGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternalVnicsResponse); ok { + if convertedResponse, ok := ociResponse.(GetServiceGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternalVnicsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetServiceGatewayResponse") } return } -// listInternalVnics implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternalVnics(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getServiceGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getServiceGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internalVnics", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/serviceGateways/{serviceGatewayId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternalVnicsResponse + var response GetServiceGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/GetServiceGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetServiceGateway", apiReferenceLink) return response, err } @@ -16502,9 +8572,12 @@ func (client VirtualNetworkClient) listInternalVnics(ctx context.Context, reques return response, err } -// 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. -func (client VirtualNetworkClient) ListInternetGateways(ctx context.Context, request ListInternetGatewaysRequest) (response ListInternetGatewaysResponse, err error) { +// 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 { @@ -16513,40 +8586,42 @@ func (client VirtualNetworkClient) ListInternetGateways(ctx context.Context, req if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listInternetGateways, policy) + ociResponse, err = common.Retry(ctx, request, client.getSubnet, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListInternetGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetSubnetResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListInternetGatewaysResponse{} + response = GetSubnetResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListInternetGatewaysResponse); ok { + if convertedResponse, ok := ociResponse.(GetSubnetResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListInternetGatewaysResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetSubnetResponse") } return } -// listInternetGateways implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listInternetGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getSubnet implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getSubnet(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/internetGateways", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/subnets/{subnetId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListInternetGatewaysResponse + var response GetSubnetResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/GetSubnet" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetSubnet", apiReferenceLink) return response, err } @@ -16554,14 +8629,12 @@ func (client VirtualNetworkClient) listInternetGateways(ctx context.Context, req return response, err } -// ListIpv6s Lists the Ipv6 objects based -// on one of these filters: -// - Subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// - VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// - 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, -// GetIpv6 requires the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (client VirtualNetworkClient) ListIpv6s(ctx context.Context, request ListIpv6sRequest) (response ListIpv6sResponse, err error) { +// GetSubnetTopology Gets a topology for a given subnet. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopology API. +func (client VirtualNetworkClient) GetSubnetTopology(ctx context.Context, request GetSubnetTopologyRequest) (response GetSubnetTopologyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -16570,40 +8643,42 @@ func (client VirtualNetworkClient) ListIpv6s(ctx context.Context, request ListIp if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listIpv6s, policy) + ociResponse, err = common.Retry(ctx, request, client.getSubnetTopology, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListIpv6sResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetSubnetTopologyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListIpv6sResponse{} + response = GetSubnetTopologyResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListIpv6sResponse); ok { + if convertedResponse, ok := ociResponse.(GetSubnetTopologyResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListIpv6sResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetSubnetTopologyResponse") } return } -// listIpv6s implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listIpv6s(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getSubnetTopology implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getSubnetTopology(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipv6", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/subnetTopology", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListIpv6sResponse + var response GetSubnetTopologyResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SubnetTopology/GetSubnetTopology" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetSubnetTopology", apiReferenceLink) return response, err } @@ -16611,50 +8686,61 @@ func (client VirtualNetworkClient) listIpv6s(ctx context.Context, request common return response, err } -// ListLocalPeeringConnections Lists the local peering connections in the specified VCN and specified compartment. -func (client VirtualNetworkClient) ListLocalPeeringConnections(ctx context.Context, request ListLocalPeeringConnectionsRequest) (response ListLocalPeeringConnectionsResponse, err error) { +// GetTunnelCpeDeviceConfig Gets the set of CPE configuration answers for the tunnel, which the customer provided in +// UpdateTunnelCpeDeviceConfig. +// 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. +// A default retry strategy applies to this operation GetTunnelCpeDeviceConfig() +func (client VirtualNetworkClient) GetTunnelCpeDeviceConfig(ctx context.Context, request GetTunnelCpeDeviceConfigRequest) (response GetTunnelCpeDeviceConfigResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listLocalPeeringConnections, policy) + ociResponse, err = common.Retry(ctx, request, client.getTunnelCpeDeviceConfig, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListLocalPeeringConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetTunnelCpeDeviceConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListLocalPeeringConnectionsResponse{} + response = GetTunnelCpeDeviceConfigResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListLocalPeeringConnectionsResponse); ok { + if convertedResponse, ok := ociResponse.(GetTunnelCpeDeviceConfigResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListLocalPeeringConnectionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetTunnelCpeDeviceConfigResponse") } return } -// listLocalPeeringConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listLocalPeeringConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getTunnelCpeDeviceConfig implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getTunnelCpeDeviceConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/localPeeringConnections", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelDeviceConfig", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListLocalPeeringConnectionsResponse + var response GetTunnelCpeDeviceConfigResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/TunnelCpeDeviceConfig/GetTunnelCpeDeviceConfig" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetTunnelCpeDeviceConfig", apiReferenceLink) return response, err } @@ -16662,51 +8748,70 @@ func (client VirtualNetworkClient) listLocalPeeringConnections(ctx context.Conte return response, err } -// 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. -func (client VirtualNetworkClient) ListLocalPeeringGateways(ctx context.Context, request ListLocalPeeringGatewaysRequest) (response ListLocalPeeringGatewaysResponse, err error) { +// GetTunnelCpeDeviceConfigContent Renders a set of CPE configuration content for the specified IPSec tunnel. The content helps a +// network engineer configure the actual CPE device (for example, a hardware router) that the specified +// IPSec tunnel terminates on. +// The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the +// Cpe used by the specified IPSecConnection +// must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content +// optionally includes answers that the customer provides (see +// UpdateTunnelCpeDeviceConfig), +// merged with a template of other information specific to the CPE device type. +// The operation returns configuration information for only the specified IPSec tunnel. +// Here are other similar operations: +// - GetIpsecCpeDeviceConfigContent +// 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. +// A default retry strategy applies to this operation GetTunnelCpeDeviceConfigContent() +func (client VirtualNetworkClient) GetTunnelCpeDeviceConfigContent(ctx context.Context, request GetTunnelCpeDeviceConfigContentRequest) (response GetTunnelCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listLocalPeeringGateways, policy) + ociResponse, err = common.Retry(ctx, request, client.getTunnelCpeDeviceConfigContent, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListLocalPeeringGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetTunnelCpeDeviceConfigContentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListLocalPeeringGatewaysResponse{} + response = GetTunnelCpeDeviceConfigContentResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListLocalPeeringGatewaysResponse); ok { + if convertedResponse, ok := ociResponse.(GetTunnelCpeDeviceConfigContentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListLocalPeeringGatewaysResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetTunnelCpeDeviceConfigContentResponse") } return } -// listLocalPeeringGateways implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listLocalPeeringGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getTunnelCpeDeviceConfigContent implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getTunnelCpeDeviceConfigContent(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/localPeeringGateways", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelDeviceConfig/content", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListLocalPeeringGatewaysResponse + var response GetTunnelCpeDeviceConfigContentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/TunnelCpeDeviceConfig/GetTunnelCpeDeviceConfigContent" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetTunnelCpeDeviceConfigContent", apiReferenceLink) return response, err } @@ -16714,9 +8819,12 @@ func (client VirtualNetworkClient) listLocalPeeringGateways(ctx context.Context, return response, err } -// ListNatGateways Lists the NAT gateways in the specified compartment. You may optionally specify a VCN OCID -// to filter the results by VCN. -func (client VirtualNetworkClient) ListNatGateways(ctx context.Context, request ListNatGatewaysRequest) (response ListNatGatewaysResponse, err error) { +// GetUpgradeStatus Returns the DRG upgrade status. The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatus API. +func (client VirtualNetworkClient) GetUpgradeStatus(ctx context.Context, request GetUpgradeStatusRequest) (response GetUpgradeStatusResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -16725,40 +8833,42 @@ func (client VirtualNetworkClient) ListNatGateways(ctx context.Context, request if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listNatGateways, policy) + ociResponse, err = common.Retry(ctx, request, client.getUpgradeStatus, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListNatGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetUpgradeStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListNatGatewaysResponse{} + response = GetUpgradeStatusResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListNatGatewaysResponse); ok { + if convertedResponse, ok := ociResponse.(GetUpgradeStatusResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListNatGatewaysResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetUpgradeStatusResponse") } return } -// listNatGateways implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listNatGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getUpgradeStatus implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getUpgradeStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/natGateways", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs/{drgId}/actions/upgradeStatus", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListNatGatewaysResponse + var response GetUpgradeStatusResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/GetUpgradeStatus" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetUpgradeStatus", apiReferenceLink) return response, err } @@ -16766,8 +8876,12 @@ func (client VirtualNetworkClient) listNatGateways(ctx context.Context, request return response, err } -// ListNetworkSecurityGroupSecurityRules Lists the security rules in the specified network security group. -func (client VirtualNetworkClient) ListNetworkSecurityGroupSecurityRules(ctx context.Context, request ListNetworkSecurityGroupSecurityRulesRequest) (response ListNetworkSecurityGroupSecurityRulesResponse, err error) { +// 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 { @@ -16776,40 +8890,42 @@ func (client VirtualNetworkClient) ListNetworkSecurityGroupSecurityRules(ctx con if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listNetworkSecurityGroupSecurityRules, policy) + ociResponse, err = common.Retry(ctx, request, client.getVcn, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListNetworkSecurityGroupSecurityRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetVcnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListNetworkSecurityGroupSecurityRulesResponse{} + response = GetVcnResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListNetworkSecurityGroupSecurityRulesResponse); ok { + if convertedResponse, ok := ociResponse.(GetVcnResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListNetworkSecurityGroupSecurityRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetVcnResponse") } return } -// listNetworkSecurityGroupSecurityRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listNetworkSecurityGroupSecurityRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getVcn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVcn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups/{networkSecurityGroupId}/securityRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcns/{vcnId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListNetworkSecurityGroupSecurityRulesResponse + var response GetVcnResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/GetVcn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetVcn", apiReferenceLink) return response, err } @@ -16817,8 +8933,12 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupSecurityRules(ctx con return response, err } -// ListNetworkSecurityGroupVnics Lists the VNICs in the specified network security group. -func (client VirtualNetworkClient) ListNetworkSecurityGroupVnics(ctx context.Context, request ListNetworkSecurityGroupVnicsRequest) (response ListNetworkSecurityGroupVnicsResponse, err error) { +// 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 { @@ -16827,40 +8947,42 @@ func (client VirtualNetworkClient) ListNetworkSecurityGroupVnics(ctx context.Con if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listNetworkSecurityGroupVnics, policy) + 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 = ListNetworkSecurityGroupVnicsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetVcnDnsResolverAssociationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListNetworkSecurityGroupVnicsResponse{} + response = GetVcnDnsResolverAssociationResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListNetworkSecurityGroupVnicsResponse); ok { + if convertedResponse, ok := ociResponse.(GetVcnDnsResolverAssociationResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListNetworkSecurityGroupVnicsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetVcnDnsResolverAssociationResponse") } return } -// listNetworkSecurityGroupVnics implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listNetworkSecurityGroupVnics(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getVcnDnsResolverAssociation implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVcnDnsResolverAssociation(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups/{networkSecurityGroupId}/vnics", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcns/{vcnId}/dnsResolverAssociation", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListNetworkSecurityGroupVnicsResponse + var response GetVcnDnsResolverAssociationResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VcnDnsResolverAssociation/GetVcnDnsResolverAssociation" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetVcnDnsResolverAssociation", apiReferenceLink) return response, err } @@ -16868,9 +8990,12 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupVnics(ctx context.Con return response, err } -// ListNetworkSecurityGroups Lists either the network security groups in the specified compartment, or those associated with the specified VLAN. -// You must specify either a `vlanId` or a `compartmentId`, but not both. If you specify a `vlanId`, all other parameters are ignored. -func (client VirtualNetworkClient) ListNetworkSecurityGroups(ctx context.Context, request ListNetworkSecurityGroupsRequest) (response ListNetworkSecurityGroupsResponse, err error) { +// GetVcnTopology Gets a virtual network topology for a given VCN. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopology API. +func (client VirtualNetworkClient) GetVcnTopology(ctx context.Context, request GetVcnTopologyRequest) (response GetVcnTopologyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -16879,40 +9004,42 @@ func (client VirtualNetworkClient) ListNetworkSecurityGroups(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listNetworkSecurityGroups, policy) + ociResponse, err = common.Retry(ctx, request, client.getVcnTopology, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListNetworkSecurityGroupsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetVcnTopologyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListNetworkSecurityGroupsResponse{} + response = GetVcnTopologyResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListNetworkSecurityGroupsResponse); ok { + if convertedResponse, ok := ociResponse.(GetVcnTopologyResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListNetworkSecurityGroupsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetVcnTopologyResponse") } return } -// listNetworkSecurityGroups implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listNetworkSecurityGroups(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getVcnTopology implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVcnTopology(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcnTopology", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListNetworkSecurityGroupsResponse + var response GetVcnTopologyResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VcnTopology/GetVcnTopology" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetVcnTopology", apiReferenceLink) return response, err } @@ -16920,50 +9047,57 @@ func (client VirtualNetworkClient) listNetworkSecurityGroups(ctx context.Context return response, err } -// ListNextHops Lists the next hops configured in the specified endpointServiceId. -func (client VirtualNetworkClient) ListNextHops(ctx context.Context, request ListNextHopsRequest) (response ListNextHopsResponse, err error) { +// 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. +// A default retry strategy applies to this operation GetVirtualCircuit() +func (client VirtualNetworkClient) GetVirtualCircuit(ctx context.Context, request GetVirtualCircuitRequest) (response GetVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listNextHops, policy) + ociResponse, err = common.Retry(ctx, request, client.getVirtualCircuit, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListNextHopsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetVirtualCircuitResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListNextHopsResponse{} + response = GetVirtualCircuitResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListNextHopsResponse); ok { + if convertedResponse, ok := ociResponse.(GetVirtualCircuitResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListNextHopsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetVirtualCircuitResponse") } return } -// listNextHops implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listNextHops(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getVirtualCircuit implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVirtualCircuit(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/endpointServices/{endpointServiceId}/nextHops", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits/{virtualCircuitId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListNextHopsResponse + var response GetVirtualCircuitResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuit/GetVirtualCircuit" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetVirtualCircuit", apiReferenceLink) return response, err } @@ -16971,9 +9105,12 @@ func (client VirtualNetworkClient) listNextHops(ctx context.Context, request com return response, err } -// ListPrivateAccessGateways Lists the private access gateways (PAGs) in the specified compartment. You can optionally -// filter the list by specifying the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a service VCN. -func (client VirtualNetworkClient) ListPrivateAccessGateways(ctx context.Context, request ListPrivateAccessGatewaysRequest) (response ListPrivateAccessGatewaysResponse, err error) { +// 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 { @@ -16982,40 +9119,42 @@ func (client VirtualNetworkClient) ListPrivateAccessGateways(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listPrivateAccessGateways, policy) + ociResponse, err = common.Retry(ctx, request, client.getVlan, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListPrivateAccessGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetVlanResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListPrivateAccessGatewaysResponse{} + response = GetVlanResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListPrivateAccessGatewaysResponse); ok { + if convertedResponse, ok := ociResponse.(GetVlanResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListPrivateAccessGatewaysResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetVlanResponse") } return } -// listPrivateAccessGateways implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listPrivateAccessGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getVlan implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVlan(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateAccessGateways", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vlans/{vlanId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListPrivateAccessGatewaysResponse + var response GetVlanResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vlan/GetVlan" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetVlan", apiReferenceLink) return response, err } @@ -17023,11 +9162,15 @@ func (client VirtualNetworkClient) listPrivateAccessGateways(ctx context.Context return response, err } -// ListPrivateEndpointAssociations Lists the private endpoints associated with the specified endpoint service. The operation -// returns a summary of each private endpoint -// (PrivateEndpointAssociation), -// and not the full PrivateEndpoint object. -func (client VirtualNetworkClient) ListPrivateEndpointAssociations(ctx context.Context, request ListPrivateEndpointAssociationsRequest) (response ListPrivateEndpointAssociationsResponse, err error) { +// GetVnic Gets the information for the specified virtual network interface card (VNIC). +// You can get the VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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 { @@ -17036,40 +9179,42 @@ func (client VirtualNetworkClient) ListPrivateEndpointAssociations(ctx context.C if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listPrivateEndpointAssociations, policy) + ociResponse, err = common.Retry(ctx, request, client.getVnic, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListPrivateEndpointAssociationsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetVnicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListPrivateEndpointAssociationsResponse{} + response = GetVnicResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListPrivateEndpointAssociationsResponse); ok { + if convertedResponse, ok := ociResponse.(GetVnicResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListPrivateEndpointAssociationsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetVnicResponse") } return } -// listPrivateEndpointAssociations implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listPrivateEndpointAssociations(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getVnic implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVnic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/endpointServices/{endpointServiceId}/privateEndpointAssociations", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vnics/{vnicId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListPrivateEndpointAssociationsResponse + var response GetVnicResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vnic/GetVnic" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetVnic", apiReferenceLink) return response, err } @@ -17077,9 +9222,12 @@ func (client VirtualNetworkClient) listPrivateEndpointAssociations(ctx context.C return response, err } -// ListPrivateEndpoints List the private endpoints in the specified compartment. You can optionally filter the list by -// specifying the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a subnet in the customer's VCN. -func (client VirtualNetworkClient) ListPrivateEndpoints(ctx context.Context, request ListPrivateEndpointsRequest) (response ListPrivateEndpointsResponse, err error) { +// GetVtap Gets the specified `Vtap` resource. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtap API. +func (client VirtualNetworkClient) GetVtap(ctx context.Context, request GetVtapRequest) (response GetVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -17088,40 +9236,42 @@ func (client VirtualNetworkClient) ListPrivateEndpoints(ctx context.Context, req if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listPrivateEndpoints, policy) + ociResponse, err = common.Retry(ctx, request, client.getVtap, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListPrivateEndpointsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetVtapResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListPrivateEndpointsResponse{} + response = GetVtapResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListPrivateEndpointsResponse); ok { + if convertedResponse, ok := ociResponse.(GetVtapResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListPrivateEndpointsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetVtapResponse") } return } -// listPrivateEndpoints implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listPrivateEndpoints(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getVtap implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVtap(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateEndpoints", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vtaps/{vtapId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListPrivateEndpointsResponse + var response GetVtapResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/GetVtap" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetVtap", apiReferenceLink) return response, err } @@ -17129,63 +9279,58 @@ func (client VirtualNetworkClient) listPrivateEndpoints(ctx context.Context, req return response, err } -// ListPrivateIps Lists the PrivateIp objects based -// on one of these filters: -// - Subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// - VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// - Both private IP address and subnet OCID: This lets -// you get a `privateIP` object based on its private IP -// address (for example, 10.0.3.3) and not its OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, -// GetPrivateIp -// requires the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// 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/iaas/Content/Network/Tasks/VCNpeering.htm). // -// If you're listing all the private IPs associated with a given subnet -// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). See Vlan. -func (client VirtualNetworkClient) ListPrivateIps(ctx context.Context, request ListPrivateIpsRequest) (response ListPrivateIpsResponse, err error) { +// # 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. +// A default retry strategy applies to this operation ListAllowedPeerRegionsForRemotePeering() +func (client VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering(ctx context.Context, request ListAllowedPeerRegionsForRemotePeeringRequest) (response ListAllowedPeerRegionsForRemotePeeringResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listPrivateIps, policy) + ociResponse, err = common.Retry(ctx, request, client.listAllowedPeerRegionsForRemotePeering, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListPrivateIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListAllowedPeerRegionsForRemotePeeringResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListPrivateIpsResponse{} + response = ListAllowedPeerRegionsForRemotePeeringResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListPrivateIpsResponse); ok { + if convertedResponse, ok := ociResponse.(ListAllowedPeerRegionsForRemotePeeringResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListPrivateIpsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListAllowedPeerRegionsForRemotePeeringResponse") } return } -// listPrivateIps implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listPrivateIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listAllowedPeerRegionsForRemotePeering implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listAllowedPeerRegionsForRemotePeering(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateIps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/allowedPeerRegionsForRemotePeering", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListPrivateIpsResponse + var response ListAllowedPeerRegionsForRemotePeeringResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PeerRegionForRemotePeering/ListAllowedPeerRegionsForRemotePeering" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListAllowedPeerRegionsForRemotePeering", apiReferenceLink) return response, err } @@ -17193,9 +9338,13 @@ 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. -func (client VirtualNetworkClient) ListPublicIpPools(ctx context.Context, request ListPublicIpPoolsRequest) (response ListPublicIpPoolsResponse, err error) { +// 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 { @@ -17204,40 +9353,42 @@ func (client VirtualNetworkClient) ListPublicIpPools(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listPublicIpPools, policy) + 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 = ListPublicIpPoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListByoipAllocatedRangesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListPublicIpPoolsResponse{} + response = ListByoipAllocatedRangesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListPublicIpPoolsResponse); ok { + if convertedResponse, ok := ociResponse.(ListByoipAllocatedRangesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListPublicIpPoolsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListByoipAllocatedRangesResponse") } return } -// listPublicIpPools implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listPublicIpPools(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listByoipAllocatedRanges implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listByoipAllocatedRanges(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIpPools", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges/{byoipRangeId}/byoipAllocatedRanges", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListPublicIpPoolsResponse + var response ListByoipAllocatedRangesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipAllocatedRangeSummary/ListByoipAllocatedRanges" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListByoipAllocatedRanges", apiReferenceLink) return response, err } @@ -17245,26 +9396,13 @@ func (client VirtualNetworkClient) listPublicIpPools(ctx context.Context, reques 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: -// - Set `scope` = `REGION` (required) -// - Leave the `availabilityDomain` parameter empty -// - Set `lifetime` = `RESERVED` -// -// To list the ephemeral public IPs assigned to a regional entity such as a NAT gateway: -// - Set `scope` = `REGION` (required) -// - Leave the `availabilityDomain` parameter empty -// - Set `lifetime` = `EPHEMERAL` +// ListByoipRanges Lists the `ByoipRange` resources in the specified compartment. +// You can filter the list using query parameters. // -// To list the ephemeral public IPs assigned to private IPs: -// - Set `scope` = `AVAILABILITY_DOMAIN` (required) -// - Set the `availabilityDomain` parameter to the desired availability domain (required) -// - Set `lifetime` = `EPHEMERAL` +// # See also // -// **Note:** An ephemeral public IP assigned to a private IP -// is always in the same availability domain and compartment as the private IP. -func (client VirtualNetworkClient) ListPublicIps(ctx context.Context, request ListPublicIpsRequest) (response ListPublicIpsResponse, err error) { +// 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 { @@ -17273,40 +9411,42 @@ func (client VirtualNetworkClient) ListPublicIps(ctx context.Context, request Li if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listPublicIps, policy) + 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 = ListPublicIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListByoipRangesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListPublicIpsResponse{} + response = ListByoipRangesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListPublicIpsResponse); ok { + if convertedResponse, ok := ociResponse.(ListByoipRangesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListPublicIpsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListByoipRangesResponse") } return } -// listPublicIps implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listPublicIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listByoipRanges implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listByoipRanges(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListPublicIpsResponse + var response ListByoipRangesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/ListByoipRanges" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListByoipRanges", apiReferenceLink) return response, err } @@ -17314,9 +9454,12 @@ func (client VirtualNetworkClient) listPublicIps(ctx context.Context, request co return response, err } -// ListRemotePeeringConnections Lists the remote peering connections (RPCs) for the specified DRG and compartment -// (the RPC's compartment). -func (client VirtualNetworkClient) ListRemotePeeringConnections(ctx context.Context, request ListRemotePeeringConnectionsRequest) (response ListRemotePeeringConnectionsResponse, err error) { +// ListCaptureFilters Lists the capture filters in the specified compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFilters API. +func (client VirtualNetworkClient) ListCaptureFilters(ctx context.Context, request ListCaptureFiltersRequest) (response ListCaptureFiltersResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -17325,40 +9468,42 @@ func (client VirtualNetworkClient) ListRemotePeeringConnections(ctx context.Cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listRemotePeeringConnections, policy) + ociResponse, err = common.Retry(ctx, request, client.listCaptureFilters, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListRemotePeeringConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCaptureFiltersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListRemotePeeringConnectionsResponse{} + response = ListCaptureFiltersResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListRemotePeeringConnectionsResponse); ok { + if convertedResponse, ok := ociResponse.(ListCaptureFiltersResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListRemotePeeringConnectionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCaptureFiltersResponse") } return } -// listRemotePeeringConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listRemotePeeringConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCaptureFilters implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCaptureFilters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/remotePeeringConnections", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/captureFilters", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListRemotePeeringConnectionsResponse + var response ListCaptureFiltersResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/ListCaptureFilters" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCaptureFilters", apiReferenceLink) return response, err } @@ -17366,50 +9511,66 @@ func (client VirtualNetworkClient) listRemotePeeringConnections(ctx context.Cont return response, err } -// ListReverseConnectionNatIpCidrs Lists all reverseConnectionNatIpCidrs for the given vcn. -func (client VirtualNetworkClient) ListReverseConnectionNatIpCidrs(ctx context.Context, request ListReverseConnectionNatIpCidrsRequest) (response ListReverseConnectionNatIpCidrsResponse, err error) { +// 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. +// If you want to generate CPE configuration content for one of the returned CPE device types, +// ensure that the Cpe object's `cpeDeviceShapeId` attribute is set +// to the CPE device type's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (returned by this operation). +// For information about generating CPE configuration content, see these operations: +// - 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. +// A default retry strategy applies to this operation ListCpeDeviceShapes() +func (client VirtualNetworkClient) ListCpeDeviceShapes(ctx context.Context, request ListCpeDeviceShapesRequest) (response ListCpeDeviceShapesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listReverseConnectionNatIpCidrs, policy) + ociResponse, err = common.Retry(ctx, request, client.listCpeDeviceShapes, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListReverseConnectionNatIpCidrsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCpeDeviceShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListReverseConnectionNatIpCidrsResponse{} + response = ListCpeDeviceShapesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListReverseConnectionNatIpCidrsResponse); ok { + if convertedResponse, ok := ociResponse.(ListCpeDeviceShapesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListReverseConnectionNatIpCidrsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCpeDeviceShapesResponse") } return } -// listReverseConnectionNatIpCidrs implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listReverseConnectionNatIpCidrs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCpeDeviceShapes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCpeDeviceShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/reverseConnectionNatIpCidrs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpeDeviceShapes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListReverseConnectionNatIpCidrsResponse + var response ListCpeDeviceShapesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CpeDeviceShapeSummary/ListCpeDeviceShapes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCpeDeviceShapes", apiReferenceLink) return response, err } @@ -17417,51 +9578,57 @@ func (client VirtualNetworkClient) listReverseConnectionNatIpCidrs(ctx context.C return response, err } -// ListReverseConnectionNatIps Lists the reverse connection NAT IP addresses for the specified private endpoint. You can filter -// the results by NAT IP address to get the corresponding customer IP address for that NAT IP. -func (client VirtualNetworkClient) ListReverseConnectionNatIps(ctx context.Context, request ListReverseConnectionNatIpsRequest) (response ListReverseConnectionNatIpsResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListCpes() +func (client VirtualNetworkClient) ListCpes(ctx context.Context, request ListCpesRequest) (response ListCpesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listReverseConnectionNatIps, policy) + ociResponse, err = common.Retry(ctx, request, client.listCpes, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListReverseConnectionNatIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCpesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListReverseConnectionNatIpsResponse{} + response = ListCpesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListReverseConnectionNatIpsResponse); ok { + if convertedResponse, ok := ociResponse.(ListCpesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListReverseConnectionNatIpsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCpesResponse") } return } -// listReverseConnectionNatIps implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listReverseConnectionNatIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCpes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCpes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateEndpoints/{privateEndpointId}/reverseConnectionNatIps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListReverseConnectionNatIpsResponse + var response ListCpesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Cpe/ListCpes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCpes", apiReferenceLink) return response, err } @@ -17469,53 +9636,57 @@ func (client VirtualNetworkClient) listReverseConnectionNatIps(ctx context.Conte return response, err } -// ListRouteTables Lists the route tables in the specified VCN and specified compartment. -// 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. -func (client VirtualNetworkClient) ListRouteTables(ctx context.Context, request ListRouteTablesRequest) (response ListRouteTablesResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListCrossConnectGroups() +func (client VirtualNetworkClient) ListCrossConnectGroups(ctx context.Context, request ListCrossConnectGroupsRequest) (response ListCrossConnectGroupsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listRouteTables, policy) + ociResponse, err = common.Retry(ctx, request, client.listCrossConnectGroups, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListRouteTablesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCrossConnectGroupsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListRouteTablesResponse{} + response = ListCrossConnectGroupsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListRouteTablesResponse); ok { + if convertedResponse, ok := ociResponse.(ListCrossConnectGroupsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListRouteTablesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectGroupsResponse") } return } -// listRouteTables implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listRouteTables(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCrossConnectGroups implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCrossConnectGroups(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/routeTables", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectGroups", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListRouteTablesResponse + var response ListCrossConnectGroupsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectGroup/ListCrossConnectGroups" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCrossConnectGroups", apiReferenceLink) return response, err } @@ -17523,50 +9694,58 @@ func (client VirtualNetworkClient) listRouteTables(ctx context.Context, request return response, err } -// ListScanProxies Lists the scan proxies created for the specified private endpoint. -func (client VirtualNetworkClient) ListScanProxies(ctx context.Context, request ListScanProxiesRequest) (response ListScanProxiesResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListCrossConnectLocations() +func (client VirtualNetworkClient) ListCrossConnectLocations(ctx context.Context, request ListCrossConnectLocationsRequest) (response ListCrossConnectLocationsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listScanProxies, policy) + ociResponse, err = common.Retry(ctx, request, client.listCrossConnectLocations, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListScanProxiesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCrossConnectLocationsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListScanProxiesResponse{} + response = ListCrossConnectLocationsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListScanProxiesResponse); ok { + if convertedResponse, ok := ociResponse.(ListCrossConnectLocationsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListScanProxiesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectLocationsResponse") } return } -// listScanProxies implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listScanProxies(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCrossConnectLocations implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCrossConnectLocations(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateEndpoints/{privateEndpointId}/scanProxy", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectLocations", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListScanProxiesResponse + var response ListCrossConnectLocationsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectLocation/ListCrossConnectLocations" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCrossConnectLocations", apiReferenceLink) return response, err } @@ -17574,51 +9753,58 @@ func (client VirtualNetworkClient) listScanProxies(ctx context.Context, request return response, err } -// 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. -func (client VirtualNetworkClient) ListSecurityLists(ctx context.Context, request ListSecurityListsRequest) (response ListSecurityListsResponse, err error) { +// ListCrossConnectMappings Lists the Cross Connect mapping Details for the specified +// virtual circuit. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappings API. +// A default retry strategy applies to this operation ListCrossConnectMappings() +func (client VirtualNetworkClient) ListCrossConnectMappings(ctx context.Context, request ListCrossConnectMappingsRequest) (response ListCrossConnectMappingsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listSecurityLists, policy) + ociResponse, err = common.Retry(ctx, request, client.listCrossConnectMappings, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListSecurityListsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCrossConnectMappingsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListSecurityListsResponse{} + response = ListCrossConnectMappingsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListSecurityListsResponse); ok { + if convertedResponse, ok := ociResponse.(ListCrossConnectMappingsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListSecurityListsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectMappingsResponse") } return } -// listSecurityLists implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listSecurityLists(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCrossConnectMappings implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCrossConnectMappings(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/securityLists", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits/{virtualCircuitId}/crossConnectMappings", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListSecurityListsResponse + var response ListCrossConnectMappingsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectMappingDetailsCollection/ListCrossConnectMappings" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCrossConnectMappings", apiReferenceLink) return response, err } @@ -17626,51 +9812,58 @@ func (client VirtualNetworkClient) listSecurityLists(ctx context.Context, reques return response, err } -// ListServiceGateways Lists the service gateways in the specified compartment. You may optionally specify a VCN OCID -// to filter the results by VCN. -func (client VirtualNetworkClient) ListServiceGateways(ctx context.Context, request ListServiceGatewaysRequest) (response ListServiceGatewaysResponse, err error) { +// ListCrossConnects Lists the cross-connects in the specified compartment. You can filter the list +// by specifying the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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. +// A default retry strategy applies to this operation ListCrossConnects() +func (client VirtualNetworkClient) ListCrossConnects(ctx context.Context, request ListCrossConnectsRequest) (response ListCrossConnectsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listServiceGateways, policy) + ociResponse, err = common.Retry(ctx, request, client.listCrossConnects, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListServiceGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCrossConnectsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListServiceGatewaysResponse{} + response = ListCrossConnectsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListServiceGatewaysResponse); ok { + if convertedResponse, ok := ociResponse.(ListCrossConnectsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListServiceGatewaysResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCrossConnectsResponse") } return } -// listServiceGateways implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listServiceGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCrossConnects implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCrossConnects(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/serviceGateways", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnects", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListServiceGatewaysResponse + var response ListCrossConnectsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnect/ListCrossConnects" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCrossConnects", apiReferenceLink) return response, err } @@ -17678,51 +9871,59 @@ func (client VirtualNetworkClient) listServiceGateways(ctx context.Context, requ return response, err } -// ListServices Lists the available Service objects that you can enable for a -// service gateway in this region. -func (client VirtualNetworkClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListCrossconnectPortSpeedShapes() +func (client VirtualNetworkClient) ListCrossconnectPortSpeedShapes(ctx context.Context, request ListCrossconnectPortSpeedShapesRequest) (response ListCrossconnectPortSpeedShapesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listServices, policy) + ociResponse, err = common.Retry(ctx, request, client.listCrossconnectPortSpeedShapes, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListServicesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListCrossconnectPortSpeedShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListServicesResponse{} + response = ListCrossconnectPortSpeedShapesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListServicesResponse); ok { + if convertedResponse, ok := ociResponse.(ListCrossconnectPortSpeedShapesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListServicesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListCrossconnectPortSpeedShapesResponse") } return } -// listServices implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listServices(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listCrossconnectPortSpeedShapes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listCrossconnectPortSpeedShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/services", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/crossConnectPortSpeedShapes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListServicesResponse + var response ListCrossconnectPortSpeedShapesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectPortSpeedShape/ListCrossconnectPortSpeedShapes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListCrossconnectPortSpeedShapes", apiReferenceLink) return response, err } @@ -17730,9 +9931,15 @@ func (client VirtualNetworkClient) listServices(ctx context.Context, request com return response, err } -// 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. -func (client VirtualNetworkClient) ListSubnets(ctx context.Context, request ListSubnetsRequest) (response ListSubnetsResponse, err error) { +// ListDhcpOptions Lists the sets of DHCP options in the specified VCN and specified compartment. +// 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 { @@ -17741,40 +9948,42 @@ func (client VirtualNetworkClient) ListSubnets(ctx context.Context, request List if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listSubnets, policy) + ociResponse, err = common.Retry(ctx, request, client.listDhcpOptions, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListSubnetsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListSubnetsResponse{} + response = ListDhcpOptionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListSubnetsResponse); ok { + if convertedResponse, ok := ociResponse.(ListDhcpOptionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListSubnetsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListDhcpOptionsResponse") } return } -// listSubnets implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listSubnets(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listDhcpOptions implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/subnets", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/dhcps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListSubnetsResponse + var response ListDhcpOptionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DhcpOptions/ListDhcpOptions" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListDhcpOptions", apiReferenceLink) return response, err } @@ -17782,12 +9991,16 @@ func (client VirtualNetworkClient) listSubnets(ctx context.Context, request comm return response, err } -// ListVcnDrgAttachments Lists the `DrgAttachment` objects for the specified compartment. You can filter the +// ListDrgAttachments Lists the `DrgAttachment` resource for the specified compartment. You can filter the // results by DRG, attached network, attachment type, DRG route table or // VCN route table. -// The LIST API lists DRG attachment by attachment type. It will default to list VCN attachments, +// The LIST API lists DRG attachments by attachment type. It will default to list VCN attachments, // but you may request to list ALL attachments of ALL types. -func (client VirtualNetworkClient) ListVcnDrgAttachments(ctx context.Context, request ListVcnDrgAttachmentsRequest) (response ListVcnDrgAttachmentsResponse, err error) { +// +// # 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 { @@ -17796,40 +10009,42 @@ func (client VirtualNetworkClient) ListVcnDrgAttachments(ctx context.Context, re if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVcnDrgAttachments, policy) + ociResponse, err = common.Retry(ctx, request, client.listDrgAttachments, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVcnDrgAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDrgAttachmentsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVcnDrgAttachmentsResponse{} + response = ListDrgAttachmentsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVcnDrgAttachmentsResponse); ok { + if convertedResponse, ok := ociResponse.(ListDrgAttachmentsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVcnDrgAttachmentsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListDrgAttachmentsResponse") } return } -// listVcnDrgAttachments implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVcnDrgAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listDrgAttachments implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listDrgAttachments(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcn_drgAttachments", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgAttachments", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVcnDrgAttachmentsResponse + var response ListDrgAttachmentsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgAttachment/ListDrgAttachments" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListDrgAttachments", apiReferenceLink) return response, err } @@ -17837,8 +10052,12 @@ func (client VirtualNetworkClient) listVcnDrgAttachments(ctx context.Context, re return response, err } -// ListVcnDrgs Lists the DRGs in the specified compartment. -func (client VirtualNetworkClient) ListVcnDrgs(ctx context.Context, request ListVcnDrgsRequest) (response ListVcnDrgsResponse, err error) { +// ListDrgRouteDistributionStatements Lists the statements for the specified route distribution. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatements API. +func (client VirtualNetworkClient) ListDrgRouteDistributionStatements(ctx context.Context, request ListDrgRouteDistributionStatementsRequest) (response ListDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -17847,40 +10066,42 @@ func (client VirtualNetworkClient) ListVcnDrgs(ctx context.Context, request List if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVcnDrgs, policy) + ociResponse, err = common.Retry(ctx, request, client.listDrgRouteDistributionStatements, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVcnDrgsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVcnDrgsResponse{} + response = ListDrgRouteDistributionStatementsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVcnDrgsResponse); ok { + if convertedResponse, ok := ociResponse.(ListDrgRouteDistributionStatementsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVcnDrgsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteDistributionStatementsResponse") } return } -// listVcnDrgs implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVcnDrgs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcn_drgs", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteDistributions/{drgRouteDistributionId}/drgRouteDistributionStatements", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVcnDrgsResponse + var response ListDrgRouteDistributionStatementsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistributionStatement/ListDrgRouteDistributionStatements" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListDrgRouteDistributionStatements", apiReferenceLink) return response, err } @@ -17888,8 +10109,14 @@ func (client VirtualNetworkClient) listVcnDrgs(ctx context.Context, request comm return response, err } -// ListVcns Lists the virtual cloud networks (VCNs) in the specified compartment. -func (client VirtualNetworkClient) ListVcns(ctx context.Context, request ListVcnsRequest) (response ListVcnsResponse, err error) { +// ListDrgRouteDistributions Lists the route distributions in the specified DRG. +// To retrieve the statements in a distribution, use the +// ListDrgRouteDistributionStatements operation. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributions API. +func (client VirtualNetworkClient) ListDrgRouteDistributions(ctx context.Context, request ListDrgRouteDistributionsRequest) (response ListDrgRouteDistributionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -17898,40 +10125,42 @@ func (client VirtualNetworkClient) ListVcns(ctx context.Context, request ListVcn if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVcns, policy) + ociResponse, err = common.Retry(ctx, request, client.listDrgRouteDistributions, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVcnsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDrgRouteDistributionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVcnsResponse{} + response = ListDrgRouteDistributionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVcnsResponse); ok { + if convertedResponse, ok := ociResponse.(ListDrgRouteDistributionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVcnsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteDistributionsResponse") } return } -// listVcns implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVcns(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listDrgRouteDistributions implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listDrgRouteDistributions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcns", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteDistributions", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVcnsResponse + var response ListDrgRouteDistributionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistribution/ListDrgRouteDistributions" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListDrgRouteDistributions", apiReferenceLink) return response, err } @@ -17939,8 +10168,12 @@ func (client VirtualNetworkClient) listVcns(ctx context.Context, request common. return response, err } -// ListVirtualCircuitBandwidthShapes The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). -func (client VirtualNetworkClient) ListVirtualCircuitBandwidthShapes(ctx context.Context, request ListVirtualCircuitBandwidthShapesRequest) (response ListVirtualCircuitBandwidthShapesResponse, err error) { +// ListDrgRouteRules Lists the route rules in the specified DRG route table. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRules API. +func (client VirtualNetworkClient) ListDrgRouteRules(ctx context.Context, request ListDrgRouteRulesRequest) (response ListDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -17949,40 +10182,42 @@ func (client VirtualNetworkClient) ListVirtualCircuitBandwidthShapes(ctx context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVirtualCircuitBandwidthShapes, policy) + ociResponse, err = common.Retry(ctx, request, client.listDrgRouteRules, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVirtualCircuitBandwidthShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVirtualCircuitBandwidthShapesResponse{} + response = ListDrgRouteRulesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVirtualCircuitBandwidthShapesResponse); ok { + if convertedResponse, ok := ociResponse.(ListDrgRouteRulesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVirtualCircuitBandwidthShapesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteRulesResponse") } return } -// listVirtualCircuitBandwidthShapes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVirtualCircuitBandwidthShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listDrgRouteRules implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuitBandwidthShapes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteTables/{drgRouteTableId}/drgRouteRules", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVirtualCircuitBandwidthShapesResponse + var response ListDrgRouteRulesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteRule/ListDrgRouteRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListDrgRouteRules", apiReferenceLink) return response, err } @@ -17990,9 +10225,13 @@ func (client VirtualNetworkClient) listVirtualCircuitBandwidthShapes(ctx context return response, err } -// ListVirtualCircuitPublicPrefixes Lists the public IP prefixes and their details for the specified -// public virtual circuit. -func (client VirtualNetworkClient) ListVirtualCircuitPublicPrefixes(ctx context.Context, request ListVirtualCircuitPublicPrefixesRequest) (response ListVirtualCircuitPublicPrefixesResponse, err error) { +// ListDrgRouteTables Lists the DRG route tables for the specified DRG. +// Use the `ListDrgRouteRules` operation to retrieve the route rules in a table. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTables API. +func (client VirtualNetworkClient) ListDrgRouteTables(ctx context.Context, request ListDrgRouteTablesRequest) (response ListDrgRouteTablesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -18001,40 +10240,42 @@ func (client VirtualNetworkClient) ListVirtualCircuitPublicPrefixes(ctx context. if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVirtualCircuitPublicPrefixes, policy) + ociResponse, err = common.Retry(ctx, request, client.listDrgRouteTables, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVirtualCircuitPublicPrefixesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDrgRouteTablesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVirtualCircuitPublicPrefixesResponse{} + response = ListDrgRouteTablesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVirtualCircuitPublicPrefixesResponse); ok { + if convertedResponse, ok := ociResponse.(ListDrgRouteTablesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVirtualCircuitPublicPrefixesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListDrgRouteTablesResponse") } return } -// listVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listDrgRouteTables implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listDrgRouteTables(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits/{virtualCircuitId}/publicPrefixes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgRouteTables", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVirtualCircuitPublicPrefixesResponse + var response ListDrgRouteTablesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteTable/ListDrgRouteTables" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListDrgRouteTables", apiReferenceLink) return response, err } @@ -18042,8 +10283,12 @@ func (client VirtualNetworkClient) listVirtualCircuitPublicPrefixes(ctx context. return response, err } -// ListVirtualCircuits Lists the virtual circuits in the specified compartment. -func (client VirtualNetworkClient) ListVirtualCircuits(ctx context.Context, request ListVirtualCircuitsRequest) (response ListVirtualCircuitsResponse, err error) { +// 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 { @@ -18052,40 +10297,42 @@ func (client VirtualNetworkClient) ListVirtualCircuits(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVirtualCircuits, policy) + ociResponse, err = common.Retry(ctx, request, client.listDrgs, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVirtualCircuitsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDrgsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVirtualCircuitsResponse{} + response = ListDrgsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVirtualCircuitsResponse); ok { + if convertedResponse, ok := ociResponse.(ListDrgsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVirtualCircuitsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListDrgsResponse") } return } -// listVirtualCircuits implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVirtualCircuits(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listDrgs implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listDrgs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/drgs", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVirtualCircuitsResponse + var response ListDrgsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/ListDrgs" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListDrgs", apiReferenceLink) return response, err } @@ -18093,50 +10340,61 @@ func (client VirtualNetworkClient) listVirtualCircuits(ctx context.Context, requ return response, err } -// ListVlans Lists the VLANs in the specified VCN and the specified compartment. -func (client VirtualNetworkClient) ListVlans(ctx context.Context, request ListVlansRequest) (response ListVlansResponse, err error) { +// ListFastConnectProviderServices Lists the service offerings from supported providers. You need this +// information so you can specify your desired provider and service +// offering when you create a virtual circuit. +// For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). +// 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. +// A default retry strategy applies to this operation ListFastConnectProviderServices() +func (client VirtualNetworkClient) ListFastConnectProviderServices(ctx context.Context, request ListFastConnectProviderServicesRequest) (response ListFastConnectProviderServicesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVlans, policy) + ociResponse, err = common.Retry(ctx, request, client.listFastConnectProviderServices, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVlansResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListFastConnectProviderServicesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVlansResponse{} + response = ListFastConnectProviderServicesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVlansResponse); ok { + if convertedResponse, ok := ociResponse.(ListFastConnectProviderServicesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVlansResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListFastConnectProviderServicesResponse") } return } -// listVlans implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVlans(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listFastConnectProviderServices implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listFastConnectProviderServices(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vlans", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVlansResponse + var response ListFastConnectProviderServicesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FastConnectProviderService/ListFastConnectProviderServices" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListFastConnectProviderServices", apiReferenceLink) return response, err } @@ -18144,52 +10402,59 @@ func (client VirtualNetworkClient) listVlans(ctx context.Context, request common return response, err } -// ListVnicWorkers Lists the vnicWorkers based on one of these filters: -// - Service VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// - Instance OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (client VirtualNetworkClient) ListVnicWorkers(ctx context.Context, request ListVnicWorkersRequest) (response ListVnicWorkersResponse, err error) { +// 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/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. +// A default retry strategy applies to this operation ListFastConnectProviderVirtualCircuitBandwidthShapes() +func (client VirtualNetworkClient) ListFastConnectProviderVirtualCircuitBandwidthShapes(ctx context.Context, request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) (response ListFastConnectProviderVirtualCircuitBandwidthShapesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVnicWorkers, policy) + ociResponse, err = common.Retry(ctx, request, client.listFastConnectProviderVirtualCircuitBandwidthShapes, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVnicWorkersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListFastConnectProviderVirtualCircuitBandwidthShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVnicWorkersResponse{} + response = ListFastConnectProviderVirtualCircuitBandwidthShapesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVnicWorkersResponse); ok { + if convertedResponse, ok := ociResponse.(ListFastConnectProviderVirtualCircuitBandwidthShapesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVnicWorkersResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListFastConnectProviderVirtualCircuitBandwidthShapesResponse") } return } -// listVnicWorkers implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVnicWorkers(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listFastConnectProviderVirtualCircuitBandwidthShapes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listFastConnectProviderVirtualCircuitBandwidthShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vnicWorkers", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/fastConnectProviderServices/{providerServiceId}/virtualCircuitBandwidthShapes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVnicWorkersResponse + var response ListFastConnectProviderVirtualCircuitBandwidthShapesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FastConnectProviderService/ListFastConnectProviderVirtualCircuitBandwidthShapes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListFastConnectProviderVirtualCircuitBandwidthShapes", apiReferenceLink) return response, err } @@ -18197,50 +10462,57 @@ func (client VirtualNetworkClient) listVnicWorkers(ctx context.Context, request return response, err } -// ListVtaps Lists the virtual test access points (VTAPs) in the specified compartment. -func (client VirtualNetworkClient) ListVtaps(ctx context.Context, request ListVtapsRequest) (response ListVtapsResponse, err error) { +// ListIPSecConnectionTunnelRoutes The routes advertised to the on-premises network and the routes received from the on-premises network. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutes API. +// A default retry strategy applies to this operation ListIPSecConnectionTunnelRoutes() +func (client VirtualNetworkClient) ListIPSecConnectionTunnelRoutes(ctx context.Context, request ListIPSecConnectionTunnelRoutesRequest) (response ListIPSecConnectionTunnelRoutesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listVtaps, policy) + ociResponse, err = common.Retry(ctx, request, client.listIPSecConnectionTunnelRoutes, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListVtapsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListIPSecConnectionTunnelRoutesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListVtapsResponse{} + response = ListIPSecConnectionTunnelRoutesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListVtapsResponse); ok { + if convertedResponse, ok := ociResponse.(ListIPSecConnectionTunnelRoutesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListVtapsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionTunnelRoutesResponse") } return } -// listVtaps implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) listVtaps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listIPSecConnectionTunnelRoutes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listIPSecConnectionTunnelRoutes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/vtaps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/routes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListVtapsResponse + var response ListIPSecConnectionTunnelRoutesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/TunnelRouteSummary/ListIPSecConnectionTunnelRoutes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListIPSecConnectionTunnelRoutes", apiReferenceLink) return response, err } @@ -18248,51 +10520,57 @@ func (client VirtualNetworkClient) listVtaps(ctx context.Context, request common return response, err } -// MigrateDrg Updates the specified DrgAttachment's mplsLabel and routeTarget and also moves the DRG the destination Drg Type -// for migration purposes. -func (client VirtualNetworkClient) MigrateDrg(ctx context.Context, request MigrateDrgRequest) (response MigrateDrgResponse, err error) { +// ListIPSecConnectionTunnelSecurityAssociations Lists the tunnel security associations information for the specified IPSec tunnel ID. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociations API. +// A default retry strategy applies to this operation ListIPSecConnectionTunnelSecurityAssociations() +func (client VirtualNetworkClient) ListIPSecConnectionTunnelSecurityAssociations(ctx context.Context, request ListIPSecConnectionTunnelSecurityAssociationsRequest) (response ListIPSecConnectionTunnelSecurityAssociationsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.migrateDrg, policy) + ociResponse, err = common.Retry(ctx, request, client.listIPSecConnectionTunnelSecurityAssociations, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = MigrateDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListIPSecConnectionTunnelSecurityAssociationsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = MigrateDrgResponse{} + response = ListIPSecConnectionTunnelSecurityAssociationsResponse{} } } return } - if convertedResponse, ok := ociResponse.(MigrateDrgResponse); ok { + if convertedResponse, ok := ociResponse.(ListIPSecConnectionTunnelSecurityAssociationsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into MigrateDrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionTunnelSecurityAssociationsResponse") } return } -// migrateDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) migrateDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listIPSecConnectionTunnelSecurityAssociations implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listIPSecConnectionTunnelSecurityAssociations(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internalDrgs/{internalDrgId}/actions/migrateDrg", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelSecurityAssociations", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response MigrateDrgResponse + var response ListIPSecConnectionTunnelSecurityAssociationsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/TunnelSecurityAssociationSummary/ListIPSecConnectionTunnelSecurityAssociations" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListIPSecConnectionTunnelSecurityAssociations", apiReferenceLink) return response, err } @@ -18300,55 +10578,57 @@ func (client VirtualNetworkClient) migrateDrg(ctx context.Context, request commo return response, err } -// MigrateIPSecConnection Migrates an IPSec connection from Site-to-Site VPN v1 to Site-to-Site VPN v2. -func (client VirtualNetworkClient) MigrateIPSecConnection(ctx context.Context, request MigrateIPSecConnectionRequest) (response MigrateIPSecConnectionResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListIPSecConnectionTunnels() +func (client VirtualNetworkClient) ListIPSecConnectionTunnels(ctx context.Context, request ListIPSecConnectionTunnelsRequest) (response ListIPSecConnectionTunnelsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() 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.migrateIPSecConnection, policy) + ociResponse, err = common.Retry(ctx, request, client.listIPSecConnectionTunnels, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = MigrateIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListIPSecConnectionTunnelsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = MigrateIPSecConnectionResponse{} + response = ListIPSecConnectionTunnelsResponse{} } } return } - if convertedResponse, ok := ociResponse.(MigrateIPSecConnectionResponse); ok { + if convertedResponse, ok := ociResponse.(ListIPSecConnectionTunnelsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into MigrateIPSecConnectionResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionTunnelsResponse") } return } -// migrateIPSecConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) migrateIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listIPSecConnectionTunnels implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listIPSecConnectionTunnels(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipsecConnections/{ipscId}/actions/migrate", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections/{ipscId}/tunnels", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response MigrateIPSecConnectionResponse + var response ListIPSecConnectionTunnelsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionTunnel/ListIPSecConnectionTunnels" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListIPSecConnectionTunnels", apiReferenceLink) return response, err } @@ -18356,50 +10636,58 @@ func (client VirtualNetworkClient) migrateIPSecConnection(ctx context.Context, r return response, err } -// ModifyReverseConnections Modifies the configuration for reverse connections and the DNS proxy for the specified private endpoint. -func (client VirtualNetworkClient) ModifyReverseConnections(ctx context.Context, request ModifyReverseConnectionsRequest) (response ModifyReverseConnectionsResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListIPSecConnections() +func (client VirtualNetworkClient) ListIPSecConnections(ctx context.Context, request ListIPSecConnectionsRequest) (response ListIPSecConnectionsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.modifyReverseConnections, policy) + ociResponse, err = common.Retry(ctx, request, client.listIPSecConnections, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ModifyReverseConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListIPSecConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ModifyReverseConnectionsResponse{} + response = ListIPSecConnectionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ModifyReverseConnectionsResponse); ok { + if convertedResponse, ok := ociResponse.(ListIPSecConnectionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ModifyReverseConnectionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListIPSecConnectionsResponse") } return } -// modifyReverseConnections implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) modifyReverseConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listIPSecConnections implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listIPSecConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateEndpoints/{privateEndpointId}/actions/modifyReverseConnections", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipsecConnections", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ModifyReverseConnectionsResponse + var response ListIPSecConnectionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnection/ListIPSecConnections" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListIPSecConnections", apiReferenceLink) return response, err } @@ -18407,14 +10695,13 @@ func (client VirtualNetworkClient) modifyReverseConnections(ctx context.Context, 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. -func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request ModifyVcnCidrRequest) (response ModifyVcnCidrResponse, err error) { +// 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 { @@ -18423,45 +10710,42 @@ func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request Mo 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) + ociResponse, err = common.Retry(ctx, request, client.listInternetGateways, 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} + response = ListInternetGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ModifyVcnCidrResponse{} + response = ListInternetGatewaysResponse{} } } return } - if convertedResponse, ok := ociResponse.(ModifyVcnCidrResponse); ok { + if convertedResponse, ok := ociResponse.(ListInternetGatewaysResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ModifyVcnCidrResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListInternetGatewaysResponse") } return } -// modifyVcnCidr implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listInternetGateways implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listInternetGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/modifyCidr", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/internetGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ModifyVcnCidrResponse + var response ListInternetGatewaysResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InternetGateway/ListInternetGateways" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListInternetGateways", apiReferenceLink) return response, err } @@ -18469,8 +10753,18 @@ func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request co return response, err } -// RemoveAdditionalRouteRules Remove route rules from a route table. -func (client VirtualNetworkClient) RemoveAdditionalRouteRules(ctx context.Context, request RemoveAdditionalRouteRulesRequest) (response RemoveAdditionalRouteRulesResponse, err error) { +// ListIpv6s Lists the Ipv6 objects based +// on one of these filters: +// - Subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, +// GetIpv6 requires 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/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 { @@ -18479,40 +10773,42 @@ func (client VirtualNetworkClient) RemoveAdditionalRouteRules(ctx context.Contex if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.removeAdditionalRouteRules, policy) + ociResponse, err = common.Retry(ctx, request, client.listIpv6s, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RemoveAdditionalRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListIpv6sResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveAdditionalRouteRulesResponse{} + response = ListIpv6sResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveAdditionalRouteRulesResponse); ok { + if convertedResponse, ok := ociResponse.(ListIpv6sResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveAdditionalRouteRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListIpv6sResponse") } return } -// removeAdditionalRouteRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeAdditionalRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listIpv6s implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listIpv6s(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/routeTables/{rtId}/actions/removeAdditionalRouteRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/ipv6", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveAdditionalRouteRulesResponse + var response ListIpv6sResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/ListIpv6s" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListIpv6s", apiReferenceLink) return response, err } @@ -18520,8 +10816,13 @@ func (client VirtualNetworkClient) removeAdditionalRouteRules(ctx context.Contex return response, err } -// RemoveDrgPeeringConnection Remove the peering info for an RPC Attachment. -func (client VirtualNetworkClient) RemoveDrgPeeringConnection(ctx context.Context, request RemoveDrgPeeringConnectionRequest) (response RemoveDrgPeeringConnectionResponse, err error) { +// 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 { @@ -18530,40 +10831,42 @@ func (client VirtualNetworkClient) RemoveDrgPeeringConnection(ctx context.Contex if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.removeDrgPeeringConnection, policy) + ociResponse, err = common.Retry(ctx, request, client.listLocalPeeringGateways, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RemoveDrgPeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListLocalPeeringGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveDrgPeeringConnectionResponse{} + response = ListLocalPeeringGatewaysResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveDrgPeeringConnectionResponse); ok { + if convertedResponse, ok := ociResponse.(ListLocalPeeringGatewaysResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveDrgPeeringConnectionResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListLocalPeeringGatewaysResponse") } return } -// removeDrgPeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeDrgPeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listLocalPeeringGateways implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listLocalPeeringGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgAttachments/{drgAttachmentId}/actions/removeDrgPeeringConnection", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/localPeeringGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveDrgPeeringConnectionResponse + var response ListLocalPeeringGatewaysResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LocalPeeringGateway/ListLocalPeeringGateways" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListLocalPeeringGateways", apiReferenceLink) return response, err } @@ -18571,8 +10874,13 @@ func (client VirtualNetworkClient) removeDrgPeeringConnection(ctx context.Contex return response, err } -// RemoveDrgRouteDistributionStatements Removes one or more route distribution statements from the specified route distribution's map. -func (client VirtualNetworkClient) RemoveDrgRouteDistributionStatements(ctx context.Context, request RemoveDrgRouteDistributionStatementsRequest) (response RemoveDrgRouteDistributionStatementsResponse, err error) { +// 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 { @@ -18581,40 +10889,42 @@ func (client VirtualNetworkClient) RemoveDrgRouteDistributionStatements(ctx cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.removeDrgRouteDistributionStatements, policy) + ociResponse, err = common.Retry(ctx, request, client.listNatGateways, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RemoveDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListNatGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveDrgRouteDistributionStatementsResponse{} + response = ListNatGatewaysResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveDrgRouteDistributionStatementsResponse); ok { + if convertedResponse, ok := ociResponse.(ListNatGatewaysResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveDrgRouteDistributionStatementsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListNatGatewaysResponse") } return } -// removeDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listNatGateways implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listNatGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions/{drgRouteDistributionId}/actions/removeDrgRouteDistributionStatements", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/natGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveDrgRouteDistributionStatementsResponse + var response ListNatGatewaysResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NatGateway/ListNatGateways" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListNatGateways", apiReferenceLink) return response, err } @@ -18622,8 +10932,12 @@ func (client VirtualNetworkClient) removeDrgRouteDistributionStatements(ctx cont return response, err } -// RemoveDrgRouteRules Removes one or more route rules from the specified DRG route table. -func (client VirtualNetworkClient) RemoveDrgRouteRules(ctx context.Context, request RemoveDrgRouteRulesRequest) (response RemoveDrgRouteRulesResponse, err error) { +// 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 { @@ -18632,40 +10946,42 @@ func (client VirtualNetworkClient) RemoveDrgRouteRules(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.removeDrgRouteRules, policy) + ociResponse, err = common.Retry(ctx, request, client.listNetworkSecurityGroupSecurityRules, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RemoveDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListNetworkSecurityGroupSecurityRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveDrgRouteRulesResponse{} + response = ListNetworkSecurityGroupSecurityRulesResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveDrgRouteRulesResponse); ok { + if convertedResponse, ok := ociResponse.(ListNetworkSecurityGroupSecurityRulesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveDrgRouteRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListNetworkSecurityGroupSecurityRulesResponse") } return } -// removeDrgRouteRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listNetworkSecurityGroupSecurityRules implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listNetworkSecurityGroupSecurityRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/removeDrgRouteRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups/{networkSecurityGroupId}/securityRules", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveDrgRouteRulesResponse + var response ListNetworkSecurityGroupSecurityRulesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityRule/ListNetworkSecurityGroupSecurityRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListNetworkSecurityGroupSecurityRules", apiReferenceLink) return response, err } @@ -18673,8 +10989,12 @@ func (client VirtualNetworkClient) removeDrgRouteRules(ctx context.Context, requ return response, err } -// RemoveExportDrgRouteDistribution Removes the export route distribution from the DRG attachment so no routes are advertised to it. -func (client VirtualNetworkClient) RemoveExportDrgRouteDistribution(ctx context.Context, request RemoveExportDrgRouteDistributionRequest) (response RemoveExportDrgRouteDistributionResponse, err error) { +// 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 { @@ -18683,40 +11003,42 @@ func (client VirtualNetworkClient) RemoveExportDrgRouteDistribution(ctx context. if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.removeExportDrgRouteDistribution, policy) + ociResponse, err = common.Retry(ctx, request, client.listNetworkSecurityGroupVnics, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RemoveExportDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListNetworkSecurityGroupVnicsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveExportDrgRouteDistributionResponse{} + response = ListNetworkSecurityGroupVnicsResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveExportDrgRouteDistributionResponse); ok { + if convertedResponse, ok := ociResponse.(ListNetworkSecurityGroupVnicsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveExportDrgRouteDistributionResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListNetworkSecurityGroupVnicsResponse") } return } -// removeExportDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeExportDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listNetworkSecurityGroupVnics implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listNetworkSecurityGroupVnics(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgAttachments/{drgAttachmentId}/actions/removeExportDrgRouteDistribution", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups/{networkSecurityGroupId}/vnics", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveExportDrgRouteDistributionResponse + var response ListNetworkSecurityGroupVnicsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroupVnic/ListNetworkSecurityGroupVnics" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListNetworkSecurityGroupVnics", apiReferenceLink) return response, err } @@ -18724,9 +11046,13 @@ func (client VirtualNetworkClient) removeExportDrgRouteDistribution(ctx context. return response, err } -// RemoveImportDrgRouteDistribution Removes the import route distribution from the DRG route table so no routes are imported -// into it. -func (client VirtualNetworkClient) RemoveImportDrgRouteDistribution(ctx context.Context, request RemoveImportDrgRouteDistributionRequest) (response RemoveImportDrgRouteDistributionResponse, err error) { +// ListNetworkSecurityGroups Lists either the network security groups in the specified compartment, or those associated with the specified VLAN. +// You must specify either a `vlanId` or a `compartmentId`, but not both. If you specify a `vlanId`, all other parameters are ignored. +// +// # 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 { @@ -18735,40 +11061,42 @@ func (client VirtualNetworkClient) RemoveImportDrgRouteDistribution(ctx context. if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.removeImportDrgRouteDistribution, policy) + ociResponse, err = common.Retry(ctx, request, client.listNetworkSecurityGroups, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RemoveImportDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListNetworkSecurityGroupsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveImportDrgRouteDistributionResponse{} + response = ListNetworkSecurityGroupsResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveImportDrgRouteDistributionResponse); ok { + if convertedResponse, ok := ociResponse.(ListNetworkSecurityGroupsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveImportDrgRouteDistributionResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListNetworkSecurityGroupsResponse") } return } -// removeImportDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeImportDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listNetworkSecurityGroups implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listNetworkSecurityGroups(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/removeImportDrgRouteDistribution", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkSecurityGroups", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveImportDrgRouteDistributionResponse + var response ListNetworkSecurityGroupsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/ListNetworkSecurityGroups" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListNetworkSecurityGroups", apiReferenceLink) return response, err } @@ -18776,8 +11104,25 @@ func (client VirtualNetworkClient) removeImportDrgRouteDistribution(ctx context. return response, err } -// RemoveNetworkSecurityGroupSecurityRules Removes one or more security rules from the specified network security group. -func (client VirtualNetworkClient) RemoveNetworkSecurityGroupSecurityRules(ctx context.Context, request RemoveNetworkSecurityGroupSecurityRulesRequest) (response RemoveNetworkSecurityGroupSecurityRulesResponse, err error) { +// ListPrivateIps Lists the PrivateIp objects based +// on one of these filters: +// - Subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - Both private IP address and subnet OCID: This lets +// you get a `privateIP` object based on its private IP +// address (for example, 10.0.3.3) and not its OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, +// GetPrivateIp +// requires the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// If you're listing all the private IPs associated with a given subnet +// 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). 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 { @@ -18786,40 +11131,42 @@ func (client VirtualNetworkClient) RemoveNetworkSecurityGroupSecurityRules(ctx c if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.removeNetworkSecurityGroupSecurityRules, policy) + ociResponse, err = common.Retry(ctx, request, client.listPrivateIps, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RemoveNetworkSecurityGroupSecurityRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListPrivateIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveNetworkSecurityGroupSecurityRulesResponse{} + response = ListPrivateIpsResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveNetworkSecurityGroupSecurityRulesResponse); ok { + if convertedResponse, ok := ociResponse.(ListPrivateIpsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveNetworkSecurityGroupSecurityRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListPrivateIpsResponse") } return } -// removeNetworkSecurityGroupSecurityRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeNetworkSecurityGroupSecurityRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listPrivateIps implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listPrivateIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/networkSecurityGroups/{networkSecurityGroupId}/actions/removeSecurityRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/privateIps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveNetworkSecurityGroupSecurityRulesResponse + var response ListPrivateIpsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/ListPrivateIps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListPrivateIps", apiReferenceLink) return response, err } @@ -18827,8 +11174,13 @@ func (client VirtualNetworkClient) removeNetworkSecurityGroupSecurityRules(ctx c return response, err } -// RemovePublicIpPoolCapacity Removes a CIDR block from the referenced public IP pool. -func (client VirtualNetworkClient) RemovePublicIpPoolCapacity(ctx context.Context, request RemovePublicIpPoolCapacityRequest) (response RemovePublicIpPoolCapacityResponse, err error) { +// 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 { @@ -18837,45 +11189,42 @@ func (client VirtualNetworkClient) RemovePublicIpPoolCapacity(ctx context.Contex 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) + 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 = RemovePublicIpPoolCapacityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListPublicIpPoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemovePublicIpPoolCapacityResponse{} + response = ListPublicIpPoolsResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemovePublicIpPoolCapacityResponse); ok { + if convertedResponse, ok := ociResponse.(ListPublicIpPoolsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemovePublicIpPoolCapacityResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListPublicIpPoolsResponse") } return } -// removePublicIpPoolCapacity implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removePublicIpPoolCapacity(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listPublicIpPools implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listPublicIpPools(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/removeCapacity", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIpPools", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemovePublicIpPoolCapacityResponse + var response ListPublicIpPoolsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/ListPublicIpPools" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListPublicIpPools", apiReferenceLink) return response, err } @@ -18883,11 +11232,30 @@ func (client VirtualNetworkClient) removePublicIpPoolCapacity(ctx context.Contex 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. -func (client VirtualNetworkClient) RemoveVcnCidr(ctx context.Context, request RemoveVcnCidrRequest) (response RemoveVcnCidrResponse, err error) { +// ListPublicIps Lists the PublicIp objects +// in the specified compartment. You can filter the list by using query parameters. +// To list your reserved public IPs: +// - Set `scope` = `REGION` (required) +// - Leave the `availabilityDomain` parameter empty +// - Set `lifetime` = `RESERVED` +// +// To list the ephemeral public IPs assigned to a regional entity such as a NAT gateway: +// - Set `scope` = `REGION` (required) +// - Leave the `availabilityDomain` parameter empty +// - Set `lifetime` = `EPHEMERAL` +// +// To list the ephemeral public IPs assigned to private IPs: +// - Set `scope` = `AVAILABILITY_DOMAIN` (required) +// - Set the `availabilityDomain` parameter to the desired availability domain (required) +// - 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 { @@ -18896,45 +11264,42 @@ func (client VirtualNetworkClient) RemoveVcnCidr(ctx context.Context, request Re 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) + ociResponse, err = common.Retry(ctx, request, client.listPublicIps, 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} + response = ListPublicIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RemoveVcnCidrResponse{} + response = ListPublicIpsResponse{} } } return } - if convertedResponse, ok := ociResponse.(RemoveVcnCidrResponse); ok { + if convertedResponse, ok := ociResponse.(ListPublicIpsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RemoveVcnCidrResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListPublicIpsResponse") } return } -// removeVcnCidr implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) removeVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listPublicIps implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listPublicIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/removeCidr", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RemoveVcnCidrResponse + var response ListPublicIpsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/ListPublicIps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListPublicIps", apiReferenceLink) return response, err } @@ -18942,55 +11307,58 @@ func (client VirtualNetworkClient) removeVcnCidr(ctx context.Context, request co return response, err } -// RollbackDrgMigration Migrates batches of V1 DRG from VCN to V2 Drgs in Transit-Hub. Steps include mirroring of V1 Drgs from VCN, migrating them to V2 and updating them as V2 in VCN -func (client VirtualNetworkClient) RollbackDrgMigration(ctx context.Context, request RollbackDrgMigrationRequest) (response RollbackDrgMigrationResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListRemotePeeringConnections() +func (client VirtualNetworkClient) ListRemotePeeringConnections(ctx context.Context, request ListRemotePeeringConnectionsRequest) (response ListRemotePeeringConnectionsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() 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.rollbackDrgMigration, policy) + ociResponse, err = common.Retry(ctx, request, client.listRemotePeeringConnections, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RollbackDrgMigrationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListRemotePeeringConnectionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RollbackDrgMigrationResponse{} + response = ListRemotePeeringConnectionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(RollbackDrgMigrationResponse); ok { + if convertedResponse, ok := ociResponse.(ListRemotePeeringConnectionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RollbackDrgMigrationResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListRemotePeeringConnectionsResponse") } return } -// rollbackDrgMigration implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) rollbackDrgMigration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listRemotePeeringConnections implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listRemotePeeringConnections(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/rollbackDrgMigration", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/remotePeeringConnections", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RollbackDrgMigrationResponse + var response ListRemotePeeringConnectionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RemotePeeringConnection/ListRemotePeeringConnections" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListRemotePeeringConnections", apiReferenceLink) return response, err } @@ -18998,8 +11366,15 @@ func (client VirtualNetworkClient) rollbackDrgMigration(ctx context.Context, req return response, err } -// RollbackIPSecConnection Rollback the migration of IPSec connection from Site-to-Site VPN v2 to Site-to-Site VPN v1. -func (client VirtualNetworkClient) RollbackIPSecConnection(ctx context.Context, request RollbackIPSecConnectionRequest) (response RollbackIPSecConnectionResponse, err error) { +// ListRouteTables Lists the route tables in the specified VCN and specified compartment. +// 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 { @@ -19008,45 +11383,42 @@ func (client VirtualNetworkClient) RollbackIPSecConnection(ctx context.Context, 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.rollbackIPSecConnection, policy) + ociResponse, err = common.Retry(ctx, request, client.listRouteTables, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RollbackIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListRouteTablesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RollbackIPSecConnectionResponse{} + response = ListRouteTablesResponse{} } } return } - if convertedResponse, ok := ociResponse.(RollbackIPSecConnectionResponse); ok { + if convertedResponse, ok := ociResponse.(ListRouteTablesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RollbackIPSecConnectionResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListRouteTablesResponse") } return } -// rollbackIPSecConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) rollbackIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listRouteTables implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listRouteTables(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipsecConnections/{ipscId}/actions/migrationRollback", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/routeTables", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RollbackIPSecConnectionResponse + var response ListRouteTablesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RouteTable/ListRouteTables" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListRouteTables", apiReferenceLink) return response, err } @@ -19054,8 +11426,13 @@ func (client VirtualNetworkClient) rollbackIPSecConnection(ctx context.Context, return response, err } -// RollbackUpgradeDrg Rolls back the DRG upgrade. This is an internal public API which will be called when we need to unpromote the DRG which is inPromotion or already promoted. -func (client VirtualNetworkClient) RollbackUpgradeDrg(ctx context.Context, request RollbackUpgradeDrgRequest) (response RollbackUpgradeDrgResponse, err error) { +// 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 { @@ -19064,45 +11441,42 @@ func (client VirtualNetworkClient) RollbackUpgradeDrg(ctx context.Context, reque 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.rollbackUpgradeDrg, policy) + ociResponse, err = common.Retry(ctx, request, client.listSecurityLists, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = RollbackUpgradeDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListSecurityListsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = RollbackUpgradeDrgResponse{} + response = ListSecurityListsResponse{} } } return } - if convertedResponse, ok := ociResponse.(RollbackUpgradeDrgResponse); ok { + if convertedResponse, ok := ociResponse.(ListSecurityListsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into RollbackUpgradeDrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListSecurityListsResponse") } return } -// rollbackUpgradeDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) rollbackUpgradeDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listSecurityLists implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listSecurityLists(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgs/{drgId}/actions/rollbackUpgrade", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/securityLists", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response RollbackUpgradeDrgResponse + var response ListSecurityListsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityList/ListSecurityLists" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListSecurityLists", apiReferenceLink) return response, err } @@ -19110,8 +11484,13 @@ func (client VirtualNetworkClient) rollbackUpgradeDrg(ctx context.Context, reque return response, err } -// SetDrgPeeringConnection Sets the peering info for an RPC Attachment. -func (client VirtualNetworkClient) SetDrgPeeringConnection(ctx context.Context, request SetDrgPeeringConnectionRequest) (response SetDrgPeeringConnectionResponse, err error) { +// 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 { @@ -19120,40 +11499,42 @@ func (client VirtualNetworkClient) SetDrgPeeringConnection(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.setDrgPeeringConnection, policy) + ociResponse, err = common.Retry(ctx, request, client.listServiceGateways, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = SetDrgPeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListServiceGatewaysResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = SetDrgPeeringConnectionResponse{} + response = ListServiceGatewaysResponse{} } } return } - if convertedResponse, ok := ociResponse.(SetDrgPeeringConnectionResponse); ok { + if convertedResponse, ok := ociResponse.(ListServiceGatewaysResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into SetDrgPeeringConnectionResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListServiceGatewaysResponse") } return } -// setDrgPeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) setDrgPeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listServiceGateways implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listServiceGateways(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgAttachments/{drgAttachmentId}/actions/setDrgPeeringConnection", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/serviceGateways", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response SetDrgPeeringConnectionResponse + var response ListServiceGatewaysResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/ListServiceGateways" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListServiceGateways", apiReferenceLink) return response, err } @@ -19161,8 +11542,13 @@ func (client VirtualNetworkClient) setDrgPeeringConnection(ctx context.Context, return response, err } -// UndrainVnicWorker Undrain a specified vnicWorker. -func (client VirtualNetworkClient) UndrainVnicWorker(ctx context.Context, request UndrainVnicWorkerRequest) (response UndrainVnicWorkerResponse, err error) { +// 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 { @@ -19171,40 +11557,42 @@ func (client VirtualNetworkClient) UndrainVnicWorker(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.undrainVnicWorker, policy) + ociResponse, err = common.Retry(ctx, request, client.listServices, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UndrainVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListServicesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UndrainVnicWorkerResponse{} + response = ListServicesResponse{} } } return } - if convertedResponse, ok := ociResponse.(UndrainVnicWorkerResponse); ok { + if convertedResponse, ok := ociResponse.(ListServicesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UndrainVnicWorkerResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListServicesResponse") } return } -// undrainVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) undrainVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listServices implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listServices(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vnicWorkers/{vnicWorkerId}/actions/undrainVnicWorker", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/services", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UndrainVnicWorkerResponse + var response ListServicesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Service/ListServices" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListServices", apiReferenceLink) return response, err } @@ -19212,8 +11600,13 @@ func (client VirtualNetworkClient) undrainVnicWorker(ctx context.Context, reques return response, err } -// UpdateByoipRange Updates the tags or display name associated to the specified BYOIP CIDR block. -func (client VirtualNetworkClient) UpdateByoipRange(ctx context.Context, request UpdateByoipRangeRequest) (response UpdateByoipRangeResponse, err error) { +// 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 { @@ -19222,40 +11615,42 @@ func (client VirtualNetworkClient) UpdateByoipRange(ctx context.Context, request if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateByoipRange, policy) + ociResponse, err = common.Retry(ctx, request, client.listSubnets, 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} + response = ListSubnetsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateByoipRangeResponse{} + response = ListSubnetsResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateByoipRangeResponse); ok { + if convertedResponse, ok := ociResponse.(ListSubnetsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateByoipRangeResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListSubnetsResponse") } return } -// updateByoipRange implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listSubnets implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listSubnets(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/byoipRanges/{byoipRangeId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/subnets", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateByoipRangeResponse + var response ListSubnetsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/ListSubnets" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListSubnets", apiReferenceLink) return response, err } @@ -19263,8 +11658,12 @@ func (client VirtualNetworkClient) updateByoipRange(ctx context.Context, request return response, err } -// UpdateC3Drg Updates the specified DRG's display name or tags. Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateC3Drg(ctx context.Context, request UpdateC3DrgRequest) (response UpdateC3DrgResponse, err error) { +// 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 { @@ -19273,40 +11672,42 @@ func (client VirtualNetworkClient) UpdateC3Drg(ctx context.Context, request Upda if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateC3Drg, policy) + ociResponse, err = common.Retry(ctx, request, client.listVcns, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateC3DrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListVcnsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateC3DrgResponse{} + response = ListVcnsResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateC3DrgResponse); ok { + if convertedResponse, ok := ociResponse.(ListVcnsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateC3DrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListVcnsResponse") } return } -// updateC3Drg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateC3Drg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listVcns implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listVcns(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/c3_drgs/{drgId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcns", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateC3DrgResponse + var response ListVcnsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/ListVcns" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVcns", apiReferenceLink) return response, err } @@ -19314,51 +11715,57 @@ func (client VirtualNetworkClient) updateC3Drg(ctx context.Context, request comm return response, err } -// UpdateC3DrgAttachment Updates the display name and routing information for the specified `DrgAttachment`. -// Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateC3DrgAttachment(ctx context.Context, request UpdateC3DrgAttachmentRequest) (response UpdateC3DrgAttachmentResponse, err error) { +// ListVirtualCircuitBandwidthShapes The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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. +// A default retry strategy applies to this operation ListVirtualCircuitBandwidthShapes() +func (client VirtualNetworkClient) ListVirtualCircuitBandwidthShapes(ctx context.Context, request ListVirtualCircuitBandwidthShapesRequest) (response ListVirtualCircuitBandwidthShapesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateC3DrgAttachment, policy) + ociResponse, err = common.Retry(ctx, request, client.listVirtualCircuitBandwidthShapes, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateC3DrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListVirtualCircuitBandwidthShapesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateC3DrgAttachmentResponse{} + response = ListVirtualCircuitBandwidthShapesResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateC3DrgAttachmentResponse); ok { + if convertedResponse, ok := ociResponse.(ListVirtualCircuitBandwidthShapesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateC3DrgAttachmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListVirtualCircuitBandwidthShapesResponse") } return } -// updateC3DrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateC3DrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listVirtualCircuitBandwidthShapes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listVirtualCircuitBandwidthShapes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/c3_drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuitBandwidthShapes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateC3DrgAttachmentResponse + var response ListVirtualCircuitBandwidthShapesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitBandwidthShape/ListVirtualCircuitBandwidthShapes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVirtualCircuitBandwidthShapes", apiReferenceLink) return response, err } @@ -19366,50 +11773,58 @@ func (client VirtualNetworkClient) updateC3DrgAttachment(ctx context.Context, re return response, err } -// UpdateCaptureFilter Updates the specified VTAP capture filter's display name or tags. -func (client VirtualNetworkClient) UpdateCaptureFilter(ctx context.Context, request UpdateCaptureFilterRequest) (response UpdateCaptureFilterResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListVirtualCircuitPublicPrefixes() +func (client VirtualNetworkClient) ListVirtualCircuitPublicPrefixes(ctx context.Context, request ListVirtualCircuitPublicPrefixesRequest) (response ListVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateCaptureFilter, policy) + ociResponse, err = common.Retry(ctx, request, client.listVirtualCircuitPublicPrefixes, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListVirtualCircuitPublicPrefixesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateCaptureFilterResponse{} + response = ListVirtualCircuitPublicPrefixesResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateCaptureFilterResponse); ok { + if convertedResponse, ok := ociResponse.(ListVirtualCircuitPublicPrefixesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateCaptureFilterResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListVirtualCircuitPublicPrefixesResponse") } return } -// updateCaptureFilter implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/captureFilters/{captureFilterId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits/{virtualCircuitId}/publicPrefixes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateCaptureFilterResponse + var response ListVirtualCircuitPublicPrefixesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitPublicPrefix/ListVirtualCircuitPublicPrefixes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVirtualCircuitPublicPrefixes", apiReferenceLink) return response, err } @@ -19417,55 +11832,57 @@ func (client VirtualNetworkClient) updateCaptureFilter(ctx context.Context, requ return response, err } -// UpdateClientVpn Update the specific ClientVpn by given the clientVpnId. -func (client VirtualNetworkClient) UpdateClientVpn(ctx context.Context, request UpdateClientVpnRequest) (response UpdateClientVpnResponse, err error) { +// 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. +// A default retry strategy applies to this operation ListVirtualCircuits() +func (client VirtualNetworkClient) ListVirtualCircuits(ctx context.Context, request ListVirtualCircuitsRequest) (response ListVirtualCircuitsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() 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.updateClientVpn, policy) + ociResponse, err = common.Retry(ctx, request, client.listVirtualCircuits, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateClientVpnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListVirtualCircuitsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateClientVpnResponse{} + response = ListVirtualCircuitsResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateClientVpnResponse); ok { + if convertedResponse, ok := ociResponse.(ListVirtualCircuitsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateClientVpnResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListVirtualCircuitsResponse") } return } -// updateClientVpn implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateClientVpn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listVirtualCircuits implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listVirtualCircuits(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/clientVpns/{clientVpnId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateClientVpnResponse + var response ListVirtualCircuitsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuit/ListVirtualCircuits" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVirtualCircuits", apiReferenceLink) return response, err } @@ -19473,8 +11890,12 @@ func (client VirtualNetworkClient) updateClientVpn(ctx context.Context, request return response, err } -// UpdateClientVpnUser Update the specific ClientVpnUser by given an id of ClientVpn and a username. -func (client VirtualNetworkClient) UpdateClientVpnUser(ctx context.Context, request UpdateClientVpnUserRequest) (response UpdateClientVpnUserResponse, err error) { +// 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 { @@ -19483,40 +11904,42 @@ func (client VirtualNetworkClient) UpdateClientVpnUser(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateClientVpnUser, policy) + ociResponse, err = common.Retry(ctx, request, client.listVlans, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateClientVpnUserResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListVlansResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateClientVpnUserResponse{} + response = ListVlansResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateClientVpnUserResponse); ok { + if convertedResponse, ok := ociResponse.(ListVlansResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateClientVpnUserResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListVlansResponse") } return } -// updateClientVpnUser implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateClientVpnUser(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listVlans implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listVlans(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/clientVpns/{clientVpnId}/users/{userName}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vlans", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateClientVpnUserResponse + var response ListVlansResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vlan/ListVlans" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVlans", apiReferenceLink) return response, err } @@ -19524,9 +11947,12 @@ func (client VirtualNetworkClient) updateClientVpnUser(ctx context.Context, requ return response, err } -// UpdateCpe Updates the specified CPE's display name or tags. -// Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateCpe(ctx context.Context, request UpdateCpeRequest) (response UpdateCpeResponse, err error) { +// ListVtaps Lists the virtual test access points (VTAPs) in the specified compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtaps API. +func (client VirtualNetworkClient) ListVtaps(ctx context.Context, request ListVtapsRequest) (response ListVtapsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -19535,40 +11961,42 @@ func (client VirtualNetworkClient) UpdateCpe(ctx context.Context, request Update if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateCpe, policy) + ociResponse, err = common.Retry(ctx, request, client.listVtaps, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListVtapsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateCpeResponse{} + response = ListVtapsResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateCpeResponse); ok { + if convertedResponse, ok := ociResponse.(ListVtapsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateCpeResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListVtapsResponse") } return } -// updateCpe implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listVtaps implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listVtaps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/cpes/{cpeId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vtaps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateCpeResponse + var response ListVtapsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/ListVtaps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVtaps", apiReferenceLink) return response, err } @@ -19576,8 +12004,18 @@ func (client VirtualNetworkClient) updateCpe(ctx context.Context, request common return response, err } -// UpdateCrossConnect Updates the specified cross-connect. -func (client VirtualNetworkClient) UpdateCrossConnect(ctx context.Context, request UpdateCrossConnectRequest) (response UpdateCrossConnectResponse, err error) { +// 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 { @@ -19586,40 +12024,47 @@ func (client VirtualNetworkClient) UpdateCrossConnect(ctx context.Context, reque if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateCrossConnect, policy) + + 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 = UpdateCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ModifyVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateCrossConnectResponse{} + response = ModifyVcnCidrResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateCrossConnectResponse); ok { + if convertedResponse, ok := ociResponse.(ModifyVcnCidrResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateCrossConnectResponse") + err = fmt.Errorf("failed to convert OCIResponse into ModifyVcnCidrResponse") } return } -// updateCrossConnect implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// modifyVcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/crossConnects/{crossConnectId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/modifyCidr", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateCrossConnectResponse + var response ModifyVcnCidrResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/ModifyVcnCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ModifyVcnCidr", apiReferenceLink) return response, err } @@ -19627,9 +12072,12 @@ func (client VirtualNetworkClient) updateCrossConnect(ctx context.Context, reque return response, err } -// UpdateCrossConnectGroup Updates the specified cross-connect group's display name. -// Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateCrossConnectGroup(ctx context.Context, request UpdateCrossConnectGroupRequest) (response UpdateCrossConnectGroupResponse, err error) { +// RemoveDrgRouteDistributionStatements Removes one or more route distribution statements from the specified route distribution's map. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatements API. +func (client VirtualNetworkClient) RemoveDrgRouteDistributionStatements(ctx context.Context, request RemoveDrgRouteDistributionStatementsRequest) (response RemoveDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -19638,40 +12086,42 @@ func (client VirtualNetworkClient) UpdateCrossConnectGroup(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateCrossConnectGroup, policy) + ociResponse, err = common.Retry(ctx, request, client.removeDrgRouteDistributionStatements, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateCrossConnectGroupResponse{} + response = RemoveDrgRouteDistributionStatementsResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateCrossConnectGroupResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveDrgRouteDistributionStatementsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateCrossConnectGroupResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveDrgRouteDistributionStatementsResponse") } return } -// updateCrossConnectGroup implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/crossConnectGroups/{crossConnectGroupId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions/{drgRouteDistributionId}/actions/removeDrgRouteDistributionStatements", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateCrossConnectGroupResponse + var response RemoveDrgRouteDistributionStatementsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistributionStatement/RemoveDrgRouteDistributionStatements" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveDrgRouteDistributionStatements", apiReferenceLink) return response, err } @@ -19679,8 +12129,12 @@ func (client VirtualNetworkClient) updateCrossConnectGroup(ctx context.Context, return response, err } -// UpdateDav Update an existing Direct Attached Vnic -func (client VirtualNetworkClient) UpdateDav(ctx context.Context, request UpdateDavRequest) (response UpdateDavResponse, err error) { +// RemoveDrgRouteRules Removes one or more route rules from the specified DRG route table. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRules API. +func (client VirtualNetworkClient) RemoveDrgRouteRules(ctx context.Context, request RemoveDrgRouteRulesRequest) (response RemoveDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -19689,45 +12143,42 @@ func (client VirtualNetworkClient) UpdateDav(ctx context.Context, request Update 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.updateDav, policy) + ociResponse, err = common.Retry(ctx, request, client.removeDrgRouteRules, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateDavResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDavResponse{} + response = RemoveDrgRouteRulesResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDavResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveDrgRouteRulesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDavResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveDrgRouteRulesResponse") } return } -// updateDav implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDav(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeDrgRouteRules implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/davs/{davId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/removeDrgRouteRules", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDavResponse + var response RemoveDrgRouteRulesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteRule/RemoveDrgRouteRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveDrgRouteRules", apiReferenceLink) return response, err } @@ -19735,10 +12186,12 @@ func (client VirtualNetworkClient) updateDav(ctx context.Context, request common return response, err } -// 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. -func (client VirtualNetworkClient) UpdateDhcpOptions(ctx context.Context, request UpdateDhcpOptionsRequest) (response UpdateDhcpOptionsResponse, err error) { +// RemoveExportDrgRouteDistribution Removes the export route distribution from the DRG attachment so no routes are advertised to it. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistribution API. +func (client VirtualNetworkClient) RemoveExportDrgRouteDistribution(ctx context.Context, request RemoveExportDrgRouteDistributionRequest) (response RemoveExportDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -19747,40 +12200,42 @@ func (client VirtualNetworkClient) UpdateDhcpOptions(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateDhcpOptions, policy) + ociResponse, err = common.Retry(ctx, request, client.removeExportDrgRouteDistribution, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveExportDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDhcpOptionsResponse{} + response = RemoveExportDrgRouteDistributionResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDhcpOptionsResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveExportDrgRouteDistributionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDhcpOptionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveExportDrgRouteDistributionResponse") } return } -// updateDhcpOptions implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeExportDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeExportDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/dhcps/{dhcpId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgAttachments/{drgAttachmentId}/actions/removeExportDrgRouteDistribution", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDhcpOptionsResponse + var response RemoveExportDrgRouteDistributionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgAttachment/RemoveExportDrgRouteDistribution" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveExportDrgRouteDistribution", apiReferenceLink) return response, err } @@ -19788,8 +12243,13 @@ func (client VirtualNetworkClient) updateDhcpOptions(ctx context.Context, reques return response, err } -// UpdateDrg Updates the specified DRG's display name or tags. Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateDrg(ctx context.Context, request UpdateDrgRequest) (response UpdateDrgResponse, err error) { +// RemoveImportDrgRouteDistribution Removes the import route distribution from the DRG route table so no routes are imported +// into it. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistribution API. +func (client VirtualNetworkClient) RemoveImportDrgRouteDistribution(ctx context.Context, request RemoveImportDrgRouteDistributionRequest) (response RemoveImportDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -19798,40 +12258,42 @@ func (client VirtualNetworkClient) UpdateDrg(ctx context.Context, request Update if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateDrg, policy) + ociResponse, err = common.Retry(ctx, request, client.removeImportDrgRouteDistribution, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveImportDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDrgResponse{} + response = RemoveImportDrgRouteDistributionResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDrgResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveImportDrgRouteDistributionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveImportDrgRouteDistributionResponse") } return } -// updateDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeImportDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeImportDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgs/{drgId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/removeImportDrgRouteDistribution", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDrgResponse + var response RemoveImportDrgRouteDistributionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteTable/RemoveImportDrgRouteDistribution" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveImportDrgRouteDistribution", apiReferenceLink) return response, err } @@ -19839,9 +12301,12 @@ func (client VirtualNetworkClient) updateDrg(ctx context.Context, request common return response, err } -// UpdateDrgAttachment Updates the display name and routing information for the specified `DrgAttachment`. -// Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateDrgAttachment(ctx context.Context, request UpdateDrgAttachmentRequest) (response UpdateDrgAttachmentResponse, err error) { +// RemoveIpv6SubnetCidr Remove an IPv6 CIDR from a subnet. At least one IPv6 CIDR should remain. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidr API. +func (client VirtualNetworkClient) RemoveIpv6SubnetCidr(ctx context.Context, request RemoveIpv6SubnetCidrRequest) (response RemoveIpv6SubnetCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -19850,40 +12315,47 @@ func (client VirtualNetworkClient) UpdateDrgAttachment(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateDrgAttachment, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.removeIpv6SubnetCidr, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveIpv6SubnetCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDrgAttachmentResponse{} + response = RemoveIpv6SubnetCidrResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDrgAttachmentResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveIpv6SubnetCidrResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgAttachmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveIpv6SubnetCidrResponse") } return } -// updateDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeIpv6SubnetCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeIpv6SubnetCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets/{subnetId}/actions/removeIpv6Cidr", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDrgAttachmentResponse + var response RemoveIpv6SubnetCidrResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/RemoveIpv6SubnetCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveIpv6SubnetCidr", apiReferenceLink) return response, err } @@ -19891,8 +12363,12 @@ func (client VirtualNetworkClient) updateDrgAttachment(ctx context.Context, requ return response, err } -// UpdateDrgRouteDistribution Updates the specified route distribution -func (client VirtualNetworkClient) UpdateDrgRouteDistribution(ctx context.Context, request UpdateDrgRouteDistributionRequest) (response UpdateDrgRouteDistributionResponse, err error) { +// RemoveIpv6VcnCidr Removing an existing IPv6 CIDR from a VCN. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidr API. +func (client VirtualNetworkClient) RemoveIpv6VcnCidr(ctx context.Context, request RemoveIpv6VcnCidrRequest) (response RemoveIpv6VcnCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -19901,40 +12377,47 @@ func (client VirtualNetworkClient) UpdateDrgRouteDistribution(ctx context.Contex if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteDistribution, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.removeIpv6VcnCidr, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveIpv6VcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDrgRouteDistributionResponse{} + response = RemoveIpv6VcnCidrResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDrgRouteDistributionResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveIpv6VcnCidrResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteDistributionResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveIpv6VcnCidrResponse") } return } -// updateDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeIpv6VcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeIpv6VcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgRouteDistributions/{drgRouteDistributionId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/removeIpv6Cidr", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDrgRouteDistributionResponse + var response RemoveIpv6VcnCidrResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/RemoveIpv6VcnCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveIpv6VcnCidr", apiReferenceLink) return response, err } @@ -19942,8 +12425,12 @@ func (client VirtualNetworkClient) updateDrgRouteDistribution(ctx context.Contex return response, err } -// UpdateDrgRouteDistributionStatements Updates one or more route distribution statements in the specified route distribution. -func (client VirtualNetworkClient) UpdateDrgRouteDistributionStatements(ctx context.Context, request UpdateDrgRouteDistributionStatementsRequest) (response UpdateDrgRouteDistributionStatementsResponse, err error) { +// 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 { @@ -19952,40 +12439,42 @@ func (client VirtualNetworkClient) UpdateDrgRouteDistributionStatements(ctx cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteDistributionStatements, policy) + ociResponse, err = common.Retry(ctx, request, client.removeNetworkSecurityGroupSecurityRules, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveNetworkSecurityGroupSecurityRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDrgRouteDistributionStatementsResponse{} + response = RemoveNetworkSecurityGroupSecurityRulesResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDrgRouteDistributionStatementsResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveNetworkSecurityGroupSecurityRulesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteDistributionStatementsResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveNetworkSecurityGroupSecurityRulesResponse") } return } -// updateDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeNetworkSecurityGroupSecurityRules implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeNetworkSecurityGroupSecurityRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions/{drgRouteDistributionId}/actions/updateDrgRouteDistributionStatements", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/networkSecurityGroups/{networkSecurityGroupId}/actions/removeSecurityRules", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDrgRouteDistributionStatementsResponse + var response RemoveNetworkSecurityGroupSecurityRulesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityRule/RemoveNetworkSecurityGroupSecurityRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveNetworkSecurityGroupSecurityRules", apiReferenceLink) return response, err } @@ -19993,8 +12482,12 @@ func (client VirtualNetworkClient) updateDrgRouteDistributionStatements(ctx cont return response, err } -// UpdateDrgRouteRules Updates one or more route rules in the specified DRG route table. -func (client VirtualNetworkClient) UpdateDrgRouteRules(ctx context.Context, request UpdateDrgRouteRulesRequest) (response UpdateDrgRouteRulesResponse, err error) { +// 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 { @@ -20003,40 +12496,47 @@ func (client VirtualNetworkClient) UpdateDrgRouteRules(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteRules, policy) + + 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 = UpdateDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemovePublicIpPoolCapacityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDrgRouteRulesResponse{} + response = RemovePublicIpPoolCapacityResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDrgRouteRulesResponse); ok { + if convertedResponse, ok := ociResponse.(RemovePublicIpPoolCapacityResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteRulesResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemovePublicIpPoolCapacityResponse") } return } -// updateDrgRouteRules implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removePublicIpPoolCapacity implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removePublicIpPoolCapacity(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/updateDrgRouteRules", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/removeCapacity", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDrgRouteRulesResponse + var response RemovePublicIpPoolCapacityResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/RemovePublicIpPoolCapacity" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemovePublicIpPoolCapacity", apiReferenceLink) return response, err } @@ -20044,8 +12544,15 @@ func (client VirtualNetworkClient) updateDrgRouteRules(ctx context.Context, requ return response, err } -// UpdateDrgRouteTable Updates the specified DRG route table. -func (client VirtualNetworkClient) UpdateDrgRouteTable(ctx context.Context, request UpdateDrgRouteTableRequest) (response UpdateDrgRouteTableResponse, err error) { +// 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 { @@ -20054,40 +12561,47 @@ func (client VirtualNetworkClient) UpdateDrgRouteTable(ctx context.Context, requ if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteTable, policy) + + 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 = UpdateDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = RemoveVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateDrgRouteTableResponse{} + response = RemoveVcnCidrResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateDrgRouteTableResponse); ok { + if convertedResponse, ok := ociResponse.(RemoveVcnCidrResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteTableResponse") + err = fmt.Errorf("failed to convert OCIResponse into RemoveVcnCidrResponse") } return } -// updateDrgRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// removeVcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgRouteTables/{drgRouteTableId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/removeCidr", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateDrgRouteTableResponse + var response RemoveVcnCidrResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/RemoveVcnCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveVcnCidr", apiReferenceLink) return response, err } @@ -20095,8 +12609,12 @@ func (client VirtualNetworkClient) updateDrgRouteTable(ctx context.Context, requ return response, err } -// UpdateEndpointService Updates the specified endpoint service. -func (client VirtualNetworkClient) UpdateEndpointService(ctx context.Context, request UpdateEndpointServiceRequest) (response UpdateEndpointServiceResponse, err error) { +// 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 { @@ -20105,40 +12623,42 @@ func (client VirtualNetworkClient) UpdateEndpointService(ctx context.Context, re if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateEndpointService, policy) + 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 = UpdateEndpointServiceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateEndpointServiceResponse{} + response = UpdateByoipRangeResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateEndpointServiceResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateByoipRangeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateEndpointServiceResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateByoipRangeResponse") } return } -// updateEndpointService implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateEndpointService(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/endpointServices/{endpointServiceId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/byoipRanges/{byoipRangeId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateEndpointServiceResponse + var response UpdateByoipRangeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/UpdateByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateByoipRange", apiReferenceLink) return response, err } @@ -20146,8 +12666,12 @@ func (client VirtualNetworkClient) updateEndpointService(ctx context.Context, re return response, err } -// UpdateEndpointServiceNextHop Adds backend next hop details OR Updates existing next hop details OR Removes next hop details (empty string for nextHopIp and -1 for nextHopSlotId) for a given substrate endpoint service and service ip -func (client VirtualNetworkClient) UpdateEndpointServiceNextHop(ctx context.Context, request UpdateEndpointServiceNextHopRequest) (response UpdateEndpointServiceNextHopResponse, err error) { +// UpdateCaptureFilter Updates the specified VTAP capture filter's display name or tags. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilter API. +func (client VirtualNetworkClient) UpdateCaptureFilter(ctx context.Context, request UpdateCaptureFilterRequest) (response UpdateCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -20156,45 +12680,42 @@ func (client VirtualNetworkClient) UpdateEndpointServiceNextHop(ctx context.Cont 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.updateEndpointServiceNextHop, policy) + ociResponse, err = common.Retry(ctx, request, client.updateCaptureFilter, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateEndpointServiceNextHopResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateCaptureFilterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateEndpointServiceNextHopResponse{} + response = UpdateCaptureFilterResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateEndpointServiceNextHopResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateCaptureFilterResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateEndpointServiceNextHopResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateCaptureFilterResponse") } return } -// updateEndpointServiceNextHop implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateEndpointServiceNextHop(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateCaptureFilter implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateCaptureFilter(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/endpointServices/{endpointServiceId}/nextHops/{serviceIp}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/captureFilters/{captureFilterId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateEndpointServiceNextHopResponse + var response UpdateCaptureFilterResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CaptureFilter/UpdateCaptureFilter" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateCaptureFilter", apiReferenceLink) return response, err } @@ -20202,50 +12723,58 @@ func (client VirtualNetworkClient) updateEndpointServiceNextHop(ctx context.Cont return response, err } -// UpdateFlowLogConfig Updates a flow log configuration. -func (client VirtualNetworkClient) UpdateFlowLogConfig(ctx context.Context, request UpdateFlowLogConfigRequest) (response UpdateFlowLogConfigResponse, err error) { +// 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. +// A default retry strategy applies to this operation UpdateCpe() +func (client VirtualNetworkClient) UpdateCpe(ctx context.Context, request UpdateCpeRequest) (response UpdateCpeResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateFlowLogConfig, policy) + ociResponse, err = common.Retry(ctx, request, client.updateCpe, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateFlowLogConfigResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateCpeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateFlowLogConfigResponse{} + response = UpdateCpeResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateFlowLogConfigResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateCpeResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateFlowLogConfigResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateCpeResponse") } return } -// updateFlowLogConfig implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateFlowLogConfig(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateCpe implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateCpe(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/flowLogConfigs/{flowLogConfigId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/cpes/{cpeId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateFlowLogConfigResponse + var response UpdateCpeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Cpe/UpdateCpe" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateCpe", apiReferenceLink) return response, err } @@ -20253,50 +12782,57 @@ func (client VirtualNetworkClient) updateFlowLogConfig(ctx context.Context, requ return response, err } -// UpdateFlowLogConfigAttachment Updates the specified flow log configuration attachment. -func (client VirtualNetworkClient) UpdateFlowLogConfigAttachment(ctx context.Context, request UpdateFlowLogConfigAttachmentRequest) (response UpdateFlowLogConfigAttachmentResponse, err error) { +// 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. +// A default retry strategy applies to this operation UpdateCrossConnect() +func (client VirtualNetworkClient) UpdateCrossConnect(ctx context.Context, request UpdateCrossConnectRequest) (response UpdateCrossConnectResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateFlowLogConfigAttachment, policy) + ociResponse, err = common.Retry(ctx, request, client.updateCrossConnect, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateFlowLogConfigAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateCrossConnectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateFlowLogConfigAttachmentResponse{} + response = UpdateCrossConnectResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateFlowLogConfigAttachmentResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateCrossConnectResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateFlowLogConfigAttachmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateCrossConnectResponse") } return } -// updateFlowLogConfigAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateFlowLogConfigAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateCrossConnect implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateCrossConnect(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/flowLogConfigAttachments/{flowLogConfigAttachmentId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/crossConnects/{crossConnectId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateFlowLogConfigAttachmentResponse + var response UpdateCrossConnectResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnect/UpdateCrossConnect" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateCrossConnect", apiReferenceLink) return response, err } @@ -20304,52 +12840,58 @@ func (client VirtualNetworkClient) updateFlowLogConfigAttachment(ctx context.Con return response, err } -// UpdateIPSecConnection Updates the specified IPSec connection. -// To update an individual IPSec tunnel's attributes, use -// UpdateIPSecConnectionTunnel. -func (client VirtualNetworkClient) UpdateIPSecConnection(ctx context.Context, request UpdateIPSecConnectionRequest) (response UpdateIPSecConnectionResponse, err error) { +// 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. +// A default retry strategy applies to this operation UpdateCrossConnectGroup() +func (client VirtualNetworkClient) UpdateCrossConnectGroup(ctx context.Context, request UpdateCrossConnectGroupRequest) (response UpdateCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateIPSecConnection, policy) + ociResponse, err = common.Retry(ctx, request, client.updateCrossConnectGroup, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateCrossConnectGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateIPSecConnectionResponse{} + response = UpdateCrossConnectGroupResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateIPSecConnectionResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateCrossConnectGroupResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateIPSecConnectionResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateCrossConnectGroupResponse") } return } -// updateIPSecConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateCrossConnectGroup implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateCrossConnectGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipsecConnections/{ipscId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/crossConnectGroups/{crossConnectGroupId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateIPSecConnectionResponse + var response UpdateCrossConnectGroupResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CrossConnectGroup/UpdateCrossConnectGroup" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateCrossConnectGroup", apiReferenceLink) return response, err } @@ -20357,16 +12899,14 @@ func (client VirtualNetworkClient) updateIPSecConnection(ctx context.Context, re return response, err } -// UpdateIPSecConnectionTunnel Updates the specified tunnel. This operation lets you change tunnel attributes such as the -// routing type (BGP dynamic routing or static routing). Here are some important notes: -// - If you change the tunnel's routing type or BGP session configuration, the tunnel will go -// down while it's reprovisioned. -// - If you want to switch the tunnel's `routing` from `STATIC` to `BGP`, make sure the tunnel's -// BGP session configuration attributes have been set (BgpSessionInfo). -// - 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. -func (client VirtualNetworkClient) UpdateIPSecConnectionTunnel(ctx context.Context, request UpdateIPSecConnectionTunnelRequest) (response UpdateIPSecConnectionTunnelResponse, err error) { +// 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 { @@ -20375,40 +12915,42 @@ func (client VirtualNetworkClient) UpdateIPSecConnectionTunnel(ctx context.Conte if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateIPSecConnectionTunnel, policy) + ociResponse, err = common.Retry(ctx, request, client.updateDhcpOptions, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateIPSecConnectionTunnelResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateDhcpOptionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateIPSecConnectionTunnelResponse{} + response = UpdateDhcpOptionsResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateIPSecConnectionTunnelResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateDhcpOptionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateIPSecConnectionTunnelResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateDhcpOptionsResponse") } return } -// updateIPSecConnectionTunnel implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateIPSecConnectionTunnel(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateDhcpOptions implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateDhcpOptions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/dhcps/{dhcpId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateIPSecConnectionTunnelResponse + var response UpdateDhcpOptionsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DhcpOptions/UpdateDhcpOptions" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateDhcpOptions", apiReferenceLink) return response, err } @@ -20416,9 +12958,12 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnel(ctx context.Conte return response, err } -// 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. -func (client VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret(ctx context.Context, request UpdateIPSecConnectionTunnelSharedSecretRequest) (response UpdateIPSecConnectionTunnelSharedSecretResponse, err error) { +// 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 { @@ -20427,40 +12972,42 @@ func (client VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret(ctx c if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateIPSecConnectionTunnelSharedSecret, policy) + ociResponse, err = common.Retry(ctx, request, client.updateDrg, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateIPSecConnectionTunnelSharedSecretResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateIPSecConnectionTunnelSharedSecretResponse{} + response = UpdateDrgResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateIPSecConnectionTunnelSharedSecretResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateDrgResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateIPSecConnectionTunnelSharedSecretResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgResponse") } return } -// updateIPSecConnectionTunnelSharedSecret implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateIPSecConnectionTunnelSharedSecret(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateDrg implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/sharedSecret", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgs/{drgId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateIPSecConnectionTunnelSharedSecretResponse + var response UpdateDrgResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/UpdateDrg" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateDrg", apiReferenceLink) return response, err } @@ -20468,9 +13015,13 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnelSharedSecret(ctx c return response, err } -// UpdateInternalDnsRecord Updates the specified DnsRecord. -// Currently, only the name, ttl, and value can be updated for DnsRecord. -func (client VirtualNetworkClient) UpdateInternalDnsRecord(ctx context.Context, request UpdateInternalDnsRecordRequest) (response UpdateInternalDnsRecordResponse, err error) { +// UpdateDrgAttachment Updates the display name and routing information 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 { @@ -20479,40 +13030,42 @@ func (client VirtualNetworkClient) UpdateInternalDnsRecord(ctx context.Context, if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateInternalDnsRecord, policy) + ociResponse, err = common.Retry(ctx, request, client.updateDrgAttachment, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateInternalDnsRecordResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateInternalDnsRecordResponse{} + response = UpdateDrgAttachmentResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateInternalDnsRecordResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateDrgAttachmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternalDnsRecordResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgAttachmentResponse") } return } -// updateInternalDnsRecord implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternalDnsRecord(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateDrgAttachment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internalDnsRecords/{internalDnsRecordId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternalDnsRecordResponse + var response UpdateDrgAttachmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgAttachment/UpdateDrgAttachment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateDrgAttachment", apiReferenceLink) return response, err } @@ -20520,8 +13073,12 @@ func (client VirtualNetworkClient) updateInternalDnsRecord(ctx context.Context, return response, err } -// UpdateInternalDrg Updates the specified DRG's display name or tags. Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateInternalDrg(ctx context.Context, request UpdateInternalDrgRequest) (response UpdateInternalDrgResponse, err error) { +// UpdateDrgRouteDistribution Updates the specified route distribution +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistribution API. +func (client VirtualNetworkClient) UpdateDrgRouteDistribution(ctx context.Context, request UpdateDrgRouteDistributionRequest) (response UpdateDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -20530,40 +13087,42 @@ func (client VirtualNetworkClient) UpdateInternalDrg(ctx context.Context, reques if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateInternalDrg, policy) + ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteDistribution, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateInternalDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateDrgRouteDistributionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateInternalDrgResponse{} + response = UpdateDrgRouteDistributionResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateInternalDrgResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateDrgRouteDistributionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternalDrgResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteDistributionResponse") } return } -// updateInternalDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternalDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateDrgRouteDistribution implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateDrgRouteDistribution(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internalDrgs/{internalDrgId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgRouteDistributions/{drgRouteDistributionId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternalDrgResponse + var response UpdateDrgRouteDistributionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistribution/UpdateDrgRouteDistribution" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateDrgRouteDistribution", apiReferenceLink) return response, err } @@ -20571,9 +13130,12 @@ func (client VirtualNetworkClient) updateInternalDrg(ctx context.Context, reques return response, err } -// UpdateInternalDrgAttachment Updates the display name and routing information for the specified `DrgAttachment`. -// Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateInternalDrgAttachment(ctx context.Context, request UpdateInternalDrgAttachmentRequest) (response UpdateInternalDrgAttachmentResponse, err error) { +// UpdateDrgRouteDistributionStatements Updates one or more route distribution statements in the specified route distribution. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatements API. +func (client VirtualNetworkClient) UpdateDrgRouteDistributionStatements(ctx context.Context, request UpdateDrgRouteDistributionStatementsRequest) (response UpdateDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -20582,40 +13144,42 @@ func (client VirtualNetworkClient) UpdateInternalDrgAttachment(ctx context.Conte if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateInternalDrgAttachment, policy) + ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteDistributionStatements, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateInternalDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateDrgRouteDistributionStatementsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateInternalDrgAttachmentResponse{} + response = UpdateDrgRouteDistributionStatementsResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateInternalDrgAttachmentResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateDrgRouteDistributionStatementsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternalDrgAttachmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteDistributionStatementsResponse") } return } -// updateInternalDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternalDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateDrgRouteDistributionStatements implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateDrgRouteDistributionStatements(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internalDrgAttachments/{internalDrgAttachmentId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteDistributions/{drgRouteDistributionId}/actions/updateDrgRouteDistributionStatements", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternalDrgAttachmentResponse + var response UpdateDrgRouteDistributionStatementsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteDistributionStatement/UpdateDrgRouteDistributionStatements" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateDrgRouteDistributionStatements", apiReferenceLink) return response, err } @@ -20623,8 +13187,12 @@ func (client VirtualNetworkClient) updateInternalDrgAttachment(ctx context.Conte return response, err } -// UpdateInternalGenericGateway Update an existing internal generic gateway -func (client VirtualNetworkClient) UpdateInternalGenericGateway(ctx context.Context, request UpdateInternalGenericGatewayRequest) (response UpdateInternalGenericGatewayResponse, err error) { +// UpdateDrgRouteRules Updates one or more route rules in the specified DRG route table. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRules API. +func (client VirtualNetworkClient) UpdateDrgRouteRules(ctx context.Context, request UpdateDrgRouteRulesRequest) (response UpdateDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -20633,35 +13201,42 @@ func (client VirtualNetworkClient) UpdateInternalGenericGateway(ctx context.Cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateInternalGenericGateway, policy) + ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteRules, policy) if err != nil { if ociResponse != nil { - response = UpdateInternalGenericGatewayResponse{RawResponse: ociResponse.HTTPResponse()} + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateDrgRouteRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateDrgRouteRulesResponse{} + } } return } - if convertedResponse, ok := ociResponse.(UpdateInternalGenericGatewayResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateDrgRouteRulesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternalGenericGatewayResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteRulesResponse") } return } -// updateInternalGenericGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternalGenericGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateDrgRouteRules implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateDrgRouteRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internalGenericGateways/{internalGenericGatewayId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/drgRouteTables/{drgRouteTableId}/actions/updateDrgRouteRules", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternalGenericGatewayResponse + var response UpdateDrgRouteRulesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteRule/UpdateDrgRouteRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateDrgRouteRules", apiReferenceLink) return response, err } @@ -20669,38 +13244,12 @@ func (client VirtualNetworkClient) updateInternalGenericGateway(ctx context.Cont return response, err } -// UpdateInternalPublicIp Updates the specified internal public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Use this operation if you want to: -// * Assign a reserved public IP in your pool to a private IP/NAT Gateway. -// * Move a reserved public IP to a different private IP/NAT Gateway. -// * Unassign a reserved public IP from a private IP/NAT Gateway (which returns it to your pool -// of reserved public IPs). -// * Change the display name for a public IP. -// Assigning, moving, and unassigning a reserved public IP are asynchronous -// operations. Poll the public IP's `lifecycleState` to determine if the operation -// succeeded. -// **Note:** When moving a reserved public IP, the target private IP -// must not already have a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it -// does, an error is returned. Also, the initial unassignment from the original -// private IP always succeeds, but the assignment to the target private IP is asynchronous and -// could fail silently (for example, if the target private IP is deleted or has a different public IP -// assigned to it in the interim). If that occurs, the public IP remains unassigned and its -// `lifecycleState` switches to AVAILABLE (it is not reassigned to its original private IP). -// You must poll the public IP's `lifecycleState` to determine if the move succeeded. -// Regarding ephemeral public IPs: -// * If you want to assign an ephemeral public IP to a primary private IP, use -// CreatePublicIp. -// * You can't move an ephemeral public IP to a different private IP/NAT Gateway. -// * If you want to unassign an ephemeral public IP from its private IP, use -// DeleteInternalPublicIp, which unassigns and deletes the ephemeral public IP. -// **Note:** If a public IP is assigned to a secondary private -// IP (see PrivateIp), and you move that secondary -// private IP to another VNIC, the public IP moves with it. -// **Note:** There's a limit to the number of PublicIp -// 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/iaas/Content/Network/Tasks/managingpublicIPs.htm). -func (client VirtualNetworkClient) UpdateInternalPublicIp(ctx context.Context, request UpdateInternalPublicIpRequest) (response UpdateInternalPublicIpResponse, err error) { +// UpdateDrgRouteTable Updates the specified DRG route table. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTable API. +func (client VirtualNetworkClient) UpdateDrgRouteTable(ctx context.Context, request UpdateDrgRouteTableRequest) (response UpdateDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -20709,40 +13258,42 @@ func (client VirtualNetworkClient) UpdateInternalPublicIp(ctx context.Context, r if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateInternalPublicIp, policy) + ociResponse, err = common.Retry(ctx, request, client.updateDrgRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateInternalPublicIpResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateDrgRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateInternalPublicIpResponse{} + response = UpdateDrgRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateInternalPublicIpResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateDrgRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternalPublicIpResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateDrgRouteTableResponse") } return } -// updateInternalPublicIp implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternalPublicIp(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateDrgRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateDrgRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internalPublicIps/{internalPublicIpId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/drgRouteTables/{drgRouteTableId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternalPublicIpResponse + var response UpdateDrgRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DrgRouteTable/UpdateDrgRouteTable" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateDrgRouteTable", apiReferenceLink) return response, err } @@ -20750,50 +13301,59 @@ func (client VirtualNetworkClient) updateInternalPublicIp(ctx context.Context, r return response, err } -// UpdateInternalVnic Updates the specified internal VNIC. -func (client VirtualNetworkClient) UpdateInternalVnic(ctx context.Context, request UpdateInternalVnicRequest) (response UpdateInternalVnicResponse, err error) { +// 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. +// A default retry strategy applies to this operation UpdateIPSecConnection() +func (client VirtualNetworkClient) UpdateIPSecConnection(ctx context.Context, request UpdateIPSecConnectionRequest) (response UpdateIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateInternalVnic, policy) + ociResponse, err = common.Retry(ctx, request, client.updateIPSecConnection, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateInternalVnicResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateIPSecConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateInternalVnicResponse{} + response = UpdateIPSecConnectionResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateInternalVnicResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateIPSecConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternalVnicResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateIPSecConnectionResponse") } return } -// updateInternalVnic implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternalVnic(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateIPSecConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateIPSecConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internalVnics/{internalVnicId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipsecConnections/{ipscId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternalVnicResponse + var response UpdateIPSecConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnection/UpdateIPSecConnection" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateIPSecConnection", apiReferenceLink) return response, err } @@ -20801,55 +13361,65 @@ func (client VirtualNetworkClient) updateInternalVnic(ctx context.Context, reque return response, err } -// UpdateInternalVnicMetadata Request to updates the customer facing metrics metadata for a vnic attachment. -func (client VirtualNetworkClient) UpdateInternalVnicMetadata(ctx context.Context, request UpdateInternalVnicMetadataRequest) (response UpdateInternalVnicMetadataResponse, err error) { +// UpdateIPSecConnectionTunnel Updates the specified tunnel. This operation lets you change tunnel attributes such as the +// routing type (BGP dynamic routing or static routing). Here are some important notes: +// - If you change the tunnel's routing type or BGP session configuration, the tunnel will go +// down while it's reprovisioned. +// - If you want to switch the tunnel's `routing` from `STATIC` to `BGP`, make sure the tunnel's +// BGP session configuration attributes have been set (BgpSessionInfo). +// - 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. +// A default retry strategy applies to this operation UpdateIPSecConnectionTunnel() +func (client VirtualNetworkClient) UpdateIPSecConnectionTunnel(ctx context.Context, request UpdateIPSecConnectionTunnelRequest) (response UpdateIPSecConnectionTunnelResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() 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.updateInternalVnicMetadata, policy) + ociResponse, err = common.Retry(ctx, request, client.updateIPSecConnectionTunnel, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateInternalVnicMetadataResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateIPSecConnectionTunnelResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateInternalVnicMetadataResponse{} + response = UpdateIPSecConnectionTunnelResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateInternalVnicMetadataResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateIPSecConnectionTunnelResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternalVnicMetadataResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateIPSecConnectionTunnelResponse") } return } -// updateInternalVnicMetadata implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternalVnicMetadata(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateIPSecConnectionTunnel implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateIPSecConnectionTunnel(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics/vnicAttachments/action/updateMetadataList", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternalVnicMetadataResponse + var response UpdateIPSecConnectionTunnelResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionTunnel/UpdateIPSecConnectionTunnel" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateIPSecConnectionTunnel", apiReferenceLink) return response, err } @@ -20857,53 +13427,58 @@ func (client VirtualNetworkClient) updateInternalVnicMetadata(ctx context.Contex return response, err } -// UpdateInternetGateway Updates the specified internet gateway. You can disable/enable it, or change its display name -// 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. -func (client VirtualNetworkClient) UpdateInternetGateway(ctx context.Context, request UpdateInternetGatewayRequest) (response UpdateInternetGatewayResponse, err error) { +// 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. +// A default retry strategy applies to this operation UpdateIPSecConnectionTunnelSharedSecret() +func (client VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret(ctx context.Context, request UpdateIPSecConnectionTunnelSharedSecretRequest) (response UpdateIPSecConnectionTunnelSharedSecretResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateInternetGateway, policy) + ociResponse, err = common.Retry(ctx, request, client.updateIPSecConnectionTunnelSharedSecret, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateIPSecConnectionTunnelSharedSecretResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateInternetGatewayResponse{} + response = UpdateIPSecConnectionTunnelSharedSecretResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateInternetGatewayResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateIPSecConnectionTunnelSharedSecretResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateInternetGatewayResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateIPSecConnectionTunnelSharedSecretResponse") } return } -// updateInternetGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateIPSecConnectionTunnelSharedSecret implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateIPSecConnectionTunnelSharedSecret(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internetGateways/{igId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/sharedSecret", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateInternetGatewayResponse + var response UpdateIPSecConnectionTunnelSharedSecretResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionTunnelSharedSecret/UpdateIPSecConnectionTunnelSharedSecret" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateIPSecConnectionTunnelSharedSecret", apiReferenceLink) return response, err } @@ -20911,13 +13486,15 @@ func (client VirtualNetworkClient) updateInternetGateway(ctx context.Context, re return response, err } -// UpdateIpv6 Updates the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// Use this operation if you want to: -// - Move an IPv6 to a different VNIC in the same subnet. -// - Enable/disable internet access for an IPv6. -// - Change the display name for an IPv6. -// - Update resource tags for an IPv6. -func (client VirtualNetworkClient) UpdateIpv6(ctx context.Context, request UpdateIpv6Request) (response UpdateIpv6Response, err error) { +// UpdateInternetGateway Updates the specified internet gateway. You can disable/enable it, or change its display name +// 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 { @@ -20926,40 +13503,42 @@ func (client VirtualNetworkClient) UpdateIpv6(ctx context.Context, request Updat if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateIpv6, policy) + ociResponse, err = common.Retry(ctx, request, client.updateInternetGateway, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateInternetGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateIpv6Response{} + response = UpdateInternetGatewayResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateIpv6Response); ok { + if convertedResponse, ok := ociResponse.(UpdateInternetGatewayResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateIpv6Response") + err = fmt.Errorf("failed to convert OCIResponse into UpdateInternetGatewayResponse") } return } -// updateIpv6 implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateInternetGateway implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateInternetGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipv6/{ipv6Id}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/internetGateways/{igId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateIpv6Response + var response UpdateInternetGatewayResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InternetGateway/UpdateInternetGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateInternetGateway", apiReferenceLink) return response, err } @@ -20967,8 +13546,17 @@ func (client VirtualNetworkClient) updateIpv6(ctx context.Context, request commo return response, err } -// UpdateLocalPeeringConnection Updates the specified local peering connection. -func (client VirtualNetworkClient) UpdateLocalPeeringConnection(ctx context.Context, request UpdateLocalPeeringConnectionRequest) (response UpdateLocalPeeringConnectionResponse, err error) { +// UpdateIpv6 Updates the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Use this operation if you want to: +// - Move an IPv6 to a different VNIC in the same subnet. +// - 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 { @@ -20977,40 +13565,42 @@ func (client VirtualNetworkClient) UpdateLocalPeeringConnection(ctx context.Cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateLocalPeeringConnection, policy) + ociResponse, err = common.Retry(ctx, request, client.updateIpv6, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateLocalPeeringConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateIpv6Response{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateLocalPeeringConnectionResponse{} + response = UpdateIpv6Response{} } } return } - if convertedResponse, ok := ociResponse.(UpdateLocalPeeringConnectionResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateIpv6Response); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateLocalPeeringConnectionResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateIpv6Response") } return } -// updateLocalPeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateLocalPeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateIpv6 implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateIpv6(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/localPeeringConnections/{localPeeringConnectionId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/ipv6/{ipv6Id}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateLocalPeeringConnectionResponse + var response UpdateIpv6Response var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/UpdateIpv6" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateIpv6", apiReferenceLink) return response, err } @@ -21019,6 +13609,10 @@ func (client VirtualNetworkClient) updateLocalPeeringConnection(ctx context.Cont } // 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() @@ -21062,6 +13656,8 @@ func (client VirtualNetworkClient) updateLocalPeeringGateway(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LocalPeeringGateway/UpdateLocalPeeringGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateLocalPeeringGateway", apiReferenceLink) return response, err } @@ -21070,6 +13666,10 @@ 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() @@ -21113,6 +13713,8 @@ func (client VirtualNetworkClient) updateNatGateway(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NatGateway/UpdateNatGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateNatGateway", apiReferenceLink) return response, err } @@ -21131,6 +13733,10 @@ 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() @@ -21174,6 +13780,8 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroup(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/UpdateNetworkSecurityGroup" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateNetworkSecurityGroup", apiReferenceLink) return response, err } @@ -21182,6 +13790,10 @@ 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() @@ -21225,108 +13837,8 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroupSecurityRules(ctx c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdatePrivateAccessGateway Updates the specified private access gateway (PAG). -func (client VirtualNetworkClient) UpdatePrivateAccessGateway(ctx context.Context, request UpdatePrivateAccessGatewayRequest) (response UpdatePrivateAccessGatewayResponse, 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.updatePrivateAccessGateway, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdatePrivateAccessGatewayResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdatePrivateAccessGatewayResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdatePrivateAccessGatewayResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdatePrivateAccessGatewayResponse") - } - return -} - -// updatePrivateAccessGateway implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updatePrivateAccessGateway(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/privateAccessGateways/{privateAccessGatewayId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdatePrivateAccessGatewayResponse - 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 -} - -// UpdatePrivateEndpoint Updates the specified private endpoint. -func (client VirtualNetworkClient) UpdatePrivateEndpoint(ctx context.Context, request UpdatePrivateEndpointRequest) (response UpdatePrivateEndpointResponse, 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.updatePrivateEndpoint, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdatePrivateEndpointResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdatePrivateEndpointResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdatePrivateEndpointResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdatePrivateEndpointResponse") - } - return -} - -// updatePrivateEndpoint implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updatePrivateEndpoint(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/privateEndpoints/{privateEndpointId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdatePrivateEndpointResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityRule/UpdateNetworkSecurityGroupSecurityRules" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateNetworkSecurityGroupSecurityRules", apiReferenceLink) return response, err } @@ -21343,6 +13855,10 @@ func (client VirtualNetworkClient) updatePrivateEndpoint(ctx context.Context, re // 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() @@ -21386,57 +13902,8 @@ func (client VirtualNetworkClient) updatePrivateIp(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdatePrivateIpNextHop Updates the nextHop configuration for the specified private IP. -func (client VirtualNetworkClient) UpdatePrivateIpNextHop(ctx context.Context, request UpdatePrivateIpNextHopRequest) (response UpdatePrivateIpNextHopResponse, 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.updatePrivateIpNextHop, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdatePrivateIpNextHopResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdatePrivateIpNextHopResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdatePrivateIpNextHopResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdatePrivateIpNextHopResponse") - } - return -} - -// updatePrivateIpNextHop implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updatePrivateIpNextHop(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/privateIps/{privateIpId}/nextHop", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdatePrivateIpNextHopResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdatePrivateIp", apiReferenceLink) return response, err } @@ -21476,6 +13943,10 @@ func (client VirtualNetworkClient) updatePrivateIpNextHop(ctx context.Context, r // 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/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() @@ -21519,6 +13990,8 @@ func (client VirtualNetworkClient) updatePublicIp(ctx context.Context, request c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/UpdatePublicIp" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdatePublicIp", apiReferenceLink) return response, err } @@ -21527,6 +14000,10 @@ func (client VirtualNetworkClient) updatePublicIp(ctx context.Context, request c } // 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() @@ -21570,6 +14047,8 @@ func (client VirtualNetworkClient) updatePublicIpPool(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/UpdatePublicIpPool" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdatePublicIpPool", apiReferenceLink) return response, err } @@ -21578,9 +14057,14 @@ func (client VirtualNetworkClient) updatePublicIpPool(ctx context.Context, reque } // 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. +// A default retry strategy applies to this operation UpdateRemotePeeringConnection() func (client VirtualNetworkClient) UpdateRemotePeeringConnection(ctx context.Context, request UpdateRemotePeeringConnectionRequest) (response UpdateRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -21602,134 +14086,27 @@ func (client VirtualNetworkClient) UpdateRemotePeeringConnection(ctx context.Con if convertedResponse, ok := ociResponse.(UpdateRemotePeeringConnectionResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateRemotePeeringConnectionResponse") - } - return -} - -// updateRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/remotePeeringConnections/{remotePeeringConnectionId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateRemotePeeringConnectionResponse - 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 -} - -// UpdateResourcePool Update the Relevant Resource Pool -func (client VirtualNetworkClient) UpdateResourcePool(ctx context.Context, request UpdateResourcePoolRequest) (response UpdateResourcePoolResponse, 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.updateResourcePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateResourcePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateResourcePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateResourcePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateResourcePoolResponse") - } - return -} - -// updateResourcePool implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateResourcePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internal/resourcePools/{resourcePoolIdOrInstanceId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateResourcePoolResponse - 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 -} - -// 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. -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() - } - ociResponse, err = common.Retry(ctx, request, client.updateRouteTable, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateRouteTableResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateRouteTableResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateRouteTableResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateRemotePeeringConnectionResponse") } return } -// updateRouteTable implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateRemotePeeringConnection implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateRemotePeeringConnection(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/routeTables/{rtId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/remotePeeringConnections/{remotePeeringConnectionId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateRouteTableResponse + var response UpdateRemotePeeringConnectionResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RemotePeeringConnection/UpdateRemotePeeringConnection" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateRemotePeeringConnection", apiReferenceLink) return response, err } @@ -21737,8 +14114,14 @@ func (client VirtualNetworkClient) updateRouteTable(ctx context.Context, request return response, err } -// UpdateScanProxy Updates the specified scanProxy. -func (client VirtualNetworkClient) UpdateScanProxy(ctx context.Context, request UpdateScanProxyRequest) (response UpdateScanProxyResponse, err error) { +// 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 { @@ -21747,40 +14130,42 @@ func (client VirtualNetworkClient) UpdateScanProxy(ctx context.Context, request if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.updateScanProxy, policy) + ociResponse, err = common.Retry(ctx, request, client.updateRouteTable, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateScanProxyResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = UpdateRouteTableResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = UpdateScanProxyResponse{} + response = UpdateRouteTableResponse{} } } return } - if convertedResponse, ok := ociResponse.(UpdateScanProxyResponse); ok { + if convertedResponse, ok := ociResponse.(UpdateRouteTableResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateScanProxyResponse") + err = fmt.Errorf("failed to convert OCIResponse into UpdateRouteTableResponse") } return } -// updateScanProxy implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateScanProxy(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// updateRouteTable implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateRouteTable(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPut, "/privateEndpoints/{privateEndpointId}/scanProxy/{scanProxyId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPut, "/routeTables/{rtId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response UpdateScanProxyResponse + var response UpdateRouteTableResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/RouteTable/UpdateRouteTable" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateRouteTable", apiReferenceLink) return response, err } @@ -21792,6 +14177,10 @@ func (client VirtualNetworkClient) updateScanProxy(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() @@ -21835,6 +14224,8 @@ func (client VirtualNetworkClient) updateSecurityList(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/SecurityList/UpdateSecurityList" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateSecurityList", apiReferenceLink) return response, err } @@ -21844,6 +14235,10 @@ 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() @@ -21887,6 +14282,8 @@ func (client VirtualNetworkClient) updateServiceGateway(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/UpdateServiceGateway" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateServiceGateway", apiReferenceLink) return response, err } @@ -21895,6 +14292,10 @@ 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() @@ -21938,6 +14339,8 @@ func (client VirtualNetworkClient) updateSubnet(ctx context.Context, request com defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/UpdateSubnet" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateSubnet", apiReferenceLink) return response, err } @@ -21948,9 +14351,14 @@ 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. +// A default retry strategy applies to this operation UpdateTunnelCpeDeviceConfig() func (client VirtualNetworkClient) UpdateTunnelCpeDeviceConfig(ctx context.Context, request UpdateTunnelCpeDeviceConfigRequest) (response UpdateTunnelCpeDeviceConfigResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -21996,6 +14404,8 @@ func (client VirtualNetworkClient) updateTunnelCpeDeviceConfig(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/TunnelCpeDeviceConfig/UpdateTunnelCpeDeviceConfig" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateTunnelCpeDeviceConfig", apiReferenceLink) return response, err } @@ -22004,6 +14414,10 @@ 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() @@ -22047,109 +14461,8 @@ func (client VirtualNetworkClient) updateVcn(ctx context.Context, request common defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdateVcnDrg Updates the specified DRG's display name or tags. Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateVcnDrg(ctx context.Context, request UpdateVcnDrgRequest) (response UpdateVcnDrgResponse, 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.updateVcnDrg, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateVcnDrgResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateVcnDrgResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateVcnDrgResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateVcnDrgResponse") - } - return -} - -// updateVcnDrg implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateVcnDrg(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/vcn_drgs/{drgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateVcnDrgResponse - 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 -} - -// UpdateVcnDrgAttachment Updates the display name for the specified `DrgAttachment`. -// Avoid entering confidential information. -func (client VirtualNetworkClient) UpdateVcnDrgAttachment(ctx context.Context, request UpdateVcnDrgAttachmentRequest) (response UpdateVcnDrgAttachmentResponse, 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.updateVcnDrgAttachment, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateVcnDrgAttachmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateVcnDrgAttachmentResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateVcnDrgAttachmentResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateVcnDrgAttachmentResponse") - } - return -} - -// updateVcnDrgAttachment implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateVcnDrgAttachment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/vcn_drgAttachments/{drgAttachmentId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateVcnDrgAttachmentResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/UpdateVcn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateVcn", apiReferenceLink) return response, err } @@ -22179,9 +14492,14 @@ func (client VirtualNetworkClient) updateVcnDrgAttachment(ctx context.Context, r // 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. +// A default retry strategy applies to this operation UpdateVirtualCircuit() func (client VirtualNetworkClient) UpdateVirtualCircuit(ctx context.Context, request UpdateVirtualCircuitRequest) (response UpdateVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -22222,6 +14540,8 @@ func (client VirtualNetworkClient) updateVirtualCircuit(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuit/UpdateVirtualCircuit" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateVirtualCircuit", apiReferenceLink) return response, err } @@ -22231,6 +14551,10 @@ func (client VirtualNetworkClient) updateVirtualCircuit(ctx context.Context, req // 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() @@ -22274,6 +14598,8 @@ func (client VirtualNetworkClient) updateVlan(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vlan/UpdateVlan" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateVlan", apiReferenceLink) return response, err } @@ -22282,6 +14608,10 @@ 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() @@ -22325,113 +14655,8 @@ func (client VirtualNetworkClient) updateVnic(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdateVnicShape Request to change the shape of the given VNIC. -func (client VirtualNetworkClient) UpdateVnicShape(ctx context.Context, request UpdateVnicShapeRequest) (response UpdateVnicShapeResponse, 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.updateVnicShape, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateVnicShapeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateVnicShapeResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateVnicShapeResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateVnicShapeResponse") - } - return -} - -// updateVnicShape implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateVnicShape(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/internalVnics/vnicAttachments/action/updateVnicShape", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateVnicShapeResponse - 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 -} - -// UpdateVnicWorker Updates the specified vnicWorker. -func (client VirtualNetworkClient) UpdateVnicWorker(ctx context.Context, request UpdateVnicWorkerRequest) (response UpdateVnicWorkerResponse, 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.updateVnicWorker, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateVnicWorkerResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateVnicWorkerResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateVnicWorkerResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateVnicWorkerResponse") - } - return -} - -// updateVnicWorker implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) updateVnicWorker(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/vnicWorkers/{vnicWorkerId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateVnicWorkerResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vnic/UpdateVnic" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateVnic", apiReferenceLink) return response, err } @@ -22440,6 +14665,10 @@ func (client VirtualNetworkClient) updateVnicWorker(ctx context.Context, request } // UpdateVtap Updates the specified VTAP's display name or tags. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtap API. func (client VirtualNetworkClient) UpdateVtap(ctx context.Context, request UpdateVtapRequest) (response UpdateVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -22483,6 +14712,8 @@ func (client VirtualNetworkClient) updateVtap(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateVtap", apiReferenceLink) return response, err } @@ -22492,6 +14723,10 @@ func (client VirtualNetworkClient) updateVtap(ctx context.Context, request commo // UpgradeDrg Upgrades the DRG. After upgrade, you can control routing inside your DRG // via DRG attachments, route distributions, and DRG route tables. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrg API. func (client VirtualNetworkClient) UpgradeDrg(ctx context.Context, request UpgradeDrgRequest) (response UpgradeDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -22540,6 +14775,8 @@ func (client VirtualNetworkClient) upgradeDrg(ctx context.Context, request commo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Drg/UpgradeDrg" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpgradeDrg", apiReferenceLink) return response, err } @@ -22549,6 +14786,10 @@ func (client VirtualNetworkClient) upgradeDrg(ctx context.Context, request commo // 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() @@ -22592,57 +14833,8 @@ func (client VirtualNetworkClient) validateByoipRange(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ValidateDrgRoutes Returns the validation result status. The status can be true or false -func (client VirtualNetworkClient) ValidateDrgRoutes(ctx context.Context, request ValidateDrgRoutesRequest) (response ValidateDrgRoutesResponse, 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.validateDrgRoutes, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ValidateDrgRoutesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ValidateDrgRoutesResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ValidateDrgRoutesResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ValidateDrgRoutesResponse") - } - return -} - -// validateDrgRoutes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) validateDrgRoutes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/validateDrgRoutes", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ValidateDrgRoutesResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/ValidateByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ValidateByoipRange", apiReferenceLink) return response, err } @@ -22651,6 +14843,10 @@ func (client VirtualNetworkClient) validateDrgRoutes(ctx context.Context, reques } // 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() @@ -22694,6 +14890,8 @@ func (client VirtualNetworkClient) withdrawByoipRange(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/WithdrawByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "WithdrawByoipRange", apiReferenceLink) return response, err } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe.go index cfe34347a0c6..261895d318e6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_config_answer.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_answer.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_config_answer.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_answer.go index 920ea791df74..4d164c1f5011 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_config_answer.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_answer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_config_question.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_question.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_config_question.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_question.go index c596f067fae1..2d9738f81c60 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_config_question.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_question.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_info.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_info.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_info.go index 9f716117ca77..15237d1a99bd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_info.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_shape_detail.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_detail.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_shape_detail.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_detail.go index 70154c4dbe71..22f1be5b2491 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_shape_detail.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_detail.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_shape_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_summary.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_shape_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_summary.go index 637c6f7cc23d..5a5ac923180a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cpe_device_shape_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_app_catalog_subscription_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_app_catalog_subscription_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_details.go index 34a3e6a94aa9..a21347ca9fa3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_app_catalog_subscription_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_app_catalog_subscription_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_app_catalog_subscription_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_request_response.go index 4723199bf1dd..b3c5f468f694 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_app_catalog_subscription_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_details.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_details.go index c2afe3134279..b50c26021a86 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -25,9 +27,6 @@ type CreateBootVolumeBackupDetails struct { // The OCID of the boot volume that needs to be backed up. BootVolumeId *string `mandatory:"true" json:"bootVolumeId"` - // The OCID of the compartment. - 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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -56,7 +55,7 @@ func (m CreateBootVolumeBackupDetails) String() string { func (m CreateBootVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateBootVolumeBackupDetailsTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingCreateBootVolumeBackupDetailsTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateBootVolumeBackupDetailsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -79,6 +78,11 @@ var mappingCreateBootVolumeBackupDetailsTypeEnum = map[string]CreateBootVolumeBa "INCREMENTAL": CreateBootVolumeBackupDetailsTypeIncremental, } +var mappingCreateBootVolumeBackupDetailsTypeEnumLowerCase = map[string]CreateBootVolumeBackupDetailsTypeEnum{ + "full": CreateBootVolumeBackupDetailsTypeFull, + "incremental": CreateBootVolumeBackupDetailsTypeIncremental, +} + // GetCreateBootVolumeBackupDetailsTypeEnumValues Enumerates the set of values for CreateBootVolumeBackupDetailsTypeEnum func GetCreateBootVolumeBackupDetailsTypeEnumValues() []CreateBootVolumeBackupDetailsTypeEnum { values := make([]CreateBootVolumeBackupDetailsTypeEnum, 0) @@ -95,3 +99,9 @@ func GetCreateBootVolumeBackupDetailsTypeEnumStringValues() []string { "INCREMENTAL", } } + +// GetMappingCreateBootVolumeBackupDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateBootVolumeBackupDetailsTypeEnum(val string) (CreateBootVolumeBackupDetailsTypeEnum, bool) { + enum, ok := mappingCreateBootVolumeBackupDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_request_response.go index 162ae5c56976..fce28fddbc93 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go index 2b1443306158..8f8b5b34a628 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -50,7 +52,7 @@ type CreateBootVolumeDetails struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID of the Key Management key to assign as the master encryption key + // The OCID of the Vault service key to assign as the master encryption key // for the boot volume. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` @@ -59,11 +61,12 @@ type CreateBootVolumeDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Elastic Performance (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeelasticperformance.htm) for more information. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: - // * `10`: Represents Balanced option. - // * `20`: Represents Higher Performance option. - // For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB. + // * `10`: Represents the Balanced option. + // * `20`: Represents the Higher Performance option. + // * `30`-`120`: Represents the Ultra High Performance option. + // For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"` // Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_request_response.go index a12713632de8..c852ef3e5b1d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_byoip_range_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_byoip_range_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_details.go index 19daddfe964b..f53c37a77fcf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_byoip_range_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,25 +9,30 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // CreateByoipRangeDetails The information used to create a `ByoipRange` resource. type CreateByoipRangeDetails struct { + // 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 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"` + CidrBlock *string `mandatory:"false" 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 BYOIPv6 CIDR block. You can assign some or all of it to a VCN after it is validated. + Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` // 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/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_byoip_range_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_request_response.go index 939b002fd418..13d53f3c05e2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_capture_filter_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_capture_filter_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go index 61fd717a5ad2..013f017043fa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_capture_filter_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,20 +9,22 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // CreateCaptureFilterDetails A capture filter contains a set of rules governing what traffic a VTAP mirrors. type CreateCaptureFilterDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Indicates which service will use this capture filter @@ -55,7 +57,7 @@ func (m CreateCaptureFilterDetails) String() string { // Not recommended for calling this function directly func (m CreateCaptureFilterDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateCaptureFilterDetailsFilterTypeEnum[string(m.FilterType)]; !ok && m.FilterType != "" { + if _, ok := GetMappingCreateCaptureFilterDetailsFilterTypeEnum(string(m.FilterType)); !ok && m.FilterType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FilterType: %s. Supported values are: %s.", m.FilterType, strings.Join(GetCreateCaptureFilterDetailsFilterTypeEnumStringValues(), ","))) } @@ -77,6 +79,10 @@ var mappingCreateCaptureFilterDetailsFilterTypeEnum = map[string]CreateCaptureFi "VTAP": CreateCaptureFilterDetailsFilterTypeVtap, } +var mappingCreateCaptureFilterDetailsFilterTypeEnumLowerCase = map[string]CreateCaptureFilterDetailsFilterTypeEnum{ + "vtap": CreateCaptureFilterDetailsFilterTypeVtap, +} + // GetCreateCaptureFilterDetailsFilterTypeEnumValues Enumerates the set of values for CreateCaptureFilterDetailsFilterTypeEnum func GetCreateCaptureFilterDetailsFilterTypeEnumValues() []CreateCaptureFilterDetailsFilterTypeEnum { values := make([]CreateCaptureFilterDetailsFilterTypeEnum, 0) @@ -92,3 +98,9 @@ func GetCreateCaptureFilterDetailsFilterTypeEnumStringValues() []string { "VTAP", } } + +// GetMappingCreateCaptureFilterDetailsFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateCaptureFilterDetailsFilterTypeEnum(val string) (CreateCaptureFilterDetailsFilterTypeEnum, bool) { + enum, ok := mappingCreateCaptureFilterDetailsFilterTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_capture_filter_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_capture_filter_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_request_response.go index 1e8a5d23ca88..0f1d9029412c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_capture_filter_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateCaptureFilterRequest wrapper for the CreateCaptureFilter operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCaptureFilter.go.html to see an example of how to use CreateCaptureFilterRequest. type CreateCaptureFilterRequest struct { // Details for creating a capture filter. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_details.go index a2c37a52b8f4..956bf88ae4dd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_instance_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_instance_pool_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_instance_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_instance_pool_details.go index 1246d996bca6..57441b7fcb1b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_instance_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_request_response.go index 25e03e52ba21..b723d5f917fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 @@ -86,7 +90,8 @@ type CreateClusterNetworkResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_capacity_reservation_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_capacity_reservation_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_details.go index dc5db2975a9e..6472fe0f93f2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_capacity_reservation_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_capacity_reservation_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_request_response.go index 37fa3a1786ef..5725914a421b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateComputeCapacityReservationRequest wrapper for the CreateComputeCapacityReservation operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservationRequest. type CreateComputeCapacityReservationRequest struct { // Details for creating a new compute capacity reservation. @@ -87,7 +91,8 @@ type CreateComputeCapacityReservationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_cluster_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_cluster_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_details.go index 08bd883aff1e..f2bf7ff37f50 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_cluster_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_request_response.go index b888753735d6..b94609bd5726 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateComputeClusterRequest wrapper for the CreateComputeCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCluster.go.html to see an example of how to use CreateComputeClusterRequest. type CreateComputeClusterRequest struct { // Details for creating a compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm), which is a remote direct memory access (RDMA) network group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_image_capability_schema_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_image_capability_schema_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_details.go index ab47f6b23be3..d7fca6278d7e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_image_capability_schema_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_image_capability_schema_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_request_response.go index 6f3096d26254..2a3e027783a3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cpe_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cpe_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go index ef5503140392..53e3b763f730 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cpe_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cpe_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cpe_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cpe_request_response.go index 7ba059700fc9..a0bb296423f7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_details.go index d708c3b35396..3d9dd86ef111 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_group_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_group_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_details.go index 0f9ba5453622..b99cd023fed1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_group_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_request_response.go index 9997ea37d119..0ec15191336e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_request_response.go index 63e940a1bc48..e64b53481c6f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dedicated_vm_host_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dedicated_vm_host_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_details.go index e7dbee7836ed..fe5f683d57b9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dedicated_vm_host_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dedicated_vm_host_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_request_response.go index 1872350cf6dc..4fbbfd44d863 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -86,7 +90,8 @@ type CreateDedicatedVmHostResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dhcp_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dhcp_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go index 8764a072bfdb..25aa532b4065 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dhcp_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -60,7 +62,7 @@ func (m CreateDhcpDetails) String() string { func (m CreateDhcpDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateDhcpDetailsDomainNameTypeEnum[string(m.DomainNameType)]; !ok && m.DomainNameType != "" { + if _, ok := GetMappingCreateDhcpDetailsDomainNameTypeEnum(string(m.DomainNameType)); !ok && m.DomainNameType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DomainNameType: %s. Supported values are: %s.", m.DomainNameType, strings.Join(GetCreateDhcpDetailsDomainNameTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -130,6 +132,12 @@ var mappingCreateDhcpDetailsDomainNameTypeEnum = map[string]CreateDhcpDetailsDom "CUSTOM_DOMAIN": CreateDhcpDetailsDomainNameTypeCustomDomain, } +var mappingCreateDhcpDetailsDomainNameTypeEnumLowerCase = map[string]CreateDhcpDetailsDomainNameTypeEnum{ + "subnet_domain": CreateDhcpDetailsDomainNameTypeSubnetDomain, + "vcn_domain": CreateDhcpDetailsDomainNameTypeVcnDomain, + "custom_domain": CreateDhcpDetailsDomainNameTypeCustomDomain, +} + // GetCreateDhcpDetailsDomainNameTypeEnumValues Enumerates the set of values for CreateDhcpDetailsDomainNameTypeEnum func GetCreateDhcpDetailsDomainNameTypeEnumValues() []CreateDhcpDetailsDomainNameTypeEnum { values := make([]CreateDhcpDetailsDomainNameTypeEnum, 0) @@ -147,3 +155,9 @@ func GetCreateDhcpDetailsDomainNameTypeEnumStringValues() []string { "CUSTOM_DOMAIN", } } + +// GetMappingCreateDhcpDetailsDomainNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateDhcpDetailsDomainNameTypeEnum(val string) (CreateDhcpDetailsDomainNameTypeEnum, bool) { + enum, ok := mappingCreateDhcpDetailsDomainNameTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_options_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dhcp_options_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_options_request_response.go index ea7d030d1742..c0cbe6afcddf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_attachment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_details.go index 2b4786a80fe3..4e3ff12191d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_attachment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,21 +18,21 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // CreateDrgAttachmentDetails The representation of CreateDrgAttachmentDetails type CreateDrgAttachmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" json:"drgId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. // The DRG route table manages traffic inside the DRG. DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"` @@ -46,7 +48,7 @@ type CreateDrgAttachmentDetails 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 route table used by the DRG attachment. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the DRG attachment. // If you don't specify a route table here, the DRG attachment is created without an associated route // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the DRG attachment. @@ -56,8 +58,8 @@ type CreateDrgAttachmentDetails struct { // This field is deprecated. Instead, use the networkDetails field to specify the VCN route table for this attachment. RouteTableId *string `mandatory:"false" json:"routeTableId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. - // This field is deprecated. Instead, use the `networkDetails` field to specify the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the attached resource. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // This field is deprecated. Instead, use the `networkDetails` field to specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. VcnId *string `mandatory:"false" json:"vcnId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_request_response.go index 4990dac9b821..53709e61b0ae 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_details.go index fea70763529d..9c9c6c8e2a1b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,20 +9,22 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // CreateDrgDetails The representation of CreateDrgDetails type CreateDrgDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_request_response.go index 69d886911bde..da02b80943ec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_distribution_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_details.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_distribution_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_details.go index e84eb7895f12..12e93eb079d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_distribution_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -52,7 +54,7 @@ func (m CreateDrgRouteDistributionDetails) String() string { // Not recommended for calling this function directly func (m CreateDrgRouteDistributionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateDrgRouteDistributionDetailsDistributionTypeEnum[string(m.DistributionType)]; !ok && m.DistributionType != "" { + if _, ok := GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum(string(m.DistributionType)); !ok && m.DistributionType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DistributionType: %s. Supported values are: %s.", m.DistributionType, strings.Join(GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues(), ","))) } @@ -74,6 +76,10 @@ var mappingCreateDrgRouteDistributionDetailsDistributionTypeEnum = map[string]Cr "IMPORT": CreateDrgRouteDistributionDetailsDistributionTypeImport, } +var mappingCreateDrgRouteDistributionDetailsDistributionTypeEnumLowerCase = map[string]CreateDrgRouteDistributionDetailsDistributionTypeEnum{ + "import": CreateDrgRouteDistributionDetailsDistributionTypeImport, +} + // GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues Enumerates the set of values for CreateDrgRouteDistributionDetailsDistributionTypeEnum func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues() []CreateDrgRouteDistributionDetailsDistributionTypeEnum { values := make([]CreateDrgRouteDistributionDetailsDistributionTypeEnum, 0) @@ -89,3 +95,9 @@ func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues() []st "IMPORT", } } + +// GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum(val string) (CreateDrgRouteDistributionDetailsDistributionTypeEnum, bool) { + enum, ok := mappingCreateDrgRouteDistributionDetailsDistributionTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_distribution_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_request_response.go index cb9c41d251b5..ba4234c72ffb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateDrgRouteDistributionRequest wrapper for the CreateDrgRouteDistribution operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistributionRequest. type CreateDrgRouteDistributionRequest struct { // Details for creating a route distribution. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_table_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_table_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_details.go index 90bfcdb8932c..c9067d20b8e9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_table_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -39,7 +41,7 @@ type CreateDrgRouteTableDetails 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 import route distribution used to specify how incoming route advertisements through + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through // referenced attachments are inserted into the DRG route table. ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_request_response.go index 380606e86408..47f8482c1ad0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateDrgRouteTableRequest wrapper for the CreateDrgRouteTable operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTableRequest. type CreateDrgRouteTableRequest struct { // Details for creating a DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_i_p_sec_connection_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_i_p_sec_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_i_p_sec_connection_request_response.go index 738fcc464973..7110db4f8740 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_image_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_image_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_image_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_image_details.go index 085b109fc022..4c7500141100 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_image_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -65,7 +67,7 @@ func (m CreateImageDetails) String() string { func (m CreateImageDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateImageDetailsLaunchModeEnum[string(m.LaunchMode)]; !ok && m.LaunchMode != "" { + if _, ok := GetMappingCreateImageDetailsLaunchModeEnum(string(m.LaunchMode)); !ok && m.LaunchMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LaunchMode: %s. Supported values are: %s.", m.LaunchMode, strings.Join(GetCreateImageDetailsLaunchModeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -134,6 +136,13 @@ var mappingCreateImageDetailsLaunchModeEnum = map[string]CreateImageDetailsLaunc "CUSTOM": CreateImageDetailsLaunchModeCustom, } +var mappingCreateImageDetailsLaunchModeEnumLowerCase = map[string]CreateImageDetailsLaunchModeEnum{ + "native": CreateImageDetailsLaunchModeNative, + "emulated": CreateImageDetailsLaunchModeEmulated, + "paravirtualized": CreateImageDetailsLaunchModeParavirtualized, + "custom": CreateImageDetailsLaunchModeCustom, +} + // GetCreateImageDetailsLaunchModeEnumValues Enumerates the set of values for CreateImageDetailsLaunchModeEnum func GetCreateImageDetailsLaunchModeEnumValues() []CreateImageDetailsLaunchModeEnum { values := make([]CreateImageDetailsLaunchModeEnum, 0) @@ -152,3 +161,9 @@ func GetCreateImageDetailsLaunchModeEnumStringValues() []string { "CUSTOM", } } + +// GetMappingCreateImageDetailsLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateImageDetailsLaunchModeEnum(val string) (CreateImageDetailsLaunchModeEnum, bool) { + enum, ok := mappingCreateImageDetailsLaunchModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_image_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_image_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_image_request_response.go index c66b68e1462f..ed26edbbd396 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 @@ -86,7 +90,8 @@ type CreateImageResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_base.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_base.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go index e00ce70e5298..b4ab6705eb22 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_base.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -143,6 +145,11 @@ var mappingCreateInstanceConfigurationBaseSourceEnum = map[string]CreateInstance "INSTANCE": CreateInstanceConfigurationBaseSourceInstance, } +var mappingCreateInstanceConfigurationBaseSourceEnumLowerCase = map[string]CreateInstanceConfigurationBaseSourceEnum{ + "none": CreateInstanceConfigurationBaseSourceNone, + "instance": CreateInstanceConfigurationBaseSourceInstance, +} + // GetCreateInstanceConfigurationBaseSourceEnumValues Enumerates the set of values for CreateInstanceConfigurationBaseSourceEnum func GetCreateInstanceConfigurationBaseSourceEnumValues() []CreateInstanceConfigurationBaseSourceEnum { values := make([]CreateInstanceConfigurationBaseSourceEnum, 0) @@ -159,3 +166,9 @@ func GetCreateInstanceConfigurationBaseSourceEnumStringValues() []string { "INSTANCE", } } + +// GetMappingCreateInstanceConfigurationBaseSourceEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateInstanceConfigurationBaseSourceEnum(val string) (CreateInstanceConfigurationBaseSourceEnum, bool) { + enum, ok := mappingCreateInstanceConfigurationBaseSourceEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_details.go index 95eef006529c..9449bd419a04 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_from_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_from_instance_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_from_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_from_instance_details.go index d416a011fc1c..28c13b6e54f9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_from_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_from_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_request_response.go index dde3d43de2d7..b76909615019 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_console_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_console_connection_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_details.go index 4bdc68ff334e..2c5e924a7caf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_console_connection_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_console_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_request_response.go index ba87e4832af2..4002b00ec5f9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_details.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_details.go index 32095521e360..6415a11b0850 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -55,14 +57,6 @@ type CreateInstancePoolDetails struct { // The load balancers to attach to the instance pool. LoadBalancers []AttachLoadBalancerDetails `mandatory:"false" json:"loadBalancers"` - - // A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. - // The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format - InstanceDisplayNameFormatter *string `mandatory:"false" json:"instanceDisplayNameFormatter"` - - // A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. - // The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format - InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"` } func (m CreateInstancePoolDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_placement_configuration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_placement_configuration_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go index fb379bf6791d..39fc5282cb12 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_placement_configuration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -26,7 +28,8 @@ type CreateInstancePoolPlacementConfigurationDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place instances. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place + // instances. PrimarySubnetId *string `mandatory:"true" json:"primarySubnetId"` // The fault domains to place instances. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_request_response.go index b4348049b0b4..2671cb2c1a32 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internet_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internet_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_details.go index e6670e56d603..5936b7f639f3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internet_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -44,6 +46,9 @@ type CreateInternetGatewayDetails struct { // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/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 route table the Internet Gateway is using. + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m CreateInternetGatewayDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internet_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_request_response.go index 5b67ac6411f0..319f1e76eb28 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_connection_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_details.go index b793f2191b83..a2a2bf8ebe20 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_connection_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -89,7 +91,7 @@ func (m CreateIpSecConnectionDetails) String() string { func (m CreateIpSecConnectionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum[string(m.CpeLocalIdentifierType)]; !ok && m.CpeLocalIdentifierType != "" { + if _, ok := GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum(string(m.CpeLocalIdentifierType)); !ok && m.CpeLocalIdentifierType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CpeLocalIdentifierType: %s. Supported values are: %s.", m.CpeLocalIdentifierType, strings.Join(GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -112,6 +114,11 @@ var mappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = map[string]C "HOSTNAME": CreateIpSecConnectionDetailsCpeLocalIdentifierTypeHostname, } +var mappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumLowerCase = map[string]CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum{ + "ip_address": CreateIpSecConnectionDetailsCpeLocalIdentifierTypeIpAddress, + "hostname": CreateIpSecConnectionDetailsCpeLocalIdentifierTypeHostname, +} + // GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues Enumerates the set of values for CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues() []CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum { values := make([]CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum, 0) @@ -128,3 +135,9 @@ func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues() []s "HOSTNAME", } } + +// GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum(val string) (CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum, bool) { + enum, ok := mappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_connection_tunnel_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_connection_tunnel_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go index e0f4cc5992d8..e1511171f579 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_connection_tunnel_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -70,16 +72,16 @@ func (m CreateIpSecConnectionTunnelDetails) String() string { func (m CreateIpSecConnectionTunnelDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateIpSecConnectionTunnelDetailsRoutingEnum[string(m.Routing)]; !ok && m.Routing != "" { + if _, ok := GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum(string(m.Routing)); !ok && m.Routing != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Routing: %s. Supported values are: %s.", m.Routing, strings.Join(GetCreateIpSecConnectionTunnelDetailsRoutingEnumStringValues(), ","))) } - if _, ok := mappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum[string(m.IkeVersion)]; !ok && m.IkeVersion != "" { + if _, ok := GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum(string(m.IkeVersion)); !ok && m.IkeVersion != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IkeVersion: %s. Supported values are: %s.", m.IkeVersion, strings.Join(GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues(), ","))) } - if _, ok := mappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum[string(m.OracleInitiation)]; !ok && m.OracleInitiation != "" { + if _, ok := GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum(string(m.OracleInitiation)); !ok && m.OracleInitiation != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OracleInitiation: %s. Supported values are: %s.", m.OracleInitiation, strings.Join(GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues(), ","))) } - if _, ok := mappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum[string(m.NatTranslationEnabled)]; !ok && m.NatTranslationEnabled != "" { + if _, ok := GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum(string(m.NatTranslationEnabled)); !ok && m.NatTranslationEnabled != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NatTranslationEnabled: %s. Supported values are: %s.", m.NatTranslationEnabled, strings.Join(GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -104,6 +106,12 @@ var mappingCreateIpSecConnectionTunnelDetailsRoutingEnum = map[string]CreateIpSe "POLICY": CreateIpSecConnectionTunnelDetailsRoutingPolicy, } +var mappingCreateIpSecConnectionTunnelDetailsRoutingEnumLowerCase = map[string]CreateIpSecConnectionTunnelDetailsRoutingEnum{ + "bgp": CreateIpSecConnectionTunnelDetailsRoutingBgp, + "static": CreateIpSecConnectionTunnelDetailsRoutingStatic, + "policy": CreateIpSecConnectionTunnelDetailsRoutingPolicy, +} + // GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsRoutingEnum func GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues() []CreateIpSecConnectionTunnelDetailsRoutingEnum { values := make([]CreateIpSecConnectionTunnelDetailsRoutingEnum, 0) @@ -122,6 +130,12 @@ func GetCreateIpSecConnectionTunnelDetailsRoutingEnumStringValues() []string { } } +// GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum(val string) (CreateIpSecConnectionTunnelDetailsRoutingEnum, bool) { + enum, ok := mappingCreateIpSecConnectionTunnelDetailsRoutingEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CreateIpSecConnectionTunnelDetailsIkeVersionEnum Enum with underlying type: string type CreateIpSecConnectionTunnelDetailsIkeVersionEnum string @@ -136,6 +150,11 @@ var mappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum = map[string]CreateI "V2": CreateIpSecConnectionTunnelDetailsIkeVersionV2, } +var mappingCreateIpSecConnectionTunnelDetailsIkeVersionEnumLowerCase = map[string]CreateIpSecConnectionTunnelDetailsIkeVersionEnum{ + "v1": CreateIpSecConnectionTunnelDetailsIkeVersionV1, + "v2": CreateIpSecConnectionTunnelDetailsIkeVersionV2, +} + // GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsIkeVersionEnum func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumValues() []CreateIpSecConnectionTunnelDetailsIkeVersionEnum { values := make([]CreateIpSecConnectionTunnelDetailsIkeVersionEnum, 0) @@ -153,6 +172,12 @@ func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues() []string } } +// GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum(val string) (CreateIpSecConnectionTunnelDetailsIkeVersionEnum, bool) { + enum, ok := mappingCreateIpSecConnectionTunnelDetailsIkeVersionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CreateIpSecConnectionTunnelDetailsOracleInitiationEnum Enum with underlying type: string type CreateIpSecConnectionTunnelDetailsOracleInitiationEnum string @@ -167,6 +192,11 @@ var mappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum = map[string]C "RESPONDER_ONLY": CreateIpSecConnectionTunnelDetailsOracleInitiationResponderOnly, } +var mappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnumLowerCase = map[string]CreateIpSecConnectionTunnelDetailsOracleInitiationEnum{ + "initiator_or_responder": CreateIpSecConnectionTunnelDetailsOracleInitiationInitiatorOrResponder, + "responder_only": CreateIpSecConnectionTunnelDetailsOracleInitiationResponderOnly, +} + // GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsOracleInitiationEnum func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumValues() []CreateIpSecConnectionTunnelDetailsOracleInitiationEnum { values := make([]CreateIpSecConnectionTunnelDetailsOracleInitiationEnum, 0) @@ -184,6 +214,12 @@ func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues() []s } } +// GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum(val string) (CreateIpSecConnectionTunnelDetailsOracleInitiationEnum, bool) { + enum, ok := mappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum Enum with underlying type: string type CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum string @@ -200,6 +236,12 @@ var mappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = map[str "AUTO": CreateIpSecConnectionTunnelDetailsNatTranslationEnabledAuto, } +var mappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumLowerCase = map[string]CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum{ + "enabled": CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnabled, + "disabled": CreateIpSecConnectionTunnelDetailsNatTranslationEnabledDisabled, + "auto": CreateIpSecConnectionTunnelDetailsNatTranslationEnabledAuto, +} + // GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues() []CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum { values := make([]CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum, 0) @@ -217,3 +259,9 @@ func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues( "AUTO", } } + +// GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum(val string) (CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum, bool) { + enum, ok := mappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_tunnel_bgp_session_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_bgp_session_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_tunnel_bgp_session_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_bgp_session_details.go index efb7316a114e..7e55f75cfdae 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_tunnel_bgp_session_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_bgp_session_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_tunnel_encryption_domain_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_encryption_domain_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_tunnel_encryption_domain_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_encryption_domain_details.go index 8506823f8b4e..1a3e9a3609b2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ip_sec_tunnel_encryption_domain_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_encryption_domain_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ipv6_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ipv6_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_details.go index 32011c20b3a9..8a0beeda7994 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ipv6_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -46,6 +48,9 @@ type CreateIpv6Details struct { // contains the VNIC you specify in `vnicId`. // Example: `2001:DB8::` IpAddress *string `mandatory:"false" json:"ipAddress"` + + // The IPv6 CIDR allocated to the subnet. This is required if more than one IPv6 CIDR exists on the subnet. + Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"` } func (m CreateIpv6Details) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ipv6_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_request_response.go index debef8690fa4..481e6b5a2ee8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_details.go index 2909ab1d532f..370d31524c0a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_request_response.go index a9647560fbde..ab7388d762ec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_macsec_key.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_macsec_key.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_macsec_key.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_macsec_key.go index a3febfe737ba..08cb7a36ebb9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_macsec_key.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_macsec_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_macsec_properties.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_macsec_properties.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go index 109e74287c5a..b16622d6aa8e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_macsec_properties.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -40,11 +42,11 @@ func (m CreateMacsecProperties) String() string { // Not recommended for calling this function directly func (m CreateMacsecProperties) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingMacsecStateEnum[string(m.State)]; !ok && m.State != "" { + if _, ok := GetMappingMacsecStateEnum(string(m.State)); !ok && m.State != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for State: %s. Supported values are: %s.", m.State, strings.Join(GetMacsecStateEnumStringValues(), ","))) } - if _, ok := mappingMacsecEncryptionCipherEnum[string(m.EncryptionCipher)]; !ok && m.EncryptionCipher != "" { + if _, ok := GetMappingMacsecEncryptionCipherEnum(string(m.EncryptionCipher)); !ok && m.EncryptionCipher != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionCipher: %s. Supported values are: %s.", m.EncryptionCipher, strings.Join(GetMacsecEncryptionCipherEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_access_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_details.go similarity index 62% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_access_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_details.go index fe9110371b35..dd6c0bd270f2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_access_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,48 +9,64 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// CreatePrivateAccessGatewayDetails Details to create a private access gateway (PAG). -type CreatePrivateAccessGatewayDetails struct { +// CreateNatGatewayDetails The representation of CreateNatGatewayDetails +type CreateNatGatewayDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the PAG. + // 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/iaas/Content/General/Concepts/identifiers.htm) of the service VCN that the PAG 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"` - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"false" json:"displayName"` - // 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // 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"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. + // If you don't specify a route table here, the NAT gateway is created without an associated route + // table. The Networking service does NOT automatically associate the attached VCN's default route table + // with the NAT gateway. + RouteTableId *string `mandatory:"false" json:"routeTableId"` } -func (m CreatePrivateAccessGatewayDetails) String() string { +func (m CreateNatGatewayDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m CreatePrivateAccessGatewayDetails) ValidateEnumValue() (bool, error) { +func (m CreateNatGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_nat_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_request_response.go index 4fb73f010f5c..ae6dfb1452ea 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_network_security_group_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_network_security_group_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_details.go index 229dc3a2cb35..7e5c98479889 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_network_security_group_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_network_security_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_request_response.go index 9acb61a3a18b..806983bfd866 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_details.go index 28d69ba59518..2f49725b3535 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -38,13 +40,13 @@ type CreatePrivateIpDetails struct { // The hostname for the private IP. Used for DNS. The value // is the hostname portion of the private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `bminstance-1` + // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` // A private IP address of your choice. Must be an available IP address within diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_request_response.go index 66af02b6913b..e4663a403c35 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_details.go index d080bcc80db6..3b87c59f6272 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -66,7 +68,7 @@ func (m CreatePublicIpDetails) String() string { // Not recommended for calling this function directly func (m CreatePublicIpDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreatePublicIpDetailsLifetimeEnum[string(m.Lifetime)]; !ok && m.Lifetime != "" { + if _, ok := GetMappingCreatePublicIpDetailsLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetCreatePublicIpDetailsLifetimeEnumStringValues(), ","))) } @@ -90,6 +92,11 @@ var mappingCreatePublicIpDetailsLifetimeEnum = map[string]CreatePublicIpDetailsL "RESERVED": CreatePublicIpDetailsLifetimeReserved, } +var mappingCreatePublicIpDetailsLifetimeEnumLowerCase = map[string]CreatePublicIpDetailsLifetimeEnum{ + "ephemeral": CreatePublicIpDetailsLifetimeEphemeral, + "reserved": CreatePublicIpDetailsLifetimeReserved, +} + // GetCreatePublicIpDetailsLifetimeEnumValues Enumerates the set of values for CreatePublicIpDetailsLifetimeEnum func GetCreatePublicIpDetailsLifetimeEnumValues() []CreatePublicIpDetailsLifetimeEnum { values := make([]CreatePublicIpDetailsLifetimeEnum, 0) @@ -106,3 +113,9 @@ func GetCreatePublicIpDetailsLifetimeEnumStringValues() []string { "RESERVED", } } + +// GetMappingCreatePublicIpDetailsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreatePublicIpDetailsLifetimeEnum(val string) (CreatePublicIpDetailsLifetimeEnum, bool) { + enum, ok := mappingCreatePublicIpDetailsLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_details.go index ec5e518a384f..5a22588f455a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_request_response.go index 43d58d81c523..b29d0a768759 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_request_response.go index 91cdf41e07b0..1d3a6c543106 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_remote_peering_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_remote_peering_connection_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_details.go index bf689290e486..328011a34754 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_remote_peering_connection_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_remote_peering_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_request_response.go index 81bdf28377f3..cd48a446b390 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_route_table_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_route_table_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_route_table_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_route_table_details.go index 8a1d698142d9..bf6a338af088 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_route_table_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -44,9 +46,6 @@ type CreateRouteTableDetails struct { // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // Indicates whether ECMP is enabled or not on the route table. - IsEcmpEnabled *bool `mandatory:"false" json:"isEcmpEnabled"` } func (m CreateRouteTableDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_route_table_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_route_table_request_response.go index f15ab5f3a5da..511029848d96 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_security_list_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_security_list_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_security_list_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_security_list_details.go index 50258ef7c820..5401de8ccd49 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_security_list_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_security_list_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_security_list_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_security_list_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_security_list_request_response.go index b52e1ba152dd..0c36b1e43bfa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_service_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_service_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_details.go index fbd634290f8b..6389ae4155ca 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_service_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_service_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_request_response.go index cfc78a4ce216..78d73d634950 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_subnet_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_subnet_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_subnet_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_subnet_details.go index f9579cefc391..0bed738fe62a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_subnet_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_subnet_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -61,7 +63,7 @@ type CreateSubnetDetails struct { // A DNS label for the subnet, used in conjunction with the VNIC's hostname and // VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC - // within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be an alphanumeric string that begins with a letter and is unique within the VCN. // The value cannot be changed. // This value must be set if you want to use the Internet and VCN Resolver to resolve the @@ -84,16 +86,11 @@ type CreateSubnetDetails struct { // Example: `2001:0db8:0123:1111::/64` Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` - // Indicates whether learning mode is enabled for this subnet. The default is `false`. - // **Note:** When a subnet has learning mode enabled, only certain types - // of resources can be launched in the subnet. - // Example: `true` - IsLearningEnabled *bool `mandatory:"false" json:"isLearningEnabled"` - - // The VLAN tag to associate with every VNIC Attachment within this Subnet, available only - // on BareMetal secondary VNICs within learning enabled Subnets. - // **Note:** If the Subnet is learning enabled, the vlanTag value has to be passed in and cannot be empty. - VlanTag *int `mandatory:"false" json:"vlanTag"` + // The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: + // - The CIDR blocks must be valid. + // - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. + // - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a subnet. + Ipv6CidrBlocks []string `mandatory:"false" json:"ipv6CidrBlocks"` // Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. // For IPv6, if `prohibitInternetIngress` is set to `true`, internet access is not allowed for any diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_subnet_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_subnet_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_subnet_request_response.go index 7bd5ef7995c7..922492730634 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vcn_details.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vcn_details.go index 6541b6246bba..d57931bd3db9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -36,6 +38,20 @@ type CreateVcnDetails struct { // **Important:** Do *not* specify a value for `cidrBlock`. Use this parameter instead. CidrBlocks []string `mandatory:"false" json:"cidrBlocks"` + // The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the following criteria: + // - The CIDR blocks must be valid. + // - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. + // - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a vcn. + // **Important:** Do *not* specify a value for `ipv6CidrBlock`. Use this parameter instead. + Ipv6PrivateCidrBlocks []string `mandatory:"false" json:"ipv6PrivateCidrBlocks"` + + // Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA of /56 + // size for an IPv6 enabled VCN. + IsOracleGuaAllocationEnabled *bool `mandatory:"false" json:"isOracleGuaAllocationEnabled"` + + // The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. + Byoipv6CidrDetails []Byoipv6CidrDetails `mandatory:"false" json:"byoipv6CidrDetails"` + // 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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -47,7 +63,7 @@ type CreateVcnDetails struct { // A DNS label for the VCN, used in conjunction with the VNIC's hostname and // subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC - // within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). // Not required to be unique, but it's a best practice to set unique DNS labels // for VCNs in your tenancy. Must be an alphanumeric string that begins with a letter. // The value cannot be changed. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vcn_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vcn_request_response.go index dd50d51e5d7c..f6ebe53db289 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go similarity index 67% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go index f862e0cbd15d..47e33e9d8e76 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -46,6 +48,12 @@ type CreateVirtualCircuitDetails struct { // By default, routing information is shared for all routes in the same market. RoutingPolicy []CreateVirtualCircuitDetailsRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"` + // Set to `ENABLED` (the default) to activate the BGP session of the virtual circuit, set to `DISABLED` to deactivate the virtual circuit. + BgpAdminState CreateVirtualCircuitDetailsBgpAdminStateEnum `mandatory:"false" json:"bgpAdminState,omitempty"` + + // Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`. + IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"` + // Deprecated. Instead use `customerAsn`. // If you specify values for both, the request will be rejected. CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"` @@ -115,17 +123,20 @@ func (m CreateVirtualCircuitDetails) String() string { // Not recommended for calling this function directly func (m CreateVirtualCircuitDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateVirtualCircuitDetailsTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingCreateVirtualCircuitDetailsTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateVirtualCircuitDetailsTypeEnumStringValues(), ","))) } for _, val := range m.RoutingPolicy { - if _, ok := mappingCreateVirtualCircuitDetailsRoutingPolicyEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RoutingPolicy: %s. Supported values are: %s.", val, strings.Join(GetCreateVirtualCircuitDetailsRoutingPolicyEnumStringValues(), ","))) } } - if _, ok := mappingVirtualCircuitIpMtuEnum[string(m.IpMtu)]; !ok && m.IpMtu != "" { + if _, ok := GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum(string(m.BgpAdminState)); !ok && m.BgpAdminState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpAdminState: %s. Supported values are: %s.", m.BgpAdminState, strings.Join(GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues(), ","))) + } + if _, ok := GetMappingVirtualCircuitIpMtuEnum(string(m.IpMtu)); !ok && m.IpMtu != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMtu: %s. Supported values are: %s.", m.IpMtu, strings.Join(GetVirtualCircuitIpMtuEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -152,6 +163,13 @@ var mappingCreateVirtualCircuitDetailsRoutingPolicyEnum = map[string]CreateVirtu "GLOBAL": CreateVirtualCircuitDetailsRoutingPolicyGlobal, } +var mappingCreateVirtualCircuitDetailsRoutingPolicyEnumLowerCase = map[string]CreateVirtualCircuitDetailsRoutingPolicyEnum{ + "oracle_service_network": CreateVirtualCircuitDetailsRoutingPolicyOracleServiceNetwork, + "regional": CreateVirtualCircuitDetailsRoutingPolicyRegional, + "market_level": CreateVirtualCircuitDetailsRoutingPolicyMarketLevel, + "global": CreateVirtualCircuitDetailsRoutingPolicyGlobal, +} + // GetCreateVirtualCircuitDetailsRoutingPolicyEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsRoutingPolicyEnum func GetCreateVirtualCircuitDetailsRoutingPolicyEnumValues() []CreateVirtualCircuitDetailsRoutingPolicyEnum { values := make([]CreateVirtualCircuitDetailsRoutingPolicyEnum, 0) @@ -171,6 +189,54 @@ func GetCreateVirtualCircuitDetailsRoutingPolicyEnumStringValues() []string { } } +// GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum(val string) (CreateVirtualCircuitDetailsRoutingPolicyEnum, bool) { + enum, ok := mappingCreateVirtualCircuitDetailsRoutingPolicyEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// CreateVirtualCircuitDetailsBgpAdminStateEnum Enum with underlying type: string +type CreateVirtualCircuitDetailsBgpAdminStateEnum string + +// Set of constants representing the allowable values for CreateVirtualCircuitDetailsBgpAdminStateEnum +const ( + CreateVirtualCircuitDetailsBgpAdminStateEnabled CreateVirtualCircuitDetailsBgpAdminStateEnum = "ENABLED" + CreateVirtualCircuitDetailsBgpAdminStateDisabled CreateVirtualCircuitDetailsBgpAdminStateEnum = "DISABLED" +) + +var mappingCreateVirtualCircuitDetailsBgpAdminStateEnum = map[string]CreateVirtualCircuitDetailsBgpAdminStateEnum{ + "ENABLED": CreateVirtualCircuitDetailsBgpAdminStateEnabled, + "DISABLED": CreateVirtualCircuitDetailsBgpAdminStateDisabled, +} + +var mappingCreateVirtualCircuitDetailsBgpAdminStateEnumLowerCase = map[string]CreateVirtualCircuitDetailsBgpAdminStateEnum{ + "enabled": CreateVirtualCircuitDetailsBgpAdminStateEnabled, + "disabled": CreateVirtualCircuitDetailsBgpAdminStateDisabled, +} + +// GetCreateVirtualCircuitDetailsBgpAdminStateEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsBgpAdminStateEnum +func GetCreateVirtualCircuitDetailsBgpAdminStateEnumValues() []CreateVirtualCircuitDetailsBgpAdminStateEnum { + values := make([]CreateVirtualCircuitDetailsBgpAdminStateEnum, 0) + for _, v := range mappingCreateVirtualCircuitDetailsBgpAdminStateEnum { + values = append(values, v) + } + return values +} + +// GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsBgpAdminStateEnum +func GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues() []string { + return []string{ + "ENABLED", + "DISABLED", + } +} + +// GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum(val string) (CreateVirtualCircuitDetailsBgpAdminStateEnum, bool) { + enum, ok := mappingCreateVirtualCircuitDetailsBgpAdminStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CreateVirtualCircuitDetailsTypeEnum Enum with underlying type: string type CreateVirtualCircuitDetailsTypeEnum string @@ -185,6 +251,11 @@ var mappingCreateVirtualCircuitDetailsTypeEnum = map[string]CreateVirtualCircuit "PRIVATE": CreateVirtualCircuitDetailsTypePrivate, } +var mappingCreateVirtualCircuitDetailsTypeEnumLowerCase = map[string]CreateVirtualCircuitDetailsTypeEnum{ + "public": CreateVirtualCircuitDetailsTypePublic, + "private": CreateVirtualCircuitDetailsTypePrivate, +} + // GetCreateVirtualCircuitDetailsTypeEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsTypeEnum func GetCreateVirtualCircuitDetailsTypeEnumValues() []CreateVirtualCircuitDetailsTypeEnum { values := make([]CreateVirtualCircuitDetailsTypeEnum, 0) @@ -201,3 +272,9 @@ func GetCreateVirtualCircuitDetailsTypeEnumStringValues() []string { "PRIVATE", } } + +// GetMappingCreateVirtualCircuitDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVirtualCircuitDetailsTypeEnum(val string) (CreateVirtualCircuitDetailsTypeEnum, bool) { + enum, ok := mappingCreateVirtualCircuitDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_public_prefix_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_public_prefix_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_public_prefix_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_public_prefix_details.go index b6de7248a9e6..953e7ae3fa5b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_public_prefix_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_public_prefix_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_request_response.go index dc967683646c..1af91d3f6186 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vlan_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vlan_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vlan_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vlan_details.go index e0254e964329..eeeeecb2d5ef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vlan_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vlan_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vlan_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vlan_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vlan_request_response.go index 617d0916c2b0..81417bfdd8c0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go similarity index 95% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go index 0ff857ae38cf..96092191113d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vnic_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -68,7 +70,7 @@ type CreateVnicDetails struct { // The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname // portion of the primary private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). @@ -82,7 +84,7 @@ type CreateVnicDetails struct { // of the deprecated `hostnameLabel` in // LaunchInstanceDetails. // If you provide both, the values must match. - // Example: `bminstance-1` + // Example: `bminstance1` // If you specify a `vlanId`, the `hostnameLabel` cannot be specified. VNICs on a VLAN // can not be assigned a hostname. See Vlan. HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_details.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_details.go index 6f2c6b3d1f85..76f1e22a32a8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -25,9 +27,6 @@ type CreateVolumeBackupDetails struct { // The OCID of the volume that needs to be backed up. VolumeId *string `mandatory:"true" json:"volumeId"` - // The OCID of the compartment that contains the backup. If omitted, the backup will be created in the compartment of the source volume. - 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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -56,7 +55,7 @@ func (m CreateVolumeBackupDetails) String() string { func (m CreateVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateVolumeBackupDetailsTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingCreateVolumeBackupDetailsTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateVolumeBackupDetailsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -79,6 +78,11 @@ var mappingCreateVolumeBackupDetailsTypeEnum = map[string]CreateVolumeBackupDeta "INCREMENTAL": CreateVolumeBackupDetailsTypeIncremental, } +var mappingCreateVolumeBackupDetailsTypeEnumLowerCase = map[string]CreateVolumeBackupDetailsTypeEnum{ + "full": CreateVolumeBackupDetailsTypeFull, + "incremental": CreateVolumeBackupDetailsTypeIncremental, +} + // GetCreateVolumeBackupDetailsTypeEnumValues Enumerates the set of values for CreateVolumeBackupDetailsTypeEnum func GetCreateVolumeBackupDetailsTypeEnumValues() []CreateVolumeBackupDetailsTypeEnum { values := make([]CreateVolumeBackupDetailsTypeEnum, 0) @@ -95,3 +99,9 @@ func GetCreateVolumeBackupDetailsTypeEnumStringValues() []string { "INCREMENTAL", } } + +// GetMappingCreateVolumeBackupDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVolumeBackupDetailsTypeEnum(val string) (CreateVolumeBackupDetailsTypeEnum, bool) { + enum, ok := mappingCreateVolumeBackupDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_assignment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_assignment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_details.go index 5f0f3b30ef11..9b20eaeb4bc3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_assignment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_assignment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_request_response.go index 6a0b0b9a8380..b1487b696159 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_details.go index 4eeed7d3ebe9..6597cad15104 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_request_response.go index 4999110d3bec..4173dff850ef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_request_response.go index 9a9f4bbac165..2aa977daec97 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go index 9a800372d46b..04a2ddce22a6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -49,18 +51,19 @@ type CreateVolumeDetails struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID of the Key Management key to assign as the master encryption key + // The OCID of the Vault service key to assign as the master encryption key // for the volume. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Elastic Performance (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeelasticperformance.htm) for more information. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. - // For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB. + // * `30`-`120`: Represents the Ultra High Performance option. + // For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"` // The size of the volume in GBs. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_details.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_details.go index 4d0438f94ec3..4296d8e2676c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -58,7 +60,7 @@ func (m CreateVolumeGroupBackupDetails) String() string { func (m CreateVolumeGroupBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateVolumeGroupBackupDetailsTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingCreateVolumeGroupBackupDetailsTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateVolumeGroupBackupDetailsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -81,6 +83,11 @@ var mappingCreateVolumeGroupBackupDetailsTypeEnum = map[string]CreateVolumeGroup "INCREMENTAL": CreateVolumeGroupBackupDetailsTypeIncremental, } +var mappingCreateVolumeGroupBackupDetailsTypeEnumLowerCase = map[string]CreateVolumeGroupBackupDetailsTypeEnum{ + "full": CreateVolumeGroupBackupDetailsTypeFull, + "incremental": CreateVolumeGroupBackupDetailsTypeIncremental, +} + // GetCreateVolumeGroupBackupDetailsTypeEnumValues Enumerates the set of values for CreateVolumeGroupBackupDetailsTypeEnum func GetCreateVolumeGroupBackupDetailsTypeEnumValues() []CreateVolumeGroupBackupDetailsTypeEnum { values := make([]CreateVolumeGroupBackupDetailsTypeEnum, 0) @@ -97,3 +104,9 @@ func GetCreateVolumeGroupBackupDetailsTypeEnumStringValues() []string { "INCREMENTAL", } } + +// GetMappingCreateVolumeGroupBackupDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVolumeGroupBackupDetailsTypeEnum(val string) (CreateVolumeGroupBackupDetailsTypeEnum, bool) { + enum, ok := mappingCreateVolumeGroupBackupDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_request_response.go index 2c9faa9f6715..8e67ff0da3b1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go index c99965efa53b..98b396d32ac4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_request_response.go index 54679539c45b..3158249aa4e2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_request_response.go index 642ed77e276f..41f611d9cee6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vtap_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vtap_details.go similarity index 71% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vtap_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vtap_details.go index 26a6839f585d..f7b1829baea1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vtap_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vtap_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,29 +9,31 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // CreateVtapDetails These details are included in a request to create a virtual test access point (VTAP). type CreateVtapDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. VcnId *string `mandatory:"true" json:"vcnId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. SourceId *string `mandatory:"true" json:"sourceId"` - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). + // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). CaptureFilterId *string `mandatory:"true" json:"captureFilterId"` // Defined tags for this resource. Each key is predefined and scoped to a @@ -48,7 +50,7 @@ type CreateVtapDetails 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 destination resource where mirrored packets are sent. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. TargetId *string `mandatory:"false" json:"targetId"` // The IP address of the destination resource where mirrored packets are sent. @@ -80,7 +82,7 @@ type CreateVtapDetails struct { // The IP Address of the source private endpoint. SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"` } @@ -94,16 +96,16 @@ func (m CreateVtapDetails) String() string { func (m CreateVtapDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCreateVtapDetailsEncapsulationProtocolEnum[string(m.EncapsulationProtocol)]; !ok && m.EncapsulationProtocol != "" { + if _, ok := GetMappingCreateVtapDetailsEncapsulationProtocolEnum(string(m.EncapsulationProtocol)); !ok && m.EncapsulationProtocol != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncapsulationProtocol: %s. Supported values are: %s.", m.EncapsulationProtocol, strings.Join(GetCreateVtapDetailsEncapsulationProtocolEnumStringValues(), ","))) } - if _, ok := mappingCreateVtapDetailsSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingCreateVtapDetailsSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetCreateVtapDetailsSourceTypeEnumStringValues(), ","))) } - if _, ok := mappingCreateVtapDetailsTrafficModeEnum[string(m.TrafficMode)]; !ok && m.TrafficMode != "" { + if _, ok := GetMappingCreateVtapDetailsTrafficModeEnum(string(m.TrafficMode)); !ok && m.TrafficMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TrafficMode: %s. Supported values are: %s.", m.TrafficMode, strings.Join(GetCreateVtapDetailsTrafficModeEnumStringValues(), ","))) } - if _, ok := mappingCreateVtapDetailsTargetTypeEnum[string(m.TargetType)]; !ok && m.TargetType != "" { + if _, ok := GetMappingCreateVtapDetailsTargetTypeEnum(string(m.TargetType)); !ok && m.TargetType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetType: %s. Supported values are: %s.", m.TargetType, strings.Join(GetCreateVtapDetailsTargetTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -124,6 +126,10 @@ var mappingCreateVtapDetailsEncapsulationProtocolEnum = map[string]CreateVtapDet "VXLAN": CreateVtapDetailsEncapsulationProtocolVxlan, } +var mappingCreateVtapDetailsEncapsulationProtocolEnumLowerCase = map[string]CreateVtapDetailsEncapsulationProtocolEnum{ + "vxlan": CreateVtapDetailsEncapsulationProtocolVxlan, +} + // GetCreateVtapDetailsEncapsulationProtocolEnumValues Enumerates the set of values for CreateVtapDetailsEncapsulationProtocolEnum func GetCreateVtapDetailsEncapsulationProtocolEnumValues() []CreateVtapDetailsEncapsulationProtocolEnum { values := make([]CreateVtapDetailsEncapsulationProtocolEnum, 0) @@ -140,6 +146,12 @@ func GetCreateVtapDetailsEncapsulationProtocolEnumStringValues() []string { } } +// GetMappingCreateVtapDetailsEncapsulationProtocolEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVtapDetailsEncapsulationProtocolEnum(val string) (CreateVtapDetailsEncapsulationProtocolEnum, bool) { + enum, ok := mappingCreateVtapDetailsEncapsulationProtocolEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CreateVtapDetailsSourceTypeEnum Enum with underlying type: string type CreateVtapDetailsSourceTypeEnum string @@ -162,6 +174,15 @@ var mappingCreateVtapDetailsSourceTypeEnum = map[string]CreateVtapDetailsSourceT "AUTONOMOUS_DATA_WAREHOUSE": CreateVtapDetailsSourceTypeAutonomousDataWarehouse, } +var mappingCreateVtapDetailsSourceTypeEnumLowerCase = map[string]CreateVtapDetailsSourceTypeEnum{ + "vnic": CreateVtapDetailsSourceTypeVnic, + "subnet": CreateVtapDetailsSourceTypeSubnet, + "load_balancer": CreateVtapDetailsSourceTypeLoadBalancer, + "db_system": CreateVtapDetailsSourceTypeDbSystem, + "exadata_vm_cluster": CreateVtapDetailsSourceTypeExadataVmCluster, + "autonomous_data_warehouse": CreateVtapDetailsSourceTypeAutonomousDataWarehouse, +} + // GetCreateVtapDetailsSourceTypeEnumValues Enumerates the set of values for CreateVtapDetailsSourceTypeEnum func GetCreateVtapDetailsSourceTypeEnumValues() []CreateVtapDetailsSourceTypeEnum { values := make([]CreateVtapDetailsSourceTypeEnum, 0) @@ -183,6 +204,12 @@ func GetCreateVtapDetailsSourceTypeEnumStringValues() []string { } } +// GetMappingCreateVtapDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVtapDetailsSourceTypeEnum(val string) (CreateVtapDetailsSourceTypeEnum, bool) { + enum, ok := mappingCreateVtapDetailsSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CreateVtapDetailsTrafficModeEnum Enum with underlying type: string type CreateVtapDetailsTrafficModeEnum string @@ -197,6 +224,11 @@ var mappingCreateVtapDetailsTrafficModeEnum = map[string]CreateVtapDetailsTraffi "PRIORITY": CreateVtapDetailsTrafficModePriority, } +var mappingCreateVtapDetailsTrafficModeEnumLowerCase = map[string]CreateVtapDetailsTrafficModeEnum{ + "default": CreateVtapDetailsTrafficModeDefault, + "priority": CreateVtapDetailsTrafficModePriority, +} + // GetCreateVtapDetailsTrafficModeEnumValues Enumerates the set of values for CreateVtapDetailsTrafficModeEnum func GetCreateVtapDetailsTrafficModeEnumValues() []CreateVtapDetailsTrafficModeEnum { values := make([]CreateVtapDetailsTrafficModeEnum, 0) @@ -214,6 +246,12 @@ func GetCreateVtapDetailsTrafficModeEnumStringValues() []string { } } +// GetMappingCreateVtapDetailsTrafficModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVtapDetailsTrafficModeEnum(val string) (CreateVtapDetailsTrafficModeEnum, bool) { + enum, ok := mappingCreateVtapDetailsTrafficModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CreateVtapDetailsTargetTypeEnum Enum with underlying type: string type CreateVtapDetailsTargetTypeEnum string @@ -221,11 +259,19 @@ type CreateVtapDetailsTargetTypeEnum string const ( CreateVtapDetailsTargetTypeVnic CreateVtapDetailsTargetTypeEnum = "VNIC" CreateVtapDetailsTargetTypeNetworkLoadBalancer CreateVtapDetailsTargetTypeEnum = "NETWORK_LOAD_BALANCER" + CreateVtapDetailsTargetTypeIpAddress CreateVtapDetailsTargetTypeEnum = "IP_ADDRESS" ) var mappingCreateVtapDetailsTargetTypeEnum = map[string]CreateVtapDetailsTargetTypeEnum{ "VNIC": CreateVtapDetailsTargetTypeVnic, "NETWORK_LOAD_BALANCER": CreateVtapDetailsTargetTypeNetworkLoadBalancer, + "IP_ADDRESS": CreateVtapDetailsTargetTypeIpAddress, +} + +var mappingCreateVtapDetailsTargetTypeEnumLowerCase = map[string]CreateVtapDetailsTargetTypeEnum{ + "vnic": CreateVtapDetailsTargetTypeVnic, + "network_load_balancer": CreateVtapDetailsTargetTypeNetworkLoadBalancer, + "ip_address": CreateVtapDetailsTargetTypeIpAddress, } // GetCreateVtapDetailsTargetTypeEnumValues Enumerates the set of values for CreateVtapDetailsTargetTypeEnum @@ -242,5 +288,12 @@ func GetCreateVtapDetailsTargetTypeEnumStringValues() []string { return []string{ "VNIC", "NETWORK_LOAD_BALANCER", + "IP_ADDRESS", } } + +// GetMappingCreateVtapDetailsTargetTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateVtapDetailsTargetTypeEnum(val string) (CreateVtapDetailsTargetTypeEnum, bool) { + enum, ok := mappingCreateVtapDetailsTargetTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vtap_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vtap_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vtap_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vtap_request_response.go index 0966e5152f23..f7160c18e314 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/create_vtap_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/create_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // CreateVtapRequest wrapper for the CreateVtap operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtapRequest. type CreateVtapRequest struct { // Details used to create a VTAP. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect.go index 09798fc87e86..e8f36bbdb0aa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -98,7 +100,7 @@ func (m CrossConnect) String() string { func (m CrossConnect) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCrossConnectLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingCrossConnectLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCrossConnectLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -129,6 +131,15 @@ var mappingCrossConnectLifecycleStateEnum = map[string]CrossConnectLifecycleStat "TERMINATED": CrossConnectLifecycleStateTerminated, } +var mappingCrossConnectLifecycleStateEnumLowerCase = map[string]CrossConnectLifecycleStateEnum{ + "pending_customer": CrossConnectLifecycleStatePendingCustomer, + "provisioning": CrossConnectLifecycleStateProvisioning, + "provisioned": CrossConnectLifecycleStateProvisioned, + "inactive": CrossConnectLifecycleStateInactive, + "terminating": CrossConnectLifecycleStateTerminating, + "terminated": CrossConnectLifecycleStateTerminated, +} + // GetCrossConnectLifecycleStateEnumValues Enumerates the set of values for CrossConnectLifecycleStateEnum func GetCrossConnectLifecycleStateEnumValues() []CrossConnectLifecycleStateEnum { values := make([]CrossConnectLifecycleStateEnum, 0) @@ -149,3 +160,9 @@ func GetCrossConnectLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingCrossConnectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCrossConnectLifecycleStateEnum(val string) (CrossConnectLifecycleStateEnum, bool) { + enum, ok := mappingCrossConnectLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_group.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_group.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_group.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_group.go index e29de967257d..6c28cb81cd88 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_group.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -83,7 +85,7 @@ func (m CrossConnectGroup) String() string { func (m CrossConnectGroup) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCrossConnectGroupLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingCrossConnectGroupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCrossConnectGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -112,6 +114,14 @@ var mappingCrossConnectGroupLifecycleStateEnum = map[string]CrossConnectGroupLif "TERMINATED": CrossConnectGroupLifecycleStateTerminated, } +var mappingCrossConnectGroupLifecycleStateEnumLowerCase = map[string]CrossConnectGroupLifecycleStateEnum{ + "provisioning": CrossConnectGroupLifecycleStateProvisioning, + "provisioned": CrossConnectGroupLifecycleStateProvisioned, + "inactive": CrossConnectGroupLifecycleStateInactive, + "terminating": CrossConnectGroupLifecycleStateTerminating, + "terminated": CrossConnectGroupLifecycleStateTerminated, +} + // GetCrossConnectGroupLifecycleStateEnumValues Enumerates the set of values for CrossConnectGroupLifecycleStateEnum func GetCrossConnectGroupLifecycleStateEnumValues() []CrossConnectGroupLifecycleStateEnum { values := make([]CrossConnectGroupLifecycleStateEnum, 0) @@ -131,3 +141,9 @@ func GetCrossConnectGroupLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingCrossConnectGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCrossConnectGroupLifecycleStateEnum(val string) (CrossConnectGroupLifecycleStateEnum, bool) { + enum, ok := mappingCrossConnectGroupLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_location.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_location.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_location.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_location.go index 88741efc0c9b..24a9b6f1e5b8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_location.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_location.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping.go index 4e7d7318bd8d..03245b414a18 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -60,13 +62,13 @@ type CrossConnectMapping struct { // Oracle. Specified by the owner of that router. If the session goes from Oracle // to a customer, this is the BGP IPv4 address of the customer's edge router. If the // session goes from Oracle to a provider, this is the BGP IPv4 address of the - // provider's edge router. Must use a /30 or /31 subnet mask. + // provider's edge router. Must use a subnet mask from /28 to /31. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. // Example: `10.0.0.18/31` CustomerBgpPeeringIp *string `mandatory:"false" json:"customerBgpPeeringIp"` - // The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31 - // subnet mask. If the session goes from Oracle to a customer's edge router, + // The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. + // If the session goes from Oracle to a customer's edge router, // the customer specifies this information. If the session goes from Oracle to // a provider's edge router, the provider specifies this. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details.go index 74c229783102..7f8c8ccaa2e0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -43,13 +45,13 @@ type CrossConnectMappingDetails struct { // Oracle. Specified by the owner of that router. If the session goes from Oracle // to a customer, this is the BGP IPv4 address of the customer's edge router. If the // session goes from Oracle to a provider, this is the BGP IPv4 address of the - // provider's edge router. Must use a /30 or /31 subnet mask. + // provider's edge router. Must use a subnet mask from /28 to /31. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. // Example: `10.0.0.18/31` CustomerBgpPeeringIp *string `mandatory:"false" json:"customerBgpPeeringIp"` - // The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31 - // subnet mask. If the session goes from Oracle to a customer's edge router, + // The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. + // If the session goes from Oracle to a customer's edge router, // the customer specifies this information. If the session goes from Oracle to // a provider's edge router, the provider specifies this. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. @@ -100,10 +102,10 @@ func (m CrossConnectMappingDetails) String() string { func (m CrossConnectMappingDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCrossConnectMappingDetailsIpv4BgpStatusEnum[string(m.Ipv4BgpStatus)]; !ok && m.Ipv4BgpStatus != "" { + if _, ok := GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum(string(m.Ipv4BgpStatus)); !ok && m.Ipv4BgpStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Ipv4BgpStatus: %s. Supported values are: %s.", m.Ipv4BgpStatus, strings.Join(GetCrossConnectMappingDetailsIpv4BgpStatusEnumStringValues(), ","))) } - if _, ok := mappingCrossConnectMappingDetailsIpv6BgpStatusEnum[string(m.Ipv6BgpStatus)]; !ok && m.Ipv6BgpStatus != "" { + if _, ok := GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum(string(m.Ipv6BgpStatus)); !ok && m.Ipv6BgpStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Ipv6BgpStatus: %s. Supported values are: %s.", m.Ipv6BgpStatus, strings.Join(GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -126,6 +128,11 @@ var mappingCrossConnectMappingDetailsIpv4BgpStatusEnum = map[string]CrossConnect "DOWN": CrossConnectMappingDetailsIpv4BgpStatusDown, } +var mappingCrossConnectMappingDetailsIpv4BgpStatusEnumLowerCase = map[string]CrossConnectMappingDetailsIpv4BgpStatusEnum{ + "up": CrossConnectMappingDetailsIpv4BgpStatusUp, + "down": CrossConnectMappingDetailsIpv4BgpStatusDown, +} + // GetCrossConnectMappingDetailsIpv4BgpStatusEnumValues Enumerates the set of values for CrossConnectMappingDetailsIpv4BgpStatusEnum func GetCrossConnectMappingDetailsIpv4BgpStatusEnumValues() []CrossConnectMappingDetailsIpv4BgpStatusEnum { values := make([]CrossConnectMappingDetailsIpv4BgpStatusEnum, 0) @@ -143,6 +150,12 @@ func GetCrossConnectMappingDetailsIpv4BgpStatusEnumStringValues() []string { } } +// GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum(val string) (CrossConnectMappingDetailsIpv4BgpStatusEnum, bool) { + enum, ok := mappingCrossConnectMappingDetailsIpv4BgpStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CrossConnectMappingDetailsIpv6BgpStatusEnum Enum with underlying type: string type CrossConnectMappingDetailsIpv6BgpStatusEnum string @@ -157,6 +170,11 @@ var mappingCrossConnectMappingDetailsIpv6BgpStatusEnum = map[string]CrossConnect "DOWN": CrossConnectMappingDetailsIpv6BgpStatusDown, } +var mappingCrossConnectMappingDetailsIpv6BgpStatusEnumLowerCase = map[string]CrossConnectMappingDetailsIpv6BgpStatusEnum{ + "up": CrossConnectMappingDetailsIpv6BgpStatusUp, + "down": CrossConnectMappingDetailsIpv6BgpStatusDown, +} + // GetCrossConnectMappingDetailsIpv6BgpStatusEnumValues Enumerates the set of values for CrossConnectMappingDetailsIpv6BgpStatusEnum func GetCrossConnectMappingDetailsIpv6BgpStatusEnumValues() []CrossConnectMappingDetailsIpv6BgpStatusEnum { values := make([]CrossConnectMappingDetailsIpv6BgpStatusEnum, 0) @@ -173,3 +191,9 @@ func GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues() []string { "DOWN", } } + +// GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum(val string) (CrossConnectMappingDetailsIpv6BgpStatusEnum, bool) { + enum, ok := mappingCrossConnectMappingDetailsIpv6BgpStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping_details_collection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details_collection.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping_details_collection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details_collection.go index 1fb815e1b264..5f760aa92fb3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_mapping_details_collection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_port_speed_shape.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_port_speed_shape.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_port_speed_shape.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_port_speed_shape.go index 5b2d4a42539b..e2f73ab5c20b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_port_speed_shape.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_port_speed_shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_status.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_status.go index fa95e995ad54..9a8b80a2081c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/cross_connect_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/cross_connect_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -64,13 +66,13 @@ func (m CrossConnectStatus) String() string { func (m CrossConnectStatus) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingCrossConnectStatusInterfaceStateEnum[string(m.InterfaceState)]; !ok && m.InterfaceState != "" { + if _, ok := GetMappingCrossConnectStatusInterfaceStateEnum(string(m.InterfaceState)); !ok && m.InterfaceState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for InterfaceState: %s. Supported values are: %s.", m.InterfaceState, strings.Join(GetCrossConnectStatusInterfaceStateEnumStringValues(), ","))) } - if _, ok := mappingCrossConnectStatusLightLevelIndicatorEnum[string(m.LightLevelIndicator)]; !ok && m.LightLevelIndicator != "" { + if _, ok := GetMappingCrossConnectStatusLightLevelIndicatorEnum(string(m.LightLevelIndicator)); !ok && m.LightLevelIndicator != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LightLevelIndicator: %s. Supported values are: %s.", m.LightLevelIndicator, strings.Join(GetCrossConnectStatusLightLevelIndicatorEnumStringValues(), ","))) } - if _, ok := mappingCrossConnectStatusEncryptionStatusEnum[string(m.EncryptionStatus)]; !ok && m.EncryptionStatus != "" { + if _, ok := GetMappingCrossConnectStatusEncryptionStatusEnum(string(m.EncryptionStatus)); !ok && m.EncryptionStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionStatus: %s. Supported values are: %s.", m.EncryptionStatus, strings.Join(GetCrossConnectStatusEncryptionStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -93,6 +95,11 @@ var mappingCrossConnectStatusInterfaceStateEnum = map[string]CrossConnectStatusI "DOWN": CrossConnectStatusInterfaceStateDown, } +var mappingCrossConnectStatusInterfaceStateEnumLowerCase = map[string]CrossConnectStatusInterfaceStateEnum{ + "up": CrossConnectStatusInterfaceStateUp, + "down": CrossConnectStatusInterfaceStateDown, +} + // GetCrossConnectStatusInterfaceStateEnumValues Enumerates the set of values for CrossConnectStatusInterfaceStateEnum func GetCrossConnectStatusInterfaceStateEnumValues() []CrossConnectStatusInterfaceStateEnum { values := make([]CrossConnectStatusInterfaceStateEnum, 0) @@ -110,6 +117,12 @@ func GetCrossConnectStatusInterfaceStateEnumStringValues() []string { } } +// GetMappingCrossConnectStatusInterfaceStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCrossConnectStatusInterfaceStateEnum(val string) (CrossConnectStatusInterfaceStateEnum, bool) { + enum, ok := mappingCrossConnectStatusInterfaceStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CrossConnectStatusLightLevelIndicatorEnum Enum with underlying type: string type CrossConnectStatusLightLevelIndicatorEnum string @@ -130,6 +143,14 @@ var mappingCrossConnectStatusLightLevelIndicatorEnum = map[string]CrossConnectSt "GOOD": CrossConnectStatusLightLevelIndicatorGood, } +var mappingCrossConnectStatusLightLevelIndicatorEnumLowerCase = map[string]CrossConnectStatusLightLevelIndicatorEnum{ + "no_light": CrossConnectStatusLightLevelIndicatorNoLight, + "low_warn": CrossConnectStatusLightLevelIndicatorLowWarn, + "high_warn": CrossConnectStatusLightLevelIndicatorHighWarn, + "bad": CrossConnectStatusLightLevelIndicatorBad, + "good": CrossConnectStatusLightLevelIndicatorGood, +} + // GetCrossConnectStatusLightLevelIndicatorEnumValues Enumerates the set of values for CrossConnectStatusLightLevelIndicatorEnum func GetCrossConnectStatusLightLevelIndicatorEnumValues() []CrossConnectStatusLightLevelIndicatorEnum { values := make([]CrossConnectStatusLightLevelIndicatorEnum, 0) @@ -150,6 +171,12 @@ func GetCrossConnectStatusLightLevelIndicatorEnumStringValues() []string { } } +// GetMappingCrossConnectStatusLightLevelIndicatorEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCrossConnectStatusLightLevelIndicatorEnum(val string) (CrossConnectStatusLightLevelIndicatorEnum, bool) { + enum, ok := mappingCrossConnectStatusLightLevelIndicatorEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // CrossConnectStatusEncryptionStatusEnum Enum with underlying type: string type CrossConnectStatusEncryptionStatusEnum string @@ -170,6 +197,14 @@ var mappingCrossConnectStatusEncryptionStatusEnum = map[string]CrossConnectStatu "CAK_MISMATCH": CrossConnectStatusEncryptionStatusCakMismatch, } +var mappingCrossConnectStatusEncryptionStatusEnumLowerCase = map[string]CrossConnectStatusEncryptionStatusEnum{ + "up": CrossConnectStatusEncryptionStatusUp, + "down": CrossConnectStatusEncryptionStatusDown, + "cipher_mismatch": CrossConnectStatusEncryptionStatusCipherMismatch, + "ckn_mismatch": CrossConnectStatusEncryptionStatusCknMismatch, + "cak_mismatch": CrossConnectStatusEncryptionStatusCakMismatch, +} + // GetCrossConnectStatusEncryptionStatusEnumValues Enumerates the set of values for CrossConnectStatusEncryptionStatusEnum func GetCrossConnectStatusEncryptionStatusEnumValues() []CrossConnectStatusEncryptionStatusEnum { values := make([]CrossConnectStatusEncryptionStatusEnum, 0) @@ -189,3 +224,9 @@ func GetCrossConnectStatusEncryptionStatusEnumStringValues() []string { "CAK_MISMATCH", } } + +// GetMappingCrossConnectStatusEncryptionStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCrossConnectStatusEncryptionStatusEnum(val string) (CrossConnectStatusEncryptionStatusEnum, bool) { + enum, ok := mappingCrossConnectStatusEncryptionStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host.go index 461e49f84d1b..859b74dd4197 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -88,7 +90,7 @@ func (m DedicatedVmHost) String() string { // Not recommended for calling this function directly func (m DedicatedVmHost) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDedicatedVmHostLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingDedicatedVmHostLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDedicatedVmHostLifecycleStateEnumStringValues(), ","))) } @@ -120,6 +122,15 @@ var mappingDedicatedVmHostLifecycleStateEnum = map[string]DedicatedVmHostLifecyc "FAILED": DedicatedVmHostLifecycleStateFailed, } +var mappingDedicatedVmHostLifecycleStateEnumLowerCase = map[string]DedicatedVmHostLifecycleStateEnum{ + "creating": DedicatedVmHostLifecycleStateCreating, + "active": DedicatedVmHostLifecycleStateActive, + "updating": DedicatedVmHostLifecycleStateUpdating, + "deleting": DedicatedVmHostLifecycleStateDeleting, + "deleted": DedicatedVmHostLifecycleStateDeleted, + "failed": DedicatedVmHostLifecycleStateFailed, +} + // GetDedicatedVmHostLifecycleStateEnumValues Enumerates the set of values for DedicatedVmHostLifecycleStateEnum func GetDedicatedVmHostLifecycleStateEnumValues() []DedicatedVmHostLifecycleStateEnum { values := make([]DedicatedVmHostLifecycleStateEnum, 0) @@ -140,3 +151,9 @@ func GetDedicatedVmHostLifecycleStateEnumStringValues() []string { "FAILED", } } + +// GetMappingDedicatedVmHostLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDedicatedVmHostLifecycleStateEnum(val string) (DedicatedVmHostLifecycleStateEnum, bool) { + enum, ok := mappingDedicatedVmHostLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_instance_shape_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_shape_summary.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_instance_shape_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_shape_summary.go index dd60c3cd8ab6..f3d9b528296a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_instance_shape_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_instance_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_summary.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_instance_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_summary.go index 85c235cab6c5..68d1dc815210 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_instance_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_shape_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_shape_summary.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_shape_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_shape_summary.go index d144985b6b84..3cf698a2002f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_shape_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_summary.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_summary.go index ea773760076b..eed2103e4955 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dedicated_vm_host_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -76,7 +78,7 @@ func (m DedicatedVmHostSummary) String() string { // Not recommended for calling this function directly func (m DedicatedVmHostSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDedicatedVmHostSummaryLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingDedicatedVmHostSummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDedicatedVmHostSummaryLifecycleStateEnumStringValues(), ","))) } @@ -108,6 +110,15 @@ var mappingDedicatedVmHostSummaryLifecycleStateEnum = map[string]DedicatedVmHost "FAILED": DedicatedVmHostSummaryLifecycleStateFailed, } +var mappingDedicatedVmHostSummaryLifecycleStateEnumLowerCase = map[string]DedicatedVmHostSummaryLifecycleStateEnum{ + "creating": DedicatedVmHostSummaryLifecycleStateCreating, + "active": DedicatedVmHostSummaryLifecycleStateActive, + "updating": DedicatedVmHostSummaryLifecycleStateUpdating, + "deleting": DedicatedVmHostSummaryLifecycleStateDeleting, + "deleted": DedicatedVmHostSummaryLifecycleStateDeleted, + "failed": DedicatedVmHostSummaryLifecycleStateFailed, +} + // GetDedicatedVmHostSummaryLifecycleStateEnumValues Enumerates the set of values for DedicatedVmHostSummaryLifecycleStateEnum func GetDedicatedVmHostSummaryLifecycleStateEnumValues() []DedicatedVmHostSummaryLifecycleStateEnum { values := make([]DedicatedVmHostSummaryLifecycleStateEnum, 0) @@ -128,3 +139,9 @@ func GetDedicatedVmHostSummaryLifecycleStateEnumStringValues() []string { "FAILED", } } + +// GetMappingDedicatedVmHostSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDedicatedVmHostSummaryLifecycleStateEnum(val string) (DedicatedVmHostSummaryLifecycleStateEnum, bool) { + enum, ok := mappingDedicatedVmHostSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_drg_route_tables.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_drg_route_tables.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_drg_route_tables.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_drg_route_tables.go index 55bf399eeef6..1e0176393586 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_drg_route_tables.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_drg_route_tables.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -26,7 +28,7 @@ import ( // a default DRG route table. type DefaultDrgRouteTables struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments // of type VCN on creation. Vcn *string `mandatory:"false" json:"vcn"` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_phase_one_parameters.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_phase_one_parameters.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_phase_one_parameters.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_phase_one_parameters.go index 1660bc6fd75b..b93c644e835a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_phase_one_parameters.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_phase_one_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_phase_two_parameters.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_phase_two_parameters.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_phase_two_parameters.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_phase_two_parameters.go index b5c975b2d921..0142745841ca 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/default_phase_two_parameters.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/default_phase_two_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_app_catalog_subscription_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_app_catalog_subscription_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_app_catalog_subscription_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_app_catalog_subscription_request_response.go index bac5165d3836..bd7aa67c3373 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_app_catalog_subscription_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_app_catalog_subscription_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_backup_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_backup_request_response.go index 30bbc4dee633..00b3ee4a2d8f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_kms_key_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_kms_key_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_kms_key_request_response.go index d5f80eb544c3..6621cda27f8e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_request_response.go index a4250bfdec53..25061d3f8cb0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_byoip_range_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_byoip_range_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_byoip_range_request_response.go index f583533feaf5..3ff776804fc9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -78,7 +82,8 @@ type DeleteByoipRangeResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_capture_filter_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_capture_filter_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_capture_filter_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_capture_filter_request_response.go index 5a9963fadc56..24729b28ae3b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_capture_filter_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteCaptureFilterRequest wrapper for the DeleteCaptureFilter operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilterRequest. type DeleteCaptureFilterRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_reservation_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_capacity_reservation_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_reservation_request_response.go index 0542fb63bd77..aa168e23f6e7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteComputeCapacityReservationRequest wrapper for the DeleteComputeCapacityReservation operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservationRequest. type DeleteComputeCapacityReservationRequest struct { // The OCID of the compute capacity reservation. @@ -78,7 +82,8 @@ type DeleteComputeCapacityReservationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_cluster_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_cluster_request_response.go index 69617d4f9071..3c3c7a8d7893 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteComputeClusterRequest wrapper for the DeleteComputeCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCluster.go.html to see an example of how to use DeleteComputeClusterRequest. type DeleteComputeClusterRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_image_capability_schema_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_image_capability_schema_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_image_capability_schema_request_response.go index 3e9f1315941f..afeadb258e3a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_console_history_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_console_history_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_console_history_request_response.go index 99db58fa4eb1..1c801074d421 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cpe_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cpe_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cpe_request_response.go index 66958355f3ab..957dbe5d1b75 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_group_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cross_connect_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_group_request_response.go index 840b1d8ab8e3..d8262e9fb78d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cross_connect_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_request_response.go index fda53baab12d..10348c12d71b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_dedicated_vm_host_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dedicated_vm_host_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_dedicated_vm_host_request_response.go index e140a1a9c355..f01ef843149b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -73,7 +77,8 @@ type DeleteDedicatedVmHostResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_dhcp_options_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dhcp_options_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_dhcp_options_request_response.go index f7786c209b4b..4d297ca4f7f6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_attachment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_attachment_request_response.go index e6a4f8205c4f..c623a2ab5f61 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_request_response.go index 7db261563120..3b02fcb21fe1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_distribution_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_route_distribution_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_distribution_request_response.go index c9b3ae70277c..73529d64e9c6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteDrgRouteDistributionRequest wrapper for the DeleteDrgRouteDistribution operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistributionRequest. type DeleteDrgRouteDistributionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_table_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_table_request_response.go index 7cebec04f5dc..8f66db0c226d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteDrgRouteTableRequest wrapper for the DeleteDrgRouteTable operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTableRequest. type DeleteDrgRouteTableRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_i_p_sec_connection_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_i_p_sec_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_i_p_sec_connection_request_response.go index 52a9871763b2..9848fa354e36 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_image_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_image_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_image_request_response.go index f648263557c9..6850e23c59ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_instance_configuration_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_instance_configuration_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_instance_configuration_request_response.go index 9b9440d023f1..5b12e638c019 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_instance_console_connection_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_instance_console_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_instance_console_connection_request_response.go index 7a0ad51e94db..e4b1c01fdc69 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_internet_gateway_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internet_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_internet_gateway_request_response.go index 33e122eaba0b..482e147eb7cb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_ipv6_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_ipv6_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_ipv6_request_response.go index 9bec147f9458..7b2d93274c26 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_local_peering_gateway_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_local_peering_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_local_peering_gateway_request_response.go index 3d067789b5ac..21d06eb62d99 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_nat_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_nat_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_nat_gateway_request_response.go index 7108374bd998..6a3d5476d11b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_network_security_group_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_network_security_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_network_security_group_request_response.go index 6d9d6eb37ca0..429478903e6d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_private_ip_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_private_ip_request_response.go index 95955d10c1aa..05dedc5ad9ac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_pool_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_public_ip_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_pool_request_response.go index 59a3fff3b46d..5da9c945337d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_public_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_request_response.go index 966f139f1946..e419c454cb83 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_remote_peering_connection_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_remote_peering_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_remote_peering_connection_request_response.go index cc305bc1e02f..13ed52618c27 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_route_table_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_route_table_request_response.go index cc916912e37e..bec1a81af876 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_security_list_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_security_list_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_security_list_request_response.go index 39478a5282df..6fbb683b4a13 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_service_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_service_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_service_gateway_request_response.go index 1e55c28b9df4..069beb8265b3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_subnet_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_subnet_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_subnet_request_response.go index 190e98e08104..8ebdf849fbf1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vcn_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vcn_request_response.go index 5fb1b780570c..68d0be1c180e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VCN. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_virtual_circuit_public_prefix_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_public_prefix_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_virtual_circuit_public_prefix_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_public_prefix_details.go index e60e9e278356..528f107f1b03 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_virtual_circuit_public_prefix_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_public_prefix_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_virtual_circuit_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_request_response.go index c98d9fd63e8c..0e0c5dcec7ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vlan_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vlan_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vlan_request_response.go index 1b699cde6d14..5bcd96ece567 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_policy_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_assignment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_policy_assignment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_assignment_request_response.go index bc8bdb702eff..67307e032ed4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_policy_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_policy_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_request_response.go index 307c630dd906..0dfab8266f86 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_request_response.go index 3056218fe570..57ad3439ff2d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_group_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_backup_request_response.go index ee276c3729ef..cee727a48653 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_request_response.go index c767ec966166..9f69b5744f5e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_kms_key_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_kms_key_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_kms_key_request_response.go index 43856a17e905..1c769f72dfb3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_request_response.go index eef8f05373b8..9ac3941a0395 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vtap_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vtap_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vtap_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vtap_request_response.go index a1dde654340c..a476b36207f1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/delete_vtap_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/delete_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // DeleteVtapRequest wrapper for the DeleteVtap operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtapRequest. type DeleteVtapRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -78,7 +82,8 @@ type DeleteVtapResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_boot_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_boot_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_boot_volume_request_response.go index ea3c38c516bf..9f6d1eb1fb8d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_instance_pool_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_instance_pool_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_details.go index e1030c2b1fce..ac17656548e8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_instance_pool_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_instance_pool_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_instance_pool_instance_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_request_response.go index 5aef7654912f..7ce19cf33787 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_instance_pool_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -83,7 +87,8 @@ type DetachInstancePoolInstanceResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_load_balancer_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_load_balancer_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_details.go index 02430f7418f4..533b8452900d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_load_balancer_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_load_balancer_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_load_balancer_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_request_response.go index afcf9781d7cb..d4208c4781c4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_load_balancer_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_service_id_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_service_id_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_service_id_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_service_id_request_response.go index 4c481ff2f644..0f7acf4bf066 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_service_id_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_service_id_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_vnic_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_vnic_request_response.go index 82085bde81ac..199c7274ba27 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_volume_request_response.go index fd91b40dba9e..6956715e52fb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detach_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detach_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detached_volume_autotune_policy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detached_volume_autotune_policy.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detached_volume_autotune_policy.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detached_volume_autotune_policy.go index bd3685f52ca3..0294ae213eaf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/detached_volume_autotune_policy.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/detached_volume_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/device.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/device.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/device.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/device.go index 319af3eefe50..b06d2125f80d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/device.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/device.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_dns_option.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_dns_option.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_dns_option.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_dns_option.go index 60bf55832212..8067f612125e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_dns_option.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_dns_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -54,7 +56,7 @@ func (m DhcpDnsOption) String() string { // Not recommended for calling this function directly func (m DhcpDnsOption) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDhcpDnsOptionServerTypeEnum[string(m.ServerType)]; !ok && m.ServerType != "" { + if _, ok := GetMappingDhcpDnsOptionServerTypeEnum(string(m.ServerType)); !ok && m.ServerType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ServerType: %s. Supported values are: %s.", m.ServerType, strings.Join(GetDhcpDnsOptionServerTypeEnumStringValues(), ","))) } @@ -94,6 +96,12 @@ var mappingDhcpDnsOptionServerTypeEnum = map[string]DhcpDnsOptionServerTypeEnum{ "CustomDnsServer": DhcpDnsOptionServerTypeCustomdnsserver, } +var mappingDhcpDnsOptionServerTypeEnumLowerCase = map[string]DhcpDnsOptionServerTypeEnum{ + "vcnlocal": DhcpDnsOptionServerTypeVcnlocal, + "vcnlocalplusinternet": DhcpDnsOptionServerTypeVcnlocalplusinternet, + "customdnsserver": DhcpDnsOptionServerTypeCustomdnsserver, +} + // GetDhcpDnsOptionServerTypeEnumValues Enumerates the set of values for DhcpDnsOptionServerTypeEnum func GetDhcpDnsOptionServerTypeEnumValues() []DhcpDnsOptionServerTypeEnum { values := make([]DhcpDnsOptionServerTypeEnum, 0) @@ -111,3 +119,9 @@ func GetDhcpDnsOptionServerTypeEnumStringValues() []string { "CustomDnsServer", } } + +// GetMappingDhcpDnsOptionServerTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDhcpDnsOptionServerTypeEnum(val string) (DhcpDnsOptionServerTypeEnum, bool) { + enum, ok := mappingDhcpDnsOptionServerTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_option.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_option.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_option.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_option.go index 5717639f0f65..9430879be9a1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_option.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go index 7dedf279fff7..024a3fa632cc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -79,11 +81,11 @@ func (m DhcpOptions) String() string { // Not recommended for calling this function directly func (m DhcpOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDhcpOptionsLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingDhcpOptionsLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDhcpOptionsLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingDhcpOptionsDomainNameTypeEnum[string(m.DomainNameType)]; !ok && m.DomainNameType != "" { + if _, ok := GetMappingDhcpOptionsDomainNameTypeEnum(string(m.DomainNameType)); !ok && m.DomainNameType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DomainNameType: %s. Supported values are: %s.", m.DomainNameType, strings.Join(GetDhcpOptionsDomainNameTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -164,6 +166,13 @@ var mappingDhcpOptionsLifecycleStateEnum = map[string]DhcpOptionsLifecycleStateE "TERMINATED": DhcpOptionsLifecycleStateTerminated, } +var mappingDhcpOptionsLifecycleStateEnumLowerCase = map[string]DhcpOptionsLifecycleStateEnum{ + "provisioning": DhcpOptionsLifecycleStateProvisioning, + "available": DhcpOptionsLifecycleStateAvailable, + "terminating": DhcpOptionsLifecycleStateTerminating, + "terminated": DhcpOptionsLifecycleStateTerminated, +} + // GetDhcpOptionsLifecycleStateEnumValues Enumerates the set of values for DhcpOptionsLifecycleStateEnum func GetDhcpOptionsLifecycleStateEnumValues() []DhcpOptionsLifecycleStateEnum { values := make([]DhcpOptionsLifecycleStateEnum, 0) @@ -183,6 +192,12 @@ func GetDhcpOptionsLifecycleStateEnumStringValues() []string { } } +// GetMappingDhcpOptionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDhcpOptionsLifecycleStateEnum(val string) (DhcpOptionsLifecycleStateEnum, bool) { + enum, ok := mappingDhcpOptionsLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // DhcpOptionsDomainNameTypeEnum Enum with underlying type: string type DhcpOptionsDomainNameTypeEnum string @@ -199,6 +214,12 @@ var mappingDhcpOptionsDomainNameTypeEnum = map[string]DhcpOptionsDomainNameTypeE "CUSTOM_DOMAIN": DhcpOptionsDomainNameTypeCustomDomain, } +var mappingDhcpOptionsDomainNameTypeEnumLowerCase = map[string]DhcpOptionsDomainNameTypeEnum{ + "subnet_domain": DhcpOptionsDomainNameTypeSubnetDomain, + "vcn_domain": DhcpOptionsDomainNameTypeVcnDomain, + "custom_domain": DhcpOptionsDomainNameTypeCustomDomain, +} + // GetDhcpOptionsDomainNameTypeEnumValues Enumerates the set of values for DhcpOptionsDomainNameTypeEnum func GetDhcpOptionsDomainNameTypeEnumValues() []DhcpOptionsDomainNameTypeEnum { values := make([]DhcpOptionsDomainNameTypeEnum, 0) @@ -216,3 +237,9 @@ func GetDhcpOptionsDomainNameTypeEnumStringValues() []string { "CUSTOM_DOMAIN", } } + +// GetMappingDhcpOptionsDomainNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDhcpOptionsDomainNameTypeEnum(val string) (DhcpOptionsDomainNameTypeEnum, bool) { + enum, ok := mappingDhcpOptionsDomainNameTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_search_domain_option.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_search_domain_option.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_search_domain_option.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_search_domain_option.go index 5dc2ad9b04d2..e773d515ce72 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dhcp_search_domain_option.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dhcp_search_domain_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dpd_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dpd_config.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dpd_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dpd_config.go index 340fe8321dfd..bd93229c6e3f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/dpd_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/dpd_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -39,7 +41,7 @@ func (m DpdConfig) String() string { func (m DpdConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDpdConfigDpdModeEnum[string(m.DpdMode)]; !ok && m.DpdMode != "" { + if _, ok := GetMappingDpdConfigDpdModeEnum(string(m.DpdMode)); !ok && m.DpdMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DpdMode: %s. Supported values are: %s.", m.DpdMode, strings.Join(GetDpdConfigDpdModeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -62,6 +64,11 @@ var mappingDpdConfigDpdModeEnum = map[string]DpdConfigDpdModeEnum{ "RESPOND_ONLY": DpdConfigDpdModeRespondOnly, } +var mappingDpdConfigDpdModeEnumLowerCase = map[string]DpdConfigDpdModeEnum{ + "initiate_and_respond": DpdConfigDpdModeInitiateAndRespond, + "respond_only": DpdConfigDpdModeRespondOnly, +} + // GetDpdConfigDpdModeEnumValues Enumerates the set of values for DpdConfigDpdModeEnum func GetDpdConfigDpdModeEnumValues() []DpdConfigDpdModeEnum { values := make([]DpdConfigDpdModeEnum, 0) @@ -78,3 +85,9 @@ func GetDpdConfigDpdModeEnumStringValues() []string { "RESPOND_ONLY", } } + +// GetMappingDpdConfigDpdModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDpdConfigDpdModeEnum(val string) (DpdConfigDpdModeEnum, bool) { + enum, ok := mappingDpdConfigDpdModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg.go index 6e8646aa5f45..cc1c44d7c949 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,30 +9,32 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // Drg A dynamic routing gateway (DRG) is a virtual router that provides a path for private // network traffic between networks. You use it with other Networking -// Service components to create a connection to your on-premises network using Site-to-Site VPN (https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPsec.htm) or a connection that uses -// FastConnect (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// Service components to create a connection to your on-premises network using Site-to-Site VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm) or a connection that uses +// FastConnect (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For more information, see +// Networking Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see // Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Drg struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The DRG's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). + // The DRG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The DRG's current state. @@ -58,7 +60,7 @@ type Drg struct { DefaultDrgRouteTables *DefaultDrgRouteTables `mandatory:"false" json:"defaultDrgRouteTables"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this DRG's default export route distribution for the DRG attachments. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DRG's default export route distribution for the DRG attachments. DefaultExportDrgRouteDistributionId *string `mandatory:"false" json:"defaultExportDrgRouteDistributionId"` } @@ -71,7 +73,7 @@ func (m Drg) String() string { // Not recommended for calling this function directly func (m Drg) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingDrgLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDrgLifecycleStateEnumStringValues(), ","))) } @@ -99,6 +101,13 @@ var mappingDrgLifecycleStateEnum = map[string]DrgLifecycleStateEnum{ "TERMINATED": DrgLifecycleStateTerminated, } +var mappingDrgLifecycleStateEnumLowerCase = map[string]DrgLifecycleStateEnum{ + "provisioning": DrgLifecycleStateProvisioning, + "available": DrgLifecycleStateAvailable, + "terminating": DrgLifecycleStateTerminating, + "terminated": DrgLifecycleStateTerminated, +} + // GetDrgLifecycleStateEnumValues Enumerates the set of values for DrgLifecycleStateEnum func GetDrgLifecycleStateEnumValues() []DrgLifecycleStateEnum { values := make([]DrgLifecycleStateEnum, 0) @@ -117,3 +126,9 @@ func GetDrgLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingDrgLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgLifecycleStateEnum(val string) (DrgLifecycleStateEnum, bool) { + enum, ok := mappingDrgLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment.go index 09e7403aa3bd..0f2bd44c2b0d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -25,13 +27,13 @@ import ( // For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). type DrgAttachment struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG attachment. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG attachment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" json:"drgId"` - // The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). + // The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The DRG attachment's current state. @@ -65,14 +67,14 @@ type DrgAttachment struct { // 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) - // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the attached resource. + // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. RouteTableId *string `mandatory:"false" json:"routeTableId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. - // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the attached resource. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. VcnId *string `mandatory:"false" json:"vcnId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table // are advertised to the attachment. // If this value is null, no routes are advertised through this attachment. ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"` @@ -91,7 +93,7 @@ func (m DrgAttachment) String() string { // Not recommended for calling this function directly func (m DrgAttachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingDrgAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDrgAttachmentLifecycleStateEnumStringValues(), ","))) } @@ -182,6 +184,13 @@ var mappingDrgAttachmentLifecycleStateEnum = map[string]DrgAttachmentLifecycleSt "DETACHED": DrgAttachmentLifecycleStateDetached, } +var mappingDrgAttachmentLifecycleStateEnumLowerCase = map[string]DrgAttachmentLifecycleStateEnum{ + "attaching": DrgAttachmentLifecycleStateAttaching, + "attached": DrgAttachmentLifecycleStateAttached, + "detaching": DrgAttachmentLifecycleStateDetaching, + "detached": DrgAttachmentLifecycleStateDetached, +} + // GetDrgAttachmentLifecycleStateEnumValues Enumerates the set of values for DrgAttachmentLifecycleStateEnum func GetDrgAttachmentLifecycleStateEnumValues() []DrgAttachmentLifecycleStateEnum { values := make([]DrgAttachmentLifecycleStateEnum, 0) @@ -200,3 +209,9 @@ func GetDrgAttachmentLifecycleStateEnumStringValues() []string { "DETACHED", } } + +// GetMappingDrgAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgAttachmentLifecycleStateEnum(val string) (DrgAttachmentLifecycleStateEnum, bool) { + enum, ok := mappingDrgAttachmentLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_id_drg_route_distribution_match_criteria.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_id_drg_route_distribution_match_criteria.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_id_drg_route_distribution_match_criteria.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_id_drg_route_distribution_match_criteria.go index 642dc453be12..cf1515e71d8c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_id_drg_route_distribution_match_criteria.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_id_drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_info.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_info.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_info.go index e5c382c999b2..c09dc987d76b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_info.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go index 497c2aaa6713..ead35a0a83e1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,11 +18,11 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria No match criteria is applied. +// DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria All routes are imported or exported. type DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria struct { } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go similarity index 66% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_create_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go index 45a8b8c67e31..c2ae9500ea05 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_create_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,14 +18,14 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // DrgAttachmentNetworkCreateDetails The representation of DrgAttachmentNetworkCreateDetails type DrgAttachmentNetworkCreateDetails interface { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. GetId() *string } @@ -59,22 +61,6 @@ func (m *drgattachmentnetworkcreatedetails) UnmarshalPolymorphicJSON(data []byte var err error switch m.Type { - case "IPSEC_TUNNEL": - mm := IpsecTunnelDrgAttachmentNetworkCreateDetails{} - err = json.Unmarshal(data, &mm) - return mm, err - case "VIRTUAL_CIRCUIT": - mm := VirtualCircuitDrgAttachmentNetworkCreateDetails{} - err = json.Unmarshal(data, &mm) - return mm, err - case "REMOTE_PEERING_CONNECTION": - mm := RemotePeeringConnectionDrgAttachmentNetworkCreateDetails{} - err = json.Unmarshal(data, &mm) - return mm, err - case "INTERNET": - mm := InternetDrgAttachmentNetworkCreateDetails{} - err = json.Unmarshal(data, &mm) - return mm, err case "VCN": mm := VcnDrgAttachmentNetworkCreateDetails{} err = json.Unmarshal(data, &mm) @@ -110,19 +96,15 @@ type DrgAttachmentNetworkCreateDetailsTypeEnum string // Set of constants representing the allowable values for DrgAttachmentNetworkCreateDetailsTypeEnum const ( - DrgAttachmentNetworkCreateDetailsTypeVcn DrgAttachmentNetworkCreateDetailsTypeEnum = "VCN" - DrgAttachmentNetworkCreateDetailsTypeVirtualCircuit DrgAttachmentNetworkCreateDetailsTypeEnum = "VIRTUAL_CIRCUIT" - DrgAttachmentNetworkCreateDetailsTypeRemotePeeringConnection DrgAttachmentNetworkCreateDetailsTypeEnum = "REMOTE_PEERING_CONNECTION" - DrgAttachmentNetworkCreateDetailsTypeIpsecTunnel DrgAttachmentNetworkCreateDetailsTypeEnum = "IPSEC_TUNNEL" - DrgAttachmentNetworkCreateDetailsTypeInternet DrgAttachmentNetworkCreateDetailsTypeEnum = "INTERNET" + DrgAttachmentNetworkCreateDetailsTypeVcn DrgAttachmentNetworkCreateDetailsTypeEnum = "VCN" ) var mappingDrgAttachmentNetworkCreateDetailsTypeEnum = map[string]DrgAttachmentNetworkCreateDetailsTypeEnum{ - "VCN": DrgAttachmentNetworkCreateDetailsTypeVcn, - "VIRTUAL_CIRCUIT": DrgAttachmentNetworkCreateDetailsTypeVirtualCircuit, - "REMOTE_PEERING_CONNECTION": DrgAttachmentNetworkCreateDetailsTypeRemotePeeringConnection, - "IPSEC_TUNNEL": DrgAttachmentNetworkCreateDetailsTypeIpsecTunnel, - "INTERNET": DrgAttachmentNetworkCreateDetailsTypeInternet, + "VCN": DrgAttachmentNetworkCreateDetailsTypeVcn, +} + +var mappingDrgAttachmentNetworkCreateDetailsTypeEnumLowerCase = map[string]DrgAttachmentNetworkCreateDetailsTypeEnum{ + "vcn": DrgAttachmentNetworkCreateDetailsTypeVcn, } // GetDrgAttachmentNetworkCreateDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkCreateDetailsTypeEnum @@ -138,9 +120,11 @@ func GetDrgAttachmentNetworkCreateDetailsTypeEnumValues() []DrgAttachmentNetwork func GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues() []string { return []string{ "VCN", - "VIRTUAL_CIRCUIT", - "REMOTE_PEERING_CONNECTION", - "IPSEC_TUNNEL", - "INTERNET", } } + +// GetMappingDrgAttachmentNetworkCreateDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgAttachmentNetworkCreateDetailsTypeEnum(val string) (DrgAttachmentNetworkCreateDetailsTypeEnum, bool) { + enum, ok := mappingDrgAttachmentNetworkCreateDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go index 4323df42406a..cb75da063421 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -63,10 +65,6 @@ func (m *drgattachmentnetworkdetails) UnmarshalPolymorphicJSON(data []byte) (int mm := VcnDrgAttachmentNetworkDetails{} err = json.Unmarshal(data, &mm) return mm, err - case "INTERNET": - mm := InternetDrgAttachmentNetworkDetails{} - err = json.Unmarshal(data, &mm) - return mm, err case "IPSEC_TUNNEL": mm := IpsecTunnelDrgAttachmentNetworkDetails{} err = json.Unmarshal(data, &mm) @@ -114,7 +112,6 @@ const ( DrgAttachmentNetworkDetailsTypeIpsecTunnel DrgAttachmentNetworkDetailsTypeEnum = "IPSEC_TUNNEL" DrgAttachmentNetworkDetailsTypeVirtualCircuit DrgAttachmentNetworkDetailsTypeEnum = "VIRTUAL_CIRCUIT" DrgAttachmentNetworkDetailsTypeRemotePeeringConnection DrgAttachmentNetworkDetailsTypeEnum = "REMOTE_PEERING_CONNECTION" - DrgAttachmentNetworkDetailsTypeInternet DrgAttachmentNetworkDetailsTypeEnum = "INTERNET" ) var mappingDrgAttachmentNetworkDetailsTypeEnum = map[string]DrgAttachmentNetworkDetailsTypeEnum{ @@ -122,7 +119,13 @@ var mappingDrgAttachmentNetworkDetailsTypeEnum = map[string]DrgAttachmentNetwork "IPSEC_TUNNEL": DrgAttachmentNetworkDetailsTypeIpsecTunnel, "VIRTUAL_CIRCUIT": DrgAttachmentNetworkDetailsTypeVirtualCircuit, "REMOTE_PEERING_CONNECTION": DrgAttachmentNetworkDetailsTypeRemotePeeringConnection, - "INTERNET": DrgAttachmentNetworkDetailsTypeInternet, +} + +var mappingDrgAttachmentNetworkDetailsTypeEnumLowerCase = map[string]DrgAttachmentNetworkDetailsTypeEnum{ + "vcn": DrgAttachmentNetworkDetailsTypeVcn, + "ipsec_tunnel": DrgAttachmentNetworkDetailsTypeIpsecTunnel, + "virtual_circuit": DrgAttachmentNetworkDetailsTypeVirtualCircuit, + "remote_peering_connection": DrgAttachmentNetworkDetailsTypeRemotePeeringConnection, } // GetDrgAttachmentNetworkDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkDetailsTypeEnum @@ -141,6 +144,11 @@ func GetDrgAttachmentNetworkDetailsTypeEnumStringValues() []string { "IPSEC_TUNNEL", "VIRTUAL_CIRCUIT", "REMOTE_PEERING_CONNECTION", - "INTERNET", } } + +// GetMappingDrgAttachmentNetworkDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgAttachmentNetworkDetailsTypeEnum(val string) (DrgAttachmentNetworkDetailsTypeEnum, bool) { + enum, ok := mappingDrgAttachmentNetworkDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_update_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_update_details.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_update_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_update_details.go index 606ca24a6a30..26313cbb4009 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_network_update_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_update_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -54,14 +56,6 @@ func (m *drgattachmentnetworkupdatedetails) UnmarshalPolymorphicJSON(data []byte var err error switch m.Type { - case "INTERNET": - mm := InternetDrgAttachmentNetworkUpdateDetails{} - err = json.Unmarshal(data, &mm) - return mm, err - case "VIRTUAL_CIRCUIT": - mm := VirtualCircuitDrgAttachmentNetworkUpdateDetails{} - err = json.Unmarshal(data, &mm) - return mm, err case "VCN": mm := VcnDrgAttachmentNetworkUpdateDetails{} err = json.Unmarshal(data, &mm) @@ -92,15 +86,15 @@ type DrgAttachmentNetworkUpdateDetailsTypeEnum string // Set of constants representing the allowable values for DrgAttachmentNetworkUpdateDetailsTypeEnum const ( - DrgAttachmentNetworkUpdateDetailsTypeVcn DrgAttachmentNetworkUpdateDetailsTypeEnum = "VCN" - DrgAttachmentNetworkUpdateDetailsTypeVirtualCircuit DrgAttachmentNetworkUpdateDetailsTypeEnum = "VIRTUAL_CIRCUIT" - DrgAttachmentNetworkUpdateDetailsTypeInternet DrgAttachmentNetworkUpdateDetailsTypeEnum = "INTERNET" + DrgAttachmentNetworkUpdateDetailsTypeVcn DrgAttachmentNetworkUpdateDetailsTypeEnum = "VCN" ) var mappingDrgAttachmentNetworkUpdateDetailsTypeEnum = map[string]DrgAttachmentNetworkUpdateDetailsTypeEnum{ - "VCN": DrgAttachmentNetworkUpdateDetailsTypeVcn, - "VIRTUAL_CIRCUIT": DrgAttachmentNetworkUpdateDetailsTypeVirtualCircuit, - "INTERNET": DrgAttachmentNetworkUpdateDetailsTypeInternet, + "VCN": DrgAttachmentNetworkUpdateDetailsTypeVcn, +} + +var mappingDrgAttachmentNetworkUpdateDetailsTypeEnumLowerCase = map[string]DrgAttachmentNetworkUpdateDetailsTypeEnum{ + "vcn": DrgAttachmentNetworkUpdateDetailsTypeVcn, } // GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkUpdateDetailsTypeEnum @@ -116,7 +110,11 @@ func GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues() []DrgAttachmentNetwork func GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues() []string { return []string{ "VCN", - "VIRTUAL_CIRCUIT", - "INTERNET", } } + +// GetMappingDrgAttachmentNetworkUpdateDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgAttachmentNetworkUpdateDetailsTypeEnum(val string) (DrgAttachmentNetworkUpdateDetailsTypeEnum, bool) { + enum, ok := mappingDrgAttachmentNetworkUpdateDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_type_drg_route_distribution_match_criteria.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_type_drg_route_distribution_match_criteria.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_type_drg_route_distribution_match_criteria.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_type_drg_route_distribution_match_criteria.go index d07ee4c5357d..5cafa5b96d0e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_attachment_type_drg_route_distribution_match_criteria.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_type_drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -38,7 +40,7 @@ func (m DrgAttachmentTypeDrgRouteDistributionMatchCriteria) String() string { // Not recommended for calling this function directly func (m DrgAttachmentTypeDrgRouteDistributionMatchCriteria) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum[string(m.AttachmentType)]; !ok && m.AttachmentType != "" { + if _, ok := GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum(string(m.AttachmentType)); !ok && m.AttachmentType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AttachmentType: %s. Supported values are: %s.", m.AttachmentType, strings.Join(GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues(), ","))) } @@ -80,6 +82,13 @@ var mappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum "IPSEC_TUNNEL": DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeIpsecTunnel, } +var mappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumLowerCase = map[string]DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum{ + "vcn": DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeVcn, + "virtual_circuit": DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeVirtualCircuit, + "remote_peering_connection": DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeRemotePeeringConnection, + "ipsec_tunnel": DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeIpsecTunnel, +} + // GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues Enumerates the set of values for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues() []DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum { values := make([]DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum, 0) @@ -98,3 +107,9 @@ func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStri "IPSEC_TUNNEL", } } + +// GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum(val string) (DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum, bool) { + enum, ok := mappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_redundancy_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_redundancy_status.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_redundancy_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_redundancy_status.go index c6ab0114b001..fbad380cbeac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_redundancy_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_redundancy_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -23,7 +25,7 @@ import ( // Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). type DrgRedundancyStatus struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. Id *string `mandatory:"false" json:"id"` // The redundancy status of the DRG. @@ -40,7 +42,7 @@ func (m DrgRedundancyStatus) String() string { func (m DrgRedundancyStatus) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgRedundancyStatusStatusEnum[string(m.Status)]; !ok && m.Status != "" { + if _, ok := GetMappingDrgRedundancyStatusStatusEnum(string(m.Status)); !ok && m.Status != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetDrgRedundancyStatusStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -75,6 +77,17 @@ var mappingDrgRedundancyStatusStatusEnum = map[string]DrgRedundancyStatusStatusE "NOT_REDUNDANT_NO_CONNECTION": DrgRedundancyStatusStatusNotRedundantNoConnection, } +var mappingDrgRedundancyStatusStatusEnumLowerCase = map[string]DrgRedundancyStatusStatusEnum{ + "not_available": DrgRedundancyStatusStatusNotAvailable, + "redundant": DrgRedundancyStatusStatusRedundant, + "not_redundant_single_ipsec": DrgRedundancyStatusStatusNotRedundantSingleIpsec, + "not_redundant_single_virtualcircuit": DrgRedundancyStatusStatusNotRedundantSingleVirtualcircuit, + "not_redundant_multiple_ipsecs": DrgRedundancyStatusStatusNotRedundantMultipleIpsecs, + "not_redundant_multiple_virtualcircuits": DrgRedundancyStatusStatusNotRedundantMultipleVirtualcircuits, + "not_redundant_mix_connections": DrgRedundancyStatusStatusNotRedundantMixConnections, + "not_redundant_no_connection": DrgRedundancyStatusStatusNotRedundantNoConnection, +} + // GetDrgRedundancyStatusStatusEnumValues Enumerates the set of values for DrgRedundancyStatusStatusEnum func GetDrgRedundancyStatusStatusEnumValues() []DrgRedundancyStatusStatusEnum { values := make([]DrgRedundancyStatusStatusEnum, 0) @@ -97,3 +110,9 @@ func GetDrgRedundancyStatusStatusEnumStringValues() []string { "NOT_REDUNDANT_NO_CONNECTION", } } + +// GetMappingDrgRedundancyStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRedundancyStatusStatusEnum(val string) (DrgRedundancyStatusStatusEnum, bool) { + enum, ok := mappingDrgRedundancyStatusStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution.go index 0283b573151f..0dc45713e4ec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -24,10 +26,13 @@ import ( // the statement's action to take place. Each statement determines which routes are propagated. // You can assign a route distribution as a route table's import distribution. The statements in an import // route distribution specify how how incoming route advertisements through a referenced attachment or all attachments of a certain type are inserted into the route table. -// You can assign a route distribution as a DRG attachment's export distribution. Export route distribution statements specify how routes in a -// DRG attachment's assigned table are advertised out through the attachment. When a DRG attachment is created, a route distribution is created with a -// single ACCEPT statement with match criteria MATCH_ALL. -// Exporting routes through VCN attachments is unsupported, so no VCN attachments are assigned an export distribution. +// You can assign a route distribution as a DRG attachment's export distribution unless the +// attachment has the type VCN. Exporting routes through a VCN attachment is unsupported. Export +// route distribution statements specify how routes in a DRG attachment's assigned table are +// advertised out through the attachment. When a DRG is created, a route distribution is created +// with a single ACCEPT statement with match criteria MATCH_ALL. By default, all DRG attachments +// (except for those of type VCN), are assigned this distribution. +// // The two auto-generated DRG route tables (one as the default for VCN attachments, and the other for all other types of attachments) // are each assigned an auto generated import route distribution. The default VCN table's import distribution has a single statement with match criteria MATCH_ALL to import routes from // each DRG attachment type. The other table's import distribution has a statement to import routes from attachments with the VCN type. @@ -77,10 +82,10 @@ func (m DrgRouteDistribution) String() string { // Not recommended for calling this function directly func (m DrgRouteDistribution) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgRouteDistributionLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingDrgRouteDistributionLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDrgRouteDistributionLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingDrgRouteDistributionDistributionTypeEnum[string(m.DistributionType)]; !ok && m.DistributionType != "" { + if _, ok := GetMappingDrgRouteDistributionDistributionTypeEnum(string(m.DistributionType)); !ok && m.DistributionType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DistributionType: %s. Supported values are: %s.", m.DistributionType, strings.Join(GetDrgRouteDistributionDistributionTypeEnumStringValues(), ","))) } @@ -108,6 +113,13 @@ var mappingDrgRouteDistributionLifecycleStateEnum = map[string]DrgRouteDistribut "TERMINATED": DrgRouteDistributionLifecycleStateTerminated, } +var mappingDrgRouteDistributionLifecycleStateEnumLowerCase = map[string]DrgRouteDistributionLifecycleStateEnum{ + "provisioning": DrgRouteDistributionLifecycleStateProvisioning, + "available": DrgRouteDistributionLifecycleStateAvailable, + "terminating": DrgRouteDistributionLifecycleStateTerminating, + "terminated": DrgRouteDistributionLifecycleStateTerminated, +} + // GetDrgRouteDistributionLifecycleStateEnumValues Enumerates the set of values for DrgRouteDistributionLifecycleStateEnum func GetDrgRouteDistributionLifecycleStateEnumValues() []DrgRouteDistributionLifecycleStateEnum { values := make([]DrgRouteDistributionLifecycleStateEnum, 0) @@ -127,6 +139,12 @@ func GetDrgRouteDistributionLifecycleStateEnumStringValues() []string { } } +// GetMappingDrgRouteDistributionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteDistributionLifecycleStateEnum(val string) (DrgRouteDistributionLifecycleStateEnum, bool) { + enum, ok := mappingDrgRouteDistributionLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // DrgRouteDistributionDistributionTypeEnum Enum with underlying type: string type DrgRouteDistributionDistributionTypeEnum string @@ -141,6 +159,11 @@ var mappingDrgRouteDistributionDistributionTypeEnum = map[string]DrgRouteDistrib "EXPORT": DrgRouteDistributionDistributionTypeExport, } +var mappingDrgRouteDistributionDistributionTypeEnumLowerCase = map[string]DrgRouteDistributionDistributionTypeEnum{ + "import": DrgRouteDistributionDistributionTypeImport, + "export": DrgRouteDistributionDistributionTypeExport, +} + // GetDrgRouteDistributionDistributionTypeEnumValues Enumerates the set of values for DrgRouteDistributionDistributionTypeEnum func GetDrgRouteDistributionDistributionTypeEnumValues() []DrgRouteDistributionDistributionTypeEnum { values := make([]DrgRouteDistributionDistributionTypeEnum, 0) @@ -157,3 +180,9 @@ func GetDrgRouteDistributionDistributionTypeEnumStringValues() []string { "EXPORT", } } + +// GetMappingDrgRouteDistributionDistributionTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteDistributionDistributionTypeEnum(val string) (DrgRouteDistributionDistributionTypeEnum, bool) { + enum, ok := mappingDrgRouteDistributionDistributionTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution_match_criteria.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_match_criteria.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution_match_criteria.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_match_criteria.go index f0211079aa94..08e99f24cc96 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution_match_criteria.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -104,6 +106,12 @@ var mappingDrgRouteDistributionMatchCriteriaMatchTypeEnum = map[string]DrgRouteD "MATCH_ALL": DrgRouteDistributionMatchCriteriaMatchTypeMatchAll, } +var mappingDrgRouteDistributionMatchCriteriaMatchTypeEnumLowerCase = map[string]DrgRouteDistributionMatchCriteriaMatchTypeEnum{ + "drg_attachment_type": DrgRouteDistributionMatchCriteriaMatchTypeDrgAttachmentType, + "drg_attachment_id": DrgRouteDistributionMatchCriteriaMatchTypeDrgAttachmentId, + "match_all": DrgRouteDistributionMatchCriteriaMatchTypeMatchAll, +} + // GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues Enumerates the set of values for DrgRouteDistributionMatchCriteriaMatchTypeEnum func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues() []DrgRouteDistributionMatchCriteriaMatchTypeEnum { values := make([]DrgRouteDistributionMatchCriteriaMatchTypeEnum, 0) @@ -121,3 +129,9 @@ func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues() []string { "MATCH_ALL", } } + +// GetMappingDrgRouteDistributionMatchCriteriaMatchTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteDistributionMatchCriteriaMatchTypeEnum(val string) (DrgRouteDistributionMatchCriteriaMatchTypeEnum, bool) { + enum, ok := mappingDrgRouteDistributionMatchCriteriaMatchTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution_statement.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution_statement.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go index c212ca10b55f..a728e832a5fa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_distribution_statement.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -52,7 +54,7 @@ func (m DrgRouteDistributionStatement) String() string { // Not recommended for calling this function directly func (m DrgRouteDistributionStatement) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgRouteDistributionStatementActionEnum[string(m.Action)]; !ok && m.Action != "" { + if _, ok := GetMappingDrgRouteDistributionStatementActionEnum(string(m.Action)); !ok && m.Action != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Action: %s. Supported values are: %s.", m.Action, strings.Join(GetDrgRouteDistributionStatementActionEnumStringValues(), ","))) } @@ -110,6 +112,10 @@ var mappingDrgRouteDistributionStatementActionEnum = map[string]DrgRouteDistribu "ACCEPT": DrgRouteDistributionStatementActionAccept, } +var mappingDrgRouteDistributionStatementActionEnumLowerCase = map[string]DrgRouteDistributionStatementActionEnum{ + "accept": DrgRouteDistributionStatementActionAccept, +} + // GetDrgRouteDistributionStatementActionEnumValues Enumerates the set of values for DrgRouteDistributionStatementActionEnum func GetDrgRouteDistributionStatementActionEnumValues() []DrgRouteDistributionStatementActionEnum { values := make([]DrgRouteDistributionStatementActionEnum, 0) @@ -125,3 +131,9 @@ func GetDrgRouteDistributionStatementActionEnumStringValues() []string { "ACCEPT", } } + +// GetMappingDrgRouteDistributionStatementActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteDistributionStatementActionEnum(val string) (DrgRouteDistributionStatementActionEnum, bool) { + enum, ok := mappingDrgRouteDistributionStatementActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_rule.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_rule.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_rule.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_rule.go index d1bfff888c46..17a86485056c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_rule.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -32,7 +34,7 @@ type DrgRouteRule struct { // a service gateway, this is the `cidrBlock` value associated with that Service. For example: `oci-phx-objectstorage`. Destination *string `mandatory:"true" json:"destination"` - // The type of destination for the rule. the type is required if `direction` = `EGRESS`. + // The type of destination for the rule. // Allowed values: // * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. // * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a @@ -40,7 +42,7 @@ type DrgRouteRule struct { // particular `Service` through a service gateway). DestinationType DrgRouteRuleDestinationTypeEnum `mandatory:"true" json:"destinationType"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment responsible + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment responsible // for reaching the network destination. // A value of `BLACKHOLE` means traffic for this route is discarded without notification. NextHopDrgAttachmentId *string `mandatory:"true" json:"nextHopDrgAttachmentId"` @@ -78,14 +80,14 @@ func (m DrgRouteRule) String() string { // Not recommended for calling this function directly func (m DrgRouteRule) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgRouteRuleDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingDrgRouteRuleDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetDrgRouteRuleDestinationTypeEnumStringValues(), ","))) } - if _, ok := mappingDrgRouteRuleRouteProvenanceEnum[string(m.RouteProvenance)]; !ok && m.RouteProvenance != "" { + if _, ok := GetMappingDrgRouteRuleRouteProvenanceEnum(string(m.RouteProvenance)); !ok && m.RouteProvenance != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteProvenance: %s. Supported values are: %s.", m.RouteProvenance, strings.Join(GetDrgRouteRuleRouteProvenanceEnumStringValues(), ","))) } - if _, ok := mappingDrgRouteRuleRouteTypeEnum[string(m.RouteType)]; !ok && m.RouteType != "" { + if _, ok := GetMappingDrgRouteRuleRouteTypeEnum(string(m.RouteType)); !ok && m.RouteType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", m.RouteType, strings.Join(GetDrgRouteRuleRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -108,6 +110,11 @@ var mappingDrgRouteRuleDestinationTypeEnum = map[string]DrgRouteRuleDestinationT "SERVICE_CIDR_BLOCK": DrgRouteRuleDestinationTypeServiceCidrBlock, } +var mappingDrgRouteRuleDestinationTypeEnumLowerCase = map[string]DrgRouteRuleDestinationTypeEnum{ + "cidr_block": DrgRouteRuleDestinationTypeCidrBlock, + "service_cidr_block": DrgRouteRuleDestinationTypeServiceCidrBlock, +} + // GetDrgRouteRuleDestinationTypeEnumValues Enumerates the set of values for DrgRouteRuleDestinationTypeEnum func GetDrgRouteRuleDestinationTypeEnumValues() []DrgRouteRuleDestinationTypeEnum { values := make([]DrgRouteRuleDestinationTypeEnum, 0) @@ -125,6 +132,12 @@ func GetDrgRouteRuleDestinationTypeEnumStringValues() []string { } } +// GetMappingDrgRouteRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteRuleDestinationTypeEnum(val string) (DrgRouteRuleDestinationTypeEnum, bool) { + enum, ok := mappingDrgRouteRuleDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // DrgRouteRuleRouteTypeEnum Enum with underlying type: string type DrgRouteRuleRouteTypeEnum string @@ -139,6 +152,11 @@ var mappingDrgRouteRuleRouteTypeEnum = map[string]DrgRouteRuleRouteTypeEnum{ "DYNAMIC": DrgRouteRuleRouteTypeDynamic, } +var mappingDrgRouteRuleRouteTypeEnumLowerCase = map[string]DrgRouteRuleRouteTypeEnum{ + "static": DrgRouteRuleRouteTypeStatic, + "dynamic": DrgRouteRuleRouteTypeDynamic, +} + // GetDrgRouteRuleRouteTypeEnumValues Enumerates the set of values for DrgRouteRuleRouteTypeEnum func GetDrgRouteRuleRouteTypeEnumValues() []DrgRouteRuleRouteTypeEnum { values := make([]DrgRouteRuleRouteTypeEnum, 0) @@ -156,6 +174,12 @@ func GetDrgRouteRuleRouteTypeEnumStringValues() []string { } } +// GetMappingDrgRouteRuleRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteRuleRouteTypeEnum(val string) (DrgRouteRuleRouteTypeEnum, bool) { + enum, ok := mappingDrgRouteRuleRouteTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // DrgRouteRuleRouteProvenanceEnum Enum with underlying type: string type DrgRouteRuleRouteProvenanceEnum string @@ -174,6 +198,13 @@ var mappingDrgRouteRuleRouteProvenanceEnum = map[string]DrgRouteRuleRouteProvena "IPSEC_TUNNEL": DrgRouteRuleRouteProvenanceIpsecTunnel, } +var mappingDrgRouteRuleRouteProvenanceEnumLowerCase = map[string]DrgRouteRuleRouteProvenanceEnum{ + "static": DrgRouteRuleRouteProvenanceStatic, + "vcn": DrgRouteRuleRouteProvenanceVcn, + "virtual_circuit": DrgRouteRuleRouteProvenanceVirtualCircuit, + "ipsec_tunnel": DrgRouteRuleRouteProvenanceIpsecTunnel, +} + // GetDrgRouteRuleRouteProvenanceEnumValues Enumerates the set of values for DrgRouteRuleRouteProvenanceEnum func GetDrgRouteRuleRouteProvenanceEnumValues() []DrgRouteRuleRouteProvenanceEnum { values := make([]DrgRouteRuleRouteProvenanceEnum, 0) @@ -192,3 +223,9 @@ func GetDrgRouteRuleRouteProvenanceEnumStringValues() []string { "IPSEC_TUNNEL", } } + +// GetMappingDrgRouteRuleRouteProvenanceEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteRuleRouteProvenanceEnum(val string) (DrgRouteRuleRouteProvenanceEnum, bool) { + enum, ok := mappingDrgRouteRuleRouteProvenanceEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_table.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_table.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_table.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_table.go index 52a2d938ab5d..b67d3fe23c49 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_route_table.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/drg_route_table.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -34,11 +36,11 @@ type DrgRouteTable struct { // DRG route table. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment the DRG is in. The DRG route table + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DRG is in. The DRG route table // is always in the same compartment as the DRG. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG the DRG that contains this route table. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG that contains this route table. DrgId *string `mandatory:"true" json:"drgId"` // The date and time the DRG route table was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -67,7 +69,7 @@ type DrgRouteTable 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 import route distribution used to specify how incoming route advertisements from + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements from // referenced attachments are inserted into the DRG route table. ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"` } @@ -81,7 +83,7 @@ func (m DrgRouteTable) String() string { // Not recommended for calling this function directly func (m DrgRouteTable) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingDrgRouteTableLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingDrgRouteTableLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDrgRouteTableLifecycleStateEnumStringValues(), ","))) } @@ -109,6 +111,13 @@ var mappingDrgRouteTableLifecycleStateEnum = map[string]DrgRouteTableLifecycleSt "TERMINATED": DrgRouteTableLifecycleStateTerminated, } +var mappingDrgRouteTableLifecycleStateEnumLowerCase = map[string]DrgRouteTableLifecycleStateEnum{ + "provisioning": DrgRouteTableLifecycleStateProvisioning, + "available": DrgRouteTableLifecycleStateAvailable, + "terminating": DrgRouteTableLifecycleStateTerminating, + "terminated": DrgRouteTableLifecycleStateTerminated, +} + // GetDrgRouteTableLifecycleStateEnumValues Enumerates the set of values for DrgRouteTableLifecycleStateEnum func GetDrgRouteTableLifecycleStateEnumValues() []DrgRouteTableLifecycleStateEnum { values := make([]DrgRouteTableLifecycleStateEnum, 0) @@ -127,3 +136,9 @@ func GetDrgRouteTableLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingDrgRouteTableLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgRouteTableLifecycleStateEnum(val string) (DrgRouteTableLifecycleStateEnum, bool) { + enum, ok := mappingDrgRouteTableLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/egress_security_rule.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/egress_security_rule.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/egress_security_rule.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/egress_security_rule.go index a162a0438a6d..cd50eca1e026 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/egress_security_rule.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/egress_security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -74,7 +76,7 @@ func (m EgressSecurityRule) String() string { func (m EgressSecurityRule) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingEgressSecurityRuleDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingEgressSecurityRuleDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetEgressSecurityRuleDestinationTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -97,6 +99,11 @@ var mappingEgressSecurityRuleDestinationTypeEnum = map[string]EgressSecurityRule "SERVICE_CIDR_BLOCK": EgressSecurityRuleDestinationTypeServiceCidrBlock, } +var mappingEgressSecurityRuleDestinationTypeEnumLowerCase = map[string]EgressSecurityRuleDestinationTypeEnum{ + "cidr_block": EgressSecurityRuleDestinationTypeCidrBlock, + "service_cidr_block": EgressSecurityRuleDestinationTypeServiceCidrBlock, +} + // GetEgressSecurityRuleDestinationTypeEnumValues Enumerates the set of values for EgressSecurityRuleDestinationTypeEnum func GetEgressSecurityRuleDestinationTypeEnumValues() []EgressSecurityRuleDestinationTypeEnum { values := make([]EgressSecurityRuleDestinationTypeEnum, 0) @@ -113,3 +120,9 @@ func GetEgressSecurityRuleDestinationTypeEnumStringValues() []string { "SERVICE_CIDR_BLOCK", } } + +// GetMappingEgressSecurityRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingEgressSecurityRuleDestinationTypeEnum(val string) (EgressSecurityRuleDestinationTypeEnum, bool) { + enum, ok := mappingEgressSecurityRuleDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/emulated_volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/emulated_volume_attachment.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/emulated_volume_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/emulated_volume_attachment.go index c855a227f86c..9dd2b82e724b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/emulated_volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/emulated_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -153,10 +155,10 @@ func (m EmulatedVolumeAttachment) String() string { func (m EmulatedVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeAttachmentLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVolumeAttachmentIscsiLoginStateEnum[string(m.IscsiLoginState)]; !ok && m.IscsiLoginState != "" { + if _, ok := GetMappingVolumeAttachmentIscsiLoginStateEnum(string(m.IscsiLoginState)); !ok && m.IscsiLoginState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetVolumeAttachmentIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/encryption_domain_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/encryption_domain_config.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/encryption_domain_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/encryption_domain_config.go index 080f0ed2a140..7464fb9a657e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/encryption_domain_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/encryption_domain_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/encryption_in_transit_type.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/encryption_in_transit_type.go similarity index 71% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/encryption_in_transit_type.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/encryption_in_transit_type.go index c2740b2c8aad..ecda1a1a9c44 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/encryption_in_transit_type.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/encryption_in_transit_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,10 +9,16 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core +import ( + "strings" +) + // EncryptionInTransitTypeEnum Enum with underlying type: string type EncryptionInTransitTypeEnum string @@ -27,6 +33,11 @@ var mappingEncryptionInTransitTypeEnum = map[string]EncryptionInTransitTypeEnum{ "BM_ENCRYPTION_IN_TRANSIT": EncryptionInTransitTypeBmEncryptionInTransit, } +var mappingEncryptionInTransitTypeEnumLowerCase = map[string]EncryptionInTransitTypeEnum{ + "none": EncryptionInTransitTypeNone, + "bm_encryption_in_transit": EncryptionInTransitTypeBmEncryptionInTransit, +} + // GetEncryptionInTransitTypeEnumValues Enumerates the set of values for EncryptionInTransitTypeEnum func GetEncryptionInTransitTypeEnumValues() []EncryptionInTransitTypeEnum { values := make([]EncryptionInTransitTypeEnum, 0) @@ -43,3 +54,9 @@ func GetEncryptionInTransitTypeEnumStringValues() []string { "BM_ENCRYPTION_IN_TRANSIT", } } + +// GetMappingEncryptionInTransitTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingEncryptionInTransitTypeEnum(val string) (EncryptionInTransitTypeEnum, bool) { + enum, ok := mappingEncryptionInTransitTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enum_integer_image_capability_descriptor.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/enum_integer_image_capability_descriptor.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enum_integer_image_capability_descriptor.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/enum_integer_image_capability_descriptor.go index d11d20d734a3..d6e076e367f7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enum_integer_image_capability_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/enum_integer_image_capability_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -47,7 +49,7 @@ func (m EnumIntegerImageCapabilityDescriptor) String() string { func (m EnumIntegerImageCapabilityDescriptor) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageCapabilitySchemaDescriptorSourceEnum[string(m.Source)]; !ok && m.Source != "" { + if _, ok := GetMappingImageCapabilitySchemaDescriptorSourceEnum(string(m.Source)); !ok && m.Source != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Source: %s. Supported values are: %s.", m.Source, strings.Join(GetImageCapabilitySchemaDescriptorSourceEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enum_string_image_capability_schema_descriptor.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/enum_string_image_capability_schema_descriptor.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enum_string_image_capability_schema_descriptor.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/enum_string_image_capability_schema_descriptor.go index 38182a7e1ec9..82d2e284a80f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/enum_string_image_capability_schema_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/enum_string_image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -47,7 +49,7 @@ func (m EnumStringImageCapabilitySchemaDescriptor) String() string { func (m EnumStringImageCapabilitySchemaDescriptor) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageCapabilitySchemaDescriptorSourceEnum[string(m.Source)]; !ok && m.Source != "" { + if _, ok := GetMappingImageCapabilitySchemaDescriptorSourceEnum(string(m.Source)); !ok && m.Source != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Source: %s. Supported values are: %s.", m.Source, strings.Join(GetImageCapabilitySchemaDescriptorSourceEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go index 627bbfb7f919..d9e4e5b1222f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -100,7 +102,7 @@ func (m exportimagedetails) String() string { func (m exportimagedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingExportImageDetailsExportFormatEnum[string(m.ExportFormat)]; !ok && m.ExportFormat != "" { + if _, ok := GetMappingExportImageDetailsExportFormatEnum(string(m.ExportFormat)); !ok && m.ExportFormat != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExportFormat: %s. Supported values are: %s.", m.ExportFormat, strings.Join(GetExportImageDetailsExportFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -129,6 +131,14 @@ var mappingExportImageDetailsExportFormatEnum = map[string]ExportImageDetailsExp "VDI": ExportImageDetailsExportFormatVdi, } +var mappingExportImageDetailsExportFormatEnumLowerCase = 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) @@ -148,3 +158,9 @@ func GetExportImageDetailsExportFormatEnumStringValues() []string { "VDI", } } + +// GetMappingExportImageDetailsExportFormatEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExportImageDetailsExportFormatEnum(val string) (ExportImageDetailsExportFormatEnum, bool) { + enum, ok := mappingExportImageDetailsExportFormatEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_request_response.go index 623a99b1a992..aa2120ebcafd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -94,7 +98,8 @@ type ExportImageResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_via_object_storage_tuple_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_tuple_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_via_object_storage_tuple_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_tuple_details.go index 935a82d1bdce..79ac7585f379 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_via_object_storage_tuple_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_tuple_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -58,7 +60,7 @@ func (m ExportImageViaObjectStorageTupleDetails) String() string { func (m ExportImageViaObjectStorageTupleDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingExportImageDetailsExportFormatEnum[string(m.ExportFormat)]; !ok && m.ExportFormat != "" { + if _, ok := GetMappingExportImageDetailsExportFormatEnum(string(m.ExportFormat)); !ok && m.ExportFormat != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExportFormat: %s. Supported values are: %s.", m.ExportFormat, strings.Join(GetExportImageDetailsExportFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_via_object_storage_uri_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_uri_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_via_object_storage_uri_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_uri_details.go index 1b53c62edb45..3bdb16436508 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/export_image_via_object_storage_uri_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_uri_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -55,7 +57,7 @@ func (m ExportImageViaObjectStorageUriDetails) String() string { func (m ExportImageViaObjectStorageUriDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingExportImageDetailsExportFormatEnum[string(m.ExportFormat)]; !ok && m.ExportFormat != "" { + if _, ok := GetMappingExportImageDetailsExportFormatEnum(string(m.ExportFormat)); !ok && m.ExportFormat != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExportFormat: %s. Supported values are: %s.", m.ExportFormat, strings.Join(GetExportImageDetailsExportFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/fast_connect_provider_service.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service.go similarity index 73% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/fast_connect_provider_service.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service.go index 3d25ff4f8981..2381cf74d4bd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/fast_connect_provider_service.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -73,27 +75,27 @@ func (m FastConnectProviderService) String() string { // Not recommended for calling this function directly func (m FastConnectProviderService) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingFastConnectProviderServicePrivatePeeringBgpManagementEnum[string(m.PrivatePeeringBgpManagement)]; !ok && m.PrivatePeeringBgpManagement != "" { + if _, ok := GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum(string(m.PrivatePeeringBgpManagement)); !ok && m.PrivatePeeringBgpManagement != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PrivatePeeringBgpManagement: %s. Supported values are: %s.", m.PrivatePeeringBgpManagement, strings.Join(GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues(), ","))) } - if _, ok := mappingFastConnectProviderServicePublicPeeringBgpManagementEnum[string(m.PublicPeeringBgpManagement)]; !ok && m.PublicPeeringBgpManagement != "" { + if _, ok := GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum(string(m.PublicPeeringBgpManagement)); !ok && m.PublicPeeringBgpManagement != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PublicPeeringBgpManagement: %s. Supported values are: %s.", m.PublicPeeringBgpManagement, strings.Join(GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues(), ","))) } - if _, ok := mappingFastConnectProviderServiceCustomerAsnManagementEnum[string(m.CustomerAsnManagement)]; !ok && m.CustomerAsnManagement != "" { + if _, ok := GetMappingFastConnectProviderServiceCustomerAsnManagementEnum(string(m.CustomerAsnManagement)); !ok && m.CustomerAsnManagement != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CustomerAsnManagement: %s. Supported values are: %s.", m.CustomerAsnManagement, strings.Join(GetFastConnectProviderServiceCustomerAsnManagementEnumStringValues(), ","))) } - if _, ok := mappingFastConnectProviderServiceProviderServiceKeyManagementEnum[string(m.ProviderServiceKeyManagement)]; !ok && m.ProviderServiceKeyManagement != "" { + if _, ok := GetMappingFastConnectProviderServiceProviderServiceKeyManagementEnum(string(m.ProviderServiceKeyManagement)); !ok && m.ProviderServiceKeyManagement != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ProviderServiceKeyManagement: %s. Supported values are: %s.", m.ProviderServiceKeyManagement, strings.Join(GetFastConnectProviderServiceProviderServiceKeyManagementEnumStringValues(), ","))) } - if _, ok := mappingFastConnectProviderServiceBandwithShapeManagementEnum[string(m.BandwithShapeManagement)]; !ok && m.BandwithShapeManagement != "" { + if _, ok := GetMappingFastConnectProviderServiceBandwithShapeManagementEnum(string(m.BandwithShapeManagement)); !ok && m.BandwithShapeManagement != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BandwithShapeManagement: %s. Supported values are: %s.", m.BandwithShapeManagement, strings.Join(GetFastConnectProviderServiceBandwithShapeManagementEnumStringValues(), ","))) } - if _, ok := mappingFastConnectProviderServiceTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingFastConnectProviderServiceTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetFastConnectProviderServiceTypeEnumStringValues(), ","))) } for _, val := range m.SupportedVirtualCircuitTypes { - if _, ok := mappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SupportedVirtualCircuitTypes: %s. Supported values are: %s.", val, strings.Join(GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues(), ","))) } } @@ -120,6 +122,12 @@ var mappingFastConnectProviderServicePrivatePeeringBgpManagementEnum = map[strin "ORACLE_MANAGED": FastConnectProviderServicePrivatePeeringBgpManagementOracleManaged, } +var mappingFastConnectProviderServicePrivatePeeringBgpManagementEnumLowerCase = map[string]FastConnectProviderServicePrivatePeeringBgpManagementEnum{ + "customer_managed": FastConnectProviderServicePrivatePeeringBgpManagementCustomerManaged, + "provider_managed": FastConnectProviderServicePrivatePeeringBgpManagementProviderManaged, + "oracle_managed": FastConnectProviderServicePrivatePeeringBgpManagementOracleManaged, +} + // GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues Enumerates the set of values for FastConnectProviderServicePrivatePeeringBgpManagementEnum func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues() []FastConnectProviderServicePrivatePeeringBgpManagementEnum { values := make([]FastConnectProviderServicePrivatePeeringBgpManagementEnum, 0) @@ -138,6 +146,12 @@ func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues() } } +// GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum(val string) (FastConnectProviderServicePrivatePeeringBgpManagementEnum, bool) { + enum, ok := mappingFastConnectProviderServicePrivatePeeringBgpManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // FastConnectProviderServicePublicPeeringBgpManagementEnum Enum with underlying type: string type FastConnectProviderServicePublicPeeringBgpManagementEnum string @@ -154,6 +168,12 @@ var mappingFastConnectProviderServicePublicPeeringBgpManagementEnum = map[string "ORACLE_MANAGED": FastConnectProviderServicePublicPeeringBgpManagementOracleManaged, } +var mappingFastConnectProviderServicePublicPeeringBgpManagementEnumLowerCase = map[string]FastConnectProviderServicePublicPeeringBgpManagementEnum{ + "customer_managed": FastConnectProviderServicePublicPeeringBgpManagementCustomerManaged, + "provider_managed": FastConnectProviderServicePublicPeeringBgpManagementProviderManaged, + "oracle_managed": FastConnectProviderServicePublicPeeringBgpManagementOracleManaged, +} + // GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues Enumerates the set of values for FastConnectProviderServicePublicPeeringBgpManagementEnum func GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues() []FastConnectProviderServicePublicPeeringBgpManagementEnum { values := make([]FastConnectProviderServicePublicPeeringBgpManagementEnum, 0) @@ -172,6 +192,12 @@ func GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues() [ } } +// GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum(val string) (FastConnectProviderServicePublicPeeringBgpManagementEnum, bool) { + enum, ok := mappingFastConnectProviderServicePublicPeeringBgpManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // FastConnectProviderServiceSupportedVirtualCircuitTypesEnum Enum with underlying type: string type FastConnectProviderServiceSupportedVirtualCircuitTypesEnum string @@ -186,6 +212,11 @@ var mappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum = map[stri "PRIVATE": FastConnectProviderServiceSupportedVirtualCircuitTypesPrivate, } +var mappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnumLowerCase = map[string]FastConnectProviderServiceSupportedVirtualCircuitTypesEnum{ + "public": FastConnectProviderServiceSupportedVirtualCircuitTypesPublic, + "private": FastConnectProviderServiceSupportedVirtualCircuitTypesPrivate, +} + // GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues Enumerates the set of values for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues() []FastConnectProviderServiceSupportedVirtualCircuitTypesEnum { values := make([]FastConnectProviderServiceSupportedVirtualCircuitTypesEnum, 0) @@ -203,6 +234,12 @@ func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues() } } +// GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum(val string) (FastConnectProviderServiceSupportedVirtualCircuitTypesEnum, bool) { + enum, ok := mappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // FastConnectProviderServiceCustomerAsnManagementEnum Enum with underlying type: string type FastConnectProviderServiceCustomerAsnManagementEnum string @@ -219,6 +256,12 @@ var mappingFastConnectProviderServiceCustomerAsnManagementEnum = map[string]Fast "ORACLE_MANAGED": FastConnectProviderServiceCustomerAsnManagementOracleManaged, } +var mappingFastConnectProviderServiceCustomerAsnManagementEnumLowerCase = map[string]FastConnectProviderServiceCustomerAsnManagementEnum{ + "customer_managed": FastConnectProviderServiceCustomerAsnManagementCustomerManaged, + "provider_managed": FastConnectProviderServiceCustomerAsnManagementProviderManaged, + "oracle_managed": FastConnectProviderServiceCustomerAsnManagementOracleManaged, +} + // GetFastConnectProviderServiceCustomerAsnManagementEnumValues Enumerates the set of values for FastConnectProviderServiceCustomerAsnManagementEnum func GetFastConnectProviderServiceCustomerAsnManagementEnumValues() []FastConnectProviderServiceCustomerAsnManagementEnum { values := make([]FastConnectProviderServiceCustomerAsnManagementEnum, 0) @@ -237,6 +280,12 @@ func GetFastConnectProviderServiceCustomerAsnManagementEnumStringValues() []stri } } +// GetMappingFastConnectProviderServiceCustomerAsnManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFastConnectProviderServiceCustomerAsnManagementEnum(val string) (FastConnectProviderServiceCustomerAsnManagementEnum, bool) { + enum, ok := mappingFastConnectProviderServiceCustomerAsnManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // FastConnectProviderServiceProviderServiceKeyManagementEnum Enum with underlying type: string type FastConnectProviderServiceProviderServiceKeyManagementEnum string @@ -253,6 +302,12 @@ var mappingFastConnectProviderServiceProviderServiceKeyManagementEnum = map[stri "ORACLE_MANAGED": FastConnectProviderServiceProviderServiceKeyManagementOracleManaged, } +var mappingFastConnectProviderServiceProviderServiceKeyManagementEnumLowerCase = map[string]FastConnectProviderServiceProviderServiceKeyManagementEnum{ + "customer_managed": FastConnectProviderServiceProviderServiceKeyManagementCustomerManaged, + "provider_managed": FastConnectProviderServiceProviderServiceKeyManagementProviderManaged, + "oracle_managed": FastConnectProviderServiceProviderServiceKeyManagementOracleManaged, +} + // GetFastConnectProviderServiceProviderServiceKeyManagementEnumValues Enumerates the set of values for FastConnectProviderServiceProviderServiceKeyManagementEnum func GetFastConnectProviderServiceProviderServiceKeyManagementEnumValues() []FastConnectProviderServiceProviderServiceKeyManagementEnum { values := make([]FastConnectProviderServiceProviderServiceKeyManagementEnum, 0) @@ -271,6 +326,12 @@ func GetFastConnectProviderServiceProviderServiceKeyManagementEnumStringValues() } } +// GetMappingFastConnectProviderServiceProviderServiceKeyManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFastConnectProviderServiceProviderServiceKeyManagementEnum(val string) (FastConnectProviderServiceProviderServiceKeyManagementEnum, bool) { + enum, ok := mappingFastConnectProviderServiceProviderServiceKeyManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // FastConnectProviderServiceBandwithShapeManagementEnum Enum with underlying type: string type FastConnectProviderServiceBandwithShapeManagementEnum string @@ -287,6 +348,12 @@ var mappingFastConnectProviderServiceBandwithShapeManagementEnum = map[string]Fa "ORACLE_MANAGED": FastConnectProviderServiceBandwithShapeManagementOracleManaged, } +var mappingFastConnectProviderServiceBandwithShapeManagementEnumLowerCase = map[string]FastConnectProviderServiceBandwithShapeManagementEnum{ + "customer_managed": FastConnectProviderServiceBandwithShapeManagementCustomerManaged, + "provider_managed": FastConnectProviderServiceBandwithShapeManagementProviderManaged, + "oracle_managed": FastConnectProviderServiceBandwithShapeManagementOracleManaged, +} + // GetFastConnectProviderServiceBandwithShapeManagementEnumValues Enumerates the set of values for FastConnectProviderServiceBandwithShapeManagementEnum func GetFastConnectProviderServiceBandwithShapeManagementEnumValues() []FastConnectProviderServiceBandwithShapeManagementEnum { values := make([]FastConnectProviderServiceBandwithShapeManagementEnum, 0) @@ -305,6 +372,12 @@ func GetFastConnectProviderServiceBandwithShapeManagementEnumStringValues() []st } } +// GetMappingFastConnectProviderServiceBandwithShapeManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFastConnectProviderServiceBandwithShapeManagementEnum(val string) (FastConnectProviderServiceBandwithShapeManagementEnum, bool) { + enum, ok := mappingFastConnectProviderServiceBandwithShapeManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // FastConnectProviderServiceTypeEnum Enum with underlying type: string type FastConnectProviderServiceTypeEnum string @@ -319,6 +392,11 @@ var mappingFastConnectProviderServiceTypeEnum = map[string]FastConnectProviderSe "LAYER3": FastConnectProviderServiceTypeLayer3, } +var mappingFastConnectProviderServiceTypeEnumLowerCase = map[string]FastConnectProviderServiceTypeEnum{ + "layer2": FastConnectProviderServiceTypeLayer2, + "layer3": FastConnectProviderServiceTypeLayer3, +} + // GetFastConnectProviderServiceTypeEnumValues Enumerates the set of values for FastConnectProviderServiceTypeEnum func GetFastConnectProviderServiceTypeEnumValues() []FastConnectProviderServiceTypeEnum { values := make([]FastConnectProviderServiceTypeEnum, 0) @@ -335,3 +413,9 @@ func GetFastConnectProviderServiceTypeEnumStringValues() []string { "LAYER3", } } + +// GetMappingFastConnectProviderServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFastConnectProviderServiceTypeEnum(val string) (FastConnectProviderServiceTypeEnum, bool) { + enum, ok := mappingFastConnectProviderServiceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/fast_connect_provider_service_key.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service_key.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/fast_connect_provider_service_key.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service_key.go index f4f8e659a355..2d38554cae3b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/fast_connect_provider_service_key.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_all_drg_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_all_drg_attachments_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_all_drg_attachments_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_all_drg_attachments_request_response.go index 839b691d63b4..b9fbc5882fb3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_all_drg_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_all_drg_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetAllDrgAttachmentsRequest wrapper for the GetAllDrgAttachments operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachmentsRequest. type GetAllDrgAttachmentsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. @@ -74,7 +78,7 @@ func (request GetAllDrgAttachmentsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request GetAllDrgAttachmentsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingGetAllDrgAttachmentsAttachmentTypeEnum[string(request.AttachmentType)]; !ok && request.AttachmentType != "" { + if _, ok := GetMappingGetAllDrgAttachmentsAttachmentTypeEnum(string(request.AttachmentType)); !ok && request.AttachmentType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AttachmentType: %s. Supported values are: %s.", request.AttachmentType, strings.Join(GetGetAllDrgAttachmentsAttachmentTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -131,6 +135,14 @@ var mappingGetAllDrgAttachmentsAttachmentTypeEnum = map[string]GetAllDrgAttachme "ALL": GetAllDrgAttachmentsAttachmentTypeAll, } +var mappingGetAllDrgAttachmentsAttachmentTypeEnumLowerCase = map[string]GetAllDrgAttachmentsAttachmentTypeEnum{ + "vcn": GetAllDrgAttachmentsAttachmentTypeVcn, + "virtual_circuit": GetAllDrgAttachmentsAttachmentTypeVirtualCircuit, + "remote_peering_connection": GetAllDrgAttachmentsAttachmentTypeRemotePeeringConnection, + "ipsec_tunnel": GetAllDrgAttachmentsAttachmentTypeIpsecTunnel, + "all": GetAllDrgAttachmentsAttachmentTypeAll, +} + // GetGetAllDrgAttachmentsAttachmentTypeEnumValues Enumerates the set of values for GetAllDrgAttachmentsAttachmentTypeEnum func GetGetAllDrgAttachmentsAttachmentTypeEnumValues() []GetAllDrgAttachmentsAttachmentTypeEnum { values := make([]GetAllDrgAttachmentsAttachmentTypeEnum, 0) @@ -150,3 +162,9 @@ func GetGetAllDrgAttachmentsAttachmentTypeEnumStringValues() []string { "ALL", } } + +// GetMappingGetAllDrgAttachmentsAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingGetAllDrgAttachmentsAttachmentTypeEnum(val string) (GetAllDrgAttachmentsAttachmentTypeEnum, bool) { + enum, ok := mappingGetAllDrgAttachmentsAttachmentTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_allowed_ike_i_p_sec_parameters_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_allowed_ike_i_p_sec_parameters_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_allowed_ike_i_p_sec_parameters_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_allowed_ike_i_p_sec_parameters_request_response.go index 8ec30814790f..b4831f635eac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_allowed_ike_i_p_sec_parameters_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_allowed_ike_i_p_sec_parameters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetAllowedIkeIPSecParametersRequest wrapper for the GetAllowedIkeIPSecParameters operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParametersRequest. type GetAllowedIkeIPSecParametersRequest struct { // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_agreements_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_agreements_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_agreements_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_agreements_request_response.go index b57cb48beb28..0ce2410e0ec8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_agreements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_agreements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_request_response.go index 4ad27cff4883..a1a72ef7b67a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_resource_version_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_resource_version_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_resource_version_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_resource_version_request_response.go index 4dd262dfb2bf..2a9e468df0ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_app_catalog_listing_resource_version_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_resource_version_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_block_volume_replica_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_block_volume_replica_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_block_volume_replica_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_block_volume_replica_request_response.go index 14e2397a1ef7..6604e976e6e5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_block_volume_replica_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_block_volume_replica_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetBlockVolumeReplicaRequest wrapper for the GetBlockVolumeReplica operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplicaRequest. type GetBlockVolumeReplicaRequest struct { // The OCID of the block volume replica. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_attachment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_attachment_request_response.go index 27f85e86a219..8c3939778e45 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_backup_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_backup_request_response.go index e5aca60242dc..034cac7dfe61 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_kms_key_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_kms_key_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_kms_key_request_response.go index 11d3b354617e..e5333a6d2784 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_replica_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_replica_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_replica_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_replica_request_response.go index a7575220ce60..8047067de95d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_replica_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_replica_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetBootVolumeReplicaRequest wrapper for the GetBootVolumeReplica operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplicaRequest. type GetBootVolumeReplicaRequest struct { // The OCID of the boot volume replica. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_request_response.go index 1e038dfb7b5c..fdc40e53dd52 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_byoip_range_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_byoip_range_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_byoip_range_request_response.go index 0f4bcdae5064..468b7c751aa3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_capture_filter_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_capture_filter_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_capture_filter_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_capture_filter_request_response.go index 20132a0703ec..01400b4dc927 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_capture_filter_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetCaptureFilterRequest wrapper for the GetCaptureFilter operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilterRequest. type GetCaptureFilterRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cluster_network_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cluster_network_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cluster_network_request_response.go index 4f86b5a367fb..a719f045e697 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_reservation_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_capacity_reservation_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_reservation_request_response.go index 06b6de9c7869..e2de703cebc4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetComputeCapacityReservationRequest wrapper for the GetComputeCapacityReservation operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservationRequest. type GetComputeCapacityReservationRequest struct { // The OCID of the compute capacity reservation. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_cluster_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_cluster_request_response.go index 874f440654db..fd28b6ee58f7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetComputeClusterRequest wrapper for the GetComputeCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCluster.go.html to see an example of how to use GetComputeClusterRequest. type GetComputeClusterRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_global_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_global_image_capability_schema_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_request_response.go index cbb0938d2db2..36a26b424d98 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_global_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_global_image_capability_schema_version_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_version_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_global_image_capability_schema_version_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_version_request_response.go index 0c24511d9519..5ad4e34f7433 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_global_image_capability_schema_version_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_version_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_image_capability_schema_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_image_capability_schema_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_image_capability_schema_request_response.go index 81d6d4b13f1f..63a6987554ce 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_console_history_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_console_history_content_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_console_history_content_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_console_history_content_request_response.go index ece753c18346..77e0e43b0646 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_console_history_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_console_history_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_console_history_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_console_history_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_console_history_request_response.go index 4e7b98d1574d..d3cda4aeb61f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_device_config_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_config_content_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_device_config_content_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_config_content_request_response.go index 008042f65674..ca92f2eadbb4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_device_config_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_config_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,15 +7,19 @@ package core import ( "fmt" "io" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_device_shape_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_shape_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_device_shape_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_shape_request_response.go index a2756538d6d6..0fef7ad3dbd3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_device_shape_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_shape_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_request_response.go index e5dc7bceb12e..47c49dd50d91 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_group_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_group_request_response.go index 7a5982d21e35..db16ba2b05bb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_letter_of_authority_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_letter_of_authority_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_letter_of_authority_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_letter_of_authority_request_response.go index e889542bdced..73d001eac19f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_letter_of_authority_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_letter_of_authority_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_request_response.go index b269cc731f8e..c1cb110064db 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_status_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_status_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_status_request_response.go index 38c87f473ca7..d4dad4b7546f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_cross_connect_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_dedicated_vm_host_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dedicated_vm_host_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_dedicated_vm_host_request_response.go index af18f86f21aa..d7f3653f82ad 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_dhcp_options_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dhcp_options_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_dhcp_options_request_response.go index bac82fb419e3..a39887b7d819 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_attachment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_attachment_request_response.go index 74e48c1dc5c4..d7d3599a8327 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_redundancy_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_redundancy_status_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_redundancy_status_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_redundancy_status_request_response.go index 9e4ad63a631d..023f5e9b3c4a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_redundancy_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_redundancy_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_request_response.go index 5592238e171c..8c859c3dac0f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_distribution_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_route_distribution_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_distribution_request_response.go index 9216b735390e..f6286d66d053 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetDrgRouteDistributionRequest wrapper for the GetDrgRouteDistribution operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistributionRequest. type GetDrgRouteDistributionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_table_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_table_request_response.go index b09e2f6c1dd8..b809d2bfe18c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetDrgRouteTableRequest wrapper for the GetDrgRouteTable operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTableRequest. type GetDrgRouteTableRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_fast_connect_provider_service_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_key_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_fast_connect_provider_service_key_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_key_request_response.go index dd7c8858f602..ed70c7e809b6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_fast_connect_provider_service_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the provider service. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"` // The provider service key that the provider gives you when you set up a virtual circuit connection diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_fast_connect_provider_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_fast_connect_provider_service_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_request_response.go index 0aecdc70d2b1..a6c57316caee 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_fast_connect_provider_service_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the provider service. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_device_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_config_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_device_config_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_config_request_response.go index 869dea243504..51f5ad5065ce 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_device_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_device_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_status_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_device_status_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_status_request_response.go index 6eab9f0706ef..76e44f8e8e91 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_device_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_request_response.go index 20eac764883e..a62ee55390a0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_error_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_error_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_error_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_error_request_response.go index f5697ca8230c..1a48b03ddbfe 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_error_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_error_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetIPSecConnectionTunnelErrorRequest wrapper for the GetIPSecConnectionTunnelError operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelErrorRequest. type GetIPSecConnectionTunnelErrorRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_request_response.go index 64d6dc5ab9c4..7c605876f47a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go index eb61c337a4e4..601d8e48db3b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_image_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_image_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_image_request_response.go index 7cf7befd5a1b..0d60cff38b0c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_image_shape_compatibility_entry_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_image_shape_compatibility_entry_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_image_shape_compatibility_entry_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_image_shape_compatibility_entry_request_response.go index e03ee37367f3..9fdf2b9e0db2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_image_shape_compatibility_entry_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_image_shape_compatibility_entry_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_configuration_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_configuration_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_configuration_request_response.go index 08ae6d202aaf..d1210d4ea4d9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_console_connection_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_console_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_console_connection_request_response.go index 21a4144188f4..e268307862f2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_screenshot_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_reboot_request_response.go similarity index 67% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_screenshot_content_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_reboot_request_response.go index 5495ea70d2cd..560162077c5d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_screenshot_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_reboot_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,22 +6,22 @@ package core import ( "fmt" - "io" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// GetInstanceScreenshotContentRequest wrapper for the GetInstanceScreenshotContent operation -type GetInstanceScreenshotContentRequest struct { +// GetInstanceMaintenanceRebootRequest wrapper for the GetInstanceMaintenanceReboot operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceReboot.go.html to see an example of how to use GetInstanceMaintenanceRebootRequest. +type GetInstanceMaintenanceRebootRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` - // The OCID of the screenshot capture. - InstanceScreenshotId *string `mandatory:"true" contributesTo:"path" name:"instanceScreenshotId"` - - // Unique Oracle-assigned identifier for the request. + // 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"` @@ -30,12 +30,12 @@ type GetInstanceScreenshotContentRequest struct { RequestMetadata common.RequestMetadata } -func (request GetInstanceScreenshotContentRequest) String() string { +func (request GetInstanceMaintenanceRebootRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request GetInstanceScreenshotContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request GetInstanceMaintenanceRebootRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -45,21 +45,21 @@ func (request GetInstanceScreenshotContentRequest) HTTPRequest(method, path stri } // BinaryRequestBody implements the OCIRequest interface -func (request GetInstanceScreenshotContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request GetInstanceMaintenanceRebootRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetInstanceScreenshotContentRequest) RetryPolicy() *common.RetryPolicy { +func (request GetInstanceMaintenanceRebootRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request GetInstanceScreenshotContentRequest) ValidateEnumValue() (bool, error) { +func (request GetInstanceMaintenanceRebootRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -67,25 +67,25 @@ func (request GetInstanceScreenshotContentRequest) ValidateEnumValue() (bool, er return false, nil } -// GetInstanceScreenshotContentResponse wrapper for the GetInstanceScreenshotContent operation -type GetInstanceScreenshotContentResponse struct { +// GetInstanceMaintenanceRebootResponse wrapper for the GetInstanceMaintenanceReboot operation +type GetInstanceMaintenanceRebootResponse struct { // The underlying http response RawResponse *http.Response - // The io.ReadCloser instance - Content io.ReadCloser `presentIn:"body" encoding:"binary"` + // The InstanceMaintenanceReboot instance + InstanceMaintenanceReboot `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"` } -func (response GetInstanceScreenshotContentResponse) String() string { +func (response GetInstanceMaintenanceRebootResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response GetInstanceScreenshotContentResponse) HTTPResponse() *http.Response { +func (response GetInstanceMaintenanceRebootResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_instance_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_instance_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_instance_request_response.go index a60014632e67..3736efd648fe 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_load_balancer_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_load_balancer_attachment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_load_balancer_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_load_balancer_attachment_request_response.go index cf727d51cf2d..1351322e9b38 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_load_balancer_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_load_balancer_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_request_response.go index 08b6e3110725..e329cb90d5df 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_request_response.go index 1d931d035931..60837ad623ad 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_internet_gateway_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internet_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_internet_gateway_request_response.go index bb413a63ece5..29af9acbee21 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_ipsec_cpe_device_config_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_ipsec_cpe_device_config_content_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_ipsec_cpe_device_config_content_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_ipsec_cpe_device_config_content_request_response.go index 199e37873ccb..6aef3ee90c27 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_ipsec_cpe_device_config_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_ipsec_cpe_device_config_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,15 +7,19 @@ package core import ( "fmt" "io" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_ipv6_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_ipv6_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_ipv6_request_response.go index cc0e007903ce..a196bccbe95a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_local_peering_gateway_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_local_peering_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_local_peering_gateway_request_response.go index 15cf2a60a87f..310425ee96ab 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_measured_boot_report_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_measured_boot_report_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_measured_boot_report_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_measured_boot_report_request_response.go index e8c62d2b65c5..dec37d6d3f0a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_measured_boot_report_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_measured_boot_report_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetMeasuredBootReportRequest wrapper for the GetMeasuredBootReport operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetMeasuredBootReport.go.html to see an example of how to use GetMeasuredBootReportRequest. type GetMeasuredBootReportRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_nat_gateway_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_nat_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_nat_gateway_request_response.go index 38bebda13575..81cb4f828577 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_network_security_group_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_network_security_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_network_security_group_request_response.go index a5a4d7d06b0b..be1cdaff61a0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_networking_topology_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_networking_topology_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_networking_topology_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_networking_topology_request_response.go index 1699f125625e..35b2d3f267f4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_networking_topology_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_networking_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetNetworkingTopologyRequest wrapper for the GetNetworkingTopology operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopologyRequest. type GetNetworkingTopologyRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -82,7 +86,7 @@ func (request GetNetworkingTopologyRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request GetNetworkingTopologyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingGetNetworkingTopologyAccessLevelEnum[string(request.AccessLevel)]; !ok && request.AccessLevel != "" { + if _, ok := GetMappingGetNetworkingTopologyAccessLevelEnum(string(request.AccessLevel)); !ok && request.AccessLevel != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AccessLevel: %s. Supported values are: %s.", request.AccessLevel, strings.Join(GetGetNetworkingTopologyAccessLevelEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -131,6 +135,11 @@ var mappingGetNetworkingTopologyAccessLevelEnum = map[string]GetNetworkingTopolo "ACCESSIBLE": GetNetworkingTopologyAccessLevelAccessible, } +var mappingGetNetworkingTopologyAccessLevelEnumLowerCase = map[string]GetNetworkingTopologyAccessLevelEnum{ + "any": GetNetworkingTopologyAccessLevelAny, + "accessible": GetNetworkingTopologyAccessLevelAccessible, +} + // GetGetNetworkingTopologyAccessLevelEnumValues Enumerates the set of values for GetNetworkingTopologyAccessLevelEnum func GetGetNetworkingTopologyAccessLevelEnumValues() []GetNetworkingTopologyAccessLevelEnum { values := make([]GetNetworkingTopologyAccessLevelEnum, 0) @@ -147,3 +156,9 @@ func GetGetNetworkingTopologyAccessLevelEnumStringValues() []string { "ACCESSIBLE", } } + +// GetMappingGetNetworkingTopologyAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingGetNetworkingTopologyAccessLevelEnum(val string) (GetNetworkingTopologyAccessLevelEnum, bool) { + enum, ok := mappingGetNetworkingTopologyAccessLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_private_ip_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_private_ip_request_response.go index 80a680ea522f..d2b60b4e168c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_ip_address_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_ip_address_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_details.go index 4c763fd9504a..6a0e58cfdb98 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_ip_address_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_ip_address_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_ip_address_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_request_response.go index 2d3d91e41dbe..7e1705b5334f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_ip_address_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_private_ip_id_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_private_ip_id_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_details.go index 32ee019ceb79..2c76cd41c7da 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_private_ip_id_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_private_ip_id_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_private_ip_id_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_request_response.go index 610724fea60f..a22578476a5a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_by_private_ip_id_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_pool_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_pool_request_response.go index b1f58caff9d3..e6166c502d38 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_request_response.go index 9aa73f7a31b5..6a9c2a9b6042 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_remote_peering_connection_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_remote_peering_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_remote_peering_connection_request_response.go index 0c5b0e642f34..2b9bedbf2f13 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_route_table_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_route_table_request_response.go index d8e1433b277e..a06f9407ab1e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_security_list_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_security_list_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_security_list_request_response.go index 1a0903f8af07..95b2bb58bdd8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_service_gateway_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_service_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_service_gateway_request_response.go index 593b92481a68..68b82e85828b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_service_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_service_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_service_request_response.go index 27e98957a57f..c2fd25aa195e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_service_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_service_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_subnet_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_subnet_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_subnet_request_response.go index 549c60a1f984..d4414e57e2d3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_subnet_topology_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_subnet_topology_request_response.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_subnet_topology_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_subnet_topology_request_response.go index b13455b67318..f932e7b35cf1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_subnet_topology_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_subnet_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,18 +6,22 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetSubnetTopologyRequest wrapper for the GetSubnetTopology operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopologyRequest. type GetSubnetTopologyRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"query" name:"subnetId"` // Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`. @@ -85,7 +89,7 @@ func (request GetSubnetTopologyRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request GetSubnetTopologyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingGetSubnetTopologyAccessLevelEnum[string(request.AccessLevel)]; !ok && request.AccessLevel != "" { + if _, ok := GetMappingGetSubnetTopologyAccessLevelEnum(string(request.AccessLevel)); !ok && request.AccessLevel != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AccessLevel: %s. Supported values are: %s.", request.AccessLevel, strings.Join(GetGetSubnetTopologyAccessLevelEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -134,6 +138,11 @@ var mappingGetSubnetTopologyAccessLevelEnum = map[string]GetSubnetTopologyAccess "ACCESSIBLE": GetSubnetTopologyAccessLevelAccessible, } +var mappingGetSubnetTopologyAccessLevelEnumLowerCase = map[string]GetSubnetTopologyAccessLevelEnum{ + "any": GetSubnetTopologyAccessLevelAny, + "accessible": GetSubnetTopologyAccessLevelAccessible, +} + // GetGetSubnetTopologyAccessLevelEnumValues Enumerates the set of values for GetSubnetTopologyAccessLevelEnum func GetGetSubnetTopologyAccessLevelEnumValues() []GetSubnetTopologyAccessLevelEnum { values := make([]GetSubnetTopologyAccessLevelEnum, 0) @@ -150,3 +159,9 @@ func GetGetSubnetTopologyAccessLevelEnumStringValues() []string { "ACCESSIBLE", } } + +// GetMappingGetSubnetTopologyAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingGetSubnetTopologyAccessLevelEnum(val string) (GetSubnetTopologyAccessLevelEnum, bool) { + enum, ok := mappingGetSubnetTopologyAccessLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_tunnel_cpe_device_config_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_content_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_tunnel_cpe_device_config_content_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_content_request_response.go index 6bfed2a9fa79..2c990fd11956 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_tunnel_cpe_device_config_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,15 +7,19 @@ package core import ( "fmt" "io" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_tunnel_cpe_device_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_tunnel_cpe_device_config_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_request_response.go index e05bb127eb92..2f018be94459 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_tunnel_cpe_device_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_upgrade_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_upgrade_status_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_upgrade_status_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_upgrade_status_request_response.go index 39a1beefe672..ead54e0a332c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_upgrade_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_upgrade_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetUpgradeStatusRequest wrapper for the GetUpgradeStatus operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatusRequest. type GetUpgradeStatusRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_dns_resolver_association_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_dns_resolver_association_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_dns_resolver_association_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_dns_resolver_association_request_response.go index 3c0893e6039b..ba976ef2bb0b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_dns_resolver_association_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_dns_resolver_association_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_request_response.go index 4a6711581c69..f23afb36f0e8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VCN. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_topology_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_topology_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_topology_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_topology_request_response.go index 73cb280769a3..80210fb9d155 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vcn_topology_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vcn_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetVcnTopologyRequest wrapper for the GetVcnTopology operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopologyRequest. type GetVcnTopologyRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -85,7 +89,7 @@ func (request GetVcnTopologyRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request GetVcnTopologyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingGetVcnTopologyAccessLevelEnum[string(request.AccessLevel)]; !ok && request.AccessLevel != "" { + if _, ok := GetMappingGetVcnTopologyAccessLevelEnum(string(request.AccessLevel)); !ok && request.AccessLevel != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AccessLevel: %s. Supported values are: %s.", request.AccessLevel, strings.Join(GetGetVcnTopologyAccessLevelEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -134,6 +138,11 @@ var mappingGetVcnTopologyAccessLevelEnum = map[string]GetVcnTopologyAccessLevelE "ACCESSIBLE": GetVcnTopologyAccessLevelAccessible, } +var mappingGetVcnTopologyAccessLevelEnumLowerCase = map[string]GetVcnTopologyAccessLevelEnum{ + "any": GetVcnTopologyAccessLevelAny, + "accessible": GetVcnTopologyAccessLevelAccessible, +} + // GetGetVcnTopologyAccessLevelEnumValues Enumerates the set of values for GetVcnTopologyAccessLevelEnum func GetGetVcnTopologyAccessLevelEnumValues() []GetVcnTopologyAccessLevelEnum { values := make([]GetVcnTopologyAccessLevelEnum, 0) @@ -150,3 +159,9 @@ func GetGetVcnTopologyAccessLevelEnumStringValues() []string { "ACCESSIBLE", } } + +// GetMappingGetVcnTopologyAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingGetVcnTopologyAccessLevelEnum(val string) (GetVcnTopologyAccessLevelEnum, bool) { + enum, ok := mappingGetVcnTopologyAccessLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_virtual_circuit_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_virtual_circuit_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_virtual_circuit_request_response.go index c0940cfcdcb8..87b0ae198cf4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vlan_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vlan_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vlan_request_response.go index 17756a17e86c..fbfbea851d57 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vnic_attachment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vnic_attachment_request_response.go index e3b8a821ea1f..3c80bb503ccf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vnic_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vnic_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vnic_request_response.go index 2335ce5660a2..d339bb1c6abf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (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" contributesTo:"path" name:"vnicId"` // Unique Oracle-assigned identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_attachment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_attachment_request_response.go index 56be848e2f52..f5eeea48ed8f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_asset_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_asset_assignment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_asset_assignment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_asset_assignment_request_response.go index e1ca92d0b51f..8b5054c274ac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_asset_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_asset_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_assignment_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_assignment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_assignment_request_response.go index 6ac075788d1b..784905ef7a2b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_request_response.go index 22a8d3a754a4..7d395f2b0b58 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_request_response.go index dafd75307d01..20d4d66d4dd9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_backup_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_backup_request_response.go index 826d6ccc84dd..652a0c7c9d9f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_replica_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_replica_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_replica_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_replica_request_response.go index 343a6d2693a9..a1ec9245c9cf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_replica_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_replica_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetVolumeGroupReplicaRequest wrapper for the GetVolumeGroupReplica operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupReplica.go.html to see an example of how to use GetVolumeGroupReplicaRequest. type GetVolumeGroupReplicaRequest struct { // The OCID of the volume replica group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_request_response.go index 104e5863439e..c75db3e27f04 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_kms_key_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_kms_key_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_kms_key_request_response.go index ab4f990b9646..5f6e29433afe 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_request_response.go index 6d4205730672..231e73856057 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vtap_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vtap_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vtap_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vtap_request_response.go index 4c1139330718..b8987c7e3e35 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_vtap_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetVtapRequest wrapper for the GetVtap operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtapRequest. type GetVtapRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_windows_instance_initial_credentials_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_windows_instance_initial_credentials_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_windows_instance_initial_credentials_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_windows_instance_initial_credentials_request_response.go index 2d0a22a930e8..73146cde7079 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/get_windows_instance_initial_credentials_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/get_windows_instance_initial_credentials_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/i_scsi_volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/i_scsi_volume_attachment.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/i_scsi_volume_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/i_scsi_volume_attachment.go index dce90ecdb561..c02aed4f3e0e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/i_scsi_volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/i_scsi_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -91,6 +93,9 @@ type IScsiVolumeAttachment struct { // A list of secondary multipath devices MultipathDevices []MultipathDevice `mandatory:"false" json:"multipathDevices"` + // Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments. + IsAgentAutoIscsiLoginEnabled *bool `mandatory:"false" json:"isAgentAutoIscsiLoginEnabled"` + // The current state of the volume attachment. LifecycleState VolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` @@ -183,13 +188,13 @@ func (m IScsiVolumeAttachment) String() string { func (m IScsiVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeAttachmentLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVolumeAttachmentIscsiLoginStateEnum[string(m.IscsiLoginState)]; !ok && m.IscsiLoginState != "" { + if _, ok := GetMappingVolumeAttachmentIscsiLoginStateEnum(string(m.IscsiLoginState)); !ok && m.IscsiLoginState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetVolumeAttachmentIscsiLoginStateEnumStringValues(), ","))) } - if _, ok := mappingEncryptionInTransitTypeEnum[string(m.EncryptionInTransitType)]; !ok && m.EncryptionInTransitType != "" { + if _, ok := GetMappingEncryptionInTransitTypeEnum(string(m.EncryptionInTransitType)); !ok && m.EncryptionInTransitType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/icmp_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/icmp_options.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/icmp_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/icmp_options.go index 11bc88f9984a..af382ef3144c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/icmp_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/icmp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image.go index d18adf43192b..b90b79c80ea4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -105,14 +107,14 @@ func (m Image) String() string { // Not recommended for calling this function directly func (m Image) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingImageLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetImageLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingImageLaunchModeEnum[string(m.LaunchMode)]; !ok && m.LaunchMode != "" { + if _, ok := GetMappingImageLaunchModeEnum(string(m.LaunchMode)); !ok && m.LaunchMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LaunchMode: %s. Supported values are: %s.", m.LaunchMode, strings.Join(GetImageLaunchModeEnumStringValues(), ","))) } - if _, ok := mappingImageListingTypeEnum[string(m.ListingType)]; !ok && m.ListingType != "" { + if _, ok := GetMappingImageListingTypeEnum(string(m.ListingType)); !ok && m.ListingType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ListingType: %s. Supported values are: %s.", m.ListingType, strings.Join(GetImageListingTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -139,6 +141,13 @@ var mappingImageLaunchModeEnum = map[string]ImageLaunchModeEnum{ "CUSTOM": ImageLaunchModeCustom, } +var mappingImageLaunchModeEnumLowerCase = map[string]ImageLaunchModeEnum{ + "native": ImageLaunchModeNative, + "emulated": ImageLaunchModeEmulated, + "paravirtualized": ImageLaunchModeParavirtualized, + "custom": ImageLaunchModeCustom, +} + // GetImageLaunchModeEnumValues Enumerates the set of values for ImageLaunchModeEnum func GetImageLaunchModeEnumValues() []ImageLaunchModeEnum { values := make([]ImageLaunchModeEnum, 0) @@ -158,6 +167,12 @@ func GetImageLaunchModeEnumStringValues() []string { } } +// GetMappingImageLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingImageLaunchModeEnum(val string) (ImageLaunchModeEnum, bool) { + enum, ok := mappingImageLaunchModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ImageLifecycleStateEnum Enum with underlying type: string type ImageLifecycleStateEnum string @@ -180,6 +195,15 @@ var mappingImageLifecycleStateEnum = map[string]ImageLifecycleStateEnum{ "DELETED": ImageLifecycleStateDeleted, } +var mappingImageLifecycleStateEnumLowerCase = map[string]ImageLifecycleStateEnum{ + "provisioning": ImageLifecycleStateProvisioning, + "importing": ImageLifecycleStateImporting, + "available": ImageLifecycleStateAvailable, + "exporting": ImageLifecycleStateExporting, + "disabled": ImageLifecycleStateDisabled, + "deleted": ImageLifecycleStateDeleted, +} + // GetImageLifecycleStateEnumValues Enumerates the set of values for ImageLifecycleStateEnum func GetImageLifecycleStateEnumValues() []ImageLifecycleStateEnum { values := make([]ImageLifecycleStateEnum, 0) @@ -201,6 +225,12 @@ func GetImageLifecycleStateEnumStringValues() []string { } } +// GetMappingImageLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingImageLifecycleStateEnum(val string) (ImageLifecycleStateEnum, bool) { + enum, ok := mappingImageLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ImageListingTypeEnum Enum with underlying type: string type ImageListingTypeEnum string @@ -215,6 +245,11 @@ var mappingImageListingTypeEnum = map[string]ImageListingTypeEnum{ "NONE": ImageListingTypeNone, } +var mappingImageListingTypeEnumLowerCase = map[string]ImageListingTypeEnum{ + "community": ImageListingTypeCommunity, + "none": ImageListingTypeNone, +} + // GetImageListingTypeEnumValues Enumerates the set of values for ImageListingTypeEnum func GetImageListingTypeEnumValues() []ImageListingTypeEnum { values := make([]ImageListingTypeEnum, 0) @@ -231,3 +266,9 @@ func GetImageListingTypeEnumStringValues() []string { "NONE", } } + +// GetMappingImageListingTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingImageListingTypeEnum(val string) (ImageListingTypeEnum, bool) { + enum, ok := mappingImageListingTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_capability_schema_descriptor.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_capability_schema_descriptor.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go index f24514c4a4cc..25b61aeb16b4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_capability_schema_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -88,7 +90,7 @@ func (m imagecapabilityschemadescriptor) String() string { // Not recommended for calling this function directly func (m imagecapabilityschemadescriptor) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageCapabilitySchemaDescriptorSourceEnum[string(m.Source)]; !ok && m.Source != "" { + if _, ok := GetMappingImageCapabilitySchemaDescriptorSourceEnum(string(m.Source)); !ok && m.Source != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Source: %s. Supported values are: %s.", m.Source, strings.Join(GetImageCapabilitySchemaDescriptorSourceEnumStringValues(), ","))) } @@ -112,6 +114,11 @@ var mappingImageCapabilitySchemaDescriptorSourceEnum = map[string]ImageCapabilit "IMAGE": ImageCapabilitySchemaDescriptorSourceImage, } +var mappingImageCapabilitySchemaDescriptorSourceEnumLowerCase = map[string]ImageCapabilitySchemaDescriptorSourceEnum{ + "global": ImageCapabilitySchemaDescriptorSourceGlobal, + "image": ImageCapabilitySchemaDescriptorSourceImage, +} + // GetImageCapabilitySchemaDescriptorSourceEnumValues Enumerates the set of values for ImageCapabilitySchemaDescriptorSourceEnum func GetImageCapabilitySchemaDescriptorSourceEnumValues() []ImageCapabilitySchemaDescriptorSourceEnum { values := make([]ImageCapabilitySchemaDescriptorSourceEnum, 0) @@ -128,3 +135,9 @@ func GetImageCapabilitySchemaDescriptorSourceEnumStringValues() []string { "IMAGE", } } + +// GetMappingImageCapabilitySchemaDescriptorSourceEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingImageCapabilitySchemaDescriptorSourceEnum(val string) (ImageCapabilitySchemaDescriptorSourceEnum, bool) { + enum, ok := mappingImageCapabilitySchemaDescriptorSourceEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_memory_constraints.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_memory_constraints.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_memory_constraints.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_memory_constraints.go index 050731837e3c..a2d9e8cc3a34 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_memory_constraints.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_memory_constraints.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_ocpu_constraints.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_ocpu_constraints.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_ocpu_constraints.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_ocpu_constraints.go index 5723018cf31a..8ef7efd4afab 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_ocpu_constraints.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_ocpu_constraints.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_shape_compatibility_entry.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_entry.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_shape_compatibility_entry.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_entry.go index 19f9aef9648f..5aac410ee744 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_shape_compatibility_entry.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_shape_compatibility_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_summary.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_shape_compatibility_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_summary.go index 38a89e7a5588..dcad12b597af 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_shape_compatibility_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go index 400f047fd56a..a318341df121 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -105,7 +107,7 @@ func (m imagesourcedetails) String() string { func (m imagesourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageSourceDetailsSourceImageTypeEnum[string(m.SourceImageType)]; !ok && m.SourceImageType != "" { + if _, ok := GetMappingImageSourceDetailsSourceImageTypeEnum(string(m.SourceImageType)); !ok && m.SourceImageType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceImageType: %s. Supported values are: %s.", m.SourceImageType, strings.Join(GetImageSourceDetailsSourceImageTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -128,6 +130,11 @@ var mappingImageSourceDetailsSourceImageTypeEnum = map[string]ImageSourceDetails "VMDK": ImageSourceDetailsSourceImageTypeVmdk, } +var mappingImageSourceDetailsSourceImageTypeEnumLowerCase = map[string]ImageSourceDetailsSourceImageTypeEnum{ + "qcow2": ImageSourceDetailsSourceImageTypeQcow2, + "vmdk": ImageSourceDetailsSourceImageTypeVmdk, +} + // GetImageSourceDetailsSourceImageTypeEnumValues Enumerates the set of values for ImageSourceDetailsSourceImageTypeEnum func GetImageSourceDetailsSourceImageTypeEnumValues() []ImageSourceDetailsSourceImageTypeEnum { values := make([]ImageSourceDetailsSourceImageTypeEnum, 0) @@ -144,3 +151,9 @@ func GetImageSourceDetailsSourceImageTypeEnumStringValues() []string { "VMDK", } } + +// GetMappingImageSourceDetailsSourceImageTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingImageSourceDetailsSourceImageTypeEnum(val string) (ImageSourceDetailsSourceImageTypeEnum, bool) { + enum, ok := mappingImageSourceDetailsSourceImageTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_via_object_storage_tuple_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_tuple_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_via_object_storage_tuple_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_tuple_details.go index a7fcc35ed9b6..8b51afdfcaf0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_via_object_storage_tuple_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_tuple_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -66,7 +68,7 @@ func (m ImageSourceViaObjectStorageTupleDetails) String() string { func (m ImageSourceViaObjectStorageTupleDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageSourceDetailsSourceImageTypeEnum[string(m.SourceImageType)]; !ok && m.SourceImageType != "" { + if _, ok := GetMappingImageSourceDetailsSourceImageTypeEnum(string(m.SourceImageType)); !ok && m.SourceImageType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceImageType: %s. Supported values are: %s.", m.SourceImageType, strings.Join(GetImageSourceDetailsSourceImageTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_via_object_storage_uri_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_uri_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_via_object_storage_uri_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_uri_details.go index 3c1fddcc4a8f..5857856cbaec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/image_source_via_object_storage_uri_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_uri_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -60,7 +62,7 @@ func (m ImageSourceViaObjectStorageUriDetails) String() string { func (m ImageSourceViaObjectStorageUriDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingImageSourceDetailsSourceImageTypeEnum[string(m.SourceImageType)]; !ok && m.SourceImageType != "" { + if _, ok := GetMappingImageSourceDetailsSourceImageTypeEnum(string(m.SourceImageType)); !ok && m.SourceImageType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceImageType: %s. Supported values are: %s.", m.SourceImageType, strings.Join(GetImageSourceDetailsSourceImageTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ingress_security_rule.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ingress_security_rule.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ingress_security_rule.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ingress_security_rule.go index b91b6e6e91e6..fbd16e90760d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ingress_security_rule.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ingress_security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -73,7 +75,7 @@ func (m IngressSecurityRule) String() string { func (m IngressSecurityRule) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingIngressSecurityRuleSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingIngressSecurityRuleSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetIngressSecurityRuleSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -96,6 +98,11 @@ var mappingIngressSecurityRuleSourceTypeEnum = map[string]IngressSecurityRuleSou "SERVICE_CIDR_BLOCK": IngressSecurityRuleSourceTypeServiceCidrBlock, } +var mappingIngressSecurityRuleSourceTypeEnumLowerCase = map[string]IngressSecurityRuleSourceTypeEnum{ + "cidr_block": IngressSecurityRuleSourceTypeCidrBlock, + "service_cidr_block": IngressSecurityRuleSourceTypeServiceCidrBlock, +} + // GetIngressSecurityRuleSourceTypeEnumValues Enumerates the set of values for IngressSecurityRuleSourceTypeEnum func GetIngressSecurityRuleSourceTypeEnumValues() []IngressSecurityRuleSourceTypeEnum { values := make([]IngressSecurityRuleSourceTypeEnum, 0) @@ -112,3 +119,9 @@ func GetIngressSecurityRuleSourceTypeEnumStringValues() []string { "SERVICE_CIDR_BLOCK", } } + +// GetMappingIngressSecurityRuleSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIngressSecurityRuleSourceTypeEnum(val string) (IngressSecurityRuleSourceTypeEnum, bool) { + enum, ok := mappingIngressSecurityRuleSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance.go similarity index 72% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance.go index 278c476659bc..8639afbf526c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,13 +18,22 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // Instance A compute host. The image used to launch the instance determines its operating system and other // software. The shape specified during the launch process determines the number of CPUs and memory -// allocated to the instance. For more information, see +// allocated to the instance. +// When you launch an instance, it is automatically attached to a virtual +// network interface card (VNIC), called the *primary VNIC*. The VNIC +// has a private IP address from the subnet's CIDR. You can either assign a +// private IP address of your choice or let Oracle automatically assign one. +// You can choose whether the instance has a public IP address. To retrieve the +// addresses, use the ListVnicAttachments +// operation to get the VNIC ID for the instance, and then call +// GetVnic with the VNIC ID. +// For more information, see // Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.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 @@ -64,7 +75,7 @@ type Instance struct { // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` - // The OCID of dedicated VM host. + // The OCID of the dedicated virtual machine host that the instance is placed on. DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"` // Defined tags for this resource. Each key is predefined and scoped to a @@ -159,17 +170,6 @@ type Instance struct { // Example: `2018-05-25T21:10:29.600Z` TimeMaintenanceRebootDue *common.SDKTime `mandatory:"false" json:"timeMaintenanceRebootDue"` - // The date and time the instance is scheduled to be stopped. - // After that time if instance hasn't been stopped or terminated, Oracle will stop the instance automatically. - // 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` - TimeStopScheduled *common.SDKTime `mandatory:"false" json:"timeStopScheduled"` - - // The preferred maintenance action for an instance. - // * `LIVE_MIGRATE` - Run maintenance using a live migration. - // * `REBOOT` - Run maintenance using a reboot. - PreferredMaintenanceAction InstancePreferredMaintenanceActionEnum `mandatory:"false" json:"preferredMaintenanceAction,omitempty"` - PlatformConfig PlatformConfig `mandatory:"false" json:"platformConfig"` } @@ -182,16 +182,13 @@ func (m Instance) String() string { // Not recommended for calling this function directly func (m Instance) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingInstanceLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstanceLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingInstanceLaunchModeEnum[string(m.LaunchMode)]; !ok && m.LaunchMode != "" { + if _, ok := GetMappingInstanceLaunchModeEnum(string(m.LaunchMode)); !ok && m.LaunchMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LaunchMode: %s. Supported values are: %s.", m.LaunchMode, strings.Join(GetInstanceLaunchModeEnumStringValues(), ","))) } - if _, ok := mappingInstancePreferredMaintenanceActionEnum[string(m.PreferredMaintenanceAction)]; !ok && m.PreferredMaintenanceAction != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PreferredMaintenanceAction: %s. Supported values are: %s.", m.PreferredMaintenanceAction, strings.Join(GetInstancePreferredMaintenanceActionEnumStringValues(), ","))) - } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -201,36 +198,34 @@ func (m Instance) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *Instance) UnmarshalJSON(data []byte) (e error) { model := struct { - CapacityReservationId *string `json:"capacityReservationId"` - DedicatedVmHostId *string `json:"dedicatedVmHostId"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - DisplayName *string `json:"displayName"` - ExtendedMetadata map[string]interface{} `json:"extendedMetadata"` - FaultDomain *string `json:"faultDomain"` - FreeformTags map[string]string `json:"freeformTags"` - ImageId *string `json:"imageId"` - IpxeScript *string `json:"ipxeScript"` - LaunchMode InstanceLaunchModeEnum `json:"launchMode"` - LaunchOptions *LaunchOptions `json:"launchOptions"` - InstanceOptions *InstanceOptions `json:"instanceOptions"` - AvailabilityConfig *InstanceAvailabilityConfig `json:"availabilityConfig"` - PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `json:"preemptibleInstanceConfig"` - Metadata map[string]string `json:"metadata"` - ShapeConfig *InstanceShapeConfig `json:"shapeConfig"` - SourceDetails instancesourcedetails `json:"sourceDetails"` - SystemTags map[string]map[string]interface{} `json:"systemTags"` - AgentConfig *InstanceAgentConfig `json:"agentConfig"` - TimeMaintenanceRebootDue *common.SDKTime `json:"timeMaintenanceRebootDue"` - TimeStopScheduled *common.SDKTime `json:"timeStopScheduled"` - PreferredMaintenanceAction InstancePreferredMaintenanceActionEnum `json:"preferredMaintenanceAction"` - PlatformConfig platformconfig `json:"platformConfig"` - AvailabilityDomain *string `json:"availabilityDomain"` - CompartmentId *string `json:"compartmentId"` - Id *string `json:"id"` - LifecycleState InstanceLifecycleStateEnum `json:"lifecycleState"` - Region *string `json:"region"` - Shape *string `json:"shape"` - TimeCreated *common.SDKTime `json:"timeCreated"` + CapacityReservationId *string `json:"capacityReservationId"` + DedicatedVmHostId *string `json:"dedicatedVmHostId"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + DisplayName *string `json:"displayName"` + ExtendedMetadata map[string]interface{} `json:"extendedMetadata"` + FaultDomain *string `json:"faultDomain"` + FreeformTags map[string]string `json:"freeformTags"` + ImageId *string `json:"imageId"` + IpxeScript *string `json:"ipxeScript"` + LaunchMode InstanceLaunchModeEnum `json:"launchMode"` + LaunchOptions *LaunchOptions `json:"launchOptions"` + InstanceOptions *InstanceOptions `json:"instanceOptions"` + AvailabilityConfig *InstanceAvailabilityConfig `json:"availabilityConfig"` + PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `json:"preemptibleInstanceConfig"` + Metadata map[string]string `json:"metadata"` + ShapeConfig *InstanceShapeConfig `json:"shapeConfig"` + SourceDetails instancesourcedetails `json:"sourceDetails"` + 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"` + LifecycleState InstanceLifecycleStateEnum `json:"lifecycleState"` + Region *string `json:"region"` + Shape *string `json:"shape"` + TimeCreated *common.SDKTime `json:"timeCreated"` }{} e = json.Unmarshal(data, &model) @@ -286,10 +281,6 @@ func (m *Instance) UnmarshalJSON(data []byte) (e error) { m.TimeMaintenanceRebootDue = model.TimeMaintenanceRebootDue - m.TimeStopScheduled = model.TimeStopScheduled - - m.PreferredMaintenanceAction = model.PreferredMaintenanceAction - nn, e = model.PlatformConfig.UnmarshalPolymorphicJSON(model.PlatformConfig.JsonData) if e != nil { return @@ -335,6 +326,13 @@ var mappingInstanceLaunchModeEnum = map[string]InstanceLaunchModeEnum{ "CUSTOM": InstanceLaunchModeCustom, } +var mappingInstanceLaunchModeEnumLowerCase = map[string]InstanceLaunchModeEnum{ + "native": InstanceLaunchModeNative, + "emulated": InstanceLaunchModeEmulated, + "paravirtualized": InstanceLaunchModeParavirtualized, + "custom": InstanceLaunchModeCustom, +} + // GetInstanceLaunchModeEnumValues Enumerates the set of values for InstanceLaunchModeEnum func GetInstanceLaunchModeEnumValues() []InstanceLaunchModeEnum { values := make([]InstanceLaunchModeEnum, 0) @@ -354,6 +352,12 @@ func GetInstanceLaunchModeEnumStringValues() []string { } } +// GetMappingInstanceLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceLaunchModeEnum(val string) (InstanceLaunchModeEnum, bool) { + enum, ok := mappingInstanceLaunchModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // InstanceLifecycleStateEnum Enum with underlying type: string type InstanceLifecycleStateEnum string @@ -382,6 +386,18 @@ var mappingInstanceLifecycleStateEnum = map[string]InstanceLifecycleStateEnum{ "TERMINATED": InstanceLifecycleStateTerminated, } +var mappingInstanceLifecycleStateEnumLowerCase = map[string]InstanceLifecycleStateEnum{ + "moving": InstanceLifecycleStateMoving, + "provisioning": InstanceLifecycleStateProvisioning, + "running": InstanceLifecycleStateRunning, + "starting": InstanceLifecycleStateStarting, + "stopping": InstanceLifecycleStateStopping, + "stopped": InstanceLifecycleStateStopped, + "creating_image": InstanceLifecycleStateCreatingImage, + "terminating": InstanceLifecycleStateTerminating, + "terminated": InstanceLifecycleStateTerminated, +} + // GetInstanceLifecycleStateEnumValues Enumerates the set of values for InstanceLifecycleStateEnum func GetInstanceLifecycleStateEnumValues() []InstanceLifecycleStateEnum { values := make([]InstanceLifecycleStateEnum, 0) @@ -406,33 +422,8 @@ func GetInstanceLifecycleStateEnumStringValues() []string { } } -// InstancePreferredMaintenanceActionEnum Enum with underlying type: string -type InstancePreferredMaintenanceActionEnum string - -// Set of constants representing the allowable values for InstancePreferredMaintenanceActionEnum -const ( - InstancePreferredMaintenanceActionLiveMigrate InstancePreferredMaintenanceActionEnum = "LIVE_MIGRATE" - InstancePreferredMaintenanceActionReboot InstancePreferredMaintenanceActionEnum = "REBOOT" -) - -var mappingInstancePreferredMaintenanceActionEnum = map[string]InstancePreferredMaintenanceActionEnum{ - "LIVE_MIGRATE": InstancePreferredMaintenanceActionLiveMigrate, - "REBOOT": InstancePreferredMaintenanceActionReboot, -} - -// GetInstancePreferredMaintenanceActionEnumValues Enumerates the set of values for InstancePreferredMaintenanceActionEnum -func GetInstancePreferredMaintenanceActionEnumValues() []InstancePreferredMaintenanceActionEnum { - values := make([]InstancePreferredMaintenanceActionEnum, 0) - for _, v := range mappingInstancePreferredMaintenanceActionEnum { - values = append(values, v) - } - return values -} - -// GetInstancePreferredMaintenanceActionEnumStringValues Enumerates the set of values in String for InstancePreferredMaintenanceActionEnum -func GetInstancePreferredMaintenanceActionEnumStringValues() []string { - return []string{ - "LIVE_MIGRATE", - "REBOOT", - } +// GetMappingInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceLifecycleStateEnum(val string) (InstanceLifecycleStateEnum, bool) { + enum, ok := mappingInstanceLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_action_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_action_request_response.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_action_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_action_request_response.go index c32efda0b1c4..edb2ba8cedf1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_action_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_action_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. @@ -32,6 +36,9 @@ type InstanceActionRequest struct { // 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"` + // Instance Power Action details + InstancePowerActionDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` @@ -72,7 +79,7 @@ func (request InstanceActionRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request InstanceActionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceActionActionEnum[string(request.Action)]; !ok && request.Action != "" { + if _, ok := GetMappingInstanceActionActionEnum(string(request.Action)); !ok && request.Action != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Action: %s. Supported values are: %s.", request.Action, strings.Join(GetInstanceActionActionEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -117,9 +124,9 @@ const ( InstanceActionActionSoftreset InstanceActionActionEnum = "SOFTRESET" InstanceActionActionReset InstanceActionActionEnum = "RESET" InstanceActionActionSoftstop InstanceActionActionEnum = "SOFTSTOP" - InstanceActionActionValidatelivemigrate InstanceActionActionEnum = "VALIDATELIVEMIGRATE" InstanceActionActionSenddiagnosticinterrupt InstanceActionActionEnum = "SENDDIAGNOSTICINTERRUPT" - InstanceActionActionExtendscheduledstop InstanceActionActionEnum = "EXTENDSCHEDULEDSTOP" + InstanceActionActionDiagnosticreboot InstanceActionActionEnum = "DIAGNOSTICREBOOT" + InstanceActionActionRebootmigrate InstanceActionActionEnum = "REBOOTMIGRATE" ) var mappingInstanceActionActionEnum = map[string]InstanceActionActionEnum{ @@ -128,9 +135,20 @@ var mappingInstanceActionActionEnum = map[string]InstanceActionActionEnum{ "SOFTRESET": InstanceActionActionSoftreset, "RESET": InstanceActionActionReset, "SOFTSTOP": InstanceActionActionSoftstop, - "VALIDATELIVEMIGRATE": InstanceActionActionValidatelivemigrate, "SENDDIAGNOSTICINTERRUPT": InstanceActionActionSenddiagnosticinterrupt, - "EXTENDSCHEDULEDSTOP": InstanceActionActionExtendscheduledstop, + "DIAGNOSTICREBOOT": InstanceActionActionDiagnosticreboot, + "REBOOTMIGRATE": InstanceActionActionRebootmigrate, +} + +var mappingInstanceActionActionEnumLowerCase = map[string]InstanceActionActionEnum{ + "stop": InstanceActionActionStop, + "start": InstanceActionActionStart, + "softreset": InstanceActionActionSoftreset, + "reset": InstanceActionActionReset, + "softstop": InstanceActionActionSoftstop, + "senddiagnosticinterrupt": InstanceActionActionSenddiagnosticinterrupt, + "diagnosticreboot": InstanceActionActionDiagnosticreboot, + "rebootmigrate": InstanceActionActionRebootmigrate, } // GetInstanceActionActionEnumValues Enumerates the set of values for InstanceActionActionEnum @@ -150,8 +168,14 @@ func GetInstanceActionActionEnumStringValues() []string { "SOFTRESET", "RESET", "SOFTSTOP", - "VALIDATELIVEMIGRATE", "SENDDIAGNOSTICINTERRUPT", - "EXTENDSCHEDULEDSTOP", + "DIAGNOSTICREBOOT", + "REBOOTMIGRATE", } } + +// GetMappingInstanceActionActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceActionActionEnum(val string) (InstanceActionActionEnum, bool) { + enum, ok := mappingInstanceActionActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_config.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_config.go index 394c1563422f..4d894987411c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_features.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_features.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_features.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_features.go index bc3539128ab9..f771218bf20a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_features.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_features.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_plugin_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_plugin_config_details.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_plugin_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_plugin_config_details.go index 568f658b1de3..9843692908c1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_agent_plugin_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_agent_plugin_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -43,7 +45,7 @@ func (m InstanceAgentPluginConfigDetails) String() string { // Not recommended for calling this function directly func (m InstanceAgentPluginConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceAgentPluginConfigDetailsDesiredStateEnum[string(m.DesiredState)]; !ok && m.DesiredState != "" { + if _, ok := GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum(string(m.DesiredState)); !ok && m.DesiredState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DesiredState: %s. Supported values are: %s.", m.DesiredState, strings.Join(GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues(), ","))) } @@ -67,6 +69,11 @@ var mappingInstanceAgentPluginConfigDetailsDesiredStateEnum = map[string]Instanc "DISABLED": InstanceAgentPluginConfigDetailsDesiredStateDisabled, } +var mappingInstanceAgentPluginConfigDetailsDesiredStateEnumLowerCase = map[string]InstanceAgentPluginConfigDetailsDesiredStateEnum{ + "enabled": InstanceAgentPluginConfigDetailsDesiredStateEnabled, + "disabled": InstanceAgentPluginConfigDetailsDesiredStateDisabled, +} + // GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues Enumerates the set of values for InstanceAgentPluginConfigDetailsDesiredStateEnum func GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues() []InstanceAgentPluginConfigDetailsDesiredStateEnum { values := make([]InstanceAgentPluginConfigDetailsDesiredStateEnum, 0) @@ -83,3 +90,9 @@ func GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues() []string "DISABLED", } } + +// GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum(val string) (InstanceAgentPluginConfigDetailsDesiredStateEnum, bool) { + enum, ok := mappingInstanceAgentPluginConfigDetailsDesiredStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_availability_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_availability_config.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_availability_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_availability_config.go index d89e56ae3140..522b145f6789 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_availability_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_availability_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -44,7 +46,7 @@ func (m InstanceAvailabilityConfig) String() string { func (m InstanceAvailabilityConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceAvailabilityConfigRecoveryActionEnum[string(m.RecoveryAction)]; !ok && m.RecoveryAction != "" { + if _, ok := GetMappingInstanceAvailabilityConfigRecoveryActionEnum(string(m.RecoveryAction)); !ok && m.RecoveryAction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetInstanceAvailabilityConfigRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -67,6 +69,11 @@ var mappingInstanceAvailabilityConfigRecoveryActionEnum = map[string]InstanceAva "STOP_INSTANCE": InstanceAvailabilityConfigRecoveryActionStopInstance, } +var mappingInstanceAvailabilityConfigRecoveryActionEnumLowerCase = map[string]InstanceAvailabilityConfigRecoveryActionEnum{ + "restore_instance": InstanceAvailabilityConfigRecoveryActionRestoreInstance, + "stop_instance": InstanceAvailabilityConfigRecoveryActionStopInstance, +} + // GetInstanceAvailabilityConfigRecoveryActionEnumValues Enumerates the set of values for InstanceAvailabilityConfigRecoveryActionEnum func GetInstanceAvailabilityConfigRecoveryActionEnumValues() []InstanceAvailabilityConfigRecoveryActionEnum { values := make([]InstanceAvailabilityConfigRecoveryActionEnum, 0) @@ -83,3 +90,9 @@ func GetInstanceAvailabilityConfigRecoveryActionEnumStringValues() []string { "STOP_INSTANCE", } } + +// GetMappingInstanceAvailabilityConfigRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceAvailabilityConfigRecoveryActionEnum(val string) (InstanceAvailabilityConfigRecoveryActionEnum, bool) { + enum, ok := mappingInstanceAvailabilityConfigRecoveryActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go index 93bcf6ec4428..9b1e4f000504 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go new file mode 100644 index 000000000000..239b5ae862ea --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go @@ -0,0 +1,164 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig The platform configuration of a bare metal instance that uses a GPU shape on the AMD Milan platform. +type InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig + }{ + "AMD_MILAN_BM_GPU", + (MarshalTypeInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +var mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps0": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "nps1": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "nps4": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go similarity index 65% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go index 86d663e3eba2..f5de0d243b36 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,11 +18,12 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with an E4 shape. +// InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with one of the following shapes: BM.Standard.E4.128 +// or BM.DenseIO.E4.128 (the AMD Milan platform). type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig struct { // Whether Secure Boot is enabled on the instance. @@ -35,6 +38,33 @@ type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig struct { // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + // The number of NUMA nodes per socket (NPS). NumaNodesPerSocket InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` } @@ -68,7 +98,7 @@ func (m InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) String() st // Not recommended for calling this function directly func (m InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum[string(m.NumaNodesPerSocket)]; !ok && m.NumaNodesPerSocket != "" { + if _, ok := GetMappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) } @@ -110,6 +140,13 @@ var mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesP "NPS4": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, } +var mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = 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) @@ -128,3 +165,9 @@ func GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerS "NPS4", } } + +// GetMappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go new file mode 100644 index 000000000000..e336a9970238 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go @@ -0,0 +1,165 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig The platform configuration of a bare metal GPU instance that uses the BM.GPU4.8 shape +// (the AMD Rome platform). +type InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig + }{ + "AMD_ROME_BM_GPU", + (MarshalTypeInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +var mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps0": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "nps1": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "nps4": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go new file mode 100644 index 000000000000..9fcf9ed66182 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go @@ -0,0 +1,173 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard.E3.128 shape +// (the AMD Rome platform). +type InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the Access Control Service is enabled on the instance. When enabled, + // the platform can enforce PCIe device isolation, required for VFIO device pass-through. + IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"` + + // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes + // or VT-x for Intel shapes. + AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig + }{ + "AMD_ROME_BM", + (MarshalTypeInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +var mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps0": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "nps1": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "nps4": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS0", + "NPS1", + "NPS2", + "NPS4", + } +} + +// GetMappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_vm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_vm_launch_instance_platform_config.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_vm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_vm_launch_instance_platform_config.go index 1211f3bdda49..74bd623213e2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_amd_vm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_attach_vnic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_vnic_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_attach_vnic_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_vnic_details.go index 953c9ce9307c..de13abafd814 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_attach_vnic_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_attach_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go index 848567ca2e5d..dcb01cf44ce8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_autotune_policy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_autotune_policy.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_autotune_policy.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_autotune_policy.go index 8b238bbc4a4d..91bab3d633ac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_autotune_policy.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -97,6 +99,11 @@ var mappingInstanceConfigurationAutotunePolicyAutotuneTypeEnum = map[string]Inst "PERFORMANCE_BASED": InstanceConfigurationAutotunePolicyAutotuneTypePerformanceBased, } +var mappingInstanceConfigurationAutotunePolicyAutotuneTypeEnumLowerCase = map[string]InstanceConfigurationAutotunePolicyAutotuneTypeEnum{ + "detached_volume": InstanceConfigurationAutotunePolicyAutotuneTypeDetachedVolume, + "performance_based": InstanceConfigurationAutotunePolicyAutotuneTypePerformanceBased, +} + // GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumValues Enumerates the set of values for InstanceConfigurationAutotunePolicyAutotuneTypeEnum func GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumValues() []InstanceConfigurationAutotunePolicyAutotuneTypeEnum { values := make([]InstanceConfigurationAutotunePolicyAutotuneTypeEnum, 0) @@ -113,3 +120,9 @@ func GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumStringValues() []stri "PERFORMANCE_BASED", } } + +// GetMappingInstanceConfigurationAutotunePolicyAutotuneTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationAutotunePolicyAutotuneTypeEnum(val string) (InstanceConfigurationAutotunePolicyAutotuneTypeEnum, bool) { + enum, ok := mappingInstanceConfigurationAutotunePolicyAutotuneTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_availability_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_availability_config.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_availability_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_availability_config.go index 5d975595bd66..c70d9f48f332 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_availability_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_availability_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,24 +9,21 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // InstanceConfigurationAvailabilityConfig Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware. type InstanceConfigurationAvailabilityConfig struct { - // Whether to live migrate supported VM instances to a healthy physical VM host without - // disrupting running instances during infrastructure maintenance events. If null, Oracle - // chooses the best option for migrating the VM during infrastructure maintenance events. - IsLiveMigrationPreferred *bool `mandatory:"false" json:"isLiveMigrationPreferred"` - // 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. @@ -44,7 +41,7 @@ func (m InstanceConfigurationAvailabilityConfig) String() string { func (m InstanceConfigurationAvailabilityConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum[string(m.RecoveryAction)]; !ok && m.RecoveryAction != "" { + if _, ok := GetMappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum(string(m.RecoveryAction)); !ok && m.RecoveryAction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -67,6 +64,11 @@ var mappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum = map[strin "STOP_INSTANCE": InstanceConfigurationAvailabilityConfigRecoveryActionStopInstance, } +var mappingInstanceConfigurationAvailabilityConfigRecoveryActionEnumLowerCase = map[string]InstanceConfigurationAvailabilityConfigRecoveryActionEnum{ + "restore_instance": InstanceConfigurationAvailabilityConfigRecoveryActionRestoreInstance, + "stop_instance": InstanceConfigurationAvailabilityConfigRecoveryActionStopInstance, +} + // GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumValues Enumerates the set of values for InstanceConfigurationAvailabilityConfigRecoveryActionEnum func GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumValues() []InstanceConfigurationAvailabilityConfigRecoveryActionEnum { values := make([]InstanceConfigurationAvailabilityConfigRecoveryActionEnum, 0) @@ -83,3 +85,9 @@ func GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumStringValues() "STOP_INSTANCE", } } + +// GetMappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum(val string) (InstanceConfigurationAvailabilityConfigRecoveryActionEnum, bool) { + enum, ok := mappingInstanceConfigurationAvailabilityConfigRecoveryActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_block_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_block_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_details.go index ca100d110ae7..47698048b215 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_block_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_create_vnic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_create_vnic_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go index 093133d5912c..a4ed62c3fc99 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_create_vnic_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_create_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go similarity index 67% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_create_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go index f4500f3f0a17..d29f61ac373c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_create_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -34,14 +36,6 @@ type InstanceConfigurationCreateVolumeDetails struct { // The OCID of the compartment that contains the volume. CompartmentId *string `mandatory:"false" json:"compartmentId"` - // Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. - // Use the `InstanceConfigurationDetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune. - IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"` - - // The list of block volume replicas to be enabled for this volume - // in the specified destination availability domains. - BlockVolumeReplicas []InstanceConfigurationBlockVolumeReplicaDetails `mandatory:"false" json:"blockVolumeReplicas"` - // 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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -56,18 +50,19 @@ type InstanceConfigurationCreateVolumeDetails struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID of the Key Management key to assign as the master encryption key + // The OCID of the Vault service key to assign as the master encryption key // for the volume. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Elastic Performance (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeelasticperformance.htm) for more information. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. - // For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB. + // * `30`-`120`: Represents the Ultra High Performance option. + // For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"` // The size of the volume in GBs. @@ -98,19 +93,17 @@ func (m InstanceConfigurationCreateVolumeDetails) ValidateEnumValue() (bool, err // UnmarshalJSON unmarshals from json func (m *InstanceConfigurationCreateVolumeDetails) UnmarshalJSON(data []byte) (e error) { model := struct { - AvailabilityDomain *string `json:"availabilityDomain"` - BackupPolicyId *string `json:"backupPolicyId"` - CompartmentId *string `json:"compartmentId"` - IsAutoTuneEnabled *bool `json:"isAutoTuneEnabled"` - BlockVolumeReplicas []InstanceConfigurationBlockVolumeReplicaDetails `json:"blockVolumeReplicas"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - DisplayName *string `json:"displayName"` - FreeformTags map[string]string `json:"freeformTags"` - KmsKeyId *string `json:"kmsKeyId"` - VpusPerGB *int64 `json:"vpusPerGB"` - SizeInGBs *int64 `json:"sizeInGBs"` - SourceDetails instanceconfigurationvolumesourcedetails `json:"sourceDetails"` - AutotunePolicies []instanceconfigurationautotunepolicy `json:"autotunePolicies"` + AvailabilityDomain *string `json:"availabilityDomain"` + BackupPolicyId *string `json:"backupPolicyId"` + CompartmentId *string `json:"compartmentId"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + DisplayName *string `json:"displayName"` + FreeformTags map[string]string `json:"freeformTags"` + KmsKeyId *string `json:"kmsKeyId"` + VpusPerGB *int64 `json:"vpusPerGB"` + SizeInGBs *int64 `json:"sizeInGBs"` + SourceDetails instanceconfigurationvolumesourcedetails `json:"sourceDetails"` + AutotunePolicies []instanceconfigurationautotunepolicy `json:"autotunePolicies"` }{} e = json.Unmarshal(data, &model) @@ -124,13 +117,6 @@ func (m *InstanceConfigurationCreateVolumeDetails) UnmarshalJSON(data []byte) (e m.CompartmentId = model.CompartmentId - m.IsAutoTuneEnabled = model.IsAutoTuneEnabled - - m.BlockVolumeReplicas = make([]InstanceConfigurationBlockVolumeReplicaDetails, len(model.BlockVolumeReplicas)) - for i, n := range model.BlockVolumeReplicas { - m.BlockVolumeReplicas[i] = n - } - m.DefinedTags = model.DefinedTags m.DisplayName = model.DisplayName diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_detached_volume_autotune_policy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_detached_volume_autotune_policy.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_detached_volume_autotune_policy.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_detached_volume_autotune_policy.go index e1d95c36ffe8..1c805099533a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_detached_volume_autotune_policy.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_detached_volume_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_details.go index d09fddcbc6f0..1be530b03b23 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_options.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_options.go index 4e0739defe5e..17c53e7cc174 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_details.go index d7f43625ca78..588e52aaa571 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_via_boot_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_boot_volume_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_via_boot_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_boot_volume_details.go index 69886f867eaf..5b5a3a377fd8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_via_boot_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_via_image_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_image_details.go similarity index 72% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_via_image_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_image_details.go index 9694b4b043c3..3b37ab7b2fef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_instance_source_via_image_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -30,8 +32,15 @@ type InstanceConfigurationInstanceSourceViaImageDetails struct { // The OCID of the image used to boot the instance. ImageId *string `mandatory:"false" json:"imageId"` - // The OCID of the Key Management key to assign as the master encryption key for the boot volume. - KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + // The number of volume performance units (VPUs) that will be applied to this volume per GB, + // representing the Block Volume service's elastic performance options. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // Allowed values: + // * `10`: Represents Balanced option. + // * `20`: Represents Higher Performance option. + // * `30`-`120`: Represents the Ultra High Performance option. + // For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. + BootVolumeVpusPerGB *int64 `mandatory:"false" json:"bootVolumeVpusPerGB"` } func (m InstanceConfigurationInstanceSourceViaImageDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go new file mode 100644 index 000000000000..1f312805df10 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go @@ -0,0 +1,157 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard3.64 shape +// or the BM.Optimized3.36 shape (the Intel Ice Lake platform). +type InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig + }{ + "INTEL_ICELAKE_BM", + (MarshalTypeInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" +) + +var mappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS1": InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, +} + +var mappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps1": InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, +} + +// GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS1", + "NPS2", + } +} + +// GetMappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go index 1b22297f523c..a8195aa47389 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,11 +18,12 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the Intel Skylake platform. +// InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with one of the following +// shapes: BM.Standard2.52, BM.GPU2.2, BM.GPU3.8, or BM.DenseIO2.52 (the Intel Skylake platform). type InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig struct { // Whether Secure Boot is enabled on the instance. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_intel_vm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_vm_launch_instance_platform_config.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_intel_vm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_vm_launch_instance_platform_config.go index 6016fc393bc6..cf1aff326aac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_intel_vm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_iscsi_attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_iscsi_attach_volume_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_iscsi_attach_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_iscsi_attach_volume_details.go index f052c2307825..bd135e53ef66 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_iscsi_attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_iscsi_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_agent_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_agent_config_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_agent_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_agent_config_details.go index 3d4560c3ab61..0bb442d70753 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_agent_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_agent_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_details.go index f360abe58ee6..099d038348b8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -143,7 +145,7 @@ type InstanceConfigurationLaunchInstanceDetails struct { // Example: `FAULT-DOMAIN-1` FaultDomain *string `mandatory:"false" json:"faultDomain"` - // The OCID of dedicated VM host. + // The OCID of the dedicated virtual machine host to place the instance on. // Dedicated VM hosts can be used when launching individual instances from an instance configuration. They // cannot be used to launch instance pools. DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"` @@ -184,10 +186,10 @@ func (m InstanceConfigurationLaunchInstanceDetails) String() string { func (m InstanceConfigurationLaunchInstanceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum[string(m.LaunchMode)]; !ok && m.LaunchMode != "" { + if _, ok := GetMappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum(string(m.LaunchMode)); !ok && m.LaunchMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LaunchMode: %s. Supported values are: %s.", m.LaunchMode, strings.Join(GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumStringValues(), ","))) } - if _, ok := mappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum[string(m.PreferredMaintenanceAction)]; !ok && m.PreferredMaintenanceAction != "" { + if _, ok := GetMappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum(string(m.PreferredMaintenanceAction)); !ok && m.PreferredMaintenanceAction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PreferredMaintenanceAction: %s. Supported values are: %s.", m.PreferredMaintenanceAction, strings.Join(GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -315,6 +317,13 @@ var mappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum = map[string "CUSTOM": InstanceConfigurationLaunchInstanceDetailsLaunchModeCustom, } +var mappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumLowerCase = map[string]InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum{ + "native": InstanceConfigurationLaunchInstanceDetailsLaunchModeNative, + "emulated": InstanceConfigurationLaunchInstanceDetailsLaunchModeEmulated, + "paravirtualized": InstanceConfigurationLaunchInstanceDetailsLaunchModeParavirtualized, + "custom": InstanceConfigurationLaunchInstanceDetailsLaunchModeCustom, +} + // GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum func GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumValues() []InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum { values := make([]InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum, 0) @@ -334,6 +343,12 @@ func GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumStringValues() [ } } +// GetMappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum(val string) (InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum Enum with underlying type: string type InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum string @@ -348,6 +363,11 @@ var mappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionE "REBOOT": InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionReboot, } +var mappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumLowerCase = map[string]InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum{ + "live_migrate": InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionLiveMigrate, + "reboot": InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionReboot, +} + // GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum func GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumValues() []InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum { values := make([]InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum, 0) @@ -364,3 +384,9 @@ func GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum "REBOOT", } } + +// GetMappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum(val string) (InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go index b53351007d87..a041b1e8e6d1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -87,6 +89,14 @@ func (m *instanceconfigurationlaunchinstanceplatformconfig) UnmarshalPolymorphic mm := InstanceConfigurationIntelVmLaunchInstancePlatformConfig{} err = json.Unmarshal(data, &mm) return mm, err + case "AMD_MILAN_BM_GPU": + mm := InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err + case "INTEL_ICELAKE_BM": + mm := InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err case "AMD_ROME_BM": mm := InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig{} err = json.Unmarshal(data, &mm) @@ -95,6 +105,10 @@ func (m *instanceconfigurationlaunchinstanceplatformconfig) UnmarshalPolymorphic mm := InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig{} err = json.Unmarshal(data, &mm) return mm, err + case "AMD_ROME_BM_GPU": + mm := InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err case "AMD_VM": mm := InstanceConfigurationAmdVmLaunchInstancePlatformConfig{} err = json.Unmarshal(data, &mm) @@ -146,7 +160,10 @@ type InstanceConfigurationLaunchInstancePlatformConfigTypeEnum string // Set of constants representing the allowable values for InstanceConfigurationLaunchInstancePlatformConfigTypeEnum const ( InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM" + InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBmGpu InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM_GPU" InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM" + InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBmGpu InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM_GPU" + InstanceConfigurationLaunchInstancePlatformConfigTypeIntelIcelakeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_ICELAKE_BM" InstanceConfigurationLaunchInstancePlatformConfigTypeIntelSkylakeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_SKYLAKE_BM" InstanceConfigurationLaunchInstancePlatformConfigTypeAmdVm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_VM" InstanceConfigurationLaunchInstancePlatformConfigTypeIntelVm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_VM" @@ -154,12 +171,26 @@ const ( var mappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnum = map[string]InstanceConfigurationLaunchInstancePlatformConfigTypeEnum{ "AMD_MILAN_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBm, + "AMD_MILAN_BM_GPU": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBmGpu, "AMD_ROME_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBm, + "AMD_ROME_BM_GPU": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBmGpu, + "INTEL_ICELAKE_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelIcelakeBm, "INTEL_SKYLAKE_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelSkylakeBm, "AMD_VM": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdVm, "INTEL_VM": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelVm, } +var mappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnumLowerCase = map[string]InstanceConfigurationLaunchInstancePlatformConfigTypeEnum{ + "amd_milan_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBm, + "amd_milan_bm_gpu": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBmGpu, + "amd_rome_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBm, + "amd_rome_bm_gpu": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBmGpu, + "intel_icelake_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelIcelakeBm, + "intel_skylake_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelSkylakeBm, + "amd_vm": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdVm, + "intel_vm": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelVm, +} + // GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstancePlatformConfigTypeEnum func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues() []InstanceConfigurationLaunchInstancePlatformConfigTypeEnum { values := make([]InstanceConfigurationLaunchInstancePlatformConfigTypeEnum, 0) @@ -173,9 +204,18 @@ func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues() []Inst func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumStringValues() []string { return []string{ "AMD_MILAN_BM", + "AMD_MILAN_BM_GPU", "AMD_ROME_BM", + "AMD_ROME_BM_GPU", + "INTEL_ICELAKE_BM", "INTEL_SKYLAKE_BM", "AMD_VM", "INTEL_VM", } } + +// GetMappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnum(val string) (InstanceConfigurationLaunchInstancePlatformConfigTypeEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_shape_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_shape_config_details.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_shape_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_shape_config_details.go index 9bb8dabf8909..f6b9403bf885 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_instance_shape_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -41,6 +43,9 @@ type InstanceConfigurationLaunchInstanceShapeConfigDetails struct { // - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU. // - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance. BaselineOcpuUtilization InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"` + + // The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. + Nvmes *int `mandatory:"false" json:"nvmes"` } func (m InstanceConfigurationLaunchInstanceShapeConfigDetails) String() string { @@ -53,7 +58,7 @@ func (m InstanceConfigurationLaunchInstanceShapeConfigDetails) String() string { func (m InstanceConfigurationLaunchInstanceShapeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum[string(m.BaselineOcpuUtilization)]; !ok && m.BaselineOcpuUtilization != "" { + if _, ok := GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -78,6 +83,12 @@ var mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtil "BASELINE_1_1": InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilization1, } +var mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase = map[string]InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum{ + "baseline_1_8": InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilization8, + "baseline_1_2": InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilization2, + "baseline_1_1": InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilization1, +} + // GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum { values := make([]InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, 0) @@ -95,3 +106,9 @@ func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtiliza "BASELINE_1_1", } } + +// GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_options.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_options.go index 93206adb68b9..fdea5c91ca6b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_launch_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -75,16 +77,16 @@ func (m InstanceConfigurationLaunchOptions) String() string { func (m InstanceConfigurationLaunchOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum[string(m.BootVolumeType)]; !ok && m.BootVolumeType != "" { + if _, ok := GetMappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum(string(m.BootVolumeType)); !ok && m.BootVolumeType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BootVolumeType: %s. Supported values are: %s.", m.BootVolumeType, strings.Join(GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumStringValues(), ","))) } - if _, ok := mappingInstanceConfigurationLaunchOptionsFirmwareEnum[string(m.Firmware)]; !ok && m.Firmware != "" { + if _, ok := GetMappingInstanceConfigurationLaunchOptionsFirmwareEnum(string(m.Firmware)); !ok && m.Firmware != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Firmware: %s. Supported values are: %s.", m.Firmware, strings.Join(GetInstanceConfigurationLaunchOptionsFirmwareEnumStringValues(), ","))) } - if _, ok := mappingInstanceConfigurationLaunchOptionsNetworkTypeEnum[string(m.NetworkType)]; !ok && m.NetworkType != "" { + if _, ok := GetMappingInstanceConfigurationLaunchOptionsNetworkTypeEnum(string(m.NetworkType)); !ok && m.NetworkType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NetworkType: %s. Supported values are: %s.", m.NetworkType, strings.Join(GetInstanceConfigurationLaunchOptionsNetworkTypeEnumStringValues(), ","))) } - if _, ok := mappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum[string(m.RemoteDataVolumeType)]; !ok && m.RemoteDataVolumeType != "" { + if _, ok := GetMappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum(string(m.RemoteDataVolumeType)); !ok && m.RemoteDataVolumeType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RemoteDataVolumeType: %s. Supported values are: %s.", m.RemoteDataVolumeType, strings.Join(GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -113,6 +115,14 @@ var mappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum = map[string]Ins "PARAVIRTUALIZED": InstanceConfigurationLaunchOptionsBootVolumeTypeParavirtualized, } +var mappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnumLowerCase = map[string]InstanceConfigurationLaunchOptionsBootVolumeTypeEnum{ + "iscsi": InstanceConfigurationLaunchOptionsBootVolumeTypeIscsi, + "scsi": InstanceConfigurationLaunchOptionsBootVolumeTypeScsi, + "ide": InstanceConfigurationLaunchOptionsBootVolumeTypeIde, + "vfio": InstanceConfigurationLaunchOptionsBootVolumeTypeVfio, + "paravirtualized": InstanceConfigurationLaunchOptionsBootVolumeTypeParavirtualized, +} + // GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsBootVolumeTypeEnum func GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumValues() []InstanceConfigurationLaunchOptionsBootVolumeTypeEnum { values := make([]InstanceConfigurationLaunchOptionsBootVolumeTypeEnum, 0) @@ -133,6 +143,12 @@ func GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumStringValues() []str } } +// GetMappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum(val string) (InstanceConfigurationLaunchOptionsBootVolumeTypeEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // InstanceConfigurationLaunchOptionsFirmwareEnum Enum with underlying type: string type InstanceConfigurationLaunchOptionsFirmwareEnum string @@ -147,6 +163,11 @@ var mappingInstanceConfigurationLaunchOptionsFirmwareEnum = map[string]InstanceC "UEFI_64": InstanceConfigurationLaunchOptionsFirmwareUefi64, } +var mappingInstanceConfigurationLaunchOptionsFirmwareEnumLowerCase = map[string]InstanceConfigurationLaunchOptionsFirmwareEnum{ + "bios": InstanceConfigurationLaunchOptionsFirmwareBios, + "uefi_64": InstanceConfigurationLaunchOptionsFirmwareUefi64, +} + // GetInstanceConfigurationLaunchOptionsFirmwareEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsFirmwareEnum func GetInstanceConfigurationLaunchOptionsFirmwareEnumValues() []InstanceConfigurationLaunchOptionsFirmwareEnum { values := make([]InstanceConfigurationLaunchOptionsFirmwareEnum, 0) @@ -164,6 +185,12 @@ func GetInstanceConfigurationLaunchOptionsFirmwareEnumStringValues() []string { } } +// GetMappingInstanceConfigurationLaunchOptionsFirmwareEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchOptionsFirmwareEnum(val string) (InstanceConfigurationLaunchOptionsFirmwareEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchOptionsFirmwareEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // InstanceConfigurationLaunchOptionsNetworkTypeEnum Enum with underlying type: string type InstanceConfigurationLaunchOptionsNetworkTypeEnum string @@ -180,6 +207,12 @@ var mappingInstanceConfigurationLaunchOptionsNetworkTypeEnum = map[string]Instan "PARAVIRTUALIZED": InstanceConfigurationLaunchOptionsNetworkTypeParavirtualized, } +var mappingInstanceConfigurationLaunchOptionsNetworkTypeEnumLowerCase = map[string]InstanceConfigurationLaunchOptionsNetworkTypeEnum{ + "e1000": InstanceConfigurationLaunchOptionsNetworkTypeE1000, + "vfio": InstanceConfigurationLaunchOptionsNetworkTypeVfio, + "paravirtualized": InstanceConfigurationLaunchOptionsNetworkTypeParavirtualized, +} + // GetInstanceConfigurationLaunchOptionsNetworkTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsNetworkTypeEnum func GetInstanceConfigurationLaunchOptionsNetworkTypeEnumValues() []InstanceConfigurationLaunchOptionsNetworkTypeEnum { values := make([]InstanceConfigurationLaunchOptionsNetworkTypeEnum, 0) @@ -198,6 +231,12 @@ func GetInstanceConfigurationLaunchOptionsNetworkTypeEnumStringValues() []string } } +// GetMappingInstanceConfigurationLaunchOptionsNetworkTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchOptionsNetworkTypeEnum(val string) (InstanceConfigurationLaunchOptionsNetworkTypeEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchOptionsNetworkTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum Enum with underlying type: string type InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum string @@ -218,6 +257,14 @@ var mappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum = map[stri "PARAVIRTUALIZED": InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeParavirtualized, } +var mappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumLowerCase = map[string]InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum{ + "iscsi": InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeIscsi, + "scsi": InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeScsi, + "ide": InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeIde, + "vfio": InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeVfio, + "paravirtualized": InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeParavirtualized, +} + // GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum func GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumValues() []InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum { values := make([]InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum, 0) @@ -237,3 +284,9 @@ func GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumStringValues() "PARAVIRTUALIZED", } } + +// GetMappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum(val string) (InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_paravirtualized_attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_paravirtualized_attach_volume_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_paravirtualized_attach_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_paravirtualized_attach_volume_details.go index a030d54912aa..8cee47b04956 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_paravirtualized_attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_paravirtualized_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_performance_based_autotune_policy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_performance_based_autotune_policy.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_performance_based_autotune_policy.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_performance_based_autotune_policy.go index 65cfffd15e7e..596a1207b802 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_performance_based_autotune_policy.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_performance_based_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -28,7 +30,7 @@ type InstanceConfigurationPerformanceBasedAutotunePolicy struct { // This will be the maximum VPUs/GB performance level that the volume will be auto-tuned // temporarily based on performance monitoring. - MaxVPUsPerGB *int64 `mandatory:"true" json:"maxVPUsPerGB"` + MaxVpusPerGB *int64 `mandatory:"true" json:"maxVpusPerGB"` } func (m InstanceConfigurationPerformanceBasedAutotunePolicy) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_summary.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_summary.go index e6f7b2c14608..76b8539b04ef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_details.go index 7867e6ddd8ad..fc40ac23b33b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_from_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_backup_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_from_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_backup_details.go index 22eef784be17..e23c9f91a181 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_from_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_from_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_from_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_details.go index 92ba4c98dc17..b7c2b8f6185a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_volume_source_from_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_console_connection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_console_connection.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_console_connection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_console_connection.go index 6d16a375b579..4aeef2e20d97 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_console_connection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_console_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -70,7 +72,7 @@ func (m InstanceConsoleConnection) String() string { func (m InstanceConsoleConnection) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceConsoleConnectionLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingInstanceConsoleConnectionLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstanceConsoleConnectionLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -99,6 +101,14 @@ var mappingInstanceConsoleConnectionLifecycleStateEnum = map[string]InstanceCons "FAILED": InstanceConsoleConnectionLifecycleStateFailed, } +var mappingInstanceConsoleConnectionLifecycleStateEnumLowerCase = map[string]InstanceConsoleConnectionLifecycleStateEnum{ + "active": InstanceConsoleConnectionLifecycleStateActive, + "creating": InstanceConsoleConnectionLifecycleStateCreating, + "deleted": InstanceConsoleConnectionLifecycleStateDeleted, + "deleting": InstanceConsoleConnectionLifecycleStateDeleting, + "failed": InstanceConsoleConnectionLifecycleStateFailed, +} + // GetInstanceConsoleConnectionLifecycleStateEnumValues Enumerates the set of values for InstanceConsoleConnectionLifecycleStateEnum func GetInstanceConsoleConnectionLifecycleStateEnumValues() []InstanceConsoleConnectionLifecycleStateEnum { values := make([]InstanceConsoleConnectionLifecycleStateEnum, 0) @@ -118,3 +128,9 @@ func GetInstanceConsoleConnectionLifecycleStateEnumStringValues() []string { "FAILED", } } + +// GetMappingInstanceConsoleConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConsoleConnectionLifecycleStateEnum(val string) (InstanceConsoleConnectionLifecycleStateEnum, bool) { + enum, ok := mappingInstanceConsoleConnectionLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_credentials.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_credentials.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_credentials.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_credentials.go index a19e40f52055..0a4c572538f8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_credentials.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_credentials.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_resource_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_reboot.go similarity index 57% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_resource_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_reboot.go index fba5b5afec92..0381b86fca1e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_resource_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_reboot.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,34 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// UpdateResourcePoolDetails This structure is used to updated Resource Pool values (currently, internet throttle limit only). -type UpdateResourcePoolDetails struct { +// InstanceMaintenanceReboot The maximum possible date and time that a maintenance reboot can be extended. +type InstanceMaintenanceReboot struct { - // Throttling limit for internet bandwidth mbps on the given instance. - InternetThrottleLimitMbps *int64 `mandatory:"false" json:"internetThrottleLimitMbps"` - - // If this is true, internet bandwidth limit will be set as aggregate bandwidth. - IsByPassInternetThrottleLimit *bool `mandatory:"false" json:"isByPassInternetThrottleLimit"` + // The maximum extension date and time for the maintenance reboot, in the format defined by + // RFC3339 (https://tools.ietf.org/html/rfc3339). + // The range for the maintenance extension is between 1 and 14 days from the initial scheduled maintenance date. + // Example: `2018-05-25T21:10:29.600Z` + TimeMaintenanceRebootDueMax *common.SDKTime `mandatory:"true" json:"timeMaintenanceRebootDueMax"` } -func (m UpdateResourcePoolDetails) String() string { +func (m InstanceMaintenanceReboot) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m UpdateResourcePoolDetails) ValidateEnumValue() (bool, error) { +func (m InstanceMaintenanceReboot) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_options.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_options.go index ac211d25fa7a..36b7d7c36dfe 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool.go index 2bf40ed1aa17..0926a38a1c5c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -64,18 +66,6 @@ type InstancePool struct { // The load balancers attached to the instance pool. LoadBalancers []InstancePoolLoadBalancerAttachment `mandatory:"false" json:"loadBalancers"` - - // The last date and time the instance pool state was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeStateUpdated *common.SDKTime `mandatory:"false" json:"timeStateUpdated"` - - // A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. - // The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format - InstanceDisplayNameFormatter *string `mandatory:"false" json:"instanceDisplayNameFormatter"` - - // A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. - // The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format - InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"` } func (m InstancePool) String() string { @@ -87,7 +77,7 @@ func (m InstancePool) String() string { // Not recommended for calling this function directly func (m InstancePool) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstancePoolLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingInstancePoolLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstancePoolLifecycleStateEnumStringValues(), ","))) } @@ -123,6 +113,17 @@ var mappingInstancePoolLifecycleStateEnum = map[string]InstancePoolLifecycleStat "RUNNING": InstancePoolLifecycleStateRunning, } +var mappingInstancePoolLifecycleStateEnumLowerCase = map[string]InstancePoolLifecycleStateEnum{ + "provisioning": InstancePoolLifecycleStateProvisioning, + "scaling": InstancePoolLifecycleStateScaling, + "starting": InstancePoolLifecycleStateStarting, + "stopping": InstancePoolLifecycleStateStopping, + "terminating": InstancePoolLifecycleStateTerminating, + "stopped": InstancePoolLifecycleStateStopped, + "terminated": InstancePoolLifecycleStateTerminated, + "running": InstancePoolLifecycleStateRunning, +} + // GetInstancePoolLifecycleStateEnumValues Enumerates the set of values for InstancePoolLifecycleStateEnum func GetInstancePoolLifecycleStateEnumValues() []InstancePoolLifecycleStateEnum { values := make([]InstancePoolLifecycleStateEnum, 0) @@ -145,3 +146,9 @@ func GetInstancePoolLifecycleStateEnumStringValues() []string { "RUNNING", } } + +// GetMappingInstancePoolLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstancePoolLifecycleStateEnum(val string) (InstancePoolLifecycleStateEnum, bool) { + enum, ok := mappingInstancePoolLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_instance.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_instance.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance.go index 507415aef1a9..a3725b7c8f5a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_instance.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -76,7 +78,7 @@ func (m InstancePoolInstance) String() string { // Not recommended for calling this function directly func (m InstancePoolInstance) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstancePoolInstanceLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingInstancePoolInstanceLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstancePoolInstanceLifecycleStateEnumStringValues(), ","))) } @@ -102,6 +104,12 @@ var mappingInstancePoolInstanceLifecycleStateEnum = map[string]InstancePoolInsta "DETACHING": InstancePoolInstanceLifecycleStateDetaching, } +var mappingInstancePoolInstanceLifecycleStateEnumLowerCase = map[string]InstancePoolInstanceLifecycleStateEnum{ + "attaching": InstancePoolInstanceLifecycleStateAttaching, + "active": InstancePoolInstanceLifecycleStateActive, + "detaching": InstancePoolInstanceLifecycleStateDetaching, +} + // GetInstancePoolInstanceLifecycleStateEnumValues Enumerates the set of values for InstancePoolInstanceLifecycleStateEnum func GetInstancePoolInstanceLifecycleStateEnumValues() []InstancePoolInstanceLifecycleStateEnum { values := make([]InstancePoolInstanceLifecycleStateEnum, 0) @@ -119,3 +127,9 @@ func GetInstancePoolInstanceLifecycleStateEnumStringValues() []string { "DETACHING", } } + +// GetMappingInstancePoolInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstancePoolInstanceLifecycleStateEnum(val string) (InstancePoolInstanceLifecycleStateEnum, bool) { + enum, ok := mappingInstancePoolInstanceLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_instance_load_balancer_backend.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance_load_balancer_backend.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_instance_load_balancer_backend.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance_load_balancer_backend.go index 5c7c5e2a16b5..6e9f72f25626 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_instance_load_balancer_backend.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance_load_balancer_backend.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -44,7 +46,7 @@ func (m InstancePoolInstanceLoadBalancerBackend) String() string { // Not recommended for calling this function directly func (m InstancePoolInstanceLoadBalancerBackend) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum[string(m.BackendHealthStatus)]; !ok && m.BackendHealthStatus != "" { + if _, ok := GetMappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum(string(m.BackendHealthStatus)); !ok && m.BackendHealthStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BackendHealthStatus: %s. Supported values are: %s.", m.BackendHealthStatus, strings.Join(GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumStringValues(), ","))) } @@ -72,6 +74,13 @@ var mappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum = map[ "UNKNOWN": InstancePoolInstanceLoadBalancerBackendBackendHealthStatusUnknown, } +var mappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumLowerCase = map[string]InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum{ + "ok": InstancePoolInstanceLoadBalancerBackendBackendHealthStatusOk, + "warning": InstancePoolInstanceLoadBalancerBackendBackendHealthStatusWarning, + "critical": InstancePoolInstanceLoadBalancerBackendBackendHealthStatusCritical, + "unknown": InstancePoolInstanceLoadBalancerBackendBackendHealthStatusUnknown, +} + // GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumValues Enumerates the set of values for InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum func GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumValues() []InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum { values := make([]InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum, 0) @@ -90,3 +99,9 @@ func GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumStringValu "UNKNOWN", } } + +// GetMappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum(val string) (InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum, bool) { + enum, ok := mappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_load_balancer_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_load_balancer_attachment.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_load_balancer_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_load_balancer_attachment.go index 9f05f5e7fbac..a234f4385fa1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_load_balancer_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_load_balancer_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -55,7 +57,7 @@ func (m InstancePoolLoadBalancerAttachment) String() string { // Not recommended for calling this function directly func (m InstancePoolLoadBalancerAttachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumStringValues(), ","))) } @@ -83,6 +85,13 @@ var mappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum = map[string]Ins "DETACHED": InstancePoolLoadBalancerAttachmentLifecycleStateDetached, } +var mappingInstancePoolLoadBalancerAttachmentLifecycleStateEnumLowerCase = map[string]InstancePoolLoadBalancerAttachmentLifecycleStateEnum{ + "attaching": InstancePoolLoadBalancerAttachmentLifecycleStateAttaching, + "attached": InstancePoolLoadBalancerAttachmentLifecycleStateAttached, + "detaching": InstancePoolLoadBalancerAttachmentLifecycleStateDetaching, + "detached": InstancePoolLoadBalancerAttachmentLifecycleStateDetached, +} + // GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumValues Enumerates the set of values for InstancePoolLoadBalancerAttachmentLifecycleStateEnum func GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumValues() []InstancePoolLoadBalancerAttachmentLifecycleStateEnum { values := make([]InstancePoolLoadBalancerAttachmentLifecycleStateEnum, 0) @@ -101,3 +110,9 @@ func GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumStringValues() []str "DETACHED", } } + +// GetMappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum(val string) (InstancePoolLoadBalancerAttachmentLifecycleStateEnum, bool) { + enum, ok := mappingInstancePoolLoadBalancerAttachmentLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_placement_configuration.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_placement_configuration.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go index db5ae42f9e1e..ddbd5a76f8b9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_placement_configuration.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_placement_secondary_vnic_subnet.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_placement_secondary_vnic_subnet.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go index 642a13beeb87..ffffdb918c22 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_placement_secondary_vnic_subnet.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -25,7 +27,7 @@ type InstancePoolPlacementSecondaryVnicSubnet struct { // The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. SubnetId *string `mandatory:"true" json:"subnetId"` - // The display name of the VNIC. This is also use to match against the instance configuration defined + // The display name of the VNIC. This is also used to match against the instance configuration defined // secondary VNIC. DisplayName *string `mandatory:"false" json:"displayName"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_summary.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_summary.go index 72318252fb10..9f5a18a7c2cc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_pool_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -57,10 +59,6 @@ type InstancePoolSummary struct { // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // The last date and time the instance pool state was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2016-08-25T21:10:29.600Z` - TimeStateUpdated *common.SDKTime `mandatory:"false" json:"timeStateUpdated"` } func (m InstancePoolSummary) String() string { @@ -72,7 +70,7 @@ func (m InstancePoolSummary) String() string { // Not recommended for calling this function directly func (m InstancePoolSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstancePoolSummaryLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingInstancePoolSummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstancePoolSummaryLifecycleStateEnumStringValues(), ","))) } @@ -108,6 +106,17 @@ var mappingInstancePoolSummaryLifecycleStateEnum = map[string]InstancePoolSummar "RUNNING": InstancePoolSummaryLifecycleStateRunning, } +var mappingInstancePoolSummaryLifecycleStateEnumLowerCase = map[string]InstancePoolSummaryLifecycleStateEnum{ + "provisioning": InstancePoolSummaryLifecycleStateProvisioning, + "scaling": InstancePoolSummaryLifecycleStateScaling, + "starting": InstancePoolSummaryLifecycleStateStarting, + "stopping": InstancePoolSummaryLifecycleStateStopping, + "terminating": InstancePoolSummaryLifecycleStateTerminating, + "stopped": InstancePoolSummaryLifecycleStateStopped, + "terminated": InstancePoolSummaryLifecycleStateTerminated, + "running": InstancePoolSummaryLifecycleStateRunning, +} + // GetInstancePoolSummaryLifecycleStateEnumValues Enumerates the set of values for InstancePoolSummaryLifecycleStateEnum func GetInstancePoolSummaryLifecycleStateEnumValues() []InstancePoolSummaryLifecycleStateEnum { values := make([]InstancePoolSummaryLifecycleStateEnum, 0) @@ -130,3 +139,9 @@ func GetInstancePoolSummaryLifecycleStateEnumStringValues() []string { "RUNNING", } } + +// GetMappingInstancePoolSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstancePoolSummaryLifecycleStateEnum(val string) (InstancePoolSummaryLifecycleStateEnum, bool) { + enum, ok := mappingInstancePoolSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_power_action_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_power_action_details.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_power_action_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_power_action_details.go index 26fedbf95322..f50676c2d533 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_power_action_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_power_action_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,11 +18,11 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// InstancePowerActionDetails A base object for all types of Instance Power Action requests. +// InstancePowerActionDetails A base object for all types of instance power action requests. type InstancePowerActionDetails interface { } @@ -58,6 +60,10 @@ func (m *instancepoweractiondetails) UnmarshalPolymorphicJSON(data []byte) (inte mm := ResetActionDetails{} err = json.Unmarshal(data, &mm) return mm, err + case "rebootMigrate": + mm := RebootMigrateActionDetails{} + err = json.Unmarshal(data, &mm) + return mm, err case "softreset": mm := SoftResetActionDetails{} err = json.Unmarshal(data, &mm) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config.go index a868f9514e1b..edce077f5d81 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -38,6 +40,8 @@ type InstanceReservationConfig struct { // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm). FaultDomain *string `mandatory:"false" json:"faultDomain"` + ClusterConfig *ClusterConfigDetails `mandatory:"false" json:"clusterConfig"` + InstanceShapeConfig *InstanceReservationShapeConfigDetails `mandatory:"false" json:"instanceShapeConfig"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config_details.go index ce07d2daa4a6..a4d3447f8a16 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -42,6 +44,8 @@ type InstanceReservationConfigDetails struct { // the Identity and Access Management Service API (https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/). // Example: `FAULT-DOMAIN-1` FaultDomain *string `mandatory:"false" json:"faultDomain"` + + ClusterConfig *ClusterConfigDetails `mandatory:"false" json:"clusterConfig"` } func (m InstanceReservationConfigDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_shape_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_shape_config_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_shape_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_shape_config_details.go index 378b3885d8d8..d0c95b1ed53c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_reservation_shape_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_shape_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_shape_config.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_shape_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_shape_config.go index 77ecd821a14a..3ffc5865da2e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_shape_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_shape_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -75,7 +77,7 @@ func (m InstanceShapeConfig) String() string { func (m InstanceShapeConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInstanceShapeConfigBaselineOcpuUtilizationEnum[string(m.BaselineOcpuUtilization)]; !ok && m.BaselineOcpuUtilization != "" { + if _, ok := GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -100,6 +102,12 @@ var mappingInstanceShapeConfigBaselineOcpuUtilizationEnum = map[string]InstanceS "BASELINE_1_1": InstanceShapeConfigBaselineOcpuUtilization1, } +var mappingInstanceShapeConfigBaselineOcpuUtilizationEnumLowerCase = map[string]InstanceShapeConfigBaselineOcpuUtilizationEnum{ + "baseline_1_8": InstanceShapeConfigBaselineOcpuUtilization8, + "baseline_1_2": InstanceShapeConfigBaselineOcpuUtilization2, + "baseline_1_1": InstanceShapeConfigBaselineOcpuUtilization1, +} + // GetInstanceShapeConfigBaselineOcpuUtilizationEnumValues Enumerates the set of values for InstanceShapeConfigBaselineOcpuUtilizationEnum func GetInstanceShapeConfigBaselineOcpuUtilizationEnumValues() []InstanceShapeConfigBaselineOcpuUtilizationEnum { values := make([]InstanceShapeConfigBaselineOcpuUtilizationEnum, 0) @@ -117,3 +125,9 @@ func GetInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues() []string { "BASELINE_1_1", } } + +// GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum(val string) (InstanceShapeConfigBaselineOcpuUtilizationEnum, bool) { + enum, ok := mappingInstanceShapeConfigBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_details.go index 21ec153348e4..cf83eb29660e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_via_boot_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_boot_volume_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_via_boot_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_boot_volume_details.go index 83068818009d..8d635128a2da 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_via_boot_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_via_image_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_image_details.go similarity index 68% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_via_image_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_image_details.go index f3927aed0c7a..9a53f0b53e68 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_source_via_image_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -29,8 +31,18 @@ type InstanceSourceViaImageDetails struct { // The size of the boot volume in GBs. Minimum value is 50 GB and maximum value is 32,768 GB (32 TB). BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"` - // The OCID of the Key Management key to assign as the master encryption key for the boot volume. + // The OCID of the Vault service key to assign as the master encryption key for the boot volume. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + + // The number of volume performance units (VPUs) that will be applied to this volume per GB, + // representing the Block Volume service's elastic performance options. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // Allowed values: + // * `10`: Represents Balanced option. + // * `20`: Represents Higher Performance option. + // * `30`-`120`: Represents the Ultra High Performance option. + // For volumes with the auto-tuned performance feature enabled, this is set to the default (minimum) VPUs/GB. + BootVolumeVpusPerGB *int64 `mandatory:"false" json:"bootVolumeVpusPerGB"` } func (m InstanceSourceViaImageDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_summary.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_summary.go index 4349f9bf0466..f191f02d2d04 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go new file mode 100644 index 000000000000..c0cb9ce263ae --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go @@ -0,0 +1,157 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// IntelIcelakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard3.64 shape +// or the BM.Optimized3.36 shape (the Intel Ice Lake platform). +type IntelIcelakeBmLaunchInstancePlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m IntelIcelakeBmLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m IntelIcelakeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m IntelIcelakeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeIntelIcelakeBmLaunchInstancePlatformConfig IntelIcelakeBmLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeIntelIcelakeBmLaunchInstancePlatformConfig + }{ + "INTEL_ICELAKE_BM", + (MarshalTypeIntelIcelakeBmLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" +) + +var mappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS1": IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, +} + +var mappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "nps1": IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "nps2": IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, +} + +// GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS1", + "NPS2", + } +} + +// GetMappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go new file mode 100644 index 000000000000..bc5447833e3a --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go @@ -0,0 +1,157 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// IntelIcelakeBmPlatformConfig The platform configuration of a bare metal instance that uses the BM.Standard3.64 shape or the +// BM.Optimized3.36 shape (the Intel Ice Lake platform). +type IntelIcelakeBmPlatformConfig struct { + + // Whether Secure Boot is enabled on the instance. + IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"` + + // Whether the Trusted Platform Module (TPM) is enabled on the instance. + IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"` + + // Whether the Measured Boot feature is enabled on the instance. + IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"` + + // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + + // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also + // called simultaneous multithreading (SMT) or Intel Hyper-Threading. + // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple + // independent threads of execution, to better use the resources and increase the efficiency + // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which + // can provide higher or more predictable performance for some workloads. + IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"` + + // Whether the input-output memory management unit is enabled. + IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"` + + // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage + // results in a fractional number of cores, the system rounds up the number of cores across processors + // and provisions an instance with a whole number of cores. + // If the applications that you run on the instance use a core-based licensing model and need fewer cores + // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance + // itself is billed for the full shape, regardless of whether all cores are enabled. + PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"` + + // The number of NUMA nodes per socket (NPS). + NumaNodesPerSocket IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +// GetIsSecureBootEnabled returns IsSecureBootEnabled +func (m IntelIcelakeBmPlatformConfig) GetIsSecureBootEnabled() *bool { + return m.IsSecureBootEnabled +} + +// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled +func (m IntelIcelakeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool { + return m.IsTrustedPlatformModuleEnabled +} + +// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled +func (m IntelIcelakeBmPlatformConfig) GetIsMeasuredBootEnabled() *bool { + return m.IsMeasuredBootEnabled +} + +// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled +func (m IntelIcelakeBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool { + return m.IsMemoryEncryptionEnabled +} + +func (m IntelIcelakeBmPlatformConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m IntelIcelakeBmPlatformConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m IntelIcelakeBmPlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeIntelIcelakeBmPlatformConfig IntelIcelakeBmPlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeIntelIcelakeBmPlatformConfig + }{ + "INTEL_ICELAKE_BM", + (MarshalTypeIntelIcelakeBmPlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum +const ( + IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps1 IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS1" + IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps2 IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS2" +) + +var mappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum = map[string]IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum{ + "NPS1": IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps1, + "NPS2": IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps2, +} + +var mappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum{ + "nps1": IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps1, + "nps2": IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps2, +} + +// GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum +func GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumValues() []IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum { + values := make([]IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum { + values = append(values, v) + } + return values +} + +// GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum +func GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string { + return []string{ + "NPS1", + "NPS2", + } +} + +// GetMappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum(val string) (IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum, bool) { + enum, ok := mappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_skylake_bm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_skylake_bm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go index 512eb55482f4..467e11935177 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_skylake_bm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,11 +18,12 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// IntelSkylakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the Intel Skylake platform. +// IntelSkylakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with an Intel X7-based processor +// (the Intel Skylake platform). type IntelSkylakeBmLaunchInstancePlatformConfig struct { // Whether Secure Boot is enabled on the instance. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_skylake_bm_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_skylake_bm_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go index 4648f111e536..f2bed3aa7010 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_skylake_bm_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,11 +18,12 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// IntelSkylakeBmPlatformConfig The platform configuration of a bare metal instance that uses the Intel Skylake platform. +// IntelSkylakeBmPlatformConfig The platform configuration of a bare metal instance that uses one of the following shapes: +// BM.Standard2.52, BM.GPU2.2, BM.GPU3.8, or BM.DenseIO2.52 (the Intel Skylake platform). type IntelSkylakeBmPlatformConfig struct { // Whether Secure Boot is enabled on the instance. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_vm_launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_vm_launch_instance_platform_config.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_vm_launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_vm_launch_instance_platform_config.go index 5460b0040acc..49e1aba85b5d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_vm_launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_vm_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_vm_platform_config.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_vm_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_vm_platform_config.go index f7c0fe5a7cb2..05e86b92e700 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/intel_vm_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/intel_vm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_gateway.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/internet_gateway.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_gateway.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/internet_gateway.go index 7bb83a7b8b77..61df95f7877f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/internet_gateway.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/internet_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -60,6 +62,9 @@ type InternetGateway struct { // The date and time the internet gateway was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m InternetGateway) String() string { @@ -71,7 +76,7 @@ func (m InternetGateway) String() string { // Not recommended for calling this function directly func (m InternetGateway) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingInternetGatewayLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingInternetGatewayLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInternetGatewayLifecycleStateEnumStringValues(), ","))) } @@ -99,6 +104,13 @@ var mappingInternetGatewayLifecycleStateEnum = map[string]InternetGatewayLifecyc "TERMINATED": InternetGatewayLifecycleStateTerminated, } +var mappingInternetGatewayLifecycleStateEnumLowerCase = map[string]InternetGatewayLifecycleStateEnum{ + "provisioning": InternetGatewayLifecycleStateProvisioning, + "available": InternetGatewayLifecycleStateAvailable, + "terminating": InternetGatewayLifecycleStateTerminating, + "terminated": InternetGatewayLifecycleStateTerminated, +} + // GetInternetGatewayLifecycleStateEnumValues Enumerates the set of values for InternetGatewayLifecycleStateEnum func GetInternetGatewayLifecycleStateEnumValues() []InternetGatewayLifecycleStateEnum { values := make([]InternetGatewayLifecycleStateEnum, 0) @@ -117,3 +129,9 @@ func GetInternetGatewayLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingInternetGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInternetGatewayLifecycleStateEnum(val string) (InternetGatewayLifecycleStateEnum, bool) { + enum, ok := mappingInternetGatewayLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go index 5c00cefa632c..40c9ddd88e45 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -45,10 +47,10 @@ type IpSecConnection struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object. CpeId *string `mandatory:"true" json:"cpeId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" json:"drgId"` - // The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). + // The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The IPSec connection's current state. @@ -98,11 +100,6 @@ type IpSecConnection struct { // The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - - MigrationStatus *IpSecConnectionMigrationStatus `mandatory:"false" json:"migrationStatus"` - - // Ipsec Connection's version which is "1" for Juniper or "2" for NextGen. - IpsecConnectionVersion *int `mandatory:"false" json:"ipsecConnectionVersion"` } func (m IpSecConnection) String() string { @@ -114,11 +111,11 @@ func (m IpSecConnection) String() string { // Not recommended for calling this function directly func (m IpSecConnection) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingIpSecConnectionLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingIpSecConnectionLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetIpSecConnectionLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingIpSecConnectionCpeLocalIdentifierTypeEnum[string(m.CpeLocalIdentifierType)]; !ok && m.CpeLocalIdentifierType != "" { + if _, ok := GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum(string(m.CpeLocalIdentifierType)); !ok && m.CpeLocalIdentifierType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CpeLocalIdentifierType: %s. Supported values are: %s.", m.CpeLocalIdentifierType, strings.Join(GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +142,13 @@ var mappingIpSecConnectionLifecycleStateEnum = map[string]IpSecConnectionLifecyc "TERMINATED": IpSecConnectionLifecycleStateTerminated, } +var mappingIpSecConnectionLifecycleStateEnumLowerCase = map[string]IpSecConnectionLifecycleStateEnum{ + "provisioning": IpSecConnectionLifecycleStateProvisioning, + "available": IpSecConnectionLifecycleStateAvailable, + "terminating": IpSecConnectionLifecycleStateTerminating, + "terminated": IpSecConnectionLifecycleStateTerminated, +} + // GetIpSecConnectionLifecycleStateEnumValues Enumerates the set of values for IpSecConnectionLifecycleStateEnum func GetIpSecConnectionLifecycleStateEnumValues() []IpSecConnectionLifecycleStateEnum { values := make([]IpSecConnectionLifecycleStateEnum, 0) @@ -164,6 +168,12 @@ func GetIpSecConnectionLifecycleStateEnumStringValues() []string { } } +// GetMappingIpSecConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionLifecycleStateEnum(val string) (IpSecConnectionLifecycleStateEnum, bool) { + enum, ok := mappingIpSecConnectionLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // IpSecConnectionCpeLocalIdentifierTypeEnum Enum with underlying type: string type IpSecConnectionCpeLocalIdentifierTypeEnum string @@ -178,6 +188,11 @@ var mappingIpSecConnectionCpeLocalIdentifierTypeEnum = map[string]IpSecConnectio "HOSTNAME": IpSecConnectionCpeLocalIdentifierTypeHostname, } +var mappingIpSecConnectionCpeLocalIdentifierTypeEnumLowerCase = map[string]IpSecConnectionCpeLocalIdentifierTypeEnum{ + "ip_address": IpSecConnectionCpeLocalIdentifierTypeIpAddress, + "hostname": IpSecConnectionCpeLocalIdentifierTypeHostname, +} + // GetIpSecConnectionCpeLocalIdentifierTypeEnumValues Enumerates the set of values for IpSecConnectionCpeLocalIdentifierTypeEnum func GetIpSecConnectionCpeLocalIdentifierTypeEnumValues() []IpSecConnectionCpeLocalIdentifierTypeEnum { values := make([]IpSecConnectionCpeLocalIdentifierTypeEnum, 0) @@ -194,3 +209,9 @@ func GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues() []string { "HOSTNAME", } } + +// GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum(val string) (IpSecConnectionCpeLocalIdentifierTypeEnum, bool) { + enum, ok := mappingIpSecConnectionCpeLocalIdentifierTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_device_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_config.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_device_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_config.go index 527d6b3145e0..174d8e772fad 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_device_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_device_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_status.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_device_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_status.go index aca7ce2074c0..c3d3256b59eb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_device_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go similarity index 75% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go index c8adf85bc367..e6b8596886c3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -101,26 +103,26 @@ func (m IpSecConnectionTunnel) String() string { // Not recommended for calling this function directly func (m IpSecConnectionTunnel) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingIpSecConnectionTunnelLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingIpSecConnectionTunnelLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetIpSecConnectionTunnelLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingIpSecConnectionTunnelStatusEnum[string(m.Status)]; !ok && m.Status != "" { + if _, ok := GetMappingIpSecConnectionTunnelStatusEnum(string(m.Status)); !ok && m.Status != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetIpSecConnectionTunnelStatusEnumStringValues(), ","))) } - if _, ok := mappingIpSecConnectionTunnelIkeVersionEnum[string(m.IkeVersion)]; !ok && m.IkeVersion != "" { + if _, ok := GetMappingIpSecConnectionTunnelIkeVersionEnum(string(m.IkeVersion)); !ok && m.IkeVersion != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IkeVersion: %s. Supported values are: %s.", m.IkeVersion, strings.Join(GetIpSecConnectionTunnelIkeVersionEnumStringValues(), ","))) } - if _, ok := mappingIpSecConnectionTunnelRoutingEnum[string(m.Routing)]; !ok && m.Routing != "" { + if _, ok := GetMappingIpSecConnectionTunnelRoutingEnum(string(m.Routing)); !ok && m.Routing != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Routing: %s. Supported values are: %s.", m.Routing, strings.Join(GetIpSecConnectionTunnelRoutingEnumStringValues(), ","))) } - if _, ok := mappingIpSecConnectionTunnelOracleCanInitiateEnum[string(m.OracleCanInitiate)]; !ok && m.OracleCanInitiate != "" { + if _, ok := GetMappingIpSecConnectionTunnelOracleCanInitiateEnum(string(m.OracleCanInitiate)); !ok && m.OracleCanInitiate != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OracleCanInitiate: %s. Supported values are: %s.", m.OracleCanInitiate, strings.Join(GetIpSecConnectionTunnelOracleCanInitiateEnumStringValues(), ","))) } - if _, ok := mappingIpSecConnectionTunnelNatTranslationEnabledEnum[string(m.NatTranslationEnabled)]; !ok && m.NatTranslationEnabled != "" { + if _, ok := GetMappingIpSecConnectionTunnelNatTranslationEnabledEnum(string(m.NatTranslationEnabled)); !ok && m.NatTranslationEnabled != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NatTranslationEnabled: %s. Supported values are: %s.", m.NatTranslationEnabled, strings.Join(GetIpSecConnectionTunnelNatTranslationEnabledEnumStringValues(), ","))) } - if _, ok := mappingIpSecConnectionTunnelDpdModeEnum[string(m.DpdMode)]; !ok && m.DpdMode != "" { + if _, ok := GetMappingIpSecConnectionTunnelDpdModeEnum(string(m.DpdMode)); !ok && m.DpdMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DpdMode: %s. Supported values are: %s.", m.DpdMode, strings.Join(GetIpSecConnectionTunnelDpdModeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -147,6 +149,13 @@ var mappingIpSecConnectionTunnelStatusEnum = map[string]IpSecConnectionTunnelSta "PARTIAL_UP": IpSecConnectionTunnelStatusPartialUp, } +var mappingIpSecConnectionTunnelStatusEnumLowerCase = map[string]IpSecConnectionTunnelStatusEnum{ + "up": IpSecConnectionTunnelStatusUp, + "down": IpSecConnectionTunnelStatusDown, + "down_for_maintenance": IpSecConnectionTunnelStatusDownForMaintenance, + "partial_up": IpSecConnectionTunnelStatusPartialUp, +} + // GetIpSecConnectionTunnelStatusEnumValues Enumerates the set of values for IpSecConnectionTunnelStatusEnum func GetIpSecConnectionTunnelStatusEnumValues() []IpSecConnectionTunnelStatusEnum { values := make([]IpSecConnectionTunnelStatusEnum, 0) @@ -166,6 +175,12 @@ func GetIpSecConnectionTunnelStatusEnumStringValues() []string { } } +// GetMappingIpSecConnectionTunnelStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionTunnelStatusEnum(val string) (IpSecConnectionTunnelStatusEnum, bool) { + enum, ok := mappingIpSecConnectionTunnelStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // IpSecConnectionTunnelIkeVersionEnum Enum with underlying type: string type IpSecConnectionTunnelIkeVersionEnum string @@ -180,6 +195,11 @@ var mappingIpSecConnectionTunnelIkeVersionEnum = map[string]IpSecConnectionTunne "V2": IpSecConnectionTunnelIkeVersionV2, } +var mappingIpSecConnectionTunnelIkeVersionEnumLowerCase = map[string]IpSecConnectionTunnelIkeVersionEnum{ + "v1": IpSecConnectionTunnelIkeVersionV1, + "v2": IpSecConnectionTunnelIkeVersionV2, +} + // GetIpSecConnectionTunnelIkeVersionEnumValues Enumerates the set of values for IpSecConnectionTunnelIkeVersionEnum func GetIpSecConnectionTunnelIkeVersionEnumValues() []IpSecConnectionTunnelIkeVersionEnum { values := make([]IpSecConnectionTunnelIkeVersionEnum, 0) @@ -197,6 +217,12 @@ func GetIpSecConnectionTunnelIkeVersionEnumStringValues() []string { } } +// GetMappingIpSecConnectionTunnelIkeVersionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionTunnelIkeVersionEnum(val string) (IpSecConnectionTunnelIkeVersionEnum, bool) { + enum, ok := mappingIpSecConnectionTunnelIkeVersionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // IpSecConnectionTunnelLifecycleStateEnum Enum with underlying type: string type IpSecConnectionTunnelLifecycleStateEnum string @@ -215,6 +241,13 @@ var mappingIpSecConnectionTunnelLifecycleStateEnum = map[string]IpSecConnectionT "TERMINATED": IpSecConnectionTunnelLifecycleStateTerminated, } +var mappingIpSecConnectionTunnelLifecycleStateEnumLowerCase = map[string]IpSecConnectionTunnelLifecycleStateEnum{ + "provisioning": IpSecConnectionTunnelLifecycleStateProvisioning, + "available": IpSecConnectionTunnelLifecycleStateAvailable, + "terminating": IpSecConnectionTunnelLifecycleStateTerminating, + "terminated": IpSecConnectionTunnelLifecycleStateTerminated, +} + // GetIpSecConnectionTunnelLifecycleStateEnumValues Enumerates the set of values for IpSecConnectionTunnelLifecycleStateEnum func GetIpSecConnectionTunnelLifecycleStateEnumValues() []IpSecConnectionTunnelLifecycleStateEnum { values := make([]IpSecConnectionTunnelLifecycleStateEnum, 0) @@ -234,6 +267,12 @@ func GetIpSecConnectionTunnelLifecycleStateEnumStringValues() []string { } } +// GetMappingIpSecConnectionTunnelLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionTunnelLifecycleStateEnum(val string) (IpSecConnectionTunnelLifecycleStateEnum, bool) { + enum, ok := mappingIpSecConnectionTunnelLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // IpSecConnectionTunnelRoutingEnum Enum with underlying type: string type IpSecConnectionTunnelRoutingEnum string @@ -250,6 +289,12 @@ var mappingIpSecConnectionTunnelRoutingEnum = map[string]IpSecConnectionTunnelRo "POLICY": IpSecConnectionTunnelRoutingPolicy, } +var mappingIpSecConnectionTunnelRoutingEnumLowerCase = map[string]IpSecConnectionTunnelRoutingEnum{ + "bgp": IpSecConnectionTunnelRoutingBgp, + "static": IpSecConnectionTunnelRoutingStatic, + "policy": IpSecConnectionTunnelRoutingPolicy, +} + // GetIpSecConnectionTunnelRoutingEnumValues Enumerates the set of values for IpSecConnectionTunnelRoutingEnum func GetIpSecConnectionTunnelRoutingEnumValues() []IpSecConnectionTunnelRoutingEnum { values := make([]IpSecConnectionTunnelRoutingEnum, 0) @@ -268,6 +313,12 @@ func GetIpSecConnectionTunnelRoutingEnumStringValues() []string { } } +// GetMappingIpSecConnectionTunnelRoutingEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionTunnelRoutingEnum(val string) (IpSecConnectionTunnelRoutingEnum, bool) { + enum, ok := mappingIpSecConnectionTunnelRoutingEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // IpSecConnectionTunnelOracleCanInitiateEnum Enum with underlying type: string type IpSecConnectionTunnelOracleCanInitiateEnum string @@ -282,6 +333,11 @@ var mappingIpSecConnectionTunnelOracleCanInitiateEnum = map[string]IpSecConnecti "RESPONDER_ONLY": IpSecConnectionTunnelOracleCanInitiateResponderOnly, } +var mappingIpSecConnectionTunnelOracleCanInitiateEnumLowerCase = map[string]IpSecConnectionTunnelOracleCanInitiateEnum{ + "initiator_or_responder": IpSecConnectionTunnelOracleCanInitiateInitiatorOrResponder, + "responder_only": IpSecConnectionTunnelOracleCanInitiateResponderOnly, +} + // GetIpSecConnectionTunnelOracleCanInitiateEnumValues Enumerates the set of values for IpSecConnectionTunnelOracleCanInitiateEnum func GetIpSecConnectionTunnelOracleCanInitiateEnumValues() []IpSecConnectionTunnelOracleCanInitiateEnum { values := make([]IpSecConnectionTunnelOracleCanInitiateEnum, 0) @@ -299,6 +355,12 @@ func GetIpSecConnectionTunnelOracleCanInitiateEnumStringValues() []string { } } +// GetMappingIpSecConnectionTunnelOracleCanInitiateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionTunnelOracleCanInitiateEnum(val string) (IpSecConnectionTunnelOracleCanInitiateEnum, bool) { + enum, ok := mappingIpSecConnectionTunnelOracleCanInitiateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // IpSecConnectionTunnelNatTranslationEnabledEnum Enum with underlying type: string type IpSecConnectionTunnelNatTranslationEnabledEnum string @@ -315,6 +377,12 @@ var mappingIpSecConnectionTunnelNatTranslationEnabledEnum = map[string]IpSecConn "AUTO": IpSecConnectionTunnelNatTranslationEnabledAuto, } +var mappingIpSecConnectionTunnelNatTranslationEnabledEnumLowerCase = map[string]IpSecConnectionTunnelNatTranslationEnabledEnum{ + "enabled": IpSecConnectionTunnelNatTranslationEnabledEnabled, + "disabled": IpSecConnectionTunnelNatTranslationEnabledDisabled, + "auto": IpSecConnectionTunnelNatTranslationEnabledAuto, +} + // GetIpSecConnectionTunnelNatTranslationEnabledEnumValues Enumerates the set of values for IpSecConnectionTunnelNatTranslationEnabledEnum func GetIpSecConnectionTunnelNatTranslationEnabledEnumValues() []IpSecConnectionTunnelNatTranslationEnabledEnum { values := make([]IpSecConnectionTunnelNatTranslationEnabledEnum, 0) @@ -333,6 +401,12 @@ func GetIpSecConnectionTunnelNatTranslationEnabledEnumStringValues() []string { } } +// GetMappingIpSecConnectionTunnelNatTranslationEnabledEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionTunnelNatTranslationEnabledEnum(val string) (IpSecConnectionTunnelNatTranslationEnabledEnum, bool) { + enum, ok := mappingIpSecConnectionTunnelNatTranslationEnabledEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // IpSecConnectionTunnelDpdModeEnum Enum with underlying type: string type IpSecConnectionTunnelDpdModeEnum string @@ -347,6 +421,11 @@ var mappingIpSecConnectionTunnelDpdModeEnum = map[string]IpSecConnectionTunnelDp "RESPOND_ONLY": IpSecConnectionTunnelDpdModeRespondOnly, } +var mappingIpSecConnectionTunnelDpdModeEnumLowerCase = map[string]IpSecConnectionTunnelDpdModeEnum{ + "initiate_and_respond": IpSecConnectionTunnelDpdModeInitiateAndRespond, + "respond_only": IpSecConnectionTunnelDpdModeRespondOnly, +} + // GetIpSecConnectionTunnelDpdModeEnumValues Enumerates the set of values for IpSecConnectionTunnelDpdModeEnum func GetIpSecConnectionTunnelDpdModeEnumValues() []IpSecConnectionTunnelDpdModeEnum { values := make([]IpSecConnectionTunnelDpdModeEnum, 0) @@ -363,3 +442,9 @@ func GetIpSecConnectionTunnelDpdModeEnumStringValues() []string { "RESPOND_ONLY", } } + +// GetMappingIpSecConnectionTunnelDpdModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpSecConnectionTunnelDpdModeEnum(val string) (IpSecConnectionTunnelDpdModeEnum, bool) { + enum, ok := mappingIpSecConnectionTunnelDpdModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel_error_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_error_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel_error_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_error_details.go index 0447f43afe77..e90987310bbc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel_error_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_error_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel_shared_secret.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_shared_secret.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel_shared_secret.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_shared_secret.go index 3bb173c2404d..ba3e8c6b3e1e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ip_sec_connection_tunnel_shared_secret.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_shared_secret.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipsec_tunnel_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go similarity index 68% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipsec_tunnel_drg_attachment_network_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go index 83daace42b32..ea4606ed9c8c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipsec_tunnel_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -28,26 +30,6 @@ type IpsecTunnelDrgAttachmentNetworkDetails struct { // The IPSec connection that contains the attached IPSec tunnel. IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"` - - // Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors - // tagged with the attachment's import route target. - ImportRouteTarget *string `mandatory:"false" json:"importRouteTarget"` - - // Routes which are exported to the attachment are exported to the route reflectors - // with the route target set to the value of the attachment's export route target. - ExportRouteTarget *string `mandatory:"false" json:"exportRouteTarget"` - - // The MPLS label of the DRG attachment. - MplsLabel *int `mandatory:"false" json:"mplsLabel"` - - // The BGP ASN to use for the IPSec connection's route target. - RegionalOciAsn *string `mandatory:"false" json:"regionalOciAsn"` - - // IPv4 address used to encapsulate ingress traffic to the DRG through this attachment - IngressVip *string `mandatory:"false" json:"ingressVip"` - - // Whether traffic from this network is forwarded to the El Paso Gamma VIPs (or not) - IsGammaDrg *bool `mandatory:"false" json:"isGammaDrg"` } // GetId returns Id diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipv6.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ipv6.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipv6.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ipv6.go index bdbb2c7eec7a..a0be29de0d72 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/ipv6.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/ipv6.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -77,7 +79,7 @@ func (m Ipv6) String() string { // Not recommended for calling this function directly func (m Ipv6) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingIpv6LifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingIpv6LifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetIpv6LifecycleStateEnumStringValues(), ","))) } @@ -105,6 +107,13 @@ var mappingIpv6LifecycleStateEnum = map[string]Ipv6LifecycleStateEnum{ "TERMINATED": Ipv6LifecycleStateTerminated, } +var mappingIpv6LifecycleStateEnumLowerCase = map[string]Ipv6LifecycleStateEnum{ + "provisioning": Ipv6LifecycleStateProvisioning, + "available": Ipv6LifecycleStateAvailable, + "terminating": Ipv6LifecycleStateTerminating, + "terminated": Ipv6LifecycleStateTerminated, +} + // GetIpv6LifecycleStateEnumValues Enumerates the set of values for Ipv6LifecycleStateEnum func GetIpv6LifecycleStateEnumValues() []Ipv6LifecycleStateEnum { values := make([]Ipv6LifecycleStateEnum, 0) @@ -123,3 +132,9 @@ func GetIpv6LifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingIpv6LifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpv6LifecycleStateEnum(val string) (Ipv6LifecycleStateEnum, bool) { + enum, ok := mappingIpv6LifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_agent_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_agent_config_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_agent_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_agent_config_details.go index dcd2a8e163a3..1e3508557985 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_agent_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_agent_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_availability_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_availability_config_details.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_availability_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_availability_config_details.go index 8776e542771e..4747be07b5cd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_availability_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_availability_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -45,7 +47,7 @@ func (m LaunchInstanceAvailabilityConfigDetails) String() string { func (m LaunchInstanceAvailabilityConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum[string(m.RecoveryAction)]; !ok && m.RecoveryAction != "" { + if _, ok := GetMappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum(string(m.RecoveryAction)); !ok && m.RecoveryAction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -68,6 +70,11 @@ var mappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum = map[strin "STOP_INSTANCE": LaunchInstanceAvailabilityConfigDetailsRecoveryActionStopInstance, } +var mappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumLowerCase = map[string]LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum{ + "restore_instance": LaunchInstanceAvailabilityConfigDetailsRecoveryActionRestoreInstance, + "stop_instance": LaunchInstanceAvailabilityConfigDetailsRecoveryActionStopInstance, +} + // GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumValues Enumerates the set of values for LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum func GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumValues() []LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum { values := make([]LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum, 0) @@ -84,3 +91,9 @@ func GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues() "STOP_INSTANCE", } } + +// GetMappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum(val string) (LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum, bool) { + enum, ok := mappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_configuration_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_configuration_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_configuration_request_response.go index 953f485dc3dd..0a52b47788be 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -27,9 +31,6 @@ type LaunchInstanceConfigurationRequest struct { // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - // Name of the pool in which to launch an instance. This feature is currently in preview and may change before public release. Do not use it for production workloads. - OpcPoolName *string `mandatory:"false" contributesTo:"query" name:"opc-pool-name"` - // 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"` @@ -92,7 +93,8 @@ type LaunchInstanceConfigurationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_details.go similarity index 73% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_details.go index e02b8117ef8d..3650700ec7cb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -43,7 +45,7 @@ type LaunchInstanceDetails struct { CreateVnicDetails *CreateVnicDetails `mandatory:"false" json:"createVnicDetails"` - // The OCID of the dedicated VM host. + // The OCID of the dedicated virtual machine host to place the instance on. DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"` // Defined tags for this resource. Each key is predefined and scoped to a @@ -175,20 +177,9 @@ type LaunchInstanceDetails struct { // At least one of them is required; if you provide both, the values must match. SubnetId *string `mandatory:"false" json:"subnetId"` - // Volume attachments to create as part of the launch instance operation. - VolumeAttachments []AttachVolumeDetails `mandatory:"false" json:"volumeAttachments"` - - // Secondary VNICS to create and attach as part of the launch instance operation. - SecondaryVnicAttachments []AttachVnicDetails `mandatory:"false" json:"secondaryVnicAttachments"` - // 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"` - // The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported. - // * `LIVE_MIGRATE` - Run maintenance using a live migration. - // * `REBOOT` - Run maintenance using a reboot. - PreferredMaintenanceAction LaunchInstanceDetailsPreferredMaintenanceActionEnum `mandatory:"false" json:"preferredMaintenanceAction,omitempty"` - PlatformConfig LaunchInstancePlatformConfig `mandatory:"false" json:"platformConfig"` } @@ -202,9 +193,6 @@ func (m LaunchInstanceDetails) String() string { func (m LaunchInstanceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingLaunchInstanceDetailsPreferredMaintenanceActionEnum[string(m.PreferredMaintenanceAction)]; !ok && m.PreferredMaintenanceAction != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PreferredMaintenanceAction: %s. Supported values are: %s.", m.PreferredMaintenanceAction, strings.Join(GetLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues(), ","))) - } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -214,35 +202,32 @@ func (m LaunchInstanceDetails) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { model := struct { - CapacityReservationId *string `json:"capacityReservationId"` - CreateVnicDetails *CreateVnicDetails `json:"createVnicDetails"` - DedicatedVmHostId *string `json:"dedicatedVmHostId"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - DisplayName *string `json:"displayName"` - ExtendedMetadata map[string]interface{} `json:"extendedMetadata"` - FaultDomain *string `json:"faultDomain"` - FreeformTags map[string]string `json:"freeformTags"` - ComputeClusterId *string `json:"computeClusterId"` - HostnameLabel *string `json:"hostnameLabel"` - ImageId *string `json:"imageId"` - IpxeScript *string `json:"ipxeScript"` - LaunchOptions *LaunchOptions `json:"launchOptions"` - InstanceOptions *InstanceOptions `json:"instanceOptions"` - AvailabilityConfig *LaunchInstanceAvailabilityConfigDetails `json:"availabilityConfig"` - PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `json:"preemptibleInstanceConfig"` - Metadata map[string]string `json:"metadata"` - AgentConfig *LaunchInstanceAgentConfigDetails `json:"agentConfig"` - ShapeConfig *LaunchInstanceShapeConfigDetails `json:"shapeConfig"` - SourceDetails instancesourcedetails `json:"sourceDetails"` - SubnetId *string `json:"subnetId"` - VolumeAttachments []attachvolumedetails `json:"volumeAttachments"` - SecondaryVnicAttachments []AttachVnicDetails `json:"secondaryVnicAttachments"` - IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"` - PreferredMaintenanceAction LaunchInstanceDetailsPreferredMaintenanceActionEnum `json:"preferredMaintenanceAction"` - PlatformConfig launchinstanceplatformconfig `json:"platformConfig"` - AvailabilityDomain *string `json:"availabilityDomain"` - CompartmentId *string `json:"compartmentId"` - Shape *string `json:"shape"` + CapacityReservationId *string `json:"capacityReservationId"` + CreateVnicDetails *CreateVnicDetails `json:"createVnicDetails"` + DedicatedVmHostId *string `json:"dedicatedVmHostId"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + DisplayName *string `json:"displayName"` + ExtendedMetadata map[string]interface{} `json:"extendedMetadata"` + FaultDomain *string `json:"faultDomain"` + FreeformTags map[string]string `json:"freeformTags"` + ComputeClusterId *string `json:"computeClusterId"` + HostnameLabel *string `json:"hostnameLabel"` + ImageId *string `json:"imageId"` + IpxeScript *string `json:"ipxeScript"` + LaunchOptions *LaunchOptions `json:"launchOptions"` + InstanceOptions *InstanceOptions `json:"instanceOptions"` + AvailabilityConfig *LaunchInstanceAvailabilityConfigDetails `json:"availabilityConfig"` + PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `json:"preemptibleInstanceConfig"` + Metadata map[string]string `json:"metadata"` + AgentConfig *LaunchInstanceAgentConfigDetails `json:"agentConfig"` + ShapeConfig *LaunchInstanceShapeConfigDetails `json:"shapeConfig"` + 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"` }{} e = json.Unmarshal(data, &model) @@ -300,28 +285,8 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { m.SubnetId = model.SubnetId - m.VolumeAttachments = make([]AttachVolumeDetails, len(model.VolumeAttachments)) - for i, n := range model.VolumeAttachments { - nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) - if e != nil { - return e - } - if nn != nil { - m.VolumeAttachments[i] = nn.(AttachVolumeDetails) - } else { - m.VolumeAttachments[i] = nil - } - } - - m.SecondaryVnicAttachments = make([]AttachVnicDetails, len(model.SecondaryVnicAttachments)) - for i, n := range model.SecondaryVnicAttachments { - m.SecondaryVnicAttachments[i] = n - } - m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled - m.PreferredMaintenanceAction = model.PreferredMaintenanceAction - nn, e = model.PlatformConfig.UnmarshalPolymorphicJSON(model.PlatformConfig.JsonData) if e != nil { return @@ -340,34 +305,3 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { return } - -// LaunchInstanceDetailsPreferredMaintenanceActionEnum Enum with underlying type: string -type LaunchInstanceDetailsPreferredMaintenanceActionEnum string - -// Set of constants representing the allowable values for LaunchInstanceDetailsPreferredMaintenanceActionEnum -const ( - LaunchInstanceDetailsPreferredMaintenanceActionLiveMigrate LaunchInstanceDetailsPreferredMaintenanceActionEnum = "LIVE_MIGRATE" - LaunchInstanceDetailsPreferredMaintenanceActionReboot LaunchInstanceDetailsPreferredMaintenanceActionEnum = "REBOOT" -) - -var mappingLaunchInstanceDetailsPreferredMaintenanceActionEnum = map[string]LaunchInstanceDetailsPreferredMaintenanceActionEnum{ - "LIVE_MIGRATE": LaunchInstanceDetailsPreferredMaintenanceActionLiveMigrate, - "REBOOT": LaunchInstanceDetailsPreferredMaintenanceActionReboot, -} - -// GetLaunchInstanceDetailsPreferredMaintenanceActionEnumValues Enumerates the set of values for LaunchInstanceDetailsPreferredMaintenanceActionEnum -func GetLaunchInstanceDetailsPreferredMaintenanceActionEnumValues() []LaunchInstanceDetailsPreferredMaintenanceActionEnum { - values := make([]LaunchInstanceDetailsPreferredMaintenanceActionEnum, 0) - for _, v := range mappingLaunchInstanceDetailsPreferredMaintenanceActionEnum { - values = append(values, v) - } - return values -} - -// GetLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues Enumerates the set of values in String for LaunchInstanceDetailsPreferredMaintenanceActionEnum -func GetLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues() []string { - return []string{ - "LIVE_MIGRATE", - "REBOOT", - } -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go similarity index 73% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go index 9ce604c3b6c1..94287093a1ae 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -26,6 +28,10 @@ import ( // specify. If you don't provide the parameter, the default values for the `shape` are used. // Each shape only supports certain configurable values. If the values that you provide are not valid for the // specified `shape`, an error is returned. +// For more information about shielded instances, see +// Shielded Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/References/shielded-instances.htm). +// For more information about BIOS settings for bare metal instances, see +// BIOS Settings for Bare Metal Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm). type LaunchInstancePlatformConfig interface { // Whether Secure Boot is enabled on the instance. @@ -79,10 +85,18 @@ func (m *launchinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (in var err error switch m.Type { + case "AMD_ROME_BM_GPU": + mm := AmdRomeBmGpuLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err case "AMD_ROME_BM": mm := AmdRomeBmLaunchInstancePlatformConfig{} err = json.Unmarshal(data, &mm) return mm, err + case "INTEL_ICELAKE_BM": + mm := IntelIcelakeBmLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err case "AMD_VM": mm := AmdVmLaunchInstancePlatformConfig{} err = json.Unmarshal(data, &mm) @@ -99,6 +113,10 @@ func (m *launchinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (in mm := AmdMilanBmLaunchInstancePlatformConfig{} err = json.Unmarshal(data, &mm) return mm, err + case "AMD_MILAN_BM_GPU": + mm := AmdMilanBmGpuLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err default: return *m, nil } @@ -146,7 +164,10 @@ type LaunchInstancePlatformConfigTypeEnum string // Set of constants representing the allowable values for LaunchInstancePlatformConfigTypeEnum const ( LaunchInstancePlatformConfigTypeAmdMilanBm LaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM" + LaunchInstancePlatformConfigTypeAmdMilanBmGpu LaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM_GPU" LaunchInstancePlatformConfigTypeAmdRomeBm LaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM" + LaunchInstancePlatformConfigTypeAmdRomeBmGpu LaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM_GPU" + LaunchInstancePlatformConfigTypeIntelIcelakeBm LaunchInstancePlatformConfigTypeEnum = "INTEL_ICELAKE_BM" LaunchInstancePlatformConfigTypeIntelSkylakeBm LaunchInstancePlatformConfigTypeEnum = "INTEL_SKYLAKE_BM" LaunchInstancePlatformConfigTypeAmdVm LaunchInstancePlatformConfigTypeEnum = "AMD_VM" LaunchInstancePlatformConfigTypeIntelVm LaunchInstancePlatformConfigTypeEnum = "INTEL_VM" @@ -154,12 +175,26 @@ const ( var mappingLaunchInstancePlatformConfigTypeEnum = map[string]LaunchInstancePlatformConfigTypeEnum{ "AMD_MILAN_BM": LaunchInstancePlatformConfigTypeAmdMilanBm, + "AMD_MILAN_BM_GPU": LaunchInstancePlatformConfigTypeAmdMilanBmGpu, "AMD_ROME_BM": LaunchInstancePlatformConfigTypeAmdRomeBm, + "AMD_ROME_BM_GPU": LaunchInstancePlatformConfigTypeAmdRomeBmGpu, + "INTEL_ICELAKE_BM": LaunchInstancePlatformConfigTypeIntelIcelakeBm, "INTEL_SKYLAKE_BM": LaunchInstancePlatformConfigTypeIntelSkylakeBm, "AMD_VM": LaunchInstancePlatformConfigTypeAmdVm, "INTEL_VM": LaunchInstancePlatformConfigTypeIntelVm, } +var mappingLaunchInstancePlatformConfigTypeEnumLowerCase = map[string]LaunchInstancePlatformConfigTypeEnum{ + "amd_milan_bm": LaunchInstancePlatformConfigTypeAmdMilanBm, + "amd_milan_bm_gpu": LaunchInstancePlatformConfigTypeAmdMilanBmGpu, + "amd_rome_bm": LaunchInstancePlatformConfigTypeAmdRomeBm, + "amd_rome_bm_gpu": LaunchInstancePlatformConfigTypeAmdRomeBmGpu, + "intel_icelake_bm": LaunchInstancePlatformConfigTypeIntelIcelakeBm, + "intel_skylake_bm": LaunchInstancePlatformConfigTypeIntelSkylakeBm, + "amd_vm": LaunchInstancePlatformConfigTypeAmdVm, + "intel_vm": LaunchInstancePlatformConfigTypeIntelVm, +} + // GetLaunchInstancePlatformConfigTypeEnumValues Enumerates the set of values for LaunchInstancePlatformConfigTypeEnum func GetLaunchInstancePlatformConfigTypeEnumValues() []LaunchInstancePlatformConfigTypeEnum { values := make([]LaunchInstancePlatformConfigTypeEnum, 0) @@ -173,9 +208,18 @@ func GetLaunchInstancePlatformConfigTypeEnumValues() []LaunchInstancePlatformCon func GetLaunchInstancePlatformConfigTypeEnumStringValues() []string { return []string{ "AMD_MILAN_BM", + "AMD_MILAN_BM_GPU", "AMD_ROME_BM", + "AMD_ROME_BM_GPU", + "INTEL_ICELAKE_BM", "INTEL_SKYLAKE_BM", "AMD_VM", "INTEL_VM", } } + +// GetMappingLaunchInstancePlatformConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchInstancePlatformConfigTypeEnum(val string) (LaunchInstancePlatformConfigTypeEnum, bool) { + enum, ok := mappingLaunchInstancePlatformConfigTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_request_response.go index acaa55720d0c..d477e2acd9bd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 @@ -24,9 +28,6 @@ type LaunchInstanceRequest struct { // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - // Name of the pool in which to launch an instance. This feature is currently in preview and may change before public release. Do not use it for production workloads. - OpcPoolName *string `mandatory:"false" contributesTo:"query" name:"opc-pool-name"` - // 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"` @@ -89,7 +90,8 @@ type LaunchInstanceResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_shape_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_shape_config_details.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_shape_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_shape_config_details.go index fae16c8e0520..9656f370f108 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_instance_shape_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -40,6 +42,9 @@ type LaunchInstanceShapeConfigDetails struct { // - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU. // - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance. BaselineOcpuUtilization LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"` + + // The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. + Nvmes *int `mandatory:"false" json:"nvmes"` } func (m LaunchInstanceShapeConfigDetails) String() string { @@ -52,7 +57,7 @@ func (m LaunchInstanceShapeConfigDetails) String() string { func (m LaunchInstanceShapeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum[string(m.BaselineOcpuUtilization)]; !ok && m.BaselineOcpuUtilization != "" { + if _, ok := GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -77,6 +82,12 @@ var mappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = map[str "BASELINE_1_1": LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization1, } +var mappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase = map[string]LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum{ + "baseline_1_8": LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization8, + "baseline_1_2": LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization2, + "baseline_1_1": LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization1, +} + // GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues Enumerates the set of values for LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum { values := make([]LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, 0) @@ -94,3 +105,9 @@ func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues( "BASELINE_1_1", } } + +// GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool) { + enum, ok := mappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_options.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_options.go index d1174a384323..58e2b71daf47 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/launch_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -75,16 +77,16 @@ func (m LaunchOptions) String() string { func (m LaunchOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingLaunchOptionsBootVolumeTypeEnum[string(m.BootVolumeType)]; !ok && m.BootVolumeType != "" { + if _, ok := GetMappingLaunchOptionsBootVolumeTypeEnum(string(m.BootVolumeType)); !ok && m.BootVolumeType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BootVolumeType: %s. Supported values are: %s.", m.BootVolumeType, strings.Join(GetLaunchOptionsBootVolumeTypeEnumStringValues(), ","))) } - if _, ok := mappingLaunchOptionsFirmwareEnum[string(m.Firmware)]; !ok && m.Firmware != "" { + if _, ok := GetMappingLaunchOptionsFirmwareEnum(string(m.Firmware)); !ok && m.Firmware != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Firmware: %s. Supported values are: %s.", m.Firmware, strings.Join(GetLaunchOptionsFirmwareEnumStringValues(), ","))) } - if _, ok := mappingLaunchOptionsNetworkTypeEnum[string(m.NetworkType)]; !ok && m.NetworkType != "" { + if _, ok := GetMappingLaunchOptionsNetworkTypeEnum(string(m.NetworkType)); !ok && m.NetworkType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NetworkType: %s. Supported values are: %s.", m.NetworkType, strings.Join(GetLaunchOptionsNetworkTypeEnumStringValues(), ","))) } - if _, ok := mappingLaunchOptionsRemoteDataVolumeTypeEnum[string(m.RemoteDataVolumeType)]; !ok && m.RemoteDataVolumeType != "" { + if _, ok := GetMappingLaunchOptionsRemoteDataVolumeTypeEnum(string(m.RemoteDataVolumeType)); !ok && m.RemoteDataVolumeType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RemoteDataVolumeType: %s. Supported values are: %s.", m.RemoteDataVolumeType, strings.Join(GetLaunchOptionsRemoteDataVolumeTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -113,6 +115,14 @@ var mappingLaunchOptionsBootVolumeTypeEnum = map[string]LaunchOptionsBootVolumeT "PARAVIRTUALIZED": LaunchOptionsBootVolumeTypeParavirtualized, } +var mappingLaunchOptionsBootVolumeTypeEnumLowerCase = map[string]LaunchOptionsBootVolumeTypeEnum{ + "iscsi": LaunchOptionsBootVolumeTypeIscsi, + "scsi": LaunchOptionsBootVolumeTypeScsi, + "ide": LaunchOptionsBootVolumeTypeIde, + "vfio": LaunchOptionsBootVolumeTypeVfio, + "paravirtualized": LaunchOptionsBootVolumeTypeParavirtualized, +} + // GetLaunchOptionsBootVolumeTypeEnumValues Enumerates the set of values for LaunchOptionsBootVolumeTypeEnum func GetLaunchOptionsBootVolumeTypeEnumValues() []LaunchOptionsBootVolumeTypeEnum { values := make([]LaunchOptionsBootVolumeTypeEnum, 0) @@ -133,6 +143,12 @@ func GetLaunchOptionsBootVolumeTypeEnumStringValues() []string { } } +// GetMappingLaunchOptionsBootVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchOptionsBootVolumeTypeEnum(val string) (LaunchOptionsBootVolumeTypeEnum, bool) { + enum, ok := mappingLaunchOptionsBootVolumeTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // LaunchOptionsFirmwareEnum Enum with underlying type: string type LaunchOptionsFirmwareEnum string @@ -147,6 +163,11 @@ var mappingLaunchOptionsFirmwareEnum = map[string]LaunchOptionsFirmwareEnum{ "UEFI_64": LaunchOptionsFirmwareUefi64, } +var mappingLaunchOptionsFirmwareEnumLowerCase = map[string]LaunchOptionsFirmwareEnum{ + "bios": LaunchOptionsFirmwareBios, + "uefi_64": LaunchOptionsFirmwareUefi64, +} + // GetLaunchOptionsFirmwareEnumValues Enumerates the set of values for LaunchOptionsFirmwareEnum func GetLaunchOptionsFirmwareEnumValues() []LaunchOptionsFirmwareEnum { values := make([]LaunchOptionsFirmwareEnum, 0) @@ -164,6 +185,12 @@ func GetLaunchOptionsFirmwareEnumStringValues() []string { } } +// GetMappingLaunchOptionsFirmwareEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchOptionsFirmwareEnum(val string) (LaunchOptionsFirmwareEnum, bool) { + enum, ok := mappingLaunchOptionsFirmwareEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // LaunchOptionsNetworkTypeEnum Enum with underlying type: string type LaunchOptionsNetworkTypeEnum string @@ -180,6 +207,12 @@ var mappingLaunchOptionsNetworkTypeEnum = map[string]LaunchOptionsNetworkTypeEnu "PARAVIRTUALIZED": LaunchOptionsNetworkTypeParavirtualized, } +var mappingLaunchOptionsNetworkTypeEnumLowerCase = map[string]LaunchOptionsNetworkTypeEnum{ + "e1000": LaunchOptionsNetworkTypeE1000, + "vfio": LaunchOptionsNetworkTypeVfio, + "paravirtualized": LaunchOptionsNetworkTypeParavirtualized, +} + // GetLaunchOptionsNetworkTypeEnumValues Enumerates the set of values for LaunchOptionsNetworkTypeEnum func GetLaunchOptionsNetworkTypeEnumValues() []LaunchOptionsNetworkTypeEnum { values := make([]LaunchOptionsNetworkTypeEnum, 0) @@ -198,6 +231,12 @@ func GetLaunchOptionsNetworkTypeEnumStringValues() []string { } } +// GetMappingLaunchOptionsNetworkTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchOptionsNetworkTypeEnum(val string) (LaunchOptionsNetworkTypeEnum, bool) { + enum, ok := mappingLaunchOptionsNetworkTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // LaunchOptionsRemoteDataVolumeTypeEnum Enum with underlying type: string type LaunchOptionsRemoteDataVolumeTypeEnum string @@ -218,6 +257,14 @@ var mappingLaunchOptionsRemoteDataVolumeTypeEnum = map[string]LaunchOptionsRemot "PARAVIRTUALIZED": LaunchOptionsRemoteDataVolumeTypeParavirtualized, } +var mappingLaunchOptionsRemoteDataVolumeTypeEnumLowerCase = map[string]LaunchOptionsRemoteDataVolumeTypeEnum{ + "iscsi": LaunchOptionsRemoteDataVolumeTypeIscsi, + "scsi": LaunchOptionsRemoteDataVolumeTypeScsi, + "ide": LaunchOptionsRemoteDataVolumeTypeIde, + "vfio": LaunchOptionsRemoteDataVolumeTypeVfio, + "paravirtualized": LaunchOptionsRemoteDataVolumeTypeParavirtualized, +} + // GetLaunchOptionsRemoteDataVolumeTypeEnumValues Enumerates the set of values for LaunchOptionsRemoteDataVolumeTypeEnum func GetLaunchOptionsRemoteDataVolumeTypeEnumValues() []LaunchOptionsRemoteDataVolumeTypeEnum { values := make([]LaunchOptionsRemoteDataVolumeTypeEnum, 0) @@ -237,3 +284,9 @@ func GetLaunchOptionsRemoteDataVolumeTypeEnumStringValues() []string { "PARAVIRTUALIZED", } } + +// GetMappingLaunchOptionsRemoteDataVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchOptionsRemoteDataVolumeTypeEnum(val string) (LaunchOptionsRemoteDataVolumeTypeEnum, bool) { + enum, ok := mappingLaunchOptionsRemoteDataVolumeTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/letter_of_authority.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/letter_of_authority.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/letter_of_authority.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/letter_of_authority.go index 623e70d56ecf..78ba38379bca 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/letter_of_authority.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/letter_of_authority.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -56,7 +58,7 @@ func (m LetterOfAuthority) String() string { func (m LetterOfAuthority) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingLetterOfAuthorityCircuitTypeEnum[string(m.CircuitType)]; !ok && m.CircuitType != "" { + if _, ok := GetMappingLetterOfAuthorityCircuitTypeEnum(string(m.CircuitType)); !ok && m.CircuitType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CircuitType: %s. Supported values are: %s.", m.CircuitType, strings.Join(GetLetterOfAuthorityCircuitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -79,6 +81,11 @@ var mappingLetterOfAuthorityCircuitTypeEnum = map[string]LetterOfAuthorityCircui "Single_mode_SC": LetterOfAuthorityCircuitTypeSc, } +var mappingLetterOfAuthorityCircuitTypeEnumLowerCase = map[string]LetterOfAuthorityCircuitTypeEnum{ + "single_mode_lc": LetterOfAuthorityCircuitTypeLc, + "single_mode_sc": LetterOfAuthorityCircuitTypeSc, +} + // GetLetterOfAuthorityCircuitTypeEnumValues Enumerates the set of values for LetterOfAuthorityCircuitTypeEnum func GetLetterOfAuthorityCircuitTypeEnumValues() []LetterOfAuthorityCircuitTypeEnum { values := make([]LetterOfAuthorityCircuitTypeEnum, 0) @@ -95,3 +102,9 @@ func GetLetterOfAuthorityCircuitTypeEnumStringValues() []string { "Single_mode_SC", } } + +// GetMappingLetterOfAuthorityCircuitTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLetterOfAuthorityCircuitTypeEnum(val string) (LetterOfAuthorityCircuitTypeEnum, bool) { + enum, ok := mappingLetterOfAuthorityCircuitTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_allowed_peer_regions_for_remote_peering_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_allowed_peer_regions_for_remote_peering_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_allowed_peer_regions_for_remote_peering_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_allowed_peer_regions_for_remote_peering_request_response.go index c893be44aef3..253cc0e79e18 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_allowed_peer_regions_for_remote_peering_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_allowed_peer_regions_for_remote_peering_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_listing_resource_versions_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listing_resource_versions_request_response.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_listing_resource_versions_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listing_resource_versions_request_response.go index 4a66c86ed4ec..d2ef934f5b59 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_listing_resource_versions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listing_resource_versions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -72,7 +76,7 @@ func (request ListAppCatalogListingResourceVersionsRequest) RetryPolicy() *commo // Not recommended for calling this function directly func (request ListAppCatalogListingResourceVersionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListAppCatalogListingResourceVersionsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListAppCatalogListingResourceVersionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAppCatalogListingResourceVersionsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -123,6 +127,11 @@ var mappingListAppCatalogListingResourceVersionsSortOrderEnum = map[string]ListA "DESC": ListAppCatalogListingResourceVersionsSortOrderDesc, } +var mappingListAppCatalogListingResourceVersionsSortOrderEnumLowerCase = map[string]ListAppCatalogListingResourceVersionsSortOrderEnum{ + "asc": ListAppCatalogListingResourceVersionsSortOrderAsc, + "desc": ListAppCatalogListingResourceVersionsSortOrderDesc, +} + // GetListAppCatalogListingResourceVersionsSortOrderEnumValues Enumerates the set of values for ListAppCatalogListingResourceVersionsSortOrderEnum func GetListAppCatalogListingResourceVersionsSortOrderEnumValues() []ListAppCatalogListingResourceVersionsSortOrderEnum { values := make([]ListAppCatalogListingResourceVersionsSortOrderEnum, 0) @@ -139,3 +148,9 @@ func GetListAppCatalogListingResourceVersionsSortOrderEnumStringValues() []strin "DESC", } } + +// GetMappingListAppCatalogListingResourceVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAppCatalogListingResourceVersionsSortOrderEnum(val string) (ListAppCatalogListingResourceVersionsSortOrderEnum, bool) { + enum, ok := mappingListAppCatalogListingResourceVersionsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_listings_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listings_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_listings_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listings_request_response.go index acd376318e10..05ec5a4e3b02 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_listings_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listings_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 @@ -78,7 +82,7 @@ func (request ListAppCatalogListingsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListAppCatalogListingsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListAppCatalogListingsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListAppCatalogListingsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAppCatalogListingsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -129,6 +133,11 @@ var mappingListAppCatalogListingsSortOrderEnum = map[string]ListAppCatalogListin "DESC": ListAppCatalogListingsSortOrderDesc, } +var mappingListAppCatalogListingsSortOrderEnumLowerCase = map[string]ListAppCatalogListingsSortOrderEnum{ + "asc": ListAppCatalogListingsSortOrderAsc, + "desc": ListAppCatalogListingsSortOrderDesc, +} + // GetListAppCatalogListingsSortOrderEnumValues Enumerates the set of values for ListAppCatalogListingsSortOrderEnum func GetListAppCatalogListingsSortOrderEnumValues() []ListAppCatalogListingsSortOrderEnum { values := make([]ListAppCatalogListingsSortOrderEnum, 0) @@ -145,3 +154,9 @@ func GetListAppCatalogListingsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListAppCatalogListingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAppCatalogListingsSortOrderEnum(val string) (ListAppCatalogListingsSortOrderEnum, bool) { + enum, ok := mappingListAppCatalogListingsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_subscriptions_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_subscriptions_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_subscriptions_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_subscriptions_request_response.go index 18ee1a5e4370..51cd71267912 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_app_catalog_subscriptions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_subscriptions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -84,10 +88,10 @@ func (request ListAppCatalogSubscriptionsRequest) RetryPolicy() *common.RetryPol // Not recommended for calling this function directly func (request ListAppCatalogSubscriptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListAppCatalogSubscriptionsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListAppCatalogSubscriptionsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListAppCatalogSubscriptionsSortByEnumStringValues(), ","))) } - if _, ok := mappingListAppCatalogSubscriptionsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListAppCatalogSubscriptionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAppCatalogSubscriptionsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -138,6 +142,11 @@ var mappingListAppCatalogSubscriptionsSortByEnum = map[string]ListAppCatalogSubs "DISPLAYNAME": ListAppCatalogSubscriptionsSortByDisplayname, } +var mappingListAppCatalogSubscriptionsSortByEnumLowerCase = map[string]ListAppCatalogSubscriptionsSortByEnum{ + "timecreated": ListAppCatalogSubscriptionsSortByTimecreated, + "displayname": ListAppCatalogSubscriptionsSortByDisplayname, +} + // GetListAppCatalogSubscriptionsSortByEnumValues Enumerates the set of values for ListAppCatalogSubscriptionsSortByEnum func GetListAppCatalogSubscriptionsSortByEnumValues() []ListAppCatalogSubscriptionsSortByEnum { values := make([]ListAppCatalogSubscriptionsSortByEnum, 0) @@ -155,6 +164,12 @@ func GetListAppCatalogSubscriptionsSortByEnumStringValues() []string { } } +// GetMappingListAppCatalogSubscriptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAppCatalogSubscriptionsSortByEnum(val string) (ListAppCatalogSubscriptionsSortByEnum, bool) { + enum, ok := mappingListAppCatalogSubscriptionsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListAppCatalogSubscriptionsSortOrderEnum Enum with underlying type: string type ListAppCatalogSubscriptionsSortOrderEnum string @@ -169,6 +184,11 @@ var mappingListAppCatalogSubscriptionsSortOrderEnum = map[string]ListAppCatalogS "DESC": ListAppCatalogSubscriptionsSortOrderDesc, } +var mappingListAppCatalogSubscriptionsSortOrderEnumLowerCase = map[string]ListAppCatalogSubscriptionsSortOrderEnum{ + "asc": ListAppCatalogSubscriptionsSortOrderAsc, + "desc": ListAppCatalogSubscriptionsSortOrderDesc, +} + // GetListAppCatalogSubscriptionsSortOrderEnumValues Enumerates the set of values for ListAppCatalogSubscriptionsSortOrderEnum func GetListAppCatalogSubscriptionsSortOrderEnumValues() []ListAppCatalogSubscriptionsSortOrderEnum { values := make([]ListAppCatalogSubscriptionsSortOrderEnum, 0) @@ -185,3 +205,9 @@ func GetListAppCatalogSubscriptionsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListAppCatalogSubscriptionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAppCatalogSubscriptionsSortOrderEnum(val string) (ListAppCatalogSubscriptionsSortOrderEnum, bool) { + enum, ok := mappingListAppCatalogSubscriptionsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_block_volume_replicas_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_block_volume_replicas_request_response.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_block_volume_replicas_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_block_volume_replicas_request_response.go index fb9d5dbff956..a1fa80db4160 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_block_volume_replicas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_block_volume_replicas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,20 +6,27 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListBlockVolumeReplicasRequest wrapper for the ListBlockVolumeReplicas operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicasRequest. type ListBlockVolumeReplicasRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // The OCID of the volume group replica. + VolumeGroupReplicaId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupReplicaId"` // 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 @@ -91,13 +98,13 @@ func (request ListBlockVolumeReplicasRequest) RetryPolicy() *common.RetryPolicy // Not recommended for calling this function directly func (request ListBlockVolumeReplicasRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListBlockVolumeReplicasSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListBlockVolumeReplicasSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListBlockVolumeReplicasSortByEnumStringValues(), ","))) } - if _, ok := mappingListBlockVolumeReplicasSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListBlockVolumeReplicasSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListBlockVolumeReplicasSortOrderEnumStringValues(), ","))) } - if _, ok := mappingBlockVolumeReplicaLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingBlockVolumeReplicaLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetBlockVolumeReplicaLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +155,11 @@ var mappingListBlockVolumeReplicasSortByEnum = map[string]ListBlockVolumeReplica "DISPLAYNAME": ListBlockVolumeReplicasSortByDisplayname, } +var mappingListBlockVolumeReplicasSortByEnumLowerCase = map[string]ListBlockVolumeReplicasSortByEnum{ + "timecreated": ListBlockVolumeReplicasSortByTimecreated, + "displayname": ListBlockVolumeReplicasSortByDisplayname, +} + // GetListBlockVolumeReplicasSortByEnumValues Enumerates the set of values for ListBlockVolumeReplicasSortByEnum func GetListBlockVolumeReplicasSortByEnumValues() []ListBlockVolumeReplicasSortByEnum { values := make([]ListBlockVolumeReplicasSortByEnum, 0) @@ -165,6 +177,12 @@ func GetListBlockVolumeReplicasSortByEnumStringValues() []string { } } +// GetMappingListBlockVolumeReplicasSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListBlockVolumeReplicasSortByEnum(val string) (ListBlockVolumeReplicasSortByEnum, bool) { + enum, ok := mappingListBlockVolumeReplicasSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListBlockVolumeReplicasSortOrderEnum Enum with underlying type: string type ListBlockVolumeReplicasSortOrderEnum string @@ -179,6 +197,11 @@ var mappingListBlockVolumeReplicasSortOrderEnum = map[string]ListBlockVolumeRepl "DESC": ListBlockVolumeReplicasSortOrderDesc, } +var mappingListBlockVolumeReplicasSortOrderEnumLowerCase = map[string]ListBlockVolumeReplicasSortOrderEnum{ + "asc": ListBlockVolumeReplicasSortOrderAsc, + "desc": ListBlockVolumeReplicasSortOrderDesc, +} + // GetListBlockVolumeReplicasSortOrderEnumValues Enumerates the set of values for ListBlockVolumeReplicasSortOrderEnum func GetListBlockVolumeReplicasSortOrderEnumValues() []ListBlockVolumeReplicasSortOrderEnum { values := make([]ListBlockVolumeReplicasSortOrderEnum, 0) @@ -195,3 +218,9 @@ func GetListBlockVolumeReplicasSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListBlockVolumeReplicasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListBlockVolumeReplicasSortOrderEnum(val string) (ListBlockVolumeReplicasSortOrderEnum, bool) { + enum, ok := mappingListBlockVolumeReplicasSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_attachments_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_attachments_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_attachments_request_response.go index 9825b99ee459..ce65143e8526 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_backups_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_backups_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_backups_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_backups_request_response.go index 08446b04cbb4..5887dd94035f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_backups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_backups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -94,13 +98,13 @@ func (request ListBootVolumeBackupsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListBootVolumeBackupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListBootVolumeBackupsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListBootVolumeBackupsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListBootVolumeBackupsSortByEnumStringValues(), ","))) } - if _, ok := mappingListBootVolumeBackupsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListBootVolumeBackupsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListBootVolumeBackupsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingBootVolumeBackupLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingBootVolumeBackupLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetBootVolumeBackupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -151,6 +155,11 @@ var mappingListBootVolumeBackupsSortByEnum = map[string]ListBootVolumeBackupsSor "DISPLAYNAME": ListBootVolumeBackupsSortByDisplayname, } +var mappingListBootVolumeBackupsSortByEnumLowerCase = map[string]ListBootVolumeBackupsSortByEnum{ + "timecreated": ListBootVolumeBackupsSortByTimecreated, + "displayname": ListBootVolumeBackupsSortByDisplayname, +} + // GetListBootVolumeBackupsSortByEnumValues Enumerates the set of values for ListBootVolumeBackupsSortByEnum func GetListBootVolumeBackupsSortByEnumValues() []ListBootVolumeBackupsSortByEnum { values := make([]ListBootVolumeBackupsSortByEnum, 0) @@ -168,6 +177,12 @@ func GetListBootVolumeBackupsSortByEnumStringValues() []string { } } +// GetMappingListBootVolumeBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListBootVolumeBackupsSortByEnum(val string) (ListBootVolumeBackupsSortByEnum, bool) { + enum, ok := mappingListBootVolumeBackupsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListBootVolumeBackupsSortOrderEnum Enum with underlying type: string type ListBootVolumeBackupsSortOrderEnum string @@ -182,6 +197,11 @@ var mappingListBootVolumeBackupsSortOrderEnum = map[string]ListBootVolumeBackups "DESC": ListBootVolumeBackupsSortOrderDesc, } +var mappingListBootVolumeBackupsSortOrderEnumLowerCase = map[string]ListBootVolumeBackupsSortOrderEnum{ + "asc": ListBootVolumeBackupsSortOrderAsc, + "desc": ListBootVolumeBackupsSortOrderDesc, +} + // GetListBootVolumeBackupsSortOrderEnumValues Enumerates the set of values for ListBootVolumeBackupsSortOrderEnum func GetListBootVolumeBackupsSortOrderEnumValues() []ListBootVolumeBackupsSortOrderEnum { values := make([]ListBootVolumeBackupsSortOrderEnum, 0) @@ -198,3 +218,9 @@ func GetListBootVolumeBackupsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListBootVolumeBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListBootVolumeBackupsSortOrderEnum(val string) (ListBootVolumeBackupsSortOrderEnum, bool) { + enum, ok := mappingListBootVolumeBackupsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_replicas_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_replicas_request_response.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_replicas_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_replicas_request_response.go index d94dd2a2e42c..73858df56694 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volume_replicas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_replicas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,20 +6,27 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListBootVolumeReplicasRequest wrapper for the ListBootVolumeReplicas operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicasRequest. type ListBootVolumeReplicasRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // The OCID of the volume group replica. + VolumeGroupReplicaId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupReplicaId"` // 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 @@ -91,13 +98,13 @@ func (request ListBootVolumeReplicasRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListBootVolumeReplicasRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListBootVolumeReplicasSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListBootVolumeReplicasSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListBootVolumeReplicasSortByEnumStringValues(), ","))) } - if _, ok := mappingListBootVolumeReplicasSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListBootVolumeReplicasSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListBootVolumeReplicasSortOrderEnumStringValues(), ","))) } - if _, ok := mappingBootVolumeReplicaLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingBootVolumeReplicaLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetBootVolumeReplicaLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +155,11 @@ var mappingListBootVolumeReplicasSortByEnum = map[string]ListBootVolumeReplicasS "DISPLAYNAME": ListBootVolumeReplicasSortByDisplayname, } +var mappingListBootVolumeReplicasSortByEnumLowerCase = map[string]ListBootVolumeReplicasSortByEnum{ + "timecreated": ListBootVolumeReplicasSortByTimecreated, + "displayname": ListBootVolumeReplicasSortByDisplayname, +} + // GetListBootVolumeReplicasSortByEnumValues Enumerates the set of values for ListBootVolumeReplicasSortByEnum func GetListBootVolumeReplicasSortByEnumValues() []ListBootVolumeReplicasSortByEnum { values := make([]ListBootVolumeReplicasSortByEnum, 0) @@ -165,6 +177,12 @@ func GetListBootVolumeReplicasSortByEnumStringValues() []string { } } +// GetMappingListBootVolumeReplicasSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListBootVolumeReplicasSortByEnum(val string) (ListBootVolumeReplicasSortByEnum, bool) { + enum, ok := mappingListBootVolumeReplicasSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListBootVolumeReplicasSortOrderEnum Enum with underlying type: string type ListBootVolumeReplicasSortOrderEnum string @@ -179,6 +197,11 @@ var mappingListBootVolumeReplicasSortOrderEnum = map[string]ListBootVolumeReplic "DESC": ListBootVolumeReplicasSortOrderDesc, } +var mappingListBootVolumeReplicasSortOrderEnumLowerCase = map[string]ListBootVolumeReplicasSortOrderEnum{ + "asc": ListBootVolumeReplicasSortOrderAsc, + "desc": ListBootVolumeReplicasSortOrderDesc, +} + // GetListBootVolumeReplicasSortOrderEnumValues Enumerates the set of values for ListBootVolumeReplicasSortOrderEnum func GetListBootVolumeReplicasSortOrderEnumValues() []ListBootVolumeReplicasSortOrderEnum { values := make([]ListBootVolumeReplicasSortOrderEnum, 0) @@ -195,3 +218,9 @@ func GetListBootVolumeReplicasSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListBootVolumeReplicasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListBootVolumeReplicasSortOrderEnum(val string) (ListBootVolumeReplicasSortOrderEnum, bool) { + enum, ok := mappingListBootVolumeReplicasSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volumes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volumes_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volumes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volumes_request_response.go index 68559bb8c8e0..64fa5ca08c01 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_boot_volumes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_boot_volumes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,20 +6,24 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_byoip_allocated_ranges_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_byoip_allocated_ranges_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_byoip_allocated_ranges_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_byoip_allocated_ranges_request_response.go index 528171eaac94..c34f2f1662f7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_byoip_allocated_ranges_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_byoip_allocated_ranges_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_byoip_ranges_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_byoip_ranges_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_byoip_ranges_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_byoip_ranges_request_response.go index dead51da7383..164c7efe4422 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_byoip_ranges_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_byoip_ranges_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -87,10 +91,10 @@ func (request ListByoipRangesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListByoipRangesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListByoipRangesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListByoipRangesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListByoipRangesSortByEnumStringValues(), ","))) } - if _, ok := mappingListByoipRangesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListByoipRangesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListByoipRangesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +145,11 @@ var mappingListByoipRangesSortByEnum = map[string]ListByoipRangesSortByEnum{ "DISPLAYNAME": ListByoipRangesSortByDisplayname, } +var mappingListByoipRangesSortByEnumLowerCase = map[string]ListByoipRangesSortByEnum{ + "timecreated": ListByoipRangesSortByTimecreated, + "displayname": ListByoipRangesSortByDisplayname, +} + // GetListByoipRangesSortByEnumValues Enumerates the set of values for ListByoipRangesSortByEnum func GetListByoipRangesSortByEnumValues() []ListByoipRangesSortByEnum { values := make([]ListByoipRangesSortByEnum, 0) @@ -158,6 +167,12 @@ func GetListByoipRangesSortByEnumStringValues() []string { } } +// GetMappingListByoipRangesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListByoipRangesSortByEnum(val string) (ListByoipRangesSortByEnum, bool) { + enum, ok := mappingListByoipRangesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListByoipRangesSortOrderEnum Enum with underlying type: string type ListByoipRangesSortOrderEnum string @@ -172,6 +187,11 @@ var mappingListByoipRangesSortOrderEnum = map[string]ListByoipRangesSortOrderEnu "DESC": ListByoipRangesSortOrderDesc, } +var mappingListByoipRangesSortOrderEnumLowerCase = map[string]ListByoipRangesSortOrderEnum{ + "asc": ListByoipRangesSortOrderAsc, + "desc": ListByoipRangesSortOrderDesc, +} + // GetListByoipRangesSortOrderEnumValues Enumerates the set of values for ListByoipRangesSortOrderEnum func GetListByoipRangesSortOrderEnumValues() []ListByoipRangesSortOrderEnum { values := make([]ListByoipRangesSortOrderEnum, 0) @@ -188,3 +208,9 @@ func GetListByoipRangesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListByoipRangesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListByoipRangesSortOrderEnum(val string) (ListByoipRangesSortOrderEnum, bool) { + enum, ok := mappingListByoipRangesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_capture_filters_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_capture_filters_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_capture_filters_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_capture_filters_request_response.go index 315fa2bed648..dd76adade657 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_capture_filters_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_capture_filters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListCaptureFiltersRequest wrapper for the ListCaptureFilters operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFiltersRequest. type ListCaptureFiltersRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,13 +92,13 @@ func (request ListCaptureFiltersRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListCaptureFiltersRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListCaptureFiltersSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListCaptureFiltersSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListCaptureFiltersSortByEnumStringValues(), ","))) } - if _, ok := mappingListCaptureFiltersSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListCaptureFiltersSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListCaptureFiltersSortOrderEnumStringValues(), ","))) } - if _, ok := mappingCaptureFilterLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingCaptureFilterLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetCaptureFilterLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListCaptureFiltersSortByEnum = map[string]ListCaptureFiltersSortByEnu "DISPLAYNAME": ListCaptureFiltersSortByDisplayname, } +var mappingListCaptureFiltersSortByEnumLowerCase = map[string]ListCaptureFiltersSortByEnum{ + "timecreated": ListCaptureFiltersSortByTimecreated, + "displayname": ListCaptureFiltersSortByDisplayname, +} + // GetListCaptureFiltersSortByEnumValues Enumerates the set of values for ListCaptureFiltersSortByEnum func GetListCaptureFiltersSortByEnumValues() []ListCaptureFiltersSortByEnum { values := make([]ListCaptureFiltersSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListCaptureFiltersSortByEnumStringValues() []string { } } +// GetMappingListCaptureFiltersSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCaptureFiltersSortByEnum(val string) (ListCaptureFiltersSortByEnum, bool) { + enum, ok := mappingListCaptureFiltersSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListCaptureFiltersSortOrderEnum Enum with underlying type: string type ListCaptureFiltersSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListCaptureFiltersSortOrderEnum = map[string]ListCaptureFiltersSortOr "DESC": ListCaptureFiltersSortOrderDesc, } +var mappingListCaptureFiltersSortOrderEnumLowerCase = map[string]ListCaptureFiltersSortOrderEnum{ + "asc": ListCaptureFiltersSortOrderAsc, + "desc": ListCaptureFiltersSortOrderDesc, +} + // GetListCaptureFiltersSortOrderEnumValues Enumerates the set of values for ListCaptureFiltersSortOrderEnum func GetListCaptureFiltersSortOrderEnumValues() []ListCaptureFiltersSortOrderEnum { values := make([]ListCaptureFiltersSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListCaptureFiltersSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListCaptureFiltersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCaptureFiltersSortOrderEnum(val string) (ListCaptureFiltersSortOrderEnum, bool) { + enum, ok := mappingListCaptureFiltersSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cluster_network_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cluster_network_instances_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cluster_network_instances_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cluster_network_instances_request_response.go index 204c10531f2a..eeca39f3c366 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cluster_network_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cluster_network_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -87,10 +91,10 @@ func (request ListClusterNetworkInstancesRequest) RetryPolicy() *common.RetryPol // Not recommended for calling this function directly func (request ListClusterNetworkInstancesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListClusterNetworkInstancesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListClusterNetworkInstancesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListClusterNetworkInstancesSortByEnumStringValues(), ","))) } - if _, ok := mappingListClusterNetworkInstancesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListClusterNetworkInstancesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListClusterNetworkInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +145,11 @@ var mappingListClusterNetworkInstancesSortByEnum = map[string]ListClusterNetwork "DISPLAYNAME": ListClusterNetworkInstancesSortByDisplayname, } +var mappingListClusterNetworkInstancesSortByEnumLowerCase = map[string]ListClusterNetworkInstancesSortByEnum{ + "timecreated": ListClusterNetworkInstancesSortByTimecreated, + "displayname": ListClusterNetworkInstancesSortByDisplayname, +} + // GetListClusterNetworkInstancesSortByEnumValues Enumerates the set of values for ListClusterNetworkInstancesSortByEnum func GetListClusterNetworkInstancesSortByEnumValues() []ListClusterNetworkInstancesSortByEnum { values := make([]ListClusterNetworkInstancesSortByEnum, 0) @@ -158,6 +167,12 @@ func GetListClusterNetworkInstancesSortByEnumStringValues() []string { } } +// GetMappingListClusterNetworkInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListClusterNetworkInstancesSortByEnum(val string) (ListClusterNetworkInstancesSortByEnum, bool) { + enum, ok := mappingListClusterNetworkInstancesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListClusterNetworkInstancesSortOrderEnum Enum with underlying type: string type ListClusterNetworkInstancesSortOrderEnum string @@ -172,6 +187,11 @@ var mappingListClusterNetworkInstancesSortOrderEnum = map[string]ListClusterNetw "DESC": ListClusterNetworkInstancesSortOrderDesc, } +var mappingListClusterNetworkInstancesSortOrderEnumLowerCase = map[string]ListClusterNetworkInstancesSortOrderEnum{ + "asc": ListClusterNetworkInstancesSortOrderAsc, + "desc": ListClusterNetworkInstancesSortOrderDesc, +} + // GetListClusterNetworkInstancesSortOrderEnumValues Enumerates the set of values for ListClusterNetworkInstancesSortOrderEnum func GetListClusterNetworkInstancesSortOrderEnumValues() []ListClusterNetworkInstancesSortOrderEnum { values := make([]ListClusterNetworkInstancesSortOrderEnum, 0) @@ -188,3 +208,9 @@ func GetListClusterNetworkInstancesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListClusterNetworkInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListClusterNetworkInstancesSortOrderEnum(val string) (ListClusterNetworkInstancesSortOrderEnum, bool) { + enum, ok := mappingListClusterNetworkInstancesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cluster_networks_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cluster_networks_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cluster_networks_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cluster_networks_request_response.go index fb1eb8902b5e..8b7a715db445 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cluster_networks_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cluster_networks_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,13 +92,13 @@ func (request ListClusterNetworksRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListClusterNetworksRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListClusterNetworksSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListClusterNetworksSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListClusterNetworksSortByEnumStringValues(), ","))) } - if _, ok := mappingListClusterNetworksSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListClusterNetworksSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListClusterNetworksSortOrderEnumStringValues(), ","))) } - if _, ok := mappingClusterNetworkSummaryLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingClusterNetworkSummaryLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetClusterNetworkSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListClusterNetworksSortByEnum = map[string]ListClusterNetworksSortByE "DISPLAYNAME": ListClusterNetworksSortByDisplayname, } +var mappingListClusterNetworksSortByEnumLowerCase = map[string]ListClusterNetworksSortByEnum{ + "timecreated": ListClusterNetworksSortByTimecreated, + "displayname": ListClusterNetworksSortByDisplayname, +} + // GetListClusterNetworksSortByEnumValues Enumerates the set of values for ListClusterNetworksSortByEnum func GetListClusterNetworksSortByEnumValues() []ListClusterNetworksSortByEnum { values := make([]ListClusterNetworksSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListClusterNetworksSortByEnumStringValues() []string { } } +// GetMappingListClusterNetworksSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListClusterNetworksSortByEnum(val string) (ListClusterNetworksSortByEnum, bool) { + enum, ok := mappingListClusterNetworksSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListClusterNetworksSortOrderEnum Enum with underlying type: string type ListClusterNetworksSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListClusterNetworksSortOrderEnum = map[string]ListClusterNetworksSort "DESC": ListClusterNetworksSortOrderDesc, } +var mappingListClusterNetworksSortOrderEnumLowerCase = map[string]ListClusterNetworksSortOrderEnum{ + "asc": ListClusterNetworksSortOrderAsc, + "desc": ListClusterNetworksSortOrderDesc, +} + // GetListClusterNetworksSortOrderEnumValues Enumerates the set of values for ListClusterNetworksSortOrderEnum func GetListClusterNetworksSortOrderEnumValues() []ListClusterNetworksSortOrderEnum { values := make([]ListClusterNetworksSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListClusterNetworksSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListClusterNetworksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListClusterNetworksSortOrderEnum(val string) (ListClusterNetworksSortOrderEnum, bool) { + enum, ok := mappingListClusterNetworksSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservation_instance_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instance_shapes_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservation_instance_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instance_shapes_request_response.go index a3fe0fcbc70e..c303fb8ff99b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservation_instance_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instance_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListComputeCapacityReservationInstanceShapesRequest wrapper for the ListComputeCapacityReservationInstanceShapes operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapesRequest. type ListComputeCapacityReservationInstanceShapesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,10 +92,10 @@ func (request ListComputeCapacityReservationInstanceShapesRequest) RetryPolicy() // Not recommended for calling this function directly func (request ListComputeCapacityReservationInstanceShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListComputeCapacityReservationInstanceShapesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListComputeCapacityReservationInstanceShapesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeCapacityReservationInstanceShapesSortByEnumStringValues(), ","))) } - if _, ok := mappingListComputeCapacityReservationInstanceShapesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListComputeCapacityReservationInstanceShapesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityReservationInstanceShapesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -142,6 +146,11 @@ var mappingListComputeCapacityReservationInstanceShapesSortByEnum = map[string]L "DISPLAYNAME": ListComputeCapacityReservationInstanceShapesSortByDisplayname, } +var mappingListComputeCapacityReservationInstanceShapesSortByEnumLowerCase = map[string]ListComputeCapacityReservationInstanceShapesSortByEnum{ + "timecreated": ListComputeCapacityReservationInstanceShapesSortByTimecreated, + "displayname": ListComputeCapacityReservationInstanceShapesSortByDisplayname, +} + // GetListComputeCapacityReservationInstanceShapesSortByEnumValues Enumerates the set of values for ListComputeCapacityReservationInstanceShapesSortByEnum func GetListComputeCapacityReservationInstanceShapesSortByEnumValues() []ListComputeCapacityReservationInstanceShapesSortByEnum { values := make([]ListComputeCapacityReservationInstanceShapesSortByEnum, 0) @@ -159,6 +168,12 @@ func GetListComputeCapacityReservationInstanceShapesSortByEnumStringValues() []s } } +// GetMappingListComputeCapacityReservationInstanceShapesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeCapacityReservationInstanceShapesSortByEnum(val string) (ListComputeCapacityReservationInstanceShapesSortByEnum, bool) { + enum, ok := mappingListComputeCapacityReservationInstanceShapesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListComputeCapacityReservationInstanceShapesSortOrderEnum Enum with underlying type: string type ListComputeCapacityReservationInstanceShapesSortOrderEnum string @@ -173,6 +188,11 @@ var mappingListComputeCapacityReservationInstanceShapesSortOrderEnum = map[strin "DESC": ListComputeCapacityReservationInstanceShapesSortOrderDesc, } +var mappingListComputeCapacityReservationInstanceShapesSortOrderEnumLowerCase = map[string]ListComputeCapacityReservationInstanceShapesSortOrderEnum{ + "asc": ListComputeCapacityReservationInstanceShapesSortOrderAsc, + "desc": ListComputeCapacityReservationInstanceShapesSortOrderDesc, +} + // GetListComputeCapacityReservationInstanceShapesSortOrderEnumValues Enumerates the set of values for ListComputeCapacityReservationInstanceShapesSortOrderEnum func GetListComputeCapacityReservationInstanceShapesSortOrderEnumValues() []ListComputeCapacityReservationInstanceShapesSortOrderEnum { values := make([]ListComputeCapacityReservationInstanceShapesSortOrderEnum, 0) @@ -189,3 +209,9 @@ func GetListComputeCapacityReservationInstanceShapesSortOrderEnumStringValues() "DESC", } } + +// GetMappingListComputeCapacityReservationInstanceShapesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeCapacityReservationInstanceShapesSortOrderEnum(val string) (ListComputeCapacityReservationInstanceShapesSortOrderEnum, bool) { + enum, ok := mappingListComputeCapacityReservationInstanceShapesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservation_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instances_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservation_instances_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instances_request_response.go index 5717496affc3..4638e398fcc9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservation_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListComputeCapacityReservationInstancesRequest wrapper for the ListComputeCapacityReservationInstances operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstancesRequest. type ListComputeCapacityReservationInstancesRequest struct { // The OCID of the compute capacity reservation. @@ -88,10 +92,10 @@ func (request ListComputeCapacityReservationInstancesRequest) RetryPolicy() *com // Not recommended for calling this function directly func (request ListComputeCapacityReservationInstancesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListComputeCapacityReservationInstancesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListComputeCapacityReservationInstancesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeCapacityReservationInstancesSortByEnumStringValues(), ","))) } - if _, ok := mappingListComputeCapacityReservationInstancesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListComputeCapacityReservationInstancesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityReservationInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -142,6 +146,11 @@ var mappingListComputeCapacityReservationInstancesSortByEnum = map[string]ListCo "DISPLAYNAME": ListComputeCapacityReservationInstancesSortByDisplayname, } +var mappingListComputeCapacityReservationInstancesSortByEnumLowerCase = map[string]ListComputeCapacityReservationInstancesSortByEnum{ + "timecreated": ListComputeCapacityReservationInstancesSortByTimecreated, + "displayname": ListComputeCapacityReservationInstancesSortByDisplayname, +} + // GetListComputeCapacityReservationInstancesSortByEnumValues Enumerates the set of values for ListComputeCapacityReservationInstancesSortByEnum func GetListComputeCapacityReservationInstancesSortByEnumValues() []ListComputeCapacityReservationInstancesSortByEnum { values := make([]ListComputeCapacityReservationInstancesSortByEnum, 0) @@ -159,6 +168,12 @@ func GetListComputeCapacityReservationInstancesSortByEnumStringValues() []string } } +// GetMappingListComputeCapacityReservationInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeCapacityReservationInstancesSortByEnum(val string) (ListComputeCapacityReservationInstancesSortByEnum, bool) { + enum, ok := mappingListComputeCapacityReservationInstancesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListComputeCapacityReservationInstancesSortOrderEnum Enum with underlying type: string type ListComputeCapacityReservationInstancesSortOrderEnum string @@ -173,6 +188,11 @@ var mappingListComputeCapacityReservationInstancesSortOrderEnum = map[string]Lis "DESC": ListComputeCapacityReservationInstancesSortOrderDesc, } +var mappingListComputeCapacityReservationInstancesSortOrderEnumLowerCase = map[string]ListComputeCapacityReservationInstancesSortOrderEnum{ + "asc": ListComputeCapacityReservationInstancesSortOrderAsc, + "desc": ListComputeCapacityReservationInstancesSortOrderDesc, +} + // GetListComputeCapacityReservationInstancesSortOrderEnumValues Enumerates the set of values for ListComputeCapacityReservationInstancesSortOrderEnum func GetListComputeCapacityReservationInstancesSortOrderEnumValues() []ListComputeCapacityReservationInstancesSortOrderEnum { values := make([]ListComputeCapacityReservationInstancesSortOrderEnum, 0) @@ -189,3 +209,9 @@ func GetListComputeCapacityReservationInstancesSortOrderEnumStringValues() []str "DESC", } } + +// GetMappingListComputeCapacityReservationInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeCapacityReservationInstancesSortOrderEnum(val string) (ListComputeCapacityReservationInstancesSortOrderEnum, bool) { + enum, ok := mappingListComputeCapacityReservationInstancesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservations_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservations_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservations_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservations_request_response.go index 30df9fe838db..aeeca2a70f8f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_capacity_reservations_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListComputeCapacityReservationsRequest wrapper for the ListComputeCapacityReservations operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservationsRequest. type ListComputeCapacityReservationsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListComputeCapacityReservationsRequest) RetryPolicy() *common.Retr // Not recommended for calling this function directly func (request ListComputeCapacityReservationsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingComputeCapacityReservationLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingComputeCapacityReservationLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetComputeCapacityReservationLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingListComputeCapacityReservationsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListComputeCapacityReservationsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeCapacityReservationsSortByEnumStringValues(), ","))) } - if _, ok := mappingListComputeCapacityReservationsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListComputeCapacityReservationsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityReservationsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListComputeCapacityReservationsSortByEnum = map[string]ListComputeCap "DISPLAYNAME": ListComputeCapacityReservationsSortByDisplayname, } +var mappingListComputeCapacityReservationsSortByEnumLowerCase = map[string]ListComputeCapacityReservationsSortByEnum{ + "timecreated": ListComputeCapacityReservationsSortByTimecreated, + "displayname": ListComputeCapacityReservationsSortByDisplayname, +} + // GetListComputeCapacityReservationsSortByEnumValues Enumerates the set of values for ListComputeCapacityReservationsSortByEnum func GetListComputeCapacityReservationsSortByEnumValues() []ListComputeCapacityReservationsSortByEnum { values := make([]ListComputeCapacityReservationsSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListComputeCapacityReservationsSortByEnumStringValues() []string { } } +// GetMappingListComputeCapacityReservationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeCapacityReservationsSortByEnum(val string) (ListComputeCapacityReservationsSortByEnum, bool) { + enum, ok := mappingListComputeCapacityReservationsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListComputeCapacityReservationsSortOrderEnum Enum with underlying type: string type ListComputeCapacityReservationsSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListComputeCapacityReservationsSortOrderEnum = map[string]ListCompute "DESC": ListComputeCapacityReservationsSortOrderDesc, } +var mappingListComputeCapacityReservationsSortOrderEnumLowerCase = map[string]ListComputeCapacityReservationsSortOrderEnum{ + "asc": ListComputeCapacityReservationsSortOrderAsc, + "desc": ListComputeCapacityReservationsSortOrderDesc, +} + // GetListComputeCapacityReservationsSortOrderEnumValues Enumerates the set of values for ListComputeCapacityReservationsSortOrderEnum func GetListComputeCapacityReservationsSortOrderEnumValues() []ListComputeCapacityReservationsSortOrderEnum { values := make([]ListComputeCapacityReservationsSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListComputeCapacityReservationsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListComputeCapacityReservationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeCapacityReservationsSortOrderEnum(val string) (ListComputeCapacityReservationsSortOrderEnum, bool) { + enum, ok := mappingListComputeCapacityReservationsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_clusters_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_clusters_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_clusters_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_clusters_request_response.go index 0184aef5b3d7..336081b04a86 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_clusters_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_clusters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListComputeClustersRequest wrapper for the ListComputeClusters operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeClusters.go.html to see an example of how to use ListComputeClustersRequest. type ListComputeClustersRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,10 +92,10 @@ func (request ListComputeClustersRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListComputeClustersRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListComputeClustersSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListComputeClustersSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeClustersSortByEnumStringValues(), ","))) } - if _, ok := mappingListComputeClustersSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListComputeClustersSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeClustersSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -142,6 +146,11 @@ var mappingListComputeClustersSortByEnum = map[string]ListComputeClustersSortByE "DISPLAYNAME": ListComputeClustersSortByDisplayname, } +var mappingListComputeClustersSortByEnumLowerCase = map[string]ListComputeClustersSortByEnum{ + "timecreated": ListComputeClustersSortByTimecreated, + "displayname": ListComputeClustersSortByDisplayname, +} + // GetListComputeClustersSortByEnumValues Enumerates the set of values for ListComputeClustersSortByEnum func GetListComputeClustersSortByEnumValues() []ListComputeClustersSortByEnum { values := make([]ListComputeClustersSortByEnum, 0) @@ -159,6 +168,12 @@ func GetListComputeClustersSortByEnumStringValues() []string { } } +// GetMappingListComputeClustersSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeClustersSortByEnum(val string) (ListComputeClustersSortByEnum, bool) { + enum, ok := mappingListComputeClustersSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListComputeClustersSortOrderEnum Enum with underlying type: string type ListComputeClustersSortOrderEnum string @@ -173,6 +188,11 @@ var mappingListComputeClustersSortOrderEnum = map[string]ListComputeClustersSort "DESC": ListComputeClustersSortOrderDesc, } +var mappingListComputeClustersSortOrderEnumLowerCase = map[string]ListComputeClustersSortOrderEnum{ + "asc": ListComputeClustersSortOrderAsc, + "desc": ListComputeClustersSortOrderDesc, +} + // GetListComputeClustersSortOrderEnumValues Enumerates the set of values for ListComputeClustersSortOrderEnum func GetListComputeClustersSortOrderEnumValues() []ListComputeClustersSortOrderEnum { values := make([]ListComputeClustersSortOrderEnum, 0) @@ -189,3 +209,9 @@ func GetListComputeClustersSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListComputeClustersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeClustersSortOrderEnum(val string) (ListComputeClustersSortOrderEnum, bool) { + enum, ok := mappingListComputeClustersSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_global_image_capability_schema_versions_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schema_versions_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_global_image_capability_schema_versions_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schema_versions_request_response.go index 26b581d92509..e0c4f9c0d87f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_global_image_capability_schema_versions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schema_versions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema @@ -84,10 +88,10 @@ func (request ListComputeGlobalImageCapabilitySchemaVersionsRequest) RetryPolicy // Not recommended for calling this function directly func (request ListComputeGlobalImageCapabilitySchemaVersionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumStringValues(), ","))) } - if _, ok := mappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -138,6 +142,11 @@ var mappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum = map[string "DISPLAYNAME": ListComputeGlobalImageCapabilitySchemaVersionsSortByDisplayname, } +var mappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnumLowerCase = map[string]ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum{ + "timecreated": ListComputeGlobalImageCapabilitySchemaVersionsSortByTimecreated, + "displayname": ListComputeGlobalImageCapabilitySchemaVersionsSortByDisplayname, +} + // GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum func GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumValues() []ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum { values := make([]ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum, 0) @@ -155,6 +164,12 @@ func GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumStringValues() [ } } +// GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum(val string) (ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum, bool) { + enum, ok := mappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum Enum with underlying type: string type ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum string @@ -169,6 +184,11 @@ var mappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum = map[str "DESC": ListComputeGlobalImageCapabilitySchemaVersionsSortOrderDesc, } +var mappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumLowerCase = map[string]ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum{ + "asc": ListComputeGlobalImageCapabilitySchemaVersionsSortOrderAsc, + "desc": ListComputeGlobalImageCapabilitySchemaVersionsSortOrderDesc, +} + // GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum func GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumValues() []ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum { values := make([]ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum, 0) @@ -185,3 +205,9 @@ func GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumStringValues( "DESC", } } + +// GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum(val string) (ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum, bool) { + enum, ok := mappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_global_image_capability_schemas_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schemas_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_global_image_capability_schemas_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schemas_request_response.go index 98011e96c83d..71cb0e4ac4ec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_global_image_capability_schemas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schemas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -84,10 +88,10 @@ func (request ListComputeGlobalImageCapabilitySchemasRequest) RetryPolicy() *com // Not recommended for calling this function directly func (request ListComputeGlobalImageCapabilitySchemasRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListComputeGlobalImageCapabilitySchemasSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListComputeGlobalImageCapabilitySchemasSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeGlobalImageCapabilitySchemasSortByEnumStringValues(), ","))) } - if _, ok := mappingListComputeGlobalImageCapabilitySchemasSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListComputeGlobalImageCapabilitySchemasSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeGlobalImageCapabilitySchemasSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -138,6 +142,11 @@ var mappingListComputeGlobalImageCapabilitySchemasSortByEnum = map[string]ListCo "DISPLAYNAME": ListComputeGlobalImageCapabilitySchemasSortByDisplayname, } +var mappingListComputeGlobalImageCapabilitySchemasSortByEnumLowerCase = map[string]ListComputeGlobalImageCapabilitySchemasSortByEnum{ + "timecreated": ListComputeGlobalImageCapabilitySchemasSortByTimecreated, + "displayname": ListComputeGlobalImageCapabilitySchemasSortByDisplayname, +} + // GetListComputeGlobalImageCapabilitySchemasSortByEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemasSortByEnum func GetListComputeGlobalImageCapabilitySchemasSortByEnumValues() []ListComputeGlobalImageCapabilitySchemasSortByEnum { values := make([]ListComputeGlobalImageCapabilitySchemasSortByEnum, 0) @@ -155,6 +164,12 @@ func GetListComputeGlobalImageCapabilitySchemasSortByEnumStringValues() []string } } +// GetMappingListComputeGlobalImageCapabilitySchemasSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGlobalImageCapabilitySchemasSortByEnum(val string) (ListComputeGlobalImageCapabilitySchemasSortByEnum, bool) { + enum, ok := mappingListComputeGlobalImageCapabilitySchemasSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListComputeGlobalImageCapabilitySchemasSortOrderEnum Enum with underlying type: string type ListComputeGlobalImageCapabilitySchemasSortOrderEnum string @@ -169,6 +184,11 @@ var mappingListComputeGlobalImageCapabilitySchemasSortOrderEnum = map[string]Lis "DESC": ListComputeGlobalImageCapabilitySchemasSortOrderDesc, } +var mappingListComputeGlobalImageCapabilitySchemasSortOrderEnumLowerCase = map[string]ListComputeGlobalImageCapabilitySchemasSortOrderEnum{ + "asc": ListComputeGlobalImageCapabilitySchemasSortOrderAsc, + "desc": ListComputeGlobalImageCapabilitySchemasSortOrderDesc, +} + // GetListComputeGlobalImageCapabilitySchemasSortOrderEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemasSortOrderEnum func GetListComputeGlobalImageCapabilitySchemasSortOrderEnumValues() []ListComputeGlobalImageCapabilitySchemasSortOrderEnum { values := make([]ListComputeGlobalImageCapabilitySchemasSortOrderEnum, 0) @@ -185,3 +205,9 @@ func GetListComputeGlobalImageCapabilitySchemasSortOrderEnumStringValues() []str "DESC", } } + +// GetMappingListComputeGlobalImageCapabilitySchemasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGlobalImageCapabilitySchemasSortOrderEnum(val string) (ListComputeGlobalImageCapabilitySchemasSortOrderEnum, bool) { + enum, ok := mappingListComputeGlobalImageCapabilitySchemasSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_image_capability_schemas_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_image_capability_schemas_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_image_capability_schemas_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_image_capability_schemas_request_response.go index 901403f18f26..312971b4687d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_compute_image_capability_schemas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_compute_image_capability_schemas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -87,10 +91,10 @@ func (request ListComputeImageCapabilitySchemasRequest) RetryPolicy() *common.Re // Not recommended for calling this function directly func (request ListComputeImageCapabilitySchemasRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListComputeImageCapabilitySchemasSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListComputeImageCapabilitySchemasSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeImageCapabilitySchemasSortByEnumStringValues(), ","))) } - if _, ok := mappingListComputeImageCapabilitySchemasSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListComputeImageCapabilitySchemasSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeImageCapabilitySchemasSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +145,11 @@ var mappingListComputeImageCapabilitySchemasSortByEnum = map[string]ListComputeI "DISPLAYNAME": ListComputeImageCapabilitySchemasSortByDisplayname, } +var mappingListComputeImageCapabilitySchemasSortByEnumLowerCase = map[string]ListComputeImageCapabilitySchemasSortByEnum{ + "timecreated": ListComputeImageCapabilitySchemasSortByTimecreated, + "displayname": ListComputeImageCapabilitySchemasSortByDisplayname, +} + // GetListComputeImageCapabilitySchemasSortByEnumValues Enumerates the set of values for ListComputeImageCapabilitySchemasSortByEnum func GetListComputeImageCapabilitySchemasSortByEnumValues() []ListComputeImageCapabilitySchemasSortByEnum { values := make([]ListComputeImageCapabilitySchemasSortByEnum, 0) @@ -158,6 +167,12 @@ func GetListComputeImageCapabilitySchemasSortByEnumStringValues() []string { } } +// GetMappingListComputeImageCapabilitySchemasSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeImageCapabilitySchemasSortByEnum(val string) (ListComputeImageCapabilitySchemasSortByEnum, bool) { + enum, ok := mappingListComputeImageCapabilitySchemasSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListComputeImageCapabilitySchemasSortOrderEnum Enum with underlying type: string type ListComputeImageCapabilitySchemasSortOrderEnum string @@ -172,6 +187,11 @@ var mappingListComputeImageCapabilitySchemasSortOrderEnum = map[string]ListCompu "DESC": ListComputeImageCapabilitySchemasSortOrderDesc, } +var mappingListComputeImageCapabilitySchemasSortOrderEnumLowerCase = map[string]ListComputeImageCapabilitySchemasSortOrderEnum{ + "asc": ListComputeImageCapabilitySchemasSortOrderAsc, + "desc": ListComputeImageCapabilitySchemasSortOrderDesc, +} + // GetListComputeImageCapabilitySchemasSortOrderEnumValues Enumerates the set of values for ListComputeImageCapabilitySchemasSortOrderEnum func GetListComputeImageCapabilitySchemasSortOrderEnumValues() []ListComputeImageCapabilitySchemasSortOrderEnum { values := make([]ListComputeImageCapabilitySchemasSortOrderEnum, 0) @@ -188,3 +208,9 @@ func GetListComputeImageCapabilitySchemasSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListComputeImageCapabilitySchemasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeImageCapabilitySchemasSortOrderEnum(val string) (ListComputeImageCapabilitySchemasSortOrderEnum, bool) { + enum, ok := mappingListComputeImageCapabilitySchemasSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_console_histories_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_console_histories_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_console_histories_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_console_histories_request_response.go index b4c89c2d1fde..e62fd1d02341 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_console_histories_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_console_histories_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -92,13 +96,13 @@ func (request ListConsoleHistoriesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListConsoleHistoriesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListConsoleHistoriesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListConsoleHistoriesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListConsoleHistoriesSortByEnumStringValues(), ","))) } - if _, ok := mappingListConsoleHistoriesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListConsoleHistoriesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListConsoleHistoriesSortOrderEnumStringValues(), ","))) } - if _, ok := mappingConsoleHistoryLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingConsoleHistoryLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetConsoleHistoryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -149,6 +153,11 @@ var mappingListConsoleHistoriesSortByEnum = map[string]ListConsoleHistoriesSortB "DISPLAYNAME": ListConsoleHistoriesSortByDisplayname, } +var mappingListConsoleHistoriesSortByEnumLowerCase = map[string]ListConsoleHistoriesSortByEnum{ + "timecreated": ListConsoleHistoriesSortByTimecreated, + "displayname": ListConsoleHistoriesSortByDisplayname, +} + // GetListConsoleHistoriesSortByEnumValues Enumerates the set of values for ListConsoleHistoriesSortByEnum func GetListConsoleHistoriesSortByEnumValues() []ListConsoleHistoriesSortByEnum { values := make([]ListConsoleHistoriesSortByEnum, 0) @@ -166,6 +175,12 @@ func GetListConsoleHistoriesSortByEnumStringValues() []string { } } +// GetMappingListConsoleHistoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListConsoleHistoriesSortByEnum(val string) (ListConsoleHistoriesSortByEnum, bool) { + enum, ok := mappingListConsoleHistoriesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListConsoleHistoriesSortOrderEnum Enum with underlying type: string type ListConsoleHistoriesSortOrderEnum string @@ -180,6 +195,11 @@ var mappingListConsoleHistoriesSortOrderEnum = map[string]ListConsoleHistoriesSo "DESC": ListConsoleHistoriesSortOrderDesc, } +var mappingListConsoleHistoriesSortOrderEnumLowerCase = map[string]ListConsoleHistoriesSortOrderEnum{ + "asc": ListConsoleHistoriesSortOrderAsc, + "desc": ListConsoleHistoriesSortOrderDesc, +} + // GetListConsoleHistoriesSortOrderEnumValues Enumerates the set of values for ListConsoleHistoriesSortOrderEnum func GetListConsoleHistoriesSortOrderEnumValues() []ListConsoleHistoriesSortOrderEnum { values := make([]ListConsoleHistoriesSortOrderEnum, 0) @@ -196,3 +216,9 @@ func GetListConsoleHistoriesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListConsoleHistoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListConsoleHistoriesSortOrderEnum(val string) (ListConsoleHistoriesSortOrderEnum, bool) { + enum, ok := mappingListConsoleHistoriesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cpe_device_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cpe_device_shapes_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cpe_device_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cpe_device_shapes_request_response.go index a1ed2d83d96d..a2f5566b7216 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cpe_device_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cpe_device_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cpes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cpes_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cpes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cpes_request_response.go index e10d2aa51119..9fae48279815 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cpes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cpes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_groups_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_groups_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_groups_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_groups_request_response.go index e102d2bdee38..333c08805ae9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_groups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,13 +92,13 @@ func (request ListCrossConnectGroupsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListCrossConnectGroupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListCrossConnectGroupsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListCrossConnectGroupsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListCrossConnectGroupsSortByEnumStringValues(), ","))) } - if _, ok := mappingListCrossConnectGroupsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListCrossConnectGroupsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListCrossConnectGroupsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingCrossConnectGroupLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingCrossConnectGroupLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetCrossConnectGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListCrossConnectGroupsSortByEnum = map[string]ListCrossConnectGroupsS "DISPLAYNAME": ListCrossConnectGroupsSortByDisplayname, } +var mappingListCrossConnectGroupsSortByEnumLowerCase = map[string]ListCrossConnectGroupsSortByEnum{ + "timecreated": ListCrossConnectGroupsSortByTimecreated, + "displayname": ListCrossConnectGroupsSortByDisplayname, +} + // GetListCrossConnectGroupsSortByEnumValues Enumerates the set of values for ListCrossConnectGroupsSortByEnum func GetListCrossConnectGroupsSortByEnumValues() []ListCrossConnectGroupsSortByEnum { values := make([]ListCrossConnectGroupsSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListCrossConnectGroupsSortByEnumStringValues() []string { } } +// GetMappingListCrossConnectGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCrossConnectGroupsSortByEnum(val string) (ListCrossConnectGroupsSortByEnum, bool) { + enum, ok := mappingListCrossConnectGroupsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListCrossConnectGroupsSortOrderEnum Enum with underlying type: string type ListCrossConnectGroupsSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListCrossConnectGroupsSortOrderEnum = map[string]ListCrossConnectGrou "DESC": ListCrossConnectGroupsSortOrderDesc, } +var mappingListCrossConnectGroupsSortOrderEnumLowerCase = map[string]ListCrossConnectGroupsSortOrderEnum{ + "asc": ListCrossConnectGroupsSortOrderAsc, + "desc": ListCrossConnectGroupsSortOrderDesc, +} + // GetListCrossConnectGroupsSortOrderEnumValues Enumerates the set of values for ListCrossConnectGroupsSortOrderEnum func GetListCrossConnectGroupsSortOrderEnumValues() []ListCrossConnectGroupsSortOrderEnum { values := make([]ListCrossConnectGroupsSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListCrossConnectGroupsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListCrossConnectGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCrossConnectGroupsSortOrderEnum(val string) (ListCrossConnectGroupsSortOrderEnum, bool) { + enum, ok := mappingListCrossConnectGroupsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_locations_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_locations_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_locations_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_locations_request_response.go index d1dc65e0fc37..035556543614 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_locations_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_locations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_mappings_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_mappings_request_response.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_mappings_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_mappings_request_response.go index 7aec08b50b3d..a1ff32392d5e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connect_mappings_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_mappings_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListCrossConnectMappingsRequest wrapper for the ListCrossConnectMappings operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappingsRequest. type ListCrossConnectMappingsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Unique identifier for the request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connects_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connects_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connects_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connects_request_response.go index 4c78fbe3c5e1..edb447ed29c1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_cross_connects_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_cross_connects_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,18 +6,22 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/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 cross-connect group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"false" contributesTo:"query" name:"crossConnectGroupId"` // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -91,13 +95,13 @@ func (request ListCrossConnectsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListCrossConnectsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListCrossConnectsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListCrossConnectsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListCrossConnectsSortByEnumStringValues(), ","))) } - if _, ok := mappingListCrossConnectsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListCrossConnectsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListCrossConnectsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingCrossConnectLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingCrossConnectLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetCrossConnectLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListCrossConnectsSortByEnum = map[string]ListCrossConnectsSortByEnum{ "DISPLAYNAME": ListCrossConnectsSortByDisplayname, } +var mappingListCrossConnectsSortByEnumLowerCase = map[string]ListCrossConnectsSortByEnum{ + "timecreated": ListCrossConnectsSortByTimecreated, + "displayname": ListCrossConnectsSortByDisplayname, +} + // GetListCrossConnectsSortByEnumValues Enumerates the set of values for ListCrossConnectsSortByEnum func GetListCrossConnectsSortByEnumValues() []ListCrossConnectsSortByEnum { values := make([]ListCrossConnectsSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListCrossConnectsSortByEnumStringValues() []string { } } +// GetMappingListCrossConnectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCrossConnectsSortByEnum(val string) (ListCrossConnectsSortByEnum, bool) { + enum, ok := mappingListCrossConnectsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListCrossConnectsSortOrderEnum Enum with underlying type: string type ListCrossConnectsSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListCrossConnectsSortOrderEnum = map[string]ListCrossConnectsSortOrde "DESC": ListCrossConnectsSortOrderDesc, } +var mappingListCrossConnectsSortOrderEnumLowerCase = map[string]ListCrossConnectsSortOrderEnum{ + "asc": ListCrossConnectsSortOrderAsc, + "desc": ListCrossConnectsSortOrderDesc, +} + // GetListCrossConnectsSortOrderEnumValues Enumerates the set of values for ListCrossConnectsSortOrderEnum func GetListCrossConnectsSortOrderEnumValues() []ListCrossConnectsSortOrderEnum { values := make([]ListCrossConnectsSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListCrossConnectsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListCrossConnectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCrossConnectsSortOrderEnum(val string) (ListCrossConnectsSortOrderEnum, bool) { + enum, ok := mappingListCrossConnectsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_crossconnect_port_speed_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_crossconnect_port_speed_shapes_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_crossconnect_port_speed_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_crossconnect_port_speed_shapes_request_response.go index e36564ace39b..1980ef978adf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_crossconnect_port_speed_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_crossconnect_port_speed_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_instance_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instance_shapes_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_instance_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instance_shapes_request_response.go index b54e47c5b5d7..7d4a0ca5eb50 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_instance_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instance_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instances_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_instances_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instances_request_response.go index 1ec55fb11136..e189cb3d875d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,10 +92,10 @@ func (request ListDedicatedVmHostInstancesRequest) RetryPolicy() *common.RetryPo // Not recommended for calling this function directly func (request ListDedicatedVmHostInstancesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDedicatedVmHostInstancesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListDedicatedVmHostInstancesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDedicatedVmHostInstancesSortByEnumStringValues(), ","))) } - if _, ok := mappingListDedicatedVmHostInstancesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListDedicatedVmHostInstancesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDedicatedVmHostInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -142,6 +146,11 @@ var mappingListDedicatedVmHostInstancesSortByEnum = map[string]ListDedicatedVmHo "DISPLAYNAME": ListDedicatedVmHostInstancesSortByDisplayname, } +var mappingListDedicatedVmHostInstancesSortByEnumLowerCase = map[string]ListDedicatedVmHostInstancesSortByEnum{ + "timecreated": ListDedicatedVmHostInstancesSortByTimecreated, + "displayname": ListDedicatedVmHostInstancesSortByDisplayname, +} + // GetListDedicatedVmHostInstancesSortByEnumValues Enumerates the set of values for ListDedicatedVmHostInstancesSortByEnum func GetListDedicatedVmHostInstancesSortByEnumValues() []ListDedicatedVmHostInstancesSortByEnum { values := make([]ListDedicatedVmHostInstancesSortByEnum, 0) @@ -159,6 +168,12 @@ func GetListDedicatedVmHostInstancesSortByEnumStringValues() []string { } } +// GetMappingListDedicatedVmHostInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDedicatedVmHostInstancesSortByEnum(val string) (ListDedicatedVmHostInstancesSortByEnum, bool) { + enum, ok := mappingListDedicatedVmHostInstancesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDedicatedVmHostInstancesSortOrderEnum Enum with underlying type: string type ListDedicatedVmHostInstancesSortOrderEnum string @@ -173,6 +188,11 @@ var mappingListDedicatedVmHostInstancesSortOrderEnum = map[string]ListDedicatedV "DESC": ListDedicatedVmHostInstancesSortOrderDesc, } +var mappingListDedicatedVmHostInstancesSortOrderEnumLowerCase = map[string]ListDedicatedVmHostInstancesSortOrderEnum{ + "asc": ListDedicatedVmHostInstancesSortOrderAsc, + "desc": ListDedicatedVmHostInstancesSortOrderDesc, +} + // GetListDedicatedVmHostInstancesSortOrderEnumValues Enumerates the set of values for ListDedicatedVmHostInstancesSortOrderEnum func GetListDedicatedVmHostInstancesSortOrderEnumValues() []ListDedicatedVmHostInstancesSortOrderEnum { values := make([]ListDedicatedVmHostInstancesSortOrderEnum, 0) @@ -189,3 +209,9 @@ func GetListDedicatedVmHostInstancesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListDedicatedVmHostInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDedicatedVmHostInstancesSortOrderEnum(val string) (ListDedicatedVmHostInstancesSortOrderEnum, bool) { + enum, ok := mappingListDedicatedVmHostInstancesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_shapes_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_shapes_request_response.go index 3a370522d77a..684ffd6b0c5e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_host_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_hosts_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_hosts_request_response.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_hosts_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_hosts_request_response.go index 70b42d36b566..cbf8d00e0bca 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dedicated_vm_hosts_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_hosts_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -100,13 +104,13 @@ func (request ListDedicatedVmHostsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListDedicatedVmHostsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDedicatedVmHostsLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingListDedicatedVmHostsLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetListDedicatedVmHostsLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingListDedicatedVmHostsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListDedicatedVmHostsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDedicatedVmHostsSortByEnumStringValues(), ","))) } - if _, ok := mappingListDedicatedVmHostsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListDedicatedVmHostsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDedicatedVmHostsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -165,6 +169,15 @@ var mappingListDedicatedVmHostsLifecycleStateEnum = map[string]ListDedicatedVmHo "FAILED": ListDedicatedVmHostsLifecycleStateFailed, } +var mappingListDedicatedVmHostsLifecycleStateEnumLowerCase = map[string]ListDedicatedVmHostsLifecycleStateEnum{ + "creating": ListDedicatedVmHostsLifecycleStateCreating, + "active": ListDedicatedVmHostsLifecycleStateActive, + "updating": ListDedicatedVmHostsLifecycleStateUpdating, + "deleting": ListDedicatedVmHostsLifecycleStateDeleting, + "deleted": ListDedicatedVmHostsLifecycleStateDeleted, + "failed": ListDedicatedVmHostsLifecycleStateFailed, +} + // GetListDedicatedVmHostsLifecycleStateEnumValues Enumerates the set of values for ListDedicatedVmHostsLifecycleStateEnum func GetListDedicatedVmHostsLifecycleStateEnumValues() []ListDedicatedVmHostsLifecycleStateEnum { values := make([]ListDedicatedVmHostsLifecycleStateEnum, 0) @@ -186,6 +199,12 @@ func GetListDedicatedVmHostsLifecycleStateEnumStringValues() []string { } } +// GetMappingListDedicatedVmHostsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDedicatedVmHostsLifecycleStateEnum(val string) (ListDedicatedVmHostsLifecycleStateEnum, bool) { + enum, ok := mappingListDedicatedVmHostsLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDedicatedVmHostsSortByEnum Enum with underlying type: string type ListDedicatedVmHostsSortByEnum string @@ -200,6 +219,11 @@ var mappingListDedicatedVmHostsSortByEnum = map[string]ListDedicatedVmHostsSortB "DISPLAYNAME": ListDedicatedVmHostsSortByDisplayname, } +var mappingListDedicatedVmHostsSortByEnumLowerCase = map[string]ListDedicatedVmHostsSortByEnum{ + "timecreated": ListDedicatedVmHostsSortByTimecreated, + "displayname": ListDedicatedVmHostsSortByDisplayname, +} + // GetListDedicatedVmHostsSortByEnumValues Enumerates the set of values for ListDedicatedVmHostsSortByEnum func GetListDedicatedVmHostsSortByEnumValues() []ListDedicatedVmHostsSortByEnum { values := make([]ListDedicatedVmHostsSortByEnum, 0) @@ -217,6 +241,12 @@ func GetListDedicatedVmHostsSortByEnumStringValues() []string { } } +// GetMappingListDedicatedVmHostsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDedicatedVmHostsSortByEnum(val string) (ListDedicatedVmHostsSortByEnum, bool) { + enum, ok := mappingListDedicatedVmHostsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDedicatedVmHostsSortOrderEnum Enum with underlying type: string type ListDedicatedVmHostsSortOrderEnum string @@ -231,6 +261,11 @@ var mappingListDedicatedVmHostsSortOrderEnum = map[string]ListDedicatedVmHostsSo "DESC": ListDedicatedVmHostsSortOrderDesc, } +var mappingListDedicatedVmHostsSortOrderEnumLowerCase = map[string]ListDedicatedVmHostsSortOrderEnum{ + "asc": ListDedicatedVmHostsSortOrderAsc, + "desc": ListDedicatedVmHostsSortOrderDesc, +} + // GetListDedicatedVmHostsSortOrderEnumValues Enumerates the set of values for ListDedicatedVmHostsSortOrderEnum func GetListDedicatedVmHostsSortOrderEnumValues() []ListDedicatedVmHostsSortOrderEnum { values := make([]ListDedicatedVmHostsSortOrderEnum, 0) @@ -247,3 +282,9 @@ func GetListDedicatedVmHostsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListDedicatedVmHostsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDedicatedVmHostsSortOrderEnum(val string) (ListDedicatedVmHostsSortOrderEnum, bool) { + enum, ok := mappingListDedicatedVmHostsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dhcp_options_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dhcp_options_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dhcp_options_request_response.go index f3727fa94830..59cbad65bc9a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListDhcpOptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDhcpOptionsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListDhcpOptionsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDhcpOptionsSortByEnumStringValues(), ","))) } - if _, ok := mappingListDhcpOptionsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListDhcpOptionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDhcpOptionsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingDhcpOptionsLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingDhcpOptionsLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDhcpOptionsLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListDhcpOptionsSortByEnum = map[string]ListDhcpOptionsSortByEnum{ "DISPLAYNAME": ListDhcpOptionsSortByDisplayname, } +var mappingListDhcpOptionsSortByEnumLowerCase = map[string]ListDhcpOptionsSortByEnum{ + "timecreated": ListDhcpOptionsSortByTimecreated, + "displayname": ListDhcpOptionsSortByDisplayname, +} + // GetListDhcpOptionsSortByEnumValues Enumerates the set of values for ListDhcpOptionsSortByEnum func GetListDhcpOptionsSortByEnumValues() []ListDhcpOptionsSortByEnum { values := make([]ListDhcpOptionsSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListDhcpOptionsSortByEnumStringValues() []string { } } +// GetMappingListDhcpOptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDhcpOptionsSortByEnum(val string) (ListDhcpOptionsSortByEnum, bool) { + enum, ok := mappingListDhcpOptionsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDhcpOptionsSortOrderEnum Enum with underlying type: string type ListDhcpOptionsSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListDhcpOptionsSortOrderEnum = map[string]ListDhcpOptionsSortOrderEnu "DESC": ListDhcpOptionsSortOrderDesc, } +var mappingListDhcpOptionsSortOrderEnumLowerCase = map[string]ListDhcpOptionsSortOrderEnum{ + "asc": ListDhcpOptionsSortOrderAsc, + "desc": ListDhcpOptionsSortOrderDesc, +} + // GetListDhcpOptionsSortOrderEnumValues Enumerates the set of values for ListDhcpOptionsSortOrderEnum func GetListDhcpOptionsSortOrderEnumValues() []ListDhcpOptionsSortOrderEnum { values := make([]ListDhcpOptionsSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListDhcpOptionsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListDhcpOptionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDhcpOptionsSortOrderEnum(val string) (ListDhcpOptionsSortOrderEnum, bool) { + enum, ok := mappingListDhcpOptionsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_attachments_request_response.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_attachments_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_attachments_request_response.go index 8be3053042bf..40c90332a660 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -103,16 +107,16 @@ func (request ListDrgAttachmentsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListDrgAttachmentsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDrgAttachmentsAttachmentTypeEnum[string(request.AttachmentType)]; !ok && request.AttachmentType != "" { + if _, ok := GetMappingListDrgAttachmentsAttachmentTypeEnum(string(request.AttachmentType)); !ok && request.AttachmentType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AttachmentType: %s. Supported values are: %s.", request.AttachmentType, strings.Join(GetListDrgAttachmentsAttachmentTypeEnumStringValues(), ","))) } - if _, ok := mappingListDrgAttachmentsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListDrgAttachmentsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDrgAttachmentsSortByEnumStringValues(), ","))) } - if _, ok := mappingListDrgAttachmentsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListDrgAttachmentsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDrgAttachmentsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingDrgAttachmentLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingDrgAttachmentLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgAttachmentLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -169,6 +173,14 @@ var mappingListDrgAttachmentsAttachmentTypeEnum = map[string]ListDrgAttachmentsA "ALL": ListDrgAttachmentsAttachmentTypeAll, } +var mappingListDrgAttachmentsAttachmentTypeEnumLowerCase = map[string]ListDrgAttachmentsAttachmentTypeEnum{ + "vcn": ListDrgAttachmentsAttachmentTypeVcn, + "virtual_circuit": ListDrgAttachmentsAttachmentTypeVirtualCircuit, + "remote_peering_connection": ListDrgAttachmentsAttachmentTypeRemotePeeringConnection, + "ipsec_tunnel": ListDrgAttachmentsAttachmentTypeIpsecTunnel, + "all": ListDrgAttachmentsAttachmentTypeAll, +} + // GetListDrgAttachmentsAttachmentTypeEnumValues Enumerates the set of values for ListDrgAttachmentsAttachmentTypeEnum func GetListDrgAttachmentsAttachmentTypeEnumValues() []ListDrgAttachmentsAttachmentTypeEnum { values := make([]ListDrgAttachmentsAttachmentTypeEnum, 0) @@ -189,6 +201,12 @@ func GetListDrgAttachmentsAttachmentTypeEnumStringValues() []string { } } +// GetMappingListDrgAttachmentsAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgAttachmentsAttachmentTypeEnum(val string) (ListDrgAttachmentsAttachmentTypeEnum, bool) { + enum, ok := mappingListDrgAttachmentsAttachmentTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDrgAttachmentsSortByEnum Enum with underlying type: string type ListDrgAttachmentsSortByEnum string @@ -203,6 +221,11 @@ var mappingListDrgAttachmentsSortByEnum = map[string]ListDrgAttachmentsSortByEnu "DISPLAYNAME": ListDrgAttachmentsSortByDisplayname, } +var mappingListDrgAttachmentsSortByEnumLowerCase = map[string]ListDrgAttachmentsSortByEnum{ + "timecreated": ListDrgAttachmentsSortByTimecreated, + "displayname": ListDrgAttachmentsSortByDisplayname, +} + // GetListDrgAttachmentsSortByEnumValues Enumerates the set of values for ListDrgAttachmentsSortByEnum func GetListDrgAttachmentsSortByEnumValues() []ListDrgAttachmentsSortByEnum { values := make([]ListDrgAttachmentsSortByEnum, 0) @@ -220,6 +243,12 @@ func GetListDrgAttachmentsSortByEnumStringValues() []string { } } +// GetMappingListDrgAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgAttachmentsSortByEnum(val string) (ListDrgAttachmentsSortByEnum, bool) { + enum, ok := mappingListDrgAttachmentsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDrgAttachmentsSortOrderEnum Enum with underlying type: string type ListDrgAttachmentsSortOrderEnum string @@ -234,6 +263,11 @@ var mappingListDrgAttachmentsSortOrderEnum = map[string]ListDrgAttachmentsSortOr "DESC": ListDrgAttachmentsSortOrderDesc, } +var mappingListDrgAttachmentsSortOrderEnumLowerCase = map[string]ListDrgAttachmentsSortOrderEnum{ + "asc": ListDrgAttachmentsSortOrderAsc, + "desc": ListDrgAttachmentsSortOrderDesc, +} + // GetListDrgAttachmentsSortOrderEnumValues Enumerates the set of values for ListDrgAttachmentsSortOrderEnum func GetListDrgAttachmentsSortOrderEnumValues() []ListDrgAttachmentsSortOrderEnum { values := make([]ListDrgAttachmentsSortOrderEnum, 0) @@ -250,3 +284,9 @@ func GetListDrgAttachmentsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListDrgAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgAttachmentsSortOrderEnum(val string) (ListDrgAttachmentsSortOrderEnum, bool) { + enum, ok := mappingListDrgAttachmentsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distribution_statements_request_response.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_distribution_statements_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distribution_statements_request_response.go index 8ffc5f815b4e..ae0cbd92c89a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListDrgRouteDistributionStatementsRequest wrapper for the ListDrgRouteDistributionStatements operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatementsRequest. type ListDrgRouteDistributionStatementsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. @@ -75,10 +79,10 @@ func (request ListDrgRouteDistributionStatementsRequest) RetryPolicy() *common.R // Not recommended for calling this function directly func (request ListDrgRouteDistributionStatementsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDrgRouteDistributionStatementsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListDrgRouteDistributionStatementsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDrgRouteDistributionStatementsSortByEnumStringValues(), ","))) } - if _, ok := mappingListDrgRouteDistributionStatementsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListDrgRouteDistributionStatementsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDrgRouteDistributionStatementsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -127,6 +131,10 @@ var mappingListDrgRouteDistributionStatementsSortByEnum = map[string]ListDrgRout "TIMECREATED": ListDrgRouteDistributionStatementsSortByTimecreated, } +var mappingListDrgRouteDistributionStatementsSortByEnumLowerCase = map[string]ListDrgRouteDistributionStatementsSortByEnum{ + "timecreated": ListDrgRouteDistributionStatementsSortByTimecreated, +} + // GetListDrgRouteDistributionStatementsSortByEnumValues Enumerates the set of values for ListDrgRouteDistributionStatementsSortByEnum func GetListDrgRouteDistributionStatementsSortByEnumValues() []ListDrgRouteDistributionStatementsSortByEnum { values := make([]ListDrgRouteDistributionStatementsSortByEnum, 0) @@ -143,6 +151,12 @@ func GetListDrgRouteDistributionStatementsSortByEnumStringValues() []string { } } +// GetMappingListDrgRouteDistributionStatementsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgRouteDistributionStatementsSortByEnum(val string) (ListDrgRouteDistributionStatementsSortByEnum, bool) { + enum, ok := mappingListDrgRouteDistributionStatementsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDrgRouteDistributionStatementsSortOrderEnum Enum with underlying type: string type ListDrgRouteDistributionStatementsSortOrderEnum string @@ -157,6 +171,11 @@ var mappingListDrgRouteDistributionStatementsSortOrderEnum = map[string]ListDrgR "DESC": ListDrgRouteDistributionStatementsSortOrderDesc, } +var mappingListDrgRouteDistributionStatementsSortOrderEnumLowerCase = map[string]ListDrgRouteDistributionStatementsSortOrderEnum{ + "asc": ListDrgRouteDistributionStatementsSortOrderAsc, + "desc": ListDrgRouteDistributionStatementsSortOrderDesc, +} + // GetListDrgRouteDistributionStatementsSortOrderEnumValues Enumerates the set of values for ListDrgRouteDistributionStatementsSortOrderEnum func GetListDrgRouteDistributionStatementsSortOrderEnumValues() []ListDrgRouteDistributionStatementsSortOrderEnum { values := make([]ListDrgRouteDistributionStatementsSortOrderEnum, 0) @@ -173,3 +192,9 @@ func GetListDrgRouteDistributionStatementsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListDrgRouteDistributionStatementsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgRouteDistributionStatementsSortOrderEnum(val string) (ListDrgRouteDistributionStatementsSortOrderEnum, bool) { + enum, ok := mappingListDrgRouteDistributionStatementsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_distributions_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distributions_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_distributions_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distributions_request_response.go index f07f8e75540c..f17a923ebfef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_distributions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distributions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListDrgRouteDistributionsRequest wrapper for the ListDrgRouteDistributions operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributionsRequest. type ListDrgRouteDistributionsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. @@ -88,13 +92,13 @@ func (request ListDrgRouteDistributionsRequest) RetryPolicy() *common.RetryPolic // Not recommended for calling this function directly func (request ListDrgRouteDistributionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDrgRouteDistributionsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListDrgRouteDistributionsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDrgRouteDistributionsSortByEnumStringValues(), ","))) } - if _, ok := mappingListDrgRouteDistributionsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListDrgRouteDistributionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDrgRouteDistributionsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingDrgRouteDistributionLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingDrgRouteDistributionLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgRouteDistributionLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListDrgRouteDistributionsSortByEnum = map[string]ListDrgRouteDistribu "DISPLAYNAME": ListDrgRouteDistributionsSortByDisplayname, } +var mappingListDrgRouteDistributionsSortByEnumLowerCase = map[string]ListDrgRouteDistributionsSortByEnum{ + "timecreated": ListDrgRouteDistributionsSortByTimecreated, + "displayname": ListDrgRouteDistributionsSortByDisplayname, +} + // GetListDrgRouteDistributionsSortByEnumValues Enumerates the set of values for ListDrgRouteDistributionsSortByEnum func GetListDrgRouteDistributionsSortByEnumValues() []ListDrgRouteDistributionsSortByEnum { values := make([]ListDrgRouteDistributionsSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListDrgRouteDistributionsSortByEnumStringValues() []string { } } +// GetMappingListDrgRouteDistributionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgRouteDistributionsSortByEnum(val string) (ListDrgRouteDistributionsSortByEnum, bool) { + enum, ok := mappingListDrgRouteDistributionsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDrgRouteDistributionsSortOrderEnum Enum with underlying type: string type ListDrgRouteDistributionsSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListDrgRouteDistributionsSortOrderEnum = map[string]ListDrgRouteDistr "DESC": ListDrgRouteDistributionsSortOrderDesc, } +var mappingListDrgRouteDistributionsSortOrderEnumLowerCase = map[string]ListDrgRouteDistributionsSortOrderEnum{ + "asc": ListDrgRouteDistributionsSortOrderAsc, + "desc": ListDrgRouteDistributionsSortOrderDesc, +} + // GetListDrgRouteDistributionsSortOrderEnumValues Enumerates the set of values for ListDrgRouteDistributionsSortOrderEnum func GetListDrgRouteDistributionsSortOrderEnumValues() []ListDrgRouteDistributionsSortOrderEnum { values := make([]ListDrgRouteDistributionsSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListDrgRouteDistributionsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListDrgRouteDistributionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgRouteDistributionsSortOrderEnum(val string) (ListDrgRouteDistributionsSortOrderEnum, bool) { + enum, ok := mappingListDrgRouteDistributionsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_rules_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_rules_request_response.go index 4a9ca7760cd8..eb14343fdcd2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListDrgRouteRulesRequest wrapper for the ListDrgRouteRules operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRulesRequest. type ListDrgRouteRulesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. @@ -72,7 +76,7 @@ func (request ListDrgRouteRulesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListDrgRouteRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDrgRouteRulesRouteTypeEnum[string(request.RouteType)]; !ok && request.RouteType != "" { + if _, ok := GetMappingListDrgRouteRulesRouteTypeEnum(string(request.RouteType)); !ok && request.RouteType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", request.RouteType, strings.Join(GetListDrgRouteRulesRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -123,6 +127,11 @@ var mappingListDrgRouteRulesRouteTypeEnum = map[string]ListDrgRouteRulesRouteTyp "DYNAMIC": ListDrgRouteRulesRouteTypeDynamic, } +var mappingListDrgRouteRulesRouteTypeEnumLowerCase = map[string]ListDrgRouteRulesRouteTypeEnum{ + "static": ListDrgRouteRulesRouteTypeStatic, + "dynamic": ListDrgRouteRulesRouteTypeDynamic, +} + // GetListDrgRouteRulesRouteTypeEnumValues Enumerates the set of values for ListDrgRouteRulesRouteTypeEnum func GetListDrgRouteRulesRouteTypeEnumValues() []ListDrgRouteRulesRouteTypeEnum { values := make([]ListDrgRouteRulesRouteTypeEnum, 0) @@ -139,3 +148,9 @@ func GetListDrgRouteRulesRouteTypeEnumStringValues() []string { "DYNAMIC", } } + +// GetMappingListDrgRouteRulesRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgRouteRulesRouteTypeEnum(val string) (ListDrgRouteRulesRouteTypeEnum, bool) { + enum, ok := mappingListDrgRouteRulesRouteTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_tables_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_tables_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_tables_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_tables_request_response.go index 6cc6cec1761c..b2f182b2a7a6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drg_route_tables_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_tables_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListDrgRouteTablesRequest wrapper for the ListDrgRouteTables operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTablesRequest. type ListDrgRouteTablesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. @@ -91,13 +95,13 @@ func (request ListDrgRouteTablesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListDrgRouteTablesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListDrgRouteTablesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListDrgRouteTablesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListDrgRouteTablesSortByEnumStringValues(), ","))) } - if _, ok := mappingListDrgRouteTablesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListDrgRouteTablesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDrgRouteTablesSortOrderEnumStringValues(), ","))) } - if _, ok := mappingDrgRouteTableLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingDrgRouteTableLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgRouteTableLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListDrgRouteTablesSortByEnum = map[string]ListDrgRouteTablesSortByEnu "DISPLAYNAME": ListDrgRouteTablesSortByDisplayname, } +var mappingListDrgRouteTablesSortByEnumLowerCase = map[string]ListDrgRouteTablesSortByEnum{ + "timecreated": ListDrgRouteTablesSortByTimecreated, + "displayname": ListDrgRouteTablesSortByDisplayname, +} + // GetListDrgRouteTablesSortByEnumValues Enumerates the set of values for ListDrgRouteTablesSortByEnum func GetListDrgRouteTablesSortByEnumValues() []ListDrgRouteTablesSortByEnum { values := make([]ListDrgRouteTablesSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListDrgRouteTablesSortByEnumStringValues() []string { } } +// GetMappingListDrgRouteTablesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgRouteTablesSortByEnum(val string) (ListDrgRouteTablesSortByEnum, bool) { + enum, ok := mappingListDrgRouteTablesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListDrgRouteTablesSortOrderEnum Enum with underlying type: string type ListDrgRouteTablesSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListDrgRouteTablesSortOrderEnum = map[string]ListDrgRouteTablesSortOr "DESC": ListDrgRouteTablesSortOrderDesc, } +var mappingListDrgRouteTablesSortOrderEnumLowerCase = map[string]ListDrgRouteTablesSortOrderEnum{ + "asc": ListDrgRouteTablesSortOrderAsc, + "desc": ListDrgRouteTablesSortOrderDesc, +} + // GetListDrgRouteTablesSortOrderEnumValues Enumerates the set of values for ListDrgRouteTablesSortOrderEnum func GetListDrgRouteTablesSortOrderEnumValues() []ListDrgRouteTablesSortOrderEnum { values := make([]ListDrgRouteTablesSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListDrgRouteTablesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListDrgRouteTablesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListDrgRouteTablesSortOrderEnum(val string) (ListDrgRouteTablesSortOrderEnum, bool) { + enum, ok := mappingListDrgRouteTablesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drgs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drgs_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drgs_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drgs_request_response.go index ed636f0e91aa..652a48b58405 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_drgs_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_drgs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_fast_connect_provider_services_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_services_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_fast_connect_provider_services_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_services_request_response.go index 1c3eef2cab64..8439df42de1c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_fast_connect_provider_services_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_services_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go index 86f1fcacb096..7ca87b8df928 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the provider service. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"` // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnel_routes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_routes_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnel_routes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_routes_request_response.go index 699f4984c769..4701fc7dd911 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnel_routes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_routes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListIPSecConnectionTunnelRoutesRequest wrapper for the ListIPSecConnectionTunnelRoutes operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutesRequest. type ListIPSecConnectionTunnelRoutesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. @@ -76,7 +80,7 @@ func (request ListIPSecConnectionTunnelRoutesRequest) RetryPolicy() *common.Retr // Not recommended for calling this function directly func (request ListIPSecConnectionTunnelRoutesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingTunnelRouteSummaryAdvertiserEnum[string(request.Advertiser)]; !ok && request.Advertiser != "" { + if _, ok := GetMappingTunnelRouteSummaryAdvertiserEnum(string(request.Advertiser)); !ok && request.Advertiser != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Advertiser: %s. Supported values are: %s.", request.Advertiser, strings.Join(GetTunnelRouteSummaryAdvertiserEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go index 97f8c73bc73c..dc40d995be86 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListIPSecConnectionTunnelSecurityAssociationsRequest wrapper for the ListIPSecConnectionTunnelSecurityAssociations operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociationsRequest. type ListIPSecConnectionTunnelSecurityAssociationsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnels_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnels_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnels_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnels_request_response.go index 228987aa57b5..267044de31f1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connection_tunnels_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnels_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connections_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connections_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connections_request_response.go index 8147ce472cd9..989221e95126 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_i_p_sec_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -20,7 +24,7 @@ type ListIPSecConnectionsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"false" contributesTo:"query" name:"cpeId"` // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_image_shape_compatibility_entries_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_image_shape_compatibility_entries_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_image_shape_compatibility_entries_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_image_shape_compatibility_entries_request_response.go index c729f58e7988..5cfd8b33b1b0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_image_shape_compatibility_entries_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_image_shape_compatibility_entries_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_images_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_images_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_images_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_images_request_response.go index 47ffc087a0f1..b740809acdbf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_images_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_images_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -99,13 +103,13 @@ func (request ListImagesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListImagesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListImagesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListImagesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListImagesSortByEnumStringValues(), ","))) } - if _, ok := mappingListImagesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListImagesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListImagesSortOrderEnumStringValues(), ","))) } - if _, ok := mappingImageLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingImageLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetImageLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -156,6 +160,11 @@ var mappingListImagesSortByEnum = map[string]ListImagesSortByEnum{ "DISPLAYNAME": ListImagesSortByDisplayname, } +var mappingListImagesSortByEnumLowerCase = map[string]ListImagesSortByEnum{ + "timecreated": ListImagesSortByTimecreated, + "displayname": ListImagesSortByDisplayname, +} + // GetListImagesSortByEnumValues Enumerates the set of values for ListImagesSortByEnum func GetListImagesSortByEnumValues() []ListImagesSortByEnum { values := make([]ListImagesSortByEnum, 0) @@ -173,6 +182,12 @@ func GetListImagesSortByEnumStringValues() []string { } } +// GetMappingListImagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListImagesSortByEnum(val string) (ListImagesSortByEnum, bool) { + enum, ok := mappingListImagesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListImagesSortOrderEnum Enum with underlying type: string type ListImagesSortOrderEnum string @@ -187,6 +202,11 @@ var mappingListImagesSortOrderEnum = map[string]ListImagesSortOrderEnum{ "DESC": ListImagesSortOrderDesc, } +var mappingListImagesSortOrderEnumLowerCase = map[string]ListImagesSortOrderEnum{ + "asc": ListImagesSortOrderAsc, + "desc": ListImagesSortOrderDesc, +} + // GetListImagesSortOrderEnumValues Enumerates the set of values for ListImagesSortOrderEnum func GetListImagesSortOrderEnumValues() []ListImagesSortOrderEnum { values := make([]ListImagesSortOrderEnum, 0) @@ -203,3 +223,9 @@ func GetListImagesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListImagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListImagesSortOrderEnum(val string) (ListImagesSortOrderEnum, bool) { + enum, ok := mappingListImagesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_configurations_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_configurations_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_configurations_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_configurations_request_response.go index 5e4f750df3ee..15ec29064eee 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_configurations_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_configurations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -81,10 +85,10 @@ func (request ListInstanceConfigurationsRequest) RetryPolicy() *common.RetryPoli // Not recommended for calling this function directly func (request ListInstanceConfigurationsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListInstanceConfigurationsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListInstanceConfigurationsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInstanceConfigurationsSortByEnumStringValues(), ","))) } - if _, ok := mappingListInstanceConfigurationsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListInstanceConfigurationsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstanceConfigurationsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -135,6 +139,11 @@ var mappingListInstanceConfigurationsSortByEnum = map[string]ListInstanceConfigu "DISPLAYNAME": ListInstanceConfigurationsSortByDisplayname, } +var mappingListInstanceConfigurationsSortByEnumLowerCase = map[string]ListInstanceConfigurationsSortByEnum{ + "timecreated": ListInstanceConfigurationsSortByTimecreated, + "displayname": ListInstanceConfigurationsSortByDisplayname, +} + // GetListInstanceConfigurationsSortByEnumValues Enumerates the set of values for ListInstanceConfigurationsSortByEnum func GetListInstanceConfigurationsSortByEnumValues() []ListInstanceConfigurationsSortByEnum { values := make([]ListInstanceConfigurationsSortByEnum, 0) @@ -152,6 +161,12 @@ func GetListInstanceConfigurationsSortByEnumStringValues() []string { } } +// GetMappingListInstanceConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstanceConfigurationsSortByEnum(val string) (ListInstanceConfigurationsSortByEnum, bool) { + enum, ok := mappingListInstanceConfigurationsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListInstanceConfigurationsSortOrderEnum Enum with underlying type: string type ListInstanceConfigurationsSortOrderEnum string @@ -166,6 +181,11 @@ var mappingListInstanceConfigurationsSortOrderEnum = map[string]ListInstanceConf "DESC": ListInstanceConfigurationsSortOrderDesc, } +var mappingListInstanceConfigurationsSortOrderEnumLowerCase = map[string]ListInstanceConfigurationsSortOrderEnum{ + "asc": ListInstanceConfigurationsSortOrderAsc, + "desc": ListInstanceConfigurationsSortOrderDesc, +} + // GetListInstanceConfigurationsSortOrderEnumValues Enumerates the set of values for ListInstanceConfigurationsSortOrderEnum func GetListInstanceConfigurationsSortOrderEnumValues() []ListInstanceConfigurationsSortOrderEnum { values := make([]ListInstanceConfigurationsSortOrderEnum, 0) @@ -182,3 +202,9 @@ func GetListInstanceConfigurationsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListInstanceConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstanceConfigurationsSortOrderEnum(val string) (ListInstanceConfigurationsSortOrderEnum, bool) { + enum, ok := mappingListInstanceConfigurationsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_console_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_console_connections_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_console_connections_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_console_connections_request_response.go index 6c54200489ac..36e47cae6aaf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_console_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_console_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_devices_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_devices_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_devices_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_devices_request_response.go index d83bca671724..b6e732a1a877 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_devices_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_devices_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. @@ -87,10 +91,10 @@ func (request ListInstanceDevicesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListInstanceDevicesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListInstanceDevicesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListInstanceDevicesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInstanceDevicesSortByEnumStringValues(), ","))) } - if _, ok := mappingListInstanceDevicesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListInstanceDevicesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstanceDevicesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +145,11 @@ var mappingListInstanceDevicesSortByEnum = map[string]ListInstanceDevicesSortByE "DISPLAYNAME": ListInstanceDevicesSortByDisplayname, } +var mappingListInstanceDevicesSortByEnumLowerCase = map[string]ListInstanceDevicesSortByEnum{ + "timecreated": ListInstanceDevicesSortByTimecreated, + "displayname": ListInstanceDevicesSortByDisplayname, +} + // GetListInstanceDevicesSortByEnumValues Enumerates the set of values for ListInstanceDevicesSortByEnum func GetListInstanceDevicesSortByEnumValues() []ListInstanceDevicesSortByEnum { values := make([]ListInstanceDevicesSortByEnum, 0) @@ -158,6 +167,12 @@ func GetListInstanceDevicesSortByEnumStringValues() []string { } } +// GetMappingListInstanceDevicesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstanceDevicesSortByEnum(val string) (ListInstanceDevicesSortByEnum, bool) { + enum, ok := mappingListInstanceDevicesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListInstanceDevicesSortOrderEnum Enum with underlying type: string type ListInstanceDevicesSortOrderEnum string @@ -172,6 +187,11 @@ var mappingListInstanceDevicesSortOrderEnum = map[string]ListInstanceDevicesSort "DESC": ListInstanceDevicesSortOrderDesc, } +var mappingListInstanceDevicesSortOrderEnumLowerCase = map[string]ListInstanceDevicesSortOrderEnum{ + "asc": ListInstanceDevicesSortOrderAsc, + "desc": ListInstanceDevicesSortOrderDesc, +} + // GetListInstanceDevicesSortOrderEnumValues Enumerates the set of values for ListInstanceDevicesSortOrderEnum func GetListInstanceDevicesSortOrderEnumValues() []ListInstanceDevicesSortOrderEnum { values := make([]ListInstanceDevicesSortOrderEnum, 0) @@ -188,3 +208,9 @@ func GetListInstanceDevicesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListInstanceDevicesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstanceDevicesSortOrderEnum(val string) (ListInstanceDevicesSortOrderEnum, bool) { + enum, ok := mappingListInstanceDevicesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_pool_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_pool_instances_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_pool_instances_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_pool_instances_request_response.go index 3e4f691e665c..d7d1752ca71c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_pool_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_pool_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -87,10 +91,10 @@ func (request ListInstancePoolInstancesRequest) RetryPolicy() *common.RetryPolic // Not recommended for calling this function directly func (request ListInstancePoolInstancesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListInstancePoolInstancesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListInstancePoolInstancesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInstancePoolInstancesSortByEnumStringValues(), ","))) } - if _, ok := mappingListInstancePoolInstancesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListInstancePoolInstancesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstancePoolInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +145,11 @@ var mappingListInstancePoolInstancesSortByEnum = map[string]ListInstancePoolInst "DISPLAYNAME": ListInstancePoolInstancesSortByDisplayname, } +var mappingListInstancePoolInstancesSortByEnumLowerCase = map[string]ListInstancePoolInstancesSortByEnum{ + "timecreated": ListInstancePoolInstancesSortByTimecreated, + "displayname": ListInstancePoolInstancesSortByDisplayname, +} + // GetListInstancePoolInstancesSortByEnumValues Enumerates the set of values for ListInstancePoolInstancesSortByEnum func GetListInstancePoolInstancesSortByEnumValues() []ListInstancePoolInstancesSortByEnum { values := make([]ListInstancePoolInstancesSortByEnum, 0) @@ -158,6 +167,12 @@ func GetListInstancePoolInstancesSortByEnumStringValues() []string { } } +// GetMappingListInstancePoolInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstancePoolInstancesSortByEnum(val string) (ListInstancePoolInstancesSortByEnum, bool) { + enum, ok := mappingListInstancePoolInstancesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListInstancePoolInstancesSortOrderEnum Enum with underlying type: string type ListInstancePoolInstancesSortOrderEnum string @@ -172,6 +187,11 @@ var mappingListInstancePoolInstancesSortOrderEnum = map[string]ListInstancePoolI "DESC": ListInstancePoolInstancesSortOrderDesc, } +var mappingListInstancePoolInstancesSortOrderEnumLowerCase = map[string]ListInstancePoolInstancesSortOrderEnum{ + "asc": ListInstancePoolInstancesSortOrderAsc, + "desc": ListInstancePoolInstancesSortOrderDesc, +} + // GetListInstancePoolInstancesSortOrderEnumValues Enumerates the set of values for ListInstancePoolInstancesSortOrderEnum func GetListInstancePoolInstancesSortOrderEnumValues() []ListInstancePoolInstancesSortOrderEnum { values := make([]ListInstancePoolInstancesSortOrderEnum, 0) @@ -188,3 +208,9 @@ func GetListInstancePoolInstancesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListInstancePoolInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstancePoolInstancesSortOrderEnum(val string) (ListInstancePoolInstancesSortOrderEnum, bool) { + enum, ok := mappingListInstancePoolInstancesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_pools_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_pools_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_pools_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_pools_request_response.go index d6bbb3906d3f..0df889f51fbb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instance_pools_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instance_pools_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,13 +92,13 @@ func (request ListInstancePoolsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListInstancePoolsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListInstancePoolsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListInstancePoolsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInstancePoolsSortByEnumStringValues(), ","))) } - if _, ok := mappingListInstancePoolsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListInstancePoolsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstancePoolsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingInstancePoolSummaryLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingInstancePoolSummaryLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInstancePoolSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListInstancePoolsSortByEnum = map[string]ListInstancePoolsSortByEnum{ "DISPLAYNAME": ListInstancePoolsSortByDisplayname, } +var mappingListInstancePoolsSortByEnumLowerCase = map[string]ListInstancePoolsSortByEnum{ + "timecreated": ListInstancePoolsSortByTimecreated, + "displayname": ListInstancePoolsSortByDisplayname, +} + // GetListInstancePoolsSortByEnumValues Enumerates the set of values for ListInstancePoolsSortByEnum func GetListInstancePoolsSortByEnumValues() []ListInstancePoolsSortByEnum { values := make([]ListInstancePoolsSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListInstancePoolsSortByEnumStringValues() []string { } } +// GetMappingListInstancePoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstancePoolsSortByEnum(val string) (ListInstancePoolsSortByEnum, bool) { + enum, ok := mappingListInstancePoolsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListInstancePoolsSortOrderEnum Enum with underlying type: string type ListInstancePoolsSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListInstancePoolsSortOrderEnum = map[string]ListInstancePoolsSortOrde "DESC": ListInstancePoolsSortOrderDesc, } +var mappingListInstancePoolsSortOrderEnumLowerCase = map[string]ListInstancePoolsSortOrderEnum{ + "asc": ListInstancePoolsSortOrderAsc, + "desc": ListInstancePoolsSortOrderDesc, +} + // GetListInstancePoolsSortOrderEnumValues Enumerates the set of values for ListInstancePoolsSortOrderEnum func GetListInstancePoolsSortOrderEnumValues() []ListInstancePoolsSortOrderEnum { values := make([]ListInstancePoolsSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListInstancePoolsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListInstancePoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstancePoolsSortOrderEnum(val string) (ListInstancePoolsSortOrderEnum, bool) { + enum, ok := mappingListInstancePoolsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instances_request_response.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instances_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instances_request_response.go index 15db5ec050f6..4c4152b79da9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -100,13 +104,13 @@ func (request ListInstancesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListInstancesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListInstancesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListInstancesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInstancesSortByEnumStringValues(), ","))) } - if _, ok := mappingListInstancesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListInstancesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstancesSortOrderEnumStringValues(), ","))) } - if _, ok := mappingInstanceLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingInstanceLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInstanceLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -157,6 +161,11 @@ var mappingListInstancesSortByEnum = map[string]ListInstancesSortByEnum{ "DISPLAYNAME": ListInstancesSortByDisplayname, } +var mappingListInstancesSortByEnumLowerCase = map[string]ListInstancesSortByEnum{ + "timecreated": ListInstancesSortByTimecreated, + "displayname": ListInstancesSortByDisplayname, +} + // GetListInstancesSortByEnumValues Enumerates the set of values for ListInstancesSortByEnum func GetListInstancesSortByEnumValues() []ListInstancesSortByEnum { values := make([]ListInstancesSortByEnum, 0) @@ -174,6 +183,12 @@ func GetListInstancesSortByEnumStringValues() []string { } } +// GetMappingListInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstancesSortByEnum(val string) (ListInstancesSortByEnum, bool) { + enum, ok := mappingListInstancesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListInstancesSortOrderEnum Enum with underlying type: string type ListInstancesSortOrderEnum string @@ -188,6 +203,11 @@ var mappingListInstancesSortOrderEnum = map[string]ListInstancesSortOrderEnum{ "DESC": ListInstancesSortOrderDesc, } +var mappingListInstancesSortOrderEnumLowerCase = map[string]ListInstancesSortOrderEnum{ + "asc": ListInstancesSortOrderAsc, + "desc": ListInstancesSortOrderDesc, +} + // GetListInstancesSortOrderEnumValues Enumerates the set of values for ListInstancesSortOrderEnum func GetListInstancesSortOrderEnumValues() []ListInstancesSortOrderEnum { values := make([]ListInstancesSortOrderEnum, 0) @@ -204,3 +224,9 @@ func GetListInstancesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInstancesSortOrderEnum(val string) (ListInstancesSortOrderEnum, bool) { + enum, ok := mappingListInstancesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internet_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_internet_gateways_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internet_gateways_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_internet_gateways_request_response.go index a7e21fb31b9e..030c7a1918d9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_internet_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_internet_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListInternetGatewaysRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListInternetGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListInternetGatewaysSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListInternetGatewaysSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListInternetGatewaysSortByEnumStringValues(), ","))) } - if _, ok := mappingListInternetGatewaysSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListInternetGatewaysSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInternetGatewaysSortOrderEnumStringValues(), ","))) } - if _, ok := mappingInternetGatewayLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingInternetGatewayLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInternetGatewayLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListInternetGatewaysSortByEnum = map[string]ListInternetGatewaysSortB "DISPLAYNAME": ListInternetGatewaysSortByDisplayname, } +var mappingListInternetGatewaysSortByEnumLowerCase = map[string]ListInternetGatewaysSortByEnum{ + "timecreated": ListInternetGatewaysSortByTimecreated, + "displayname": ListInternetGatewaysSortByDisplayname, +} + // GetListInternetGatewaysSortByEnumValues Enumerates the set of values for ListInternetGatewaysSortByEnum func GetListInternetGatewaysSortByEnumValues() []ListInternetGatewaysSortByEnum { values := make([]ListInternetGatewaysSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListInternetGatewaysSortByEnumStringValues() []string { } } +// GetMappingListInternetGatewaysSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInternetGatewaysSortByEnum(val string) (ListInternetGatewaysSortByEnum, bool) { + enum, ok := mappingListInternetGatewaysSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListInternetGatewaysSortOrderEnum Enum with underlying type: string type ListInternetGatewaysSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListInternetGatewaysSortOrderEnum = map[string]ListInternetGatewaysSo "DESC": ListInternetGatewaysSortOrderDesc, } +var mappingListInternetGatewaysSortOrderEnumLowerCase = map[string]ListInternetGatewaysSortOrderEnum{ + "asc": ListInternetGatewaysSortOrderAsc, + "desc": ListInternetGatewaysSortOrderDesc, +} + // GetListInternetGatewaysSortOrderEnumValues Enumerates the set of values for ListInternetGatewaysSortOrderEnum func GetListInternetGatewaysSortOrderEnumValues() []ListInternetGatewaysSortOrderEnum { values := make([]ListInternetGatewaysSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListInternetGatewaysSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListInternetGatewaysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListInternetGatewaysSortOrderEnum(val string) (ListInternetGatewaysSortOrderEnum, bool) { + enum, ok := mappingListInternetGatewaysSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_ipv6s_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_ipv6s_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_ipv6s_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_ipv6s_request_response.go index cf8f95c93179..54c7e9e324c0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_ipv6s_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_ipv6s_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 @@ -29,7 +33,7 @@ type ListIpv6sRequest struct { // Example: `10.0.3.3` IpAddress *string `mandatory:"false" contributesTo:"query" name:"ipAddress"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"` // The OCID of the VNIC. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_local_peering_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_local_peering_gateways_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_local_peering_gateways_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_local_peering_gateways_request_response.go index 9fb77f4152db..fdd94ee4e6ec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_local_peering_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_local_peering_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_nat_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_nat_gateways_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_nat_gateways_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_nat_gateways_request_response.go index f3cf510e95f5..9fb914a692f3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_nat_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_nat_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListNatGatewaysRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListNatGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListNatGatewaysSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListNatGatewaysSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNatGatewaysSortByEnumStringValues(), ","))) } - if _, ok := mappingListNatGatewaysSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListNatGatewaysSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListNatGatewaysSortOrderEnumStringValues(), ","))) } - if _, ok := mappingNatGatewayLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingNatGatewayLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetNatGatewayLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListNatGatewaysSortByEnum = map[string]ListNatGatewaysSortByEnum{ "DISPLAYNAME": ListNatGatewaysSortByDisplayname, } +var mappingListNatGatewaysSortByEnumLowerCase = map[string]ListNatGatewaysSortByEnum{ + "timecreated": ListNatGatewaysSortByTimecreated, + "displayname": ListNatGatewaysSortByDisplayname, +} + // GetListNatGatewaysSortByEnumValues Enumerates the set of values for ListNatGatewaysSortByEnum func GetListNatGatewaysSortByEnumValues() []ListNatGatewaysSortByEnum { values := make([]ListNatGatewaysSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListNatGatewaysSortByEnumStringValues() []string { } } +// GetMappingListNatGatewaysSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNatGatewaysSortByEnum(val string) (ListNatGatewaysSortByEnum, bool) { + enum, ok := mappingListNatGatewaysSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListNatGatewaysSortOrderEnum Enum with underlying type: string type ListNatGatewaysSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListNatGatewaysSortOrderEnum = map[string]ListNatGatewaysSortOrderEnu "DESC": ListNatGatewaysSortOrderDesc, } +var mappingListNatGatewaysSortOrderEnumLowerCase = map[string]ListNatGatewaysSortOrderEnum{ + "asc": ListNatGatewaysSortOrderAsc, + "desc": ListNatGatewaysSortOrderDesc, +} + // GetListNatGatewaysSortOrderEnumValues Enumerates the set of values for ListNatGatewaysSortOrderEnum func GetListNatGatewaysSortOrderEnumValues() []ListNatGatewaysSortOrderEnum { values := make([]ListNatGatewaysSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListNatGatewaysSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListNatGatewaysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNatGatewaysSortOrderEnum(val string) (ListNatGatewaysSortOrderEnum, bool) { + enum, ok := mappingListNatGatewaysSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_security_rules_request_response.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_group_security_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_security_rules_request_response.go index 26313da4348f..1d534e9ccfaa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. @@ -79,13 +83,13 @@ func (request ListNetworkSecurityGroupSecurityRulesRequest) RetryPolicy() *commo // Not recommended for calling this function directly func (request ListNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListNetworkSecurityGroupSecurityRulesDirectionEnum[string(request.Direction)]; !ok && request.Direction != "" { + if _, ok := GetMappingListNetworkSecurityGroupSecurityRulesDirectionEnum(string(request.Direction)); !ok && request.Direction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Direction: %s. Supported values are: %s.", request.Direction, strings.Join(GetListNetworkSecurityGroupSecurityRulesDirectionEnumStringValues(), ","))) } - if _, ok := mappingListNetworkSecurityGroupSecurityRulesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListNetworkSecurityGroupSecurityRulesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNetworkSecurityGroupSecurityRulesSortByEnumStringValues(), ","))) } - if _, ok := mappingListNetworkSecurityGroupSecurityRulesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListNetworkSecurityGroupSecurityRulesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListNetworkSecurityGroupSecurityRulesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -136,6 +140,11 @@ var mappingListNetworkSecurityGroupSecurityRulesDirectionEnum = map[string]ListN "INGRESS": ListNetworkSecurityGroupSecurityRulesDirectionIngress, } +var mappingListNetworkSecurityGroupSecurityRulesDirectionEnumLowerCase = map[string]ListNetworkSecurityGroupSecurityRulesDirectionEnum{ + "egress": ListNetworkSecurityGroupSecurityRulesDirectionEgress, + "ingress": ListNetworkSecurityGroupSecurityRulesDirectionIngress, +} + // GetListNetworkSecurityGroupSecurityRulesDirectionEnumValues Enumerates the set of values for ListNetworkSecurityGroupSecurityRulesDirectionEnum func GetListNetworkSecurityGroupSecurityRulesDirectionEnumValues() []ListNetworkSecurityGroupSecurityRulesDirectionEnum { values := make([]ListNetworkSecurityGroupSecurityRulesDirectionEnum, 0) @@ -153,6 +162,12 @@ func GetListNetworkSecurityGroupSecurityRulesDirectionEnumStringValues() []strin } } +// GetMappingListNetworkSecurityGroupSecurityRulesDirectionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNetworkSecurityGroupSecurityRulesDirectionEnum(val string) (ListNetworkSecurityGroupSecurityRulesDirectionEnum, bool) { + enum, ok := mappingListNetworkSecurityGroupSecurityRulesDirectionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListNetworkSecurityGroupSecurityRulesSortByEnum Enum with underlying type: string type ListNetworkSecurityGroupSecurityRulesSortByEnum string @@ -165,6 +180,10 @@ var mappingListNetworkSecurityGroupSecurityRulesSortByEnum = map[string]ListNetw "TIMECREATED": ListNetworkSecurityGroupSecurityRulesSortByTimecreated, } +var mappingListNetworkSecurityGroupSecurityRulesSortByEnumLowerCase = map[string]ListNetworkSecurityGroupSecurityRulesSortByEnum{ + "timecreated": ListNetworkSecurityGroupSecurityRulesSortByTimecreated, +} + // GetListNetworkSecurityGroupSecurityRulesSortByEnumValues Enumerates the set of values for ListNetworkSecurityGroupSecurityRulesSortByEnum func GetListNetworkSecurityGroupSecurityRulesSortByEnumValues() []ListNetworkSecurityGroupSecurityRulesSortByEnum { values := make([]ListNetworkSecurityGroupSecurityRulesSortByEnum, 0) @@ -181,6 +200,12 @@ func GetListNetworkSecurityGroupSecurityRulesSortByEnumStringValues() []string { } } +// GetMappingListNetworkSecurityGroupSecurityRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNetworkSecurityGroupSecurityRulesSortByEnum(val string) (ListNetworkSecurityGroupSecurityRulesSortByEnum, bool) { + enum, ok := mappingListNetworkSecurityGroupSecurityRulesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListNetworkSecurityGroupSecurityRulesSortOrderEnum Enum with underlying type: string type ListNetworkSecurityGroupSecurityRulesSortOrderEnum string @@ -195,6 +220,11 @@ var mappingListNetworkSecurityGroupSecurityRulesSortOrderEnum = map[string]ListN "DESC": ListNetworkSecurityGroupSecurityRulesSortOrderDesc, } +var mappingListNetworkSecurityGroupSecurityRulesSortOrderEnumLowerCase = map[string]ListNetworkSecurityGroupSecurityRulesSortOrderEnum{ + "asc": ListNetworkSecurityGroupSecurityRulesSortOrderAsc, + "desc": ListNetworkSecurityGroupSecurityRulesSortOrderDesc, +} + // GetListNetworkSecurityGroupSecurityRulesSortOrderEnumValues Enumerates the set of values for ListNetworkSecurityGroupSecurityRulesSortOrderEnum func GetListNetworkSecurityGroupSecurityRulesSortOrderEnumValues() []ListNetworkSecurityGroupSecurityRulesSortOrderEnum { values := make([]ListNetworkSecurityGroupSecurityRulesSortOrderEnum, 0) @@ -211,3 +241,9 @@ func GetListNetworkSecurityGroupSecurityRulesSortOrderEnumStringValues() []strin "DESC", } } + +// GetMappingListNetworkSecurityGroupSecurityRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNetworkSecurityGroupSecurityRulesSortOrderEnum(val string) (ListNetworkSecurityGroupSecurityRulesSortOrderEnum, bool) { + enum, ok := mappingListNetworkSecurityGroupSecurityRulesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_group_vnics_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_vnics_request_response.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_group_vnics_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_vnics_request_response.go index 0f143a537a74..98d184ffeb50 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_group_vnics_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_vnics_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. @@ -75,10 +79,10 @@ func (request ListNetworkSecurityGroupVnicsRequest) RetryPolicy() *common.RetryP // Not recommended for calling this function directly func (request ListNetworkSecurityGroupVnicsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListNetworkSecurityGroupVnicsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListNetworkSecurityGroupVnicsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNetworkSecurityGroupVnicsSortByEnumStringValues(), ","))) } - if _, ok := mappingListNetworkSecurityGroupVnicsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListNetworkSecurityGroupVnicsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListNetworkSecurityGroupVnicsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -127,6 +131,10 @@ var mappingListNetworkSecurityGroupVnicsSortByEnum = map[string]ListNetworkSecur "TIMEASSOCIATED": ListNetworkSecurityGroupVnicsSortByTimeassociated, } +var mappingListNetworkSecurityGroupVnicsSortByEnumLowerCase = map[string]ListNetworkSecurityGroupVnicsSortByEnum{ + "timeassociated": ListNetworkSecurityGroupVnicsSortByTimeassociated, +} + // GetListNetworkSecurityGroupVnicsSortByEnumValues Enumerates the set of values for ListNetworkSecurityGroupVnicsSortByEnum func GetListNetworkSecurityGroupVnicsSortByEnumValues() []ListNetworkSecurityGroupVnicsSortByEnum { values := make([]ListNetworkSecurityGroupVnicsSortByEnum, 0) @@ -143,6 +151,12 @@ func GetListNetworkSecurityGroupVnicsSortByEnumStringValues() []string { } } +// GetMappingListNetworkSecurityGroupVnicsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNetworkSecurityGroupVnicsSortByEnum(val string) (ListNetworkSecurityGroupVnicsSortByEnum, bool) { + enum, ok := mappingListNetworkSecurityGroupVnicsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListNetworkSecurityGroupVnicsSortOrderEnum Enum with underlying type: string type ListNetworkSecurityGroupVnicsSortOrderEnum string @@ -157,6 +171,11 @@ var mappingListNetworkSecurityGroupVnicsSortOrderEnum = map[string]ListNetworkSe "DESC": ListNetworkSecurityGroupVnicsSortOrderDesc, } +var mappingListNetworkSecurityGroupVnicsSortOrderEnumLowerCase = map[string]ListNetworkSecurityGroupVnicsSortOrderEnum{ + "asc": ListNetworkSecurityGroupVnicsSortOrderAsc, + "desc": ListNetworkSecurityGroupVnicsSortOrderDesc, +} + // GetListNetworkSecurityGroupVnicsSortOrderEnumValues Enumerates the set of values for ListNetworkSecurityGroupVnicsSortOrderEnum func GetListNetworkSecurityGroupVnicsSortOrderEnumValues() []ListNetworkSecurityGroupVnicsSortOrderEnum { values := make([]ListNetworkSecurityGroupVnicsSortOrderEnum, 0) @@ -173,3 +192,9 @@ func GetListNetworkSecurityGroupVnicsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListNetworkSecurityGroupVnicsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNetworkSecurityGroupVnicsSortOrderEnum(val string) (ListNetworkSecurityGroupVnicsSortOrderEnum, bool) { + enum, ok := mappingListNetworkSecurityGroupVnicsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_groups_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_groups_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_groups_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_groups_request_response.go index 5098910aa6f7..740427e82ded 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_network_security_groups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_network_security_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -94,13 +98,13 @@ func (request ListNetworkSecurityGroupsRequest) RetryPolicy() *common.RetryPolic // Not recommended for calling this function directly func (request ListNetworkSecurityGroupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListNetworkSecurityGroupsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListNetworkSecurityGroupsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNetworkSecurityGroupsSortByEnumStringValues(), ","))) } - if _, ok := mappingListNetworkSecurityGroupsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListNetworkSecurityGroupsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListNetworkSecurityGroupsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingNetworkSecurityGroupLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingNetworkSecurityGroupLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetNetworkSecurityGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -151,6 +155,11 @@ var mappingListNetworkSecurityGroupsSortByEnum = map[string]ListNetworkSecurityG "DISPLAYNAME": ListNetworkSecurityGroupsSortByDisplayname, } +var mappingListNetworkSecurityGroupsSortByEnumLowerCase = map[string]ListNetworkSecurityGroupsSortByEnum{ + "timecreated": ListNetworkSecurityGroupsSortByTimecreated, + "displayname": ListNetworkSecurityGroupsSortByDisplayname, +} + // GetListNetworkSecurityGroupsSortByEnumValues Enumerates the set of values for ListNetworkSecurityGroupsSortByEnum func GetListNetworkSecurityGroupsSortByEnumValues() []ListNetworkSecurityGroupsSortByEnum { values := make([]ListNetworkSecurityGroupsSortByEnum, 0) @@ -168,6 +177,12 @@ func GetListNetworkSecurityGroupsSortByEnumStringValues() []string { } } +// GetMappingListNetworkSecurityGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNetworkSecurityGroupsSortByEnum(val string) (ListNetworkSecurityGroupsSortByEnum, bool) { + enum, ok := mappingListNetworkSecurityGroupsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListNetworkSecurityGroupsSortOrderEnum Enum with underlying type: string type ListNetworkSecurityGroupsSortOrderEnum string @@ -182,6 +197,11 @@ var mappingListNetworkSecurityGroupsSortOrderEnum = map[string]ListNetworkSecuri "DESC": ListNetworkSecurityGroupsSortOrderDesc, } +var mappingListNetworkSecurityGroupsSortOrderEnumLowerCase = map[string]ListNetworkSecurityGroupsSortOrderEnum{ + "asc": ListNetworkSecurityGroupsSortOrderAsc, + "desc": ListNetworkSecurityGroupsSortOrderDesc, +} + // GetListNetworkSecurityGroupsSortOrderEnumValues Enumerates the set of values for ListNetworkSecurityGroupsSortOrderEnum func GetListNetworkSecurityGroupsSortOrderEnumValues() []ListNetworkSecurityGroupsSortOrderEnum { values := make([]ListNetworkSecurityGroupsSortOrderEnum, 0) @@ -198,3 +218,9 @@ func GetListNetworkSecurityGroupsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListNetworkSecurityGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListNetworkSecurityGroupsSortOrderEnum(val string) (ListNetworkSecurityGroupsSortOrderEnum, bool) { + enum, ok := mappingListNetworkSecurityGroupsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_ips_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_private_ips_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_ips_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_private_ips_request_response.go index a190922b079f..9967873f7e09 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_private_ips_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_private_ips_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 @@ -29,7 +33,7 @@ type ListPrivateIpsRequest struct { // Example: `10.0.3.3` IpAddress *string `mandatory:"false" contributesTo:"query" name:"ipAddress"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"` // The OCID of the VNIC. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_public_ip_pools_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_public_ip_pools_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_public_ip_pools_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_public_ip_pools_request_response.go index 93569732e98d..ce2a0f277cc4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_public_ip_pools_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_public_ip_pools_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -87,10 +91,10 @@ func (request ListPublicIpPoolsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListPublicIpPoolsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListPublicIpPoolsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListPublicIpPoolsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListPublicIpPoolsSortByEnumStringValues(), ","))) } - if _, ok := mappingListPublicIpPoolsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListPublicIpPoolsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPublicIpPoolsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +145,11 @@ var mappingListPublicIpPoolsSortByEnum = map[string]ListPublicIpPoolsSortByEnum{ "DISPLAYNAME": ListPublicIpPoolsSortByDisplayname, } +var mappingListPublicIpPoolsSortByEnumLowerCase = map[string]ListPublicIpPoolsSortByEnum{ + "timecreated": ListPublicIpPoolsSortByTimecreated, + "displayname": ListPublicIpPoolsSortByDisplayname, +} + // GetListPublicIpPoolsSortByEnumValues Enumerates the set of values for ListPublicIpPoolsSortByEnum func GetListPublicIpPoolsSortByEnumValues() []ListPublicIpPoolsSortByEnum { values := make([]ListPublicIpPoolsSortByEnum, 0) @@ -158,6 +167,12 @@ func GetListPublicIpPoolsSortByEnumStringValues() []string { } } +// GetMappingListPublicIpPoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListPublicIpPoolsSortByEnum(val string) (ListPublicIpPoolsSortByEnum, bool) { + enum, ok := mappingListPublicIpPoolsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListPublicIpPoolsSortOrderEnum Enum with underlying type: string type ListPublicIpPoolsSortOrderEnum string @@ -172,6 +187,11 @@ var mappingListPublicIpPoolsSortOrderEnum = map[string]ListPublicIpPoolsSortOrde "DESC": ListPublicIpPoolsSortOrderDesc, } +var mappingListPublicIpPoolsSortOrderEnumLowerCase = map[string]ListPublicIpPoolsSortOrderEnum{ + "asc": ListPublicIpPoolsSortOrderAsc, + "desc": ListPublicIpPoolsSortOrderDesc, +} + // GetListPublicIpPoolsSortOrderEnumValues Enumerates the set of values for ListPublicIpPoolsSortOrderEnum func GetListPublicIpPoolsSortOrderEnumValues() []ListPublicIpPoolsSortOrderEnum { values := make([]ListPublicIpPoolsSortOrderEnum, 0) @@ -188,3 +208,9 @@ func GetListPublicIpPoolsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListPublicIpPoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListPublicIpPoolsSortOrderEnum(val string) (ListPublicIpPoolsSortOrderEnum, bool) { + enum, ok := mappingListPublicIpPoolsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_public_ips_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_public_ips_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_public_ips_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_public_ips_request_response.go index 3dcd14bd838b..dcf4c5d539f5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_public_ips_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_public_ips_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -88,10 +92,10 @@ func (request ListPublicIpsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListPublicIpsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListPublicIpsScopeEnum[string(request.Scope)]; !ok && request.Scope != "" { + if _, ok := GetMappingListPublicIpsScopeEnum(string(request.Scope)); !ok && request.Scope != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Scope: %s. Supported values are: %s.", request.Scope, strings.Join(GetListPublicIpsScopeEnumStringValues(), ","))) } - if _, ok := mappingListPublicIpsLifetimeEnum[string(request.Lifetime)]; !ok && request.Lifetime != "" { + if _, ok := GetMappingListPublicIpsLifetimeEnum(string(request.Lifetime)); !ok && request.Lifetime != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", request.Lifetime, strings.Join(GetListPublicIpsLifetimeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -142,6 +146,11 @@ var mappingListPublicIpsScopeEnum = map[string]ListPublicIpsScopeEnum{ "AVAILABILITY_DOMAIN": ListPublicIpsScopeAvailabilityDomain, } +var mappingListPublicIpsScopeEnumLowerCase = map[string]ListPublicIpsScopeEnum{ + "region": ListPublicIpsScopeRegion, + "availability_domain": ListPublicIpsScopeAvailabilityDomain, +} + // GetListPublicIpsScopeEnumValues Enumerates the set of values for ListPublicIpsScopeEnum func GetListPublicIpsScopeEnumValues() []ListPublicIpsScopeEnum { values := make([]ListPublicIpsScopeEnum, 0) @@ -159,6 +168,12 @@ func GetListPublicIpsScopeEnumStringValues() []string { } } +// GetMappingListPublicIpsScopeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListPublicIpsScopeEnum(val string) (ListPublicIpsScopeEnum, bool) { + enum, ok := mappingListPublicIpsScopeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListPublicIpsLifetimeEnum Enum with underlying type: string type ListPublicIpsLifetimeEnum string @@ -173,6 +188,11 @@ var mappingListPublicIpsLifetimeEnum = map[string]ListPublicIpsLifetimeEnum{ "RESERVED": ListPublicIpsLifetimeReserved, } +var mappingListPublicIpsLifetimeEnumLowerCase = map[string]ListPublicIpsLifetimeEnum{ + "ephemeral": ListPublicIpsLifetimeEphemeral, + "reserved": ListPublicIpsLifetimeReserved, +} + // GetListPublicIpsLifetimeEnumValues Enumerates the set of values for ListPublicIpsLifetimeEnum func GetListPublicIpsLifetimeEnumValues() []ListPublicIpsLifetimeEnum { values := make([]ListPublicIpsLifetimeEnum, 0) @@ -189,3 +209,9 @@ func GetListPublicIpsLifetimeEnumStringValues() []string { "RESERVED", } } + +// GetMappingListPublicIpsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListPublicIpsLifetimeEnum(val string) (ListPublicIpsLifetimeEnum, bool) { + enum, ok := mappingListPublicIpsLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_remote_peering_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_remote_peering_connections_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_remote_peering_connections_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_remote_peering_connections_request_response.go index 0c28b2749d08..16554322a74b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_remote_peering_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_remote_peering_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_route_tables_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_route_tables_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_route_tables_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_route_tables_request_response.go index 88a4b5a7f907..356c4f3a7e78 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_route_tables_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_route_tables_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListRouteTablesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListRouteTablesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListRouteTablesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListRouteTablesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListRouteTablesSortByEnumStringValues(), ","))) } - if _, ok := mappingListRouteTablesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListRouteTablesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListRouteTablesSortOrderEnumStringValues(), ","))) } - if _, ok := mappingRouteTableLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingRouteTableLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetRouteTableLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListRouteTablesSortByEnum = map[string]ListRouteTablesSortByEnum{ "DISPLAYNAME": ListRouteTablesSortByDisplayname, } +var mappingListRouteTablesSortByEnumLowerCase = map[string]ListRouteTablesSortByEnum{ + "timecreated": ListRouteTablesSortByTimecreated, + "displayname": ListRouteTablesSortByDisplayname, +} + // GetListRouteTablesSortByEnumValues Enumerates the set of values for ListRouteTablesSortByEnum func GetListRouteTablesSortByEnumValues() []ListRouteTablesSortByEnum { values := make([]ListRouteTablesSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListRouteTablesSortByEnumStringValues() []string { } } +// GetMappingListRouteTablesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListRouteTablesSortByEnum(val string) (ListRouteTablesSortByEnum, bool) { + enum, ok := mappingListRouteTablesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListRouteTablesSortOrderEnum Enum with underlying type: string type ListRouteTablesSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListRouteTablesSortOrderEnum = map[string]ListRouteTablesSortOrderEnu "DESC": ListRouteTablesSortOrderDesc, } +var mappingListRouteTablesSortOrderEnumLowerCase = map[string]ListRouteTablesSortOrderEnum{ + "asc": ListRouteTablesSortOrderAsc, + "desc": ListRouteTablesSortOrderDesc, +} + // GetListRouteTablesSortOrderEnumValues Enumerates the set of values for ListRouteTablesSortOrderEnum func GetListRouteTablesSortOrderEnumValues() []ListRouteTablesSortOrderEnum { values := make([]ListRouteTablesSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListRouteTablesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListRouteTablesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListRouteTablesSortOrderEnum(val string) (ListRouteTablesSortOrderEnum, bool) { + enum, ok := mappingListRouteTablesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_security_lists_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_security_lists_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_security_lists_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_security_lists_request_response.go index aeadeba02caf..e9d91a7feee6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_security_lists_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_security_lists_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListSecurityListsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListSecurityListsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListSecurityListsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListSecurityListsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListSecurityListsSortByEnumStringValues(), ","))) } - if _, ok := mappingListSecurityListsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListSecurityListsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListSecurityListsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingSecurityListLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingSecurityListLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetSecurityListLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListSecurityListsSortByEnum = map[string]ListSecurityListsSortByEnum{ "DISPLAYNAME": ListSecurityListsSortByDisplayname, } +var mappingListSecurityListsSortByEnumLowerCase = map[string]ListSecurityListsSortByEnum{ + "timecreated": ListSecurityListsSortByTimecreated, + "displayname": ListSecurityListsSortByDisplayname, +} + // GetListSecurityListsSortByEnumValues Enumerates the set of values for ListSecurityListsSortByEnum func GetListSecurityListsSortByEnumValues() []ListSecurityListsSortByEnum { values := make([]ListSecurityListsSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListSecurityListsSortByEnumStringValues() []string { } } +// GetMappingListSecurityListsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListSecurityListsSortByEnum(val string) (ListSecurityListsSortByEnum, bool) { + enum, ok := mappingListSecurityListsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListSecurityListsSortOrderEnum Enum with underlying type: string type ListSecurityListsSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListSecurityListsSortOrderEnum = map[string]ListSecurityListsSortOrde "DESC": ListSecurityListsSortOrderDesc, } +var mappingListSecurityListsSortOrderEnumLowerCase = map[string]ListSecurityListsSortOrderEnum{ + "asc": ListSecurityListsSortOrderAsc, + "desc": ListSecurityListsSortOrderDesc, +} + // GetListSecurityListsSortOrderEnumValues Enumerates the set of values for ListSecurityListsSortOrderEnum func GetListSecurityListsSortOrderEnumValues() []ListSecurityListsSortOrderEnum { values := make([]ListSecurityListsSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListSecurityListsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListSecurityListsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListSecurityListsSortOrderEnum(val string) (ListSecurityListsSortOrderEnum, bool) { + enum, ok := mappingListSecurityListsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_service_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_service_gateways_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_service_gateways_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_service_gateways_request_response.go index 2492fe880253..471ee18767cf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_service_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_service_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,13 +92,13 @@ func (request ListServiceGatewaysRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListServiceGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListServiceGatewaysSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListServiceGatewaysSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListServiceGatewaysSortByEnumStringValues(), ","))) } - if _, ok := mappingListServiceGatewaysSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListServiceGatewaysSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListServiceGatewaysSortOrderEnumStringValues(), ","))) } - if _, ok := mappingServiceGatewayLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingServiceGatewayLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetServiceGatewayLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListServiceGatewaysSortByEnum = map[string]ListServiceGatewaysSortByE "DISPLAYNAME": ListServiceGatewaysSortByDisplayname, } +var mappingListServiceGatewaysSortByEnumLowerCase = map[string]ListServiceGatewaysSortByEnum{ + "timecreated": ListServiceGatewaysSortByTimecreated, + "displayname": ListServiceGatewaysSortByDisplayname, +} + // GetListServiceGatewaysSortByEnumValues Enumerates the set of values for ListServiceGatewaysSortByEnum func GetListServiceGatewaysSortByEnumValues() []ListServiceGatewaysSortByEnum { values := make([]ListServiceGatewaysSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListServiceGatewaysSortByEnumStringValues() []string { } } +// GetMappingListServiceGatewaysSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListServiceGatewaysSortByEnum(val string) (ListServiceGatewaysSortByEnum, bool) { + enum, ok := mappingListServiceGatewaysSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListServiceGatewaysSortOrderEnum Enum with underlying type: string type ListServiceGatewaysSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListServiceGatewaysSortOrderEnum = map[string]ListServiceGatewaysSort "DESC": ListServiceGatewaysSortOrderDesc, } +var mappingListServiceGatewaysSortOrderEnumLowerCase = map[string]ListServiceGatewaysSortOrderEnum{ + "asc": ListServiceGatewaysSortOrderAsc, + "desc": ListServiceGatewaysSortOrderDesc, +} + // GetListServiceGatewaysSortOrderEnumValues Enumerates the set of values for ListServiceGatewaysSortOrderEnum func GetListServiceGatewaysSortOrderEnumValues() []ListServiceGatewaysSortOrderEnum { values := make([]ListServiceGatewaysSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListServiceGatewaysSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListServiceGatewaysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListServiceGatewaysSortOrderEnum(val string) (ListServiceGatewaysSortOrderEnum, bool) { + enum, ok := mappingListServiceGatewaysSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_services_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_services_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_services_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_services_request_response.go index 4d3b33854cab..34b55873d41a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_services_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_services_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_shapes_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_shapes_request_response.go index 7869f49120b0..5a3f7a2143a2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_subnets_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_subnets_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_subnets_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_subnets_request_response.go index 7eb0862f8952..8b38707bcbc9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_subnets_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_subnets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListSubnetsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListSubnetsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListSubnetsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListSubnetsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListSubnetsSortByEnumStringValues(), ","))) } - if _, ok := mappingListSubnetsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListSubnetsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListSubnetsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingSubnetLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingSubnetLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetSubnetLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListSubnetsSortByEnum = map[string]ListSubnetsSortByEnum{ "DISPLAYNAME": ListSubnetsSortByDisplayname, } +var mappingListSubnetsSortByEnumLowerCase = map[string]ListSubnetsSortByEnum{ + "timecreated": ListSubnetsSortByTimecreated, + "displayname": ListSubnetsSortByDisplayname, +} + // GetListSubnetsSortByEnumValues Enumerates the set of values for ListSubnetsSortByEnum func GetListSubnetsSortByEnumValues() []ListSubnetsSortByEnum { values := make([]ListSubnetsSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListSubnetsSortByEnumStringValues() []string { } } +// GetMappingListSubnetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListSubnetsSortByEnum(val string) (ListSubnetsSortByEnum, bool) { + enum, ok := mappingListSubnetsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListSubnetsSortOrderEnum Enum with underlying type: string type ListSubnetsSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListSubnetsSortOrderEnum = map[string]ListSubnetsSortOrderEnum{ "DESC": ListSubnetsSortOrderDesc, } +var mappingListSubnetsSortOrderEnumLowerCase = map[string]ListSubnetsSortOrderEnum{ + "asc": ListSubnetsSortOrderAsc, + "desc": ListSubnetsSortOrderDesc, +} + // GetListSubnetsSortOrderEnumValues Enumerates the set of values for ListSubnetsSortOrderEnum func GetListSubnetsSortOrderEnumValues() []ListSubnetsSortOrderEnum { values := make([]ListSubnetsSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListSubnetsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListSubnetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListSubnetsSortOrderEnum(val string) (ListSubnetsSortOrderEnum, bool) { + enum, ok := mappingListSubnetsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcns_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vcns_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcns_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vcns_request_response.go index 9da452c67230..ccb36f0ff3ce 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vcns_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vcns_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,13 +92,13 @@ func (request ListVcnsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVcnsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVcnsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVcnsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVcnsSortByEnumStringValues(), ","))) } - if _, ok := mappingListVcnsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVcnsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVcnsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVcnLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVcnLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVcnLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListVcnsSortByEnum = map[string]ListVcnsSortByEnum{ "DISPLAYNAME": ListVcnsSortByDisplayname, } +var mappingListVcnsSortByEnumLowerCase = map[string]ListVcnsSortByEnum{ + "timecreated": ListVcnsSortByTimecreated, + "displayname": ListVcnsSortByDisplayname, +} + // GetListVcnsSortByEnumValues Enumerates the set of values for ListVcnsSortByEnum func GetListVcnsSortByEnumValues() []ListVcnsSortByEnum { values := make([]ListVcnsSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListVcnsSortByEnumStringValues() []string { } } +// GetMappingListVcnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVcnsSortByEnum(val string) (ListVcnsSortByEnum, bool) { + enum, ok := mappingListVcnsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVcnsSortOrderEnum Enum with underlying type: string type ListVcnsSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListVcnsSortOrderEnum = map[string]ListVcnsSortOrderEnum{ "DESC": ListVcnsSortOrderDesc, } +var mappingListVcnsSortOrderEnumLowerCase = map[string]ListVcnsSortOrderEnum{ + "asc": ListVcnsSortOrderAsc, + "desc": ListVcnsSortOrderDesc, +} + // GetListVcnsSortOrderEnumValues Enumerates the set of values for ListVcnsSortOrderEnum func GetListVcnsSortOrderEnumValues() []ListVcnsSortOrderEnum { values := make([]ListVcnsSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListVcnsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVcnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVcnsSortOrderEnum(val string) (ListVcnsSortOrderEnum, bool) { + enum, ok := mappingListVcnsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuit_bandwidth_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_bandwidth_shapes_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuit_bandwidth_shapes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_bandwidth_shapes_request_response.go index 9f1ee731378f..f344e551bfa5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuit_bandwidth_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_bandwidth_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuit_public_prefixes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_public_prefixes_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuit_public_prefixes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_public_prefixes_request_response.go index eaf97ae09fcc..efd16a99fafe 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuit_public_prefixes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_public_prefixes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // A filter to only return resources that match the given verification @@ -62,7 +66,7 @@ func (request ListVirtualCircuitPublicPrefixesRequest) RetryPolicy() *common.Ret // Not recommended for calling this function directly func (request ListVirtualCircuitPublicPrefixesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVirtualCircuitPublicPrefixVerificationStateEnum[string(request.VerificationState)]; !ok && request.VerificationState != "" { + if _, ok := GetMappingVirtualCircuitPublicPrefixVerificationStateEnum(string(request.VerificationState)); !ok && request.VerificationState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VerificationState: %s. Supported values are: %s.", request.VerificationState, strings.Join(GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuits_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuits_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuits_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuits_request_response.go index 2266adfec870..e9b1642e16c3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_virtual_circuits_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuits_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -88,13 +92,13 @@ func (request ListVirtualCircuitsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVirtualCircuitsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVirtualCircuitsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVirtualCircuitsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVirtualCircuitsSortByEnumStringValues(), ","))) } - if _, ok := mappingListVirtualCircuitsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVirtualCircuitsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVirtualCircuitsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVirtualCircuitLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVirtualCircuitLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -145,6 +149,11 @@ var mappingListVirtualCircuitsSortByEnum = map[string]ListVirtualCircuitsSortByE "DISPLAYNAME": ListVirtualCircuitsSortByDisplayname, } +var mappingListVirtualCircuitsSortByEnumLowerCase = map[string]ListVirtualCircuitsSortByEnum{ + "timecreated": ListVirtualCircuitsSortByTimecreated, + "displayname": ListVirtualCircuitsSortByDisplayname, +} + // GetListVirtualCircuitsSortByEnumValues Enumerates the set of values for ListVirtualCircuitsSortByEnum func GetListVirtualCircuitsSortByEnumValues() []ListVirtualCircuitsSortByEnum { values := make([]ListVirtualCircuitsSortByEnum, 0) @@ -162,6 +171,12 @@ func GetListVirtualCircuitsSortByEnumStringValues() []string { } } +// GetMappingListVirtualCircuitsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVirtualCircuitsSortByEnum(val string) (ListVirtualCircuitsSortByEnum, bool) { + enum, ok := mappingListVirtualCircuitsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVirtualCircuitsSortOrderEnum Enum with underlying type: string type ListVirtualCircuitsSortOrderEnum string @@ -176,6 +191,11 @@ var mappingListVirtualCircuitsSortOrderEnum = map[string]ListVirtualCircuitsSort "DESC": ListVirtualCircuitsSortOrderDesc, } +var mappingListVirtualCircuitsSortOrderEnumLowerCase = map[string]ListVirtualCircuitsSortOrderEnum{ + "asc": ListVirtualCircuitsSortOrderAsc, + "desc": ListVirtualCircuitsSortOrderDesc, +} + // GetListVirtualCircuitsSortOrderEnumValues Enumerates the set of values for ListVirtualCircuitsSortOrderEnum func GetListVirtualCircuitsSortOrderEnumValues() []ListVirtualCircuitsSortOrderEnum { values := make([]ListVirtualCircuitsSortOrderEnum, 0) @@ -192,3 +212,9 @@ func GetListVirtualCircuitsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVirtualCircuitsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVirtualCircuitsSortOrderEnum(val string) (ListVirtualCircuitsSortOrderEnum, bool) { + enum, ok := mappingListVirtualCircuitsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vlans_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vlans_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vlans_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vlans_request_response.go index 8d41a112dbcd..1e6a1cbbb511 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vlans_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vlans_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -91,13 +95,13 @@ func (request ListVlansRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVlansRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVlansSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVlansSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVlansSortByEnumStringValues(), ","))) } - if _, ok := mappingListVlansSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVlansSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVlansSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVlanLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVlanLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVlanLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListVlansSortByEnum = map[string]ListVlansSortByEnum{ "DISPLAYNAME": ListVlansSortByDisplayname, } +var mappingListVlansSortByEnumLowerCase = map[string]ListVlansSortByEnum{ + "timecreated": ListVlansSortByTimecreated, + "displayname": ListVlansSortByDisplayname, +} + // GetListVlansSortByEnumValues Enumerates the set of values for ListVlansSortByEnum func GetListVlansSortByEnumValues() []ListVlansSortByEnum { values := make([]ListVlansSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListVlansSortByEnumStringValues() []string { } } +// GetMappingListVlansSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVlansSortByEnum(val string) (ListVlansSortByEnum, bool) { + enum, ok := mappingListVlansSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVlansSortOrderEnum Enum with underlying type: string type ListVlansSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListVlansSortOrderEnum = map[string]ListVlansSortOrderEnum{ "DESC": ListVlansSortOrderDesc, } +var mappingListVlansSortOrderEnumLowerCase = map[string]ListVlansSortOrderEnum{ + "asc": ListVlansSortOrderAsc, + "desc": ListVlansSortOrderDesc, +} + // GetListVlansSortOrderEnumValues Enumerates the set of values for ListVlansSortOrderEnum func GetListVlansSortOrderEnumValues() []ListVlansSortOrderEnum { values := make([]ListVlansSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListVlansSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVlansSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVlansSortOrderEnum(val string) (ListVlansSortOrderEnum, bool) { + enum, ok := mappingListVlansSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vnic_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vnic_attachments_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vnic_attachments_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vnic_attachments_request_response.go index 3cef83785f64..f51baa11e6b5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vnic_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vnic_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_attachments_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_attachments_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_attachments_request_response.go index dc38cf96eff9..0e9fa34fea37 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_backup_policies_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_backup_policies_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_backup_policies_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_backup_policies_request_response.go index 0bd4eb565280..c025ca9200ed 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_backup_policies_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_backup_policies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_backups_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_backups_request_response.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_backups_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_backups_request_response.go index 1770176828f9..97e2998dd18d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_backups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_backups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -94,13 +98,13 @@ func (request ListVolumeBackupsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVolumeBackupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVolumeBackupsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVolumeBackupsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVolumeBackupsSortByEnumStringValues(), ","))) } - if _, ok := mappingListVolumeBackupsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVolumeBackupsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVolumeBackupsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVolumeBackupLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeBackupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -151,6 +155,11 @@ var mappingListVolumeBackupsSortByEnum = map[string]ListVolumeBackupsSortByEnum{ "DISPLAYNAME": ListVolumeBackupsSortByDisplayname, } +var mappingListVolumeBackupsSortByEnumLowerCase = map[string]ListVolumeBackupsSortByEnum{ + "timecreated": ListVolumeBackupsSortByTimecreated, + "displayname": ListVolumeBackupsSortByDisplayname, +} + // GetListVolumeBackupsSortByEnumValues Enumerates the set of values for ListVolumeBackupsSortByEnum func GetListVolumeBackupsSortByEnumValues() []ListVolumeBackupsSortByEnum { values := make([]ListVolumeBackupsSortByEnum, 0) @@ -168,6 +177,12 @@ func GetListVolumeBackupsSortByEnumStringValues() []string { } } +// GetMappingListVolumeBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeBackupsSortByEnum(val string) (ListVolumeBackupsSortByEnum, bool) { + enum, ok := mappingListVolumeBackupsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVolumeBackupsSortOrderEnum Enum with underlying type: string type ListVolumeBackupsSortOrderEnum string @@ -182,6 +197,11 @@ var mappingListVolumeBackupsSortOrderEnum = map[string]ListVolumeBackupsSortOrde "DESC": ListVolumeBackupsSortOrderDesc, } +var mappingListVolumeBackupsSortOrderEnumLowerCase = map[string]ListVolumeBackupsSortOrderEnum{ + "asc": ListVolumeBackupsSortOrderAsc, + "desc": ListVolumeBackupsSortOrderDesc, +} + // GetListVolumeBackupsSortOrderEnumValues Enumerates the set of values for ListVolumeBackupsSortOrderEnum func GetListVolumeBackupsSortOrderEnumValues() []ListVolumeBackupsSortOrderEnum { values := make([]ListVolumeBackupsSortOrderEnum, 0) @@ -198,3 +218,9 @@ func GetListVolumeBackupsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVolumeBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeBackupsSortOrderEnum(val string) (ListVolumeBackupsSortOrderEnum, bool) { + enum, ok := mappingListVolumeBackupsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_group_backups_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_backups_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_group_backups_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_backups_request_response.go index 031468837bc0..fa4397eb005d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_group_backups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_backups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -87,10 +91,10 @@ func (request ListVolumeGroupBackupsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVolumeGroupBackupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVolumeGroupBackupsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVolumeGroupBackupsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVolumeGroupBackupsSortByEnumStringValues(), ","))) } - if _, ok := mappingListVolumeGroupBackupsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVolumeGroupBackupsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVolumeGroupBackupsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +145,11 @@ var mappingListVolumeGroupBackupsSortByEnum = map[string]ListVolumeGroupBackupsS "DISPLAYNAME": ListVolumeGroupBackupsSortByDisplayname, } +var mappingListVolumeGroupBackupsSortByEnumLowerCase = map[string]ListVolumeGroupBackupsSortByEnum{ + "timecreated": ListVolumeGroupBackupsSortByTimecreated, + "displayname": ListVolumeGroupBackupsSortByDisplayname, +} + // GetListVolumeGroupBackupsSortByEnumValues Enumerates the set of values for ListVolumeGroupBackupsSortByEnum func GetListVolumeGroupBackupsSortByEnumValues() []ListVolumeGroupBackupsSortByEnum { values := make([]ListVolumeGroupBackupsSortByEnum, 0) @@ -158,6 +167,12 @@ func GetListVolumeGroupBackupsSortByEnumStringValues() []string { } } +// GetMappingListVolumeGroupBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeGroupBackupsSortByEnum(val string) (ListVolumeGroupBackupsSortByEnum, bool) { + enum, ok := mappingListVolumeGroupBackupsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVolumeGroupBackupsSortOrderEnum Enum with underlying type: string type ListVolumeGroupBackupsSortOrderEnum string @@ -172,6 +187,11 @@ var mappingListVolumeGroupBackupsSortOrderEnum = map[string]ListVolumeGroupBacku "DESC": ListVolumeGroupBackupsSortOrderDesc, } +var mappingListVolumeGroupBackupsSortOrderEnumLowerCase = map[string]ListVolumeGroupBackupsSortOrderEnum{ + "asc": ListVolumeGroupBackupsSortOrderAsc, + "desc": ListVolumeGroupBackupsSortOrderDesc, +} + // GetListVolumeGroupBackupsSortOrderEnumValues Enumerates the set of values for ListVolumeGroupBackupsSortOrderEnum func GetListVolumeGroupBackupsSortOrderEnumValues() []ListVolumeGroupBackupsSortOrderEnum { values := make([]ListVolumeGroupBackupsSortOrderEnum, 0) @@ -188,3 +208,9 @@ func GetListVolumeGroupBackupsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVolumeGroupBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeGroupBackupsSortOrderEnum(val string) (ListVolumeGroupBackupsSortOrderEnum, bool) { + enum, ok := mappingListVolumeGroupBackupsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_group_replicas_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_replicas_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_group_replicas_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_replicas_request_response.go index 7b4321b8d86e..2bf6ab5e8333 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_group_replicas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_replicas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListVolumeGroupReplicasRequest wrapper for the ListVolumeGroupReplicas operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupReplicas.go.html to see an example of how to use ListVolumeGroupReplicasRequest. type ListVolumeGroupReplicasRequest struct { // The name of the availability domain. @@ -91,13 +95,13 @@ func (request ListVolumeGroupReplicasRequest) RetryPolicy() *common.RetryPolicy // Not recommended for calling this function directly func (request ListVolumeGroupReplicasRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVolumeGroupReplicasSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVolumeGroupReplicasSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVolumeGroupReplicasSortByEnumStringValues(), ","))) } - if _, ok := mappingListVolumeGroupReplicasSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVolumeGroupReplicasSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVolumeGroupReplicasSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVolumeGroupReplicaLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVolumeGroupReplicaLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeGroupReplicaLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -148,6 +152,11 @@ var mappingListVolumeGroupReplicasSortByEnum = map[string]ListVolumeGroupReplica "DISPLAYNAME": ListVolumeGroupReplicasSortByDisplayname, } +var mappingListVolumeGroupReplicasSortByEnumLowerCase = map[string]ListVolumeGroupReplicasSortByEnum{ + "timecreated": ListVolumeGroupReplicasSortByTimecreated, + "displayname": ListVolumeGroupReplicasSortByDisplayname, +} + // GetListVolumeGroupReplicasSortByEnumValues Enumerates the set of values for ListVolumeGroupReplicasSortByEnum func GetListVolumeGroupReplicasSortByEnumValues() []ListVolumeGroupReplicasSortByEnum { values := make([]ListVolumeGroupReplicasSortByEnum, 0) @@ -165,6 +174,12 @@ func GetListVolumeGroupReplicasSortByEnumStringValues() []string { } } +// GetMappingListVolumeGroupReplicasSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeGroupReplicasSortByEnum(val string) (ListVolumeGroupReplicasSortByEnum, bool) { + enum, ok := mappingListVolumeGroupReplicasSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVolumeGroupReplicasSortOrderEnum Enum with underlying type: string type ListVolumeGroupReplicasSortOrderEnum string @@ -179,6 +194,11 @@ var mappingListVolumeGroupReplicasSortOrderEnum = map[string]ListVolumeGroupRepl "DESC": ListVolumeGroupReplicasSortOrderDesc, } +var mappingListVolumeGroupReplicasSortOrderEnumLowerCase = map[string]ListVolumeGroupReplicasSortOrderEnum{ + "asc": ListVolumeGroupReplicasSortOrderAsc, + "desc": ListVolumeGroupReplicasSortOrderDesc, +} + // GetListVolumeGroupReplicasSortOrderEnumValues Enumerates the set of values for ListVolumeGroupReplicasSortOrderEnum func GetListVolumeGroupReplicasSortOrderEnumValues() []ListVolumeGroupReplicasSortOrderEnum { values := make([]ListVolumeGroupReplicasSortOrderEnum, 0) @@ -195,3 +215,9 @@ func GetListVolumeGroupReplicasSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVolumeGroupReplicasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeGroupReplicasSortOrderEnum(val string) (ListVolumeGroupReplicasSortOrderEnum, bool) { + enum, ok := mappingListVolumeGroupReplicasSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_groups_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_groups_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_groups_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_groups_request_response.go index f760a5013d8f..316f1d88e80f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volume_groups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volume_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -92,13 +96,13 @@ func (request ListVolumeGroupsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVolumeGroupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVolumeGroupsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVolumeGroupsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVolumeGroupsSortByEnumStringValues(), ","))) } - if _, ok := mappingListVolumeGroupsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVolumeGroupsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVolumeGroupsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVolumeGroupLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVolumeGroupLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -149,6 +153,11 @@ var mappingListVolumeGroupsSortByEnum = map[string]ListVolumeGroupsSortByEnum{ "DISPLAYNAME": ListVolumeGroupsSortByDisplayname, } +var mappingListVolumeGroupsSortByEnumLowerCase = map[string]ListVolumeGroupsSortByEnum{ + "timecreated": ListVolumeGroupsSortByTimecreated, + "displayname": ListVolumeGroupsSortByDisplayname, +} + // GetListVolumeGroupsSortByEnumValues Enumerates the set of values for ListVolumeGroupsSortByEnum func GetListVolumeGroupsSortByEnumValues() []ListVolumeGroupsSortByEnum { values := make([]ListVolumeGroupsSortByEnum, 0) @@ -166,6 +175,12 @@ func GetListVolumeGroupsSortByEnumStringValues() []string { } } +// GetMappingListVolumeGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeGroupsSortByEnum(val string) (ListVolumeGroupsSortByEnum, bool) { + enum, ok := mappingListVolumeGroupsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVolumeGroupsSortOrderEnum Enum with underlying type: string type ListVolumeGroupsSortOrderEnum string @@ -180,6 +195,11 @@ var mappingListVolumeGroupsSortOrderEnum = map[string]ListVolumeGroupsSortOrderE "DESC": ListVolumeGroupsSortOrderDesc, } +var mappingListVolumeGroupsSortOrderEnumLowerCase = map[string]ListVolumeGroupsSortOrderEnum{ + "asc": ListVolumeGroupsSortOrderAsc, + "desc": ListVolumeGroupsSortOrderDesc, +} + // GetListVolumeGroupsSortOrderEnumValues Enumerates the set of values for ListVolumeGroupsSortOrderEnum func GetListVolumeGroupsSortOrderEnumValues() []ListVolumeGroupsSortOrderEnum { values := make([]ListVolumeGroupsSortOrderEnum, 0) @@ -196,3 +216,9 @@ func GetListVolumeGroupsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVolumeGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumeGroupsSortOrderEnum(val string) (ListVolumeGroupsSortOrderEnum, bool) { + enum, ok := mappingListVolumeGroupsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volumes_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volumes_request_response.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volumes_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volumes_request_response.go index d0e72b3c27a2..f8261c3cbaaf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_volumes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_volumes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,21 +6,25 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + // 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). @@ -95,13 +99,13 @@ func (request ListVolumesRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVolumesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVolumesSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVolumesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVolumesSortByEnumStringValues(), ","))) } - if _, ok := mappingListVolumesSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVolumesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVolumesSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVolumeLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVolumeLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -152,6 +156,11 @@ var mappingListVolumesSortByEnum = map[string]ListVolumesSortByEnum{ "DISPLAYNAME": ListVolumesSortByDisplayname, } +var mappingListVolumesSortByEnumLowerCase = map[string]ListVolumesSortByEnum{ + "timecreated": ListVolumesSortByTimecreated, + "displayname": ListVolumesSortByDisplayname, +} + // GetListVolumesSortByEnumValues Enumerates the set of values for ListVolumesSortByEnum func GetListVolumesSortByEnumValues() []ListVolumesSortByEnum { values := make([]ListVolumesSortByEnum, 0) @@ -169,6 +178,12 @@ func GetListVolumesSortByEnumStringValues() []string { } } +// GetMappingListVolumesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumesSortByEnum(val string) (ListVolumesSortByEnum, bool) { + enum, ok := mappingListVolumesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVolumesSortOrderEnum Enum with underlying type: string type ListVolumesSortOrderEnum string @@ -183,6 +198,11 @@ var mappingListVolumesSortOrderEnum = map[string]ListVolumesSortOrderEnum{ "DESC": ListVolumesSortOrderDesc, } +var mappingListVolumesSortOrderEnumLowerCase = map[string]ListVolumesSortOrderEnum{ + "asc": ListVolumesSortOrderAsc, + "desc": ListVolumesSortOrderDesc, +} + // GetListVolumesSortOrderEnumValues Enumerates the set of values for ListVolumesSortOrderEnum func GetListVolumesSortOrderEnumValues() []ListVolumesSortOrderEnum { values := make([]ListVolumesSortOrderEnum, 0) @@ -199,3 +219,9 @@ func GetListVolumesSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVolumesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVolumesSortOrderEnum(val string) (ListVolumesSortOrderEnum, bool) { + enum, ok := mappingListVolumesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vtaps_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vtaps_request_response.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vtaps_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vtaps_request_response.go index 200affceee0d..875c4a708f07 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/list_vtaps_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/list_vtaps_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListVtapsRequest wrapper for the ListVtaps operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtapsRequest. type ListVtapsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -105,13 +109,13 @@ func (request ListVtapsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListVtapsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListVtapsSortByEnum[string(request.SortBy)]; !ok && request.SortBy != "" { + if _, ok := GetMappingListVtapsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVtapsSortByEnumStringValues(), ","))) } - if _, ok := mappingListVtapsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListVtapsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVtapsSortOrderEnumStringValues(), ","))) } - if _, ok := mappingVtapLifecycleStateEnum[string(request.LifecycleState)]; !ok && request.LifecycleState != "" { + if _, ok := GetMappingVtapLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVtapLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -162,6 +166,11 @@ var mappingListVtapsSortByEnum = map[string]ListVtapsSortByEnum{ "DISPLAYNAME": ListVtapsSortByDisplayname, } +var mappingListVtapsSortByEnumLowerCase = map[string]ListVtapsSortByEnum{ + "timecreated": ListVtapsSortByTimecreated, + "displayname": ListVtapsSortByDisplayname, +} + // GetListVtapsSortByEnumValues Enumerates the set of values for ListVtapsSortByEnum func GetListVtapsSortByEnumValues() []ListVtapsSortByEnum { values := make([]ListVtapsSortByEnum, 0) @@ -179,6 +188,12 @@ func GetListVtapsSortByEnumStringValues() []string { } } +// GetMappingListVtapsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVtapsSortByEnum(val string) (ListVtapsSortByEnum, bool) { + enum, ok := mappingListVtapsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ListVtapsSortOrderEnum Enum with underlying type: string type ListVtapsSortOrderEnum string @@ -193,6 +208,11 @@ var mappingListVtapsSortOrderEnum = map[string]ListVtapsSortOrderEnum{ "DESC": ListVtapsSortOrderDesc, } +var mappingListVtapsSortOrderEnumLowerCase = map[string]ListVtapsSortOrderEnum{ + "asc": ListVtapsSortOrderAsc, + "desc": ListVtapsSortOrderDesc, +} + // GetListVtapsSortOrderEnumValues Enumerates the set of values for ListVtapsSortOrderEnum func GetListVtapsSortOrderEnumValues() []ListVtapsSortOrderEnum { values := make([]ListVtapsSortOrderEnum, 0) @@ -209,3 +229,9 @@ func GetListVtapsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListVtapsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListVtapsSortOrderEnum(val string) (ListVtapsSortOrderEnum, bool) { + enum, ok := mappingListVtapsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_gateway.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/local_peering_gateway.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_gateway.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/local_peering_gateway.go index 4fc5f73c350d..099e3a6d4589 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/local_peering_gateway.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/local_peering_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -102,10 +104,10 @@ func (m LocalPeeringGateway) String() string { // Not recommended for calling this function directly func (m LocalPeeringGateway) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingLocalPeeringGatewayLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingLocalPeeringGatewayLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetLocalPeeringGatewayLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingLocalPeeringGatewayPeeringStatusEnum[string(m.PeeringStatus)]; !ok && m.PeeringStatus != "" { + if _, ok := GetMappingLocalPeeringGatewayPeeringStatusEnum(string(m.PeeringStatus)); !ok && m.PeeringStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PeeringStatus: %s. Supported values are: %s.", m.PeeringStatus, strings.Join(GetLocalPeeringGatewayPeeringStatusEnumStringValues(), ","))) } @@ -133,6 +135,13 @@ var mappingLocalPeeringGatewayLifecycleStateEnum = map[string]LocalPeeringGatewa "TERMINATED": LocalPeeringGatewayLifecycleStateTerminated, } +var mappingLocalPeeringGatewayLifecycleStateEnumLowerCase = map[string]LocalPeeringGatewayLifecycleStateEnum{ + "provisioning": LocalPeeringGatewayLifecycleStateProvisioning, + "available": LocalPeeringGatewayLifecycleStateAvailable, + "terminating": LocalPeeringGatewayLifecycleStateTerminating, + "terminated": LocalPeeringGatewayLifecycleStateTerminated, +} + // GetLocalPeeringGatewayLifecycleStateEnumValues Enumerates the set of values for LocalPeeringGatewayLifecycleStateEnum func GetLocalPeeringGatewayLifecycleStateEnumValues() []LocalPeeringGatewayLifecycleStateEnum { values := make([]LocalPeeringGatewayLifecycleStateEnum, 0) @@ -152,6 +161,12 @@ func GetLocalPeeringGatewayLifecycleStateEnumStringValues() []string { } } +// GetMappingLocalPeeringGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLocalPeeringGatewayLifecycleStateEnum(val string) (LocalPeeringGatewayLifecycleStateEnum, bool) { + enum, ok := mappingLocalPeeringGatewayLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // LocalPeeringGatewayPeeringStatusEnum Enum with underlying type: string type LocalPeeringGatewayPeeringStatusEnum string @@ -172,6 +187,14 @@ var mappingLocalPeeringGatewayPeeringStatusEnum = map[string]LocalPeeringGateway "REVOKED": LocalPeeringGatewayPeeringStatusRevoked, } +var mappingLocalPeeringGatewayPeeringStatusEnumLowerCase = map[string]LocalPeeringGatewayPeeringStatusEnum{ + "invalid": LocalPeeringGatewayPeeringStatusInvalid, + "new": LocalPeeringGatewayPeeringStatusNew, + "peered": LocalPeeringGatewayPeeringStatusPeered, + "pending": LocalPeeringGatewayPeeringStatusPending, + "revoked": LocalPeeringGatewayPeeringStatusRevoked, +} + // GetLocalPeeringGatewayPeeringStatusEnumValues Enumerates the set of values for LocalPeeringGatewayPeeringStatusEnum func GetLocalPeeringGatewayPeeringStatusEnumValues() []LocalPeeringGatewayPeeringStatusEnum { values := make([]LocalPeeringGatewayPeeringStatusEnum, 0) @@ -191,3 +214,9 @@ func GetLocalPeeringGatewayPeeringStatusEnumStringValues() []string { "REVOKED", } } + +// GetMappingLocalPeeringGatewayPeeringStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLocalPeeringGatewayPeeringStatusEnum(val string) (LocalPeeringGatewayPeeringStatusEnum, bool) { + enum, ok := mappingLocalPeeringGatewayPeeringStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_encryption_cipher.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_encryption_cipher.go similarity index 71% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_encryption_cipher.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_encryption_cipher.go index 75d943b64ad1..ce1e865ae980 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_encryption_cipher.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_encryption_cipher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,10 +9,16 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core +import ( + "strings" +) + // MacsecEncryptionCipherEnum Enum with underlying type: string type MacsecEncryptionCipherEnum string @@ -31,6 +37,13 @@ var mappingMacsecEncryptionCipherEnum = map[string]MacsecEncryptionCipherEnum{ "AES256_GCM_XPN": MacsecEncryptionCipherAes256GcmXpn, } +var mappingMacsecEncryptionCipherEnumLowerCase = map[string]MacsecEncryptionCipherEnum{ + "aes128_gcm": MacsecEncryptionCipherAes128Gcm, + "aes128_gcm_xpn": MacsecEncryptionCipherAes128GcmXpn, + "aes256_gcm": MacsecEncryptionCipherAes256Gcm, + "aes256_gcm_xpn": MacsecEncryptionCipherAes256GcmXpn, +} + // GetMacsecEncryptionCipherEnumValues Enumerates the set of values for MacsecEncryptionCipherEnum func GetMacsecEncryptionCipherEnumValues() []MacsecEncryptionCipherEnum { values := make([]MacsecEncryptionCipherEnum, 0) @@ -49,3 +62,9 @@ func GetMacsecEncryptionCipherEnumStringValues() []string { "AES256_GCM_XPN", } } + +// GetMappingMacsecEncryptionCipherEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingMacsecEncryptionCipherEnum(val string) (MacsecEncryptionCipherEnum, bool) { + enum, ok := mappingMacsecEncryptionCipherEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_key.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_key.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_key.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_key.go index bf1ad5da9605..262da28ad20c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_key.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_properties.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_properties.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go index 2390c03924eb..564375dc3e8b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_properties.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -40,11 +42,11 @@ func (m MacsecProperties) String() string { // Not recommended for calling this function directly func (m MacsecProperties) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingMacsecStateEnum[string(m.State)]; !ok && m.State != "" { + if _, ok := GetMappingMacsecStateEnum(string(m.State)); !ok && m.State != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for State: %s. Supported values are: %s.", m.State, strings.Join(GetMacsecStateEnumStringValues(), ","))) } - if _, ok := mappingMacsecEncryptionCipherEnum[string(m.EncryptionCipher)]; !ok && m.EncryptionCipher != "" { + if _, ok := GetMappingMacsecEncryptionCipherEnum(string(m.EncryptionCipher)); !ok && m.EncryptionCipher != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionCipher: %s. Supported values are: %s.", m.EncryptionCipher, strings.Join(GetMacsecEncryptionCipherEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_state.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_state.go similarity index 71% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_state.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_state.go index ec02100dc181..5b047a5d37bd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/macsec_state.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/macsec_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,10 +9,16 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core +import ( + "strings" +) + // MacsecStateEnum Enum with underlying type: string type MacsecStateEnum string @@ -27,6 +33,11 @@ var mappingMacsecStateEnum = map[string]MacsecStateEnum{ "DISABLED": MacsecStateDisabled, } +var mappingMacsecStateEnumLowerCase = map[string]MacsecStateEnum{ + "enabled": MacsecStateEnabled, + "disabled": MacsecStateDisabled, +} + // GetMacsecStateEnumValues Enumerates the set of values for MacsecStateEnum func GetMacsecStateEnumValues() []MacsecStateEnum { values := make([]MacsecStateEnum, 0) @@ -43,3 +54,9 @@ func GetMacsecStateEnumStringValues() []string { "DISABLED", } } + +// GetMappingMacsecStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingMacsecStateEnum(val string) (MacsecStateEnum, bool) { + enum, ok := mappingMacsecStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_entry.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_entry.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_entry.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_entry.go index e33a94ecec79..c9cd86384e21 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_entry.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_report.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_report.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report.go index ff01184a9875..d38cca385e84 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_report.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_report_measurements.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report_measurements.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_report_measurements.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report_measurements.go index 9215c7d3976e..7a299e6d16f1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/measured_boot_report_measurements.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report_measurements.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/member_replica.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/member_replica.go new file mode 100644 index 000000000000..8527a15b05fa --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/member_replica.go @@ -0,0 +1,97 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MemberReplica OCIDs for the volume replicas in this volume group replica. +type MemberReplica struct { + + // The volume replica ID. + VolumeReplicaId *string `mandatory:"true" json:"volumeReplicaId"` + + // Membership state of the volume replica in relation to the volume group replica. + MembershipState MemberReplicaMembershipStateEnum `mandatory:"false" json:"membershipState,omitempty"` +} + +func (m MemberReplica) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m MemberReplica) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingMemberReplicaMembershipStateEnum(string(m.MembershipState)); !ok && m.MembershipState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MembershipState: %s. Supported values are: %s.", m.MembershipState, strings.Join(GetMemberReplicaMembershipStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MemberReplicaMembershipStateEnum Enum with underlying type: string +type MemberReplicaMembershipStateEnum string + +// Set of constants representing the allowable values for MemberReplicaMembershipStateEnum +const ( + MemberReplicaMembershipStateAddPending MemberReplicaMembershipStateEnum = "ADD_PENDING" + MemberReplicaMembershipStateStable MemberReplicaMembershipStateEnum = "STABLE" + MemberReplicaMembershipStateRemovePending MemberReplicaMembershipStateEnum = "REMOVE_PENDING" +) + +var mappingMemberReplicaMembershipStateEnum = map[string]MemberReplicaMembershipStateEnum{ + "ADD_PENDING": MemberReplicaMembershipStateAddPending, + "STABLE": MemberReplicaMembershipStateStable, + "REMOVE_PENDING": MemberReplicaMembershipStateRemovePending, +} + +var mappingMemberReplicaMembershipStateEnumLowerCase = map[string]MemberReplicaMembershipStateEnum{ + "add_pending": MemberReplicaMembershipStateAddPending, + "stable": MemberReplicaMembershipStateStable, + "remove_pending": MemberReplicaMembershipStateRemovePending, +} + +// GetMemberReplicaMembershipStateEnumValues Enumerates the set of values for MemberReplicaMembershipStateEnum +func GetMemberReplicaMembershipStateEnumValues() []MemberReplicaMembershipStateEnum { + values := make([]MemberReplicaMembershipStateEnum, 0) + for _, v := range mappingMemberReplicaMembershipStateEnum { + values = append(values, v) + } + return values +} + +// GetMemberReplicaMembershipStateEnumStringValues Enumerates the set of values in String for MemberReplicaMembershipStateEnum +func GetMemberReplicaMembershipStateEnumStringValues() []string { + return []string{ + "ADD_PENDING", + "STABLE", + "REMOVE_PENDING", + } +} + +// GetMappingMemberReplicaMembershipStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingMemberReplicaMembershipStateEnum(val string) (MemberReplicaMembershipStateEnum, bool) { + enum, ok := mappingMemberReplicaMembershipStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_vcn_cidr_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_vcn_cidr_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_details.go index c91b95638774..42b5b589e512 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_vcn_cidr_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_vcn_cidr_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_request_response.go index f37db1c57b40..94a05de6b618 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/modify_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -88,7 +92,8 @@ type ModifyVcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/multipath_device.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/multipath_device.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/multipath_device.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/multipath_device.go index 9eb086fe2306..98ddc3c82910 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/multipath_device.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/multipath_device.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/nat_gateway.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/nat_gateway.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/nat_gateway.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/nat_gateway.go index b759b957551a..c658ad0f89a5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/nat_gateway.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/nat_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -89,7 +91,7 @@ func (m NatGateway) String() string { // Not recommended for calling this function directly func (m NatGateway) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingNatGatewayLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingNatGatewayLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNatGatewayLifecycleStateEnumStringValues(), ","))) } @@ -117,6 +119,13 @@ var mappingNatGatewayLifecycleStateEnum = map[string]NatGatewayLifecycleStateEnu "TERMINATED": NatGatewayLifecycleStateTerminated, } +var mappingNatGatewayLifecycleStateEnumLowerCase = map[string]NatGatewayLifecycleStateEnum{ + "provisioning": NatGatewayLifecycleStateProvisioning, + "available": NatGatewayLifecycleStateAvailable, + "terminating": NatGatewayLifecycleStateTerminating, + "terminated": NatGatewayLifecycleStateTerminated, +} + // GetNatGatewayLifecycleStateEnumValues Enumerates the set of values for NatGatewayLifecycleStateEnum func GetNatGatewayLifecycleStateEnumValues() []NatGatewayLifecycleStateEnum { values := make([]NatGatewayLifecycleStateEnum, 0) @@ -135,3 +144,9 @@ func GetNatGatewayLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingNatGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingNatGatewayLifecycleStateEnum(val string) (NatGatewayLifecycleStateEnum, bool) { + enum, ok := mappingNatGatewayLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/network_security_group.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/network_security_group.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/network_security_group.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/network_security_group.go index bdfec9370cd6..704df5f1d6cd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/network_security_group.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/network_security_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -91,7 +93,7 @@ func (m NetworkSecurityGroup) String() string { // Not recommended for calling this function directly func (m NetworkSecurityGroup) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingNetworkSecurityGroupLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingNetworkSecurityGroupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNetworkSecurityGroupLifecycleStateEnumStringValues(), ","))) } @@ -119,6 +121,13 @@ var mappingNetworkSecurityGroupLifecycleStateEnum = map[string]NetworkSecurityGr "TERMINATED": NetworkSecurityGroupLifecycleStateTerminated, } +var mappingNetworkSecurityGroupLifecycleStateEnumLowerCase = map[string]NetworkSecurityGroupLifecycleStateEnum{ + "provisioning": NetworkSecurityGroupLifecycleStateProvisioning, + "available": NetworkSecurityGroupLifecycleStateAvailable, + "terminating": NetworkSecurityGroupLifecycleStateTerminating, + "terminated": NetworkSecurityGroupLifecycleStateTerminated, +} + // GetNetworkSecurityGroupLifecycleStateEnumValues Enumerates the set of values for NetworkSecurityGroupLifecycleStateEnum func GetNetworkSecurityGroupLifecycleStateEnumValues() []NetworkSecurityGroupLifecycleStateEnum { values := make([]NetworkSecurityGroupLifecycleStateEnum, 0) @@ -137,3 +146,9 @@ func GetNetworkSecurityGroupLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingNetworkSecurityGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingNetworkSecurityGroupLifecycleStateEnum(val string) (NetworkSecurityGroupLifecycleStateEnum, bool) { + enum, ok := mappingNetworkSecurityGroupLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/network_security_group_vnic.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/network_security_group_vnic.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/network_security_group_vnic.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/network_security_group_vnic.go index f6b8f45e702a..709d18ed5b2f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/network_security_group_vnic.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/network_security_group_vnic.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/networking_topology.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/networking_topology.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go index 08c04988d565..f39d75eecae5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/networking_topology.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/paravirtualized_volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/paravirtualized_volume_attachment.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/paravirtualized_volume_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/paravirtualized_volume_attachment.go index 72ee012704b4..f3a655110c34 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/paravirtualized_volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/paravirtualized_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -153,10 +155,10 @@ func (m ParavirtualizedVolumeAttachment) String() string { func (m ParavirtualizedVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeAttachmentLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVolumeAttachmentIscsiLoginStateEnum[string(m.IscsiLoginState)]; !ok && m.IscsiLoginState != "" { + if _, ok := GetMappingVolumeAttachmentIscsiLoginStateEnum(string(m.IscsiLoginState)); !ok && m.IscsiLoginState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetVolumeAttachmentIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/peer_region_for_remote_peering.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/peer_region_for_remote_peering.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/peer_region_for_remote_peering.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/peer_region_for_remote_peering.go index 3a165a3a972d..67f494c8b4f0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/peer_region_for_remote_peering.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/peer_region_for_remote_peering.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_validation_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/percentage_of_cores_enabled_options.go similarity index 60% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_validation_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/percentage_of_cores_enabled_options.go index 176850fcadc9..c45e5648d8b8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_validation_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/percentage_of_cores_enabled_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,34 +9,39 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// DrgValidationStatus Status of DRG route tables after migration or upgrade. isValid == true indicates that the routes tables before and after migration or upgrade match up as we would expect. -type DrgValidationStatus struct { +// PercentageOfCoresEnabledOptions Configuration options for the percentage of cores enabled. +type PercentageOfCoresEnabledOptions struct { - // The `drgId` of the upgraded DRG. - DrgId *string `mandatory:"true" json:"drgId"` + // The minimum allowed percentage of cores enabled. + Min *int `mandatory:"false" json:"min"` - // isValid == true indicates that the routes tables before and after migration or upgrade match up as we would expect. - IsValid *bool `mandatory:"true" json:"isValid"` + // The maximum allowed percentage of cores enabled. + Max *int `mandatory:"false" json:"max"` + + // The default percentage of cores enabled. + DefaultValue *int `mandatory:"false" json:"defaultValue"` } -func (m DrgValidationStatus) String() string { +func (m PercentageOfCoresEnabledOptions) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m DrgValidationStatus) ValidateEnumValue() (bool, error) { +func (m PercentageOfCoresEnabledOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/performance_based_autotune_policy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/performance_based_autotune_policy.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/performance_based_autotune_policy.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/performance_based_autotune_policy.go index eda1e12781e1..8c3369b3e54a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/performance_based_autotune_policy.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/performance_based_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -28,7 +30,7 @@ type PerformanceBasedAutotunePolicy struct { // This will be the maximum VPUs/GB performance level that the volume will be auto-tuned // temporarily based on performance monitoring. - MaxVPUsPerGB *int64 `mandatory:"true" json:"maxVPUsPerGB"` + MaxVpusPerGB *int64 `mandatory:"true" json:"maxVpusPerGB"` } func (m PerformanceBasedAutotunePolicy) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/phase_one_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/phase_one_config_details.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/phase_one_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/phase_one_config_details.go index de0765f70d82..474dd88bfb41 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/phase_one_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/phase_one_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -48,13 +50,13 @@ func (m PhaseOneConfigDetails) String() string { func (m PhaseOneConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum[string(m.AuthenticationAlgorithm)]; !ok && m.AuthenticationAlgorithm != "" { + if _, ok := GetMappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum(string(m.AuthenticationAlgorithm)); !ok && m.AuthenticationAlgorithm != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AuthenticationAlgorithm: %s. Supported values are: %s.", m.AuthenticationAlgorithm, strings.Join(GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumStringValues(), ","))) } - if _, ok := mappingPhaseOneConfigDetailsEncryptionAlgorithmEnum[string(m.EncryptionAlgorithm)]; !ok && m.EncryptionAlgorithm != "" { + if _, ok := GetMappingPhaseOneConfigDetailsEncryptionAlgorithmEnum(string(m.EncryptionAlgorithm)); !ok && m.EncryptionAlgorithm != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionAlgorithm: %s. Supported values are: %s.", m.EncryptionAlgorithm, strings.Join(GetPhaseOneConfigDetailsEncryptionAlgorithmEnumStringValues(), ","))) } - if _, ok := mappingPhaseOneConfigDetailsDiffieHelmanGroupEnum[string(m.DiffieHelmanGroup)]; !ok && m.DiffieHelmanGroup != "" { + if _, ok := GetMappingPhaseOneConfigDetailsDiffieHelmanGroupEnum(string(m.DiffieHelmanGroup)); !ok && m.DiffieHelmanGroup != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DiffieHelmanGroup: %s. Supported values are: %s.", m.DiffieHelmanGroup, strings.Join(GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -79,6 +81,12 @@ var mappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum = map[string]PhaseOn "SHA1_96": PhaseOneConfigDetailsAuthenticationAlgorithmSha196, } +var mappingPhaseOneConfigDetailsAuthenticationAlgorithmEnumLowerCase = map[string]PhaseOneConfigDetailsAuthenticationAlgorithmEnum{ + "sha2_384": PhaseOneConfigDetailsAuthenticationAlgorithmSha2384, + "sha2_256": PhaseOneConfigDetailsAuthenticationAlgorithmSha2256, + "sha1_96": PhaseOneConfigDetailsAuthenticationAlgorithmSha196, +} + // GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumValues Enumerates the set of values for PhaseOneConfigDetailsAuthenticationAlgorithmEnum func GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumValues() []PhaseOneConfigDetailsAuthenticationAlgorithmEnum { values := make([]PhaseOneConfigDetailsAuthenticationAlgorithmEnum, 0) @@ -97,6 +105,12 @@ func GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumStringValues() []string } } +// GetMappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum(val string) (PhaseOneConfigDetailsAuthenticationAlgorithmEnum, bool) { + enum, ok := mappingPhaseOneConfigDetailsAuthenticationAlgorithmEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // PhaseOneConfigDetailsEncryptionAlgorithmEnum Enum with underlying type: string type PhaseOneConfigDetailsEncryptionAlgorithmEnum string @@ -113,6 +127,12 @@ var mappingPhaseOneConfigDetailsEncryptionAlgorithmEnum = map[string]PhaseOneCon "AES_128_CBC": PhaseOneConfigDetailsEncryptionAlgorithm128Cbc, } +var mappingPhaseOneConfigDetailsEncryptionAlgorithmEnumLowerCase = map[string]PhaseOneConfigDetailsEncryptionAlgorithmEnum{ + "aes_256_cbc": PhaseOneConfigDetailsEncryptionAlgorithm256Cbc, + "aes_192_cbc": PhaseOneConfigDetailsEncryptionAlgorithm192Cbc, + "aes_128_cbc": PhaseOneConfigDetailsEncryptionAlgorithm128Cbc, +} + // GetPhaseOneConfigDetailsEncryptionAlgorithmEnumValues Enumerates the set of values for PhaseOneConfigDetailsEncryptionAlgorithmEnum func GetPhaseOneConfigDetailsEncryptionAlgorithmEnumValues() []PhaseOneConfigDetailsEncryptionAlgorithmEnum { values := make([]PhaseOneConfigDetailsEncryptionAlgorithmEnum, 0) @@ -131,6 +151,12 @@ func GetPhaseOneConfigDetailsEncryptionAlgorithmEnumStringValues() []string { } } +// GetMappingPhaseOneConfigDetailsEncryptionAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPhaseOneConfigDetailsEncryptionAlgorithmEnum(val string) (PhaseOneConfigDetailsEncryptionAlgorithmEnum, bool) { + enum, ok := mappingPhaseOneConfigDetailsEncryptionAlgorithmEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // PhaseOneConfigDetailsDiffieHelmanGroupEnum Enum with underlying type: string type PhaseOneConfigDetailsDiffieHelmanGroupEnum string @@ -153,6 +179,15 @@ var mappingPhaseOneConfigDetailsDiffieHelmanGroupEnum = map[string]PhaseOneConfi "GROUP24": PhaseOneConfigDetailsDiffieHelmanGroupGroup24, } +var mappingPhaseOneConfigDetailsDiffieHelmanGroupEnumLowerCase = map[string]PhaseOneConfigDetailsDiffieHelmanGroupEnum{ + "group2": PhaseOneConfigDetailsDiffieHelmanGroupGroup2, + "group5": PhaseOneConfigDetailsDiffieHelmanGroupGroup5, + "group14": PhaseOneConfigDetailsDiffieHelmanGroupGroup14, + "group19": PhaseOneConfigDetailsDiffieHelmanGroupGroup19, + "group20": PhaseOneConfigDetailsDiffieHelmanGroupGroup20, + "group24": PhaseOneConfigDetailsDiffieHelmanGroupGroup24, +} + // GetPhaseOneConfigDetailsDiffieHelmanGroupEnumValues Enumerates the set of values for PhaseOneConfigDetailsDiffieHelmanGroupEnum func GetPhaseOneConfigDetailsDiffieHelmanGroupEnumValues() []PhaseOneConfigDetailsDiffieHelmanGroupEnum { values := make([]PhaseOneConfigDetailsDiffieHelmanGroupEnum, 0) @@ -173,3 +208,9 @@ func GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues() []string { "GROUP24", } } + +// GetMappingPhaseOneConfigDetailsDiffieHelmanGroupEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPhaseOneConfigDetailsDiffieHelmanGroupEnum(val string) (PhaseOneConfigDetailsDiffieHelmanGroupEnum, bool) { + enum, ok := mappingPhaseOneConfigDetailsDiffieHelmanGroupEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/phase_two_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/phase_two_config_details.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/phase_two_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/phase_two_config_details.go index 5f518c5aede6..93fec4a2a63a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/phase_two_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/phase_two_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -51,13 +53,13 @@ func (m PhaseTwoConfigDetails) String() string { func (m PhaseTwoConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum[string(m.AuthenticationAlgorithm)]; !ok && m.AuthenticationAlgorithm != "" { + if _, ok := GetMappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum(string(m.AuthenticationAlgorithm)); !ok && m.AuthenticationAlgorithm != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AuthenticationAlgorithm: %s. Supported values are: %s.", m.AuthenticationAlgorithm, strings.Join(GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumStringValues(), ","))) } - if _, ok := mappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum[string(m.EncryptionAlgorithm)]; !ok && m.EncryptionAlgorithm != "" { + if _, ok := GetMappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum(string(m.EncryptionAlgorithm)); !ok && m.EncryptionAlgorithm != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionAlgorithm: %s. Supported values are: %s.", m.EncryptionAlgorithm, strings.Join(GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumStringValues(), ","))) } - if _, ok := mappingPhaseTwoConfigDetailsPfsDhGroupEnum[string(m.PfsDhGroup)]; !ok && m.PfsDhGroup != "" { + if _, ok := GetMappingPhaseTwoConfigDetailsPfsDhGroupEnum(string(m.PfsDhGroup)); !ok && m.PfsDhGroup != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PfsDhGroup: %s. Supported values are: %s.", m.PfsDhGroup, strings.Join(GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -80,6 +82,11 @@ var mappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum = map[string]PhaseTw "HMAC_SHA1_128": PhaseTwoConfigDetailsAuthenticationAlgorithmSha1128, } +var mappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnumLowerCase = map[string]PhaseTwoConfigDetailsAuthenticationAlgorithmEnum{ + "hmac_sha2_256_128": PhaseTwoConfigDetailsAuthenticationAlgorithmSha2256128, + "hmac_sha1_128": PhaseTwoConfigDetailsAuthenticationAlgorithmSha1128, +} + // GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumValues Enumerates the set of values for PhaseTwoConfigDetailsAuthenticationAlgorithmEnum func GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumValues() []PhaseTwoConfigDetailsAuthenticationAlgorithmEnum { values := make([]PhaseTwoConfigDetailsAuthenticationAlgorithmEnum, 0) @@ -97,6 +104,12 @@ func GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumStringValues() []string } } +// GetMappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum(val string) (PhaseTwoConfigDetailsAuthenticationAlgorithmEnum, bool) { + enum, ok := mappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // PhaseTwoConfigDetailsEncryptionAlgorithmEnum Enum with underlying type: string type PhaseTwoConfigDetailsEncryptionAlgorithmEnum string @@ -119,6 +132,15 @@ var mappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum = map[string]PhaseTwoCon "AES_128_CBC": PhaseTwoConfigDetailsEncryptionAlgorithm128Cbc, } +var mappingPhaseTwoConfigDetailsEncryptionAlgorithmEnumLowerCase = map[string]PhaseTwoConfigDetailsEncryptionAlgorithmEnum{ + "aes_256_gcm": PhaseTwoConfigDetailsEncryptionAlgorithm256Gcm, + "aes_192_gcm": PhaseTwoConfigDetailsEncryptionAlgorithm192Gcm, + "aes_128_gcm": PhaseTwoConfigDetailsEncryptionAlgorithm128Gcm, + "aes_256_cbc": PhaseTwoConfigDetailsEncryptionAlgorithm256Cbc, + "aes_192_cbc": PhaseTwoConfigDetailsEncryptionAlgorithm192Cbc, + "aes_128_cbc": PhaseTwoConfigDetailsEncryptionAlgorithm128Cbc, +} + // GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumValues Enumerates the set of values for PhaseTwoConfigDetailsEncryptionAlgorithmEnum func GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumValues() []PhaseTwoConfigDetailsEncryptionAlgorithmEnum { values := make([]PhaseTwoConfigDetailsEncryptionAlgorithmEnum, 0) @@ -140,6 +162,12 @@ func GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumStringValues() []string { } } +// GetMappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum(val string) (PhaseTwoConfigDetailsEncryptionAlgorithmEnum, bool) { + enum, ok := mappingPhaseTwoConfigDetailsEncryptionAlgorithmEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // PhaseTwoConfigDetailsPfsDhGroupEnum Enum with underlying type: string type PhaseTwoConfigDetailsPfsDhGroupEnum string @@ -162,6 +190,15 @@ var mappingPhaseTwoConfigDetailsPfsDhGroupEnum = map[string]PhaseTwoConfigDetail "GROUP24": PhaseTwoConfigDetailsPfsDhGroupGroup24, } +var mappingPhaseTwoConfigDetailsPfsDhGroupEnumLowerCase = map[string]PhaseTwoConfigDetailsPfsDhGroupEnum{ + "group2": PhaseTwoConfigDetailsPfsDhGroupGroup2, + "group5": PhaseTwoConfigDetailsPfsDhGroupGroup5, + "group14": PhaseTwoConfigDetailsPfsDhGroupGroup14, + "group19": PhaseTwoConfigDetailsPfsDhGroupGroup19, + "group20": PhaseTwoConfigDetailsPfsDhGroupGroup20, + "group24": PhaseTwoConfigDetailsPfsDhGroupGroup24, +} + // GetPhaseTwoConfigDetailsPfsDhGroupEnumValues Enumerates the set of values for PhaseTwoConfigDetailsPfsDhGroupEnum func GetPhaseTwoConfigDetailsPfsDhGroupEnumValues() []PhaseTwoConfigDetailsPfsDhGroupEnum { values := make([]PhaseTwoConfigDetailsPfsDhGroupEnum, 0) @@ -182,3 +219,9 @@ func GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues() []string { "GROUP24", } } + +// GetMappingPhaseTwoConfigDetailsPfsDhGroupEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPhaseTwoConfigDetailsPfsDhGroupEnum(val string) (PhaseTwoConfigDetailsPfsDhGroupEnum, bool) { + enum, ok := mappingPhaseTwoConfigDetailsPfsDhGroupEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/platform_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/platform_config.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/platform_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/platform_config.go index e177c0c97042..4d4a6783830a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/platform_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -86,6 +88,14 @@ func (m *platformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, err mm := IntelSkylakeBmPlatformConfig{} err = json.Unmarshal(data, &mm) return mm, err + case "AMD_ROME_BM_GPU": + mm := AmdRomeBmGpuPlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err + case "INTEL_ICELAKE_BM": + mm := IntelIcelakeBmPlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err case "AMD_VM": mm := AmdVmPlatformConfig{} err = json.Unmarshal(data, &mm) @@ -94,6 +104,10 @@ func (m *platformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, err mm := IntelVmPlatformConfig{} err = json.Unmarshal(data, &mm) return mm, err + case "AMD_MILAN_BM_GPU": + mm := AmdMilanBmGpuPlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err default: return *m, nil } @@ -141,7 +155,10 @@ type PlatformConfigTypeEnum string // Set of constants representing the allowable values for PlatformConfigTypeEnum const ( PlatformConfigTypeAmdMilanBm PlatformConfigTypeEnum = "AMD_MILAN_BM" + PlatformConfigTypeAmdMilanBmGpu PlatformConfigTypeEnum = "AMD_MILAN_BM_GPU" PlatformConfigTypeAmdRomeBm PlatformConfigTypeEnum = "AMD_ROME_BM" + PlatformConfigTypeAmdRomeBmGpu PlatformConfigTypeEnum = "AMD_ROME_BM_GPU" + PlatformConfigTypeIntelIcelakeBm PlatformConfigTypeEnum = "INTEL_ICELAKE_BM" PlatformConfigTypeIntelSkylakeBm PlatformConfigTypeEnum = "INTEL_SKYLAKE_BM" PlatformConfigTypeAmdVm PlatformConfigTypeEnum = "AMD_VM" PlatformConfigTypeIntelVm PlatformConfigTypeEnum = "INTEL_VM" @@ -149,12 +166,26 @@ const ( var mappingPlatformConfigTypeEnum = map[string]PlatformConfigTypeEnum{ "AMD_MILAN_BM": PlatformConfigTypeAmdMilanBm, + "AMD_MILAN_BM_GPU": PlatformConfigTypeAmdMilanBmGpu, "AMD_ROME_BM": PlatformConfigTypeAmdRomeBm, + "AMD_ROME_BM_GPU": PlatformConfigTypeAmdRomeBmGpu, + "INTEL_ICELAKE_BM": PlatformConfigTypeIntelIcelakeBm, "INTEL_SKYLAKE_BM": PlatformConfigTypeIntelSkylakeBm, "AMD_VM": PlatformConfigTypeAmdVm, "INTEL_VM": PlatformConfigTypeIntelVm, } +var mappingPlatformConfigTypeEnumLowerCase = map[string]PlatformConfigTypeEnum{ + "amd_milan_bm": PlatformConfigTypeAmdMilanBm, + "amd_milan_bm_gpu": PlatformConfigTypeAmdMilanBmGpu, + "amd_rome_bm": PlatformConfigTypeAmdRomeBm, + "amd_rome_bm_gpu": PlatformConfigTypeAmdRomeBmGpu, + "intel_icelake_bm": PlatformConfigTypeIntelIcelakeBm, + "intel_skylake_bm": PlatformConfigTypeIntelSkylakeBm, + "amd_vm": PlatformConfigTypeAmdVm, + "intel_vm": PlatformConfigTypeIntelVm, +} + // GetPlatformConfigTypeEnumValues Enumerates the set of values for PlatformConfigTypeEnum func GetPlatformConfigTypeEnumValues() []PlatformConfigTypeEnum { values := make([]PlatformConfigTypeEnum, 0) @@ -168,9 +199,18 @@ func GetPlatformConfigTypeEnumValues() []PlatformConfigTypeEnum { func GetPlatformConfigTypeEnumStringValues() []string { return []string{ "AMD_MILAN_BM", + "AMD_MILAN_BM_GPU", "AMD_ROME_BM", + "AMD_ROME_BM_GPU", + "INTEL_ICELAKE_BM", "INTEL_SKYLAKE_BM", "AMD_VM", "INTEL_VM", } } + +// GetMappingPlatformConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPlatformConfigTypeEnum(val string) (PlatformConfigTypeEnum, bool) { + enum, ok := mappingPlatformConfigTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/port_range.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/port_range.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/port_range.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/port_range.go index 8ab76e491e78..aa550786977d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/port_range.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/port_range.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/preemptible_instance_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/preemptible_instance_config_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/preemptible_instance_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/preemptible_instance_config_details.go index cc49369afbd4..d170e5a75b23 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/preemptible_instance_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/preemptible_instance_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/preemption_action.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/preemption_action.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/preemption_action.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/preemption_action.go index ea82e7a0727a..511c00d2a0fd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/preemption_action.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/preemption_action.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -91,6 +93,10 @@ var mappingPreemptionActionTypeEnum = map[string]PreemptionActionTypeEnum{ "TERMINATE": PreemptionActionTypeTerminate, } +var mappingPreemptionActionTypeEnumLowerCase = map[string]PreemptionActionTypeEnum{ + "terminate": PreemptionActionTypeTerminate, +} + // GetPreemptionActionTypeEnumValues Enumerates the set of values for PreemptionActionTypeEnum func GetPreemptionActionTypeEnumValues() []PreemptionActionTypeEnum { values := make([]PreemptionActionTypeEnum, 0) @@ -106,3 +112,9 @@ func GetPreemptionActionTypeEnumStringValues() []string { "TERMINATE", } } + +// GetMappingPreemptionActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPreemptionActionTypeEnum(val string) (PreemptionActionTypeEnum, bool) { + enum, ok := mappingPreemptionActionTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/private_ip.go similarity index 94% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/private_ip.go index 06c520f05972..88f4072a4d79 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_ip.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/private_ip.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -73,13 +75,13 @@ type PrivateIp struct { // The hostname for the private IP. Used for DNS. The value is the hostname // portion of the private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `bminstance-1` + // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` // The private IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip.go index 3d7648dba233..1cb3c40b5b80 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -120,16 +122,16 @@ func (m PublicIp) String() string { func (m PublicIp) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingPublicIpAssignedEntityTypeEnum[string(m.AssignedEntityType)]; !ok && m.AssignedEntityType != "" { + if _, ok := GetMappingPublicIpAssignedEntityTypeEnum(string(m.AssignedEntityType)); !ok && m.AssignedEntityType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AssignedEntityType: %s. Supported values are: %s.", m.AssignedEntityType, strings.Join(GetPublicIpAssignedEntityTypeEnumStringValues(), ","))) } - if _, ok := mappingPublicIpLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingPublicIpLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetPublicIpLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingPublicIpLifetimeEnum[string(m.Lifetime)]; !ok && m.Lifetime != "" { + if _, ok := GetMappingPublicIpLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetPublicIpLifetimeEnumStringValues(), ","))) } - if _, ok := mappingPublicIpScopeEnum[string(m.Scope)]; !ok && m.Scope != "" { + if _, ok := GetMappingPublicIpScopeEnum(string(m.Scope)); !ok && m.Scope != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Scope: %s. Supported values are: %s.", m.Scope, strings.Join(GetPublicIpScopeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -152,6 +154,11 @@ var mappingPublicIpAssignedEntityTypeEnum = map[string]PublicIpAssignedEntityTyp "NAT_GATEWAY": PublicIpAssignedEntityTypeNatGateway, } +var mappingPublicIpAssignedEntityTypeEnumLowerCase = map[string]PublicIpAssignedEntityTypeEnum{ + "private_ip": PublicIpAssignedEntityTypePrivateIp, + "nat_gateway": PublicIpAssignedEntityTypeNatGateway, +} + // GetPublicIpAssignedEntityTypeEnumValues Enumerates the set of values for PublicIpAssignedEntityTypeEnum func GetPublicIpAssignedEntityTypeEnumValues() []PublicIpAssignedEntityTypeEnum { values := make([]PublicIpAssignedEntityTypeEnum, 0) @@ -169,6 +176,12 @@ func GetPublicIpAssignedEntityTypeEnumStringValues() []string { } } +// GetMappingPublicIpAssignedEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPublicIpAssignedEntityTypeEnum(val string) (PublicIpAssignedEntityTypeEnum, bool) { + enum, ok := mappingPublicIpAssignedEntityTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // PublicIpLifecycleStateEnum Enum with underlying type: string type PublicIpLifecycleStateEnum string @@ -195,6 +208,17 @@ var mappingPublicIpLifecycleStateEnum = map[string]PublicIpLifecycleStateEnum{ "TERMINATED": PublicIpLifecycleStateTerminated, } +var mappingPublicIpLifecycleStateEnumLowerCase = map[string]PublicIpLifecycleStateEnum{ + "provisioning": PublicIpLifecycleStateProvisioning, + "available": PublicIpLifecycleStateAvailable, + "assigning": PublicIpLifecycleStateAssigning, + "assigned": PublicIpLifecycleStateAssigned, + "unassigning": PublicIpLifecycleStateUnassigning, + "unassigned": PublicIpLifecycleStateUnassigned, + "terminating": PublicIpLifecycleStateTerminating, + "terminated": PublicIpLifecycleStateTerminated, +} + // GetPublicIpLifecycleStateEnumValues Enumerates the set of values for PublicIpLifecycleStateEnum func GetPublicIpLifecycleStateEnumValues() []PublicIpLifecycleStateEnum { values := make([]PublicIpLifecycleStateEnum, 0) @@ -218,6 +242,12 @@ func GetPublicIpLifecycleStateEnumStringValues() []string { } } +// GetMappingPublicIpLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPublicIpLifecycleStateEnum(val string) (PublicIpLifecycleStateEnum, bool) { + enum, ok := mappingPublicIpLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // PublicIpLifetimeEnum Enum with underlying type: string type PublicIpLifetimeEnum string @@ -232,6 +262,11 @@ var mappingPublicIpLifetimeEnum = map[string]PublicIpLifetimeEnum{ "RESERVED": PublicIpLifetimeReserved, } +var mappingPublicIpLifetimeEnumLowerCase = map[string]PublicIpLifetimeEnum{ + "ephemeral": PublicIpLifetimeEphemeral, + "reserved": PublicIpLifetimeReserved, +} + // GetPublicIpLifetimeEnumValues Enumerates the set of values for PublicIpLifetimeEnum func GetPublicIpLifetimeEnumValues() []PublicIpLifetimeEnum { values := make([]PublicIpLifetimeEnum, 0) @@ -249,6 +284,12 @@ func GetPublicIpLifetimeEnumStringValues() []string { } } +// GetMappingPublicIpLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPublicIpLifetimeEnum(val string) (PublicIpLifetimeEnum, bool) { + enum, ok := mappingPublicIpLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // PublicIpScopeEnum Enum with underlying type: string type PublicIpScopeEnum string @@ -263,6 +304,11 @@ var mappingPublicIpScopeEnum = map[string]PublicIpScopeEnum{ "AVAILABILITY_DOMAIN": PublicIpScopeAvailabilityDomain, } +var mappingPublicIpScopeEnumLowerCase = map[string]PublicIpScopeEnum{ + "region": PublicIpScopeRegion, + "availability_domain": PublicIpScopeAvailabilityDomain, +} + // GetPublicIpScopeEnumValues Enumerates the set of values for PublicIpScopeEnum func GetPublicIpScopeEnumValues() []PublicIpScopeEnum { values := make([]PublicIpScopeEnum, 0) @@ -279,3 +325,9 @@ func GetPublicIpScopeEnumStringValues() []string { "AVAILABILITY_DOMAIN", } } + +// GetMappingPublicIpScopeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPublicIpScopeEnum(val string) (PublicIpScopeEnum, bool) { + enum, ok := mappingPublicIpScopeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool.go index 54d29298c2b9..02abf29cf63d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,17 +9,19 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// 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. +// 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. @@ -63,7 +65,7 @@ func (m PublicIpPool) String() string { func (m PublicIpPool) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingPublicIpPoolLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingPublicIpPoolLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetPublicIpPoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -92,6 +94,14 @@ var mappingPublicIpPoolLifecycleStateEnum = map[string]PublicIpPoolLifecycleStat "DELETED": PublicIpPoolLifecycleStateDeleted, } +var mappingPublicIpPoolLifecycleStateEnumLowerCase = 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) @@ -111,3 +121,9 @@ func GetPublicIpPoolLifecycleStateEnumStringValues() []string { "DELETED", } } + +// GetMappingPublicIpPoolLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPublicIpPoolLifecycleStateEnum(val string) (PublicIpPoolLifecycleStateEnum, bool) { + enum, ok := mappingPublicIpPoolLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool_collection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_collection.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool_collection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_collection.go index a77fb9c53784..804397cb2031 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool_collection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_summary.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_summary.go index 96482df33264..a52d54d120b7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/public_ip_pool_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -60,7 +62,7 @@ func (m PublicIpPoolSummary) String() string { func (m PublicIpPoolSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingPublicIpPoolLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingPublicIpPoolLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetPublicIpPoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reboot_migrate_action_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reboot_migrate_action_details.go new file mode 100644 index 000000000000..150ab7c909e3 --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reboot_migrate_action_details.go @@ -0,0 +1,67 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// RebootMigrateActionDetails Parameters for the `rebootMigrate` InstanceAction. +type RebootMigrateActionDetails struct { + + // For bare metal instances that have local storage, this must be set to true to verify that the local storage + // will be deleted during the migration. For instances without, this parameter has no effect. + DeleteLocalStorage *bool `mandatory:"false" json:"deleteLocalStorage"` + + // If present, this parameter will set (or reset) the scheduled time that the instance will be reboot + // migrated in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). This will also change + // the `timeMaintenanceRebootDue` field on the instance. + // If not present, the reboot migration will be triggered immediately. + TimeScheduled *common.SDKTime `mandatory:"false" json:"timeScheduled"` +} + +func (m RebootMigrateActionDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m RebootMigrateActionDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m RebootMigrateActionDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeRebootMigrateActionDetails RebootMigrateActionDetails + s := struct { + DiscriminatorParam string `json:"actionType"` + MarshalTypeRebootMigrateActionDetails + }{ + "rebootMigrate", + (MarshalTypeRebootMigrateActionDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection.go index 9312e9cd8ddf..2dba51b0f728 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -88,10 +90,10 @@ func (m RemotePeeringConnection) String() string { // Not recommended for calling this function directly func (m RemotePeeringConnection) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingRemotePeeringConnectionLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingRemotePeeringConnectionLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetRemotePeeringConnectionLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingRemotePeeringConnectionPeeringStatusEnum[string(m.PeeringStatus)]; !ok && m.PeeringStatus != "" { + if _, ok := GetMappingRemotePeeringConnectionPeeringStatusEnum(string(m.PeeringStatus)); !ok && m.PeeringStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PeeringStatus: %s. Supported values are: %s.", m.PeeringStatus, strings.Join(GetRemotePeeringConnectionPeeringStatusEnumStringValues(), ","))) } @@ -119,6 +121,13 @@ var mappingRemotePeeringConnectionLifecycleStateEnum = map[string]RemotePeeringC "TERMINATED": RemotePeeringConnectionLifecycleStateTerminated, } +var mappingRemotePeeringConnectionLifecycleStateEnumLowerCase = map[string]RemotePeeringConnectionLifecycleStateEnum{ + "available": RemotePeeringConnectionLifecycleStateAvailable, + "provisioning": RemotePeeringConnectionLifecycleStateProvisioning, + "terminating": RemotePeeringConnectionLifecycleStateTerminating, + "terminated": RemotePeeringConnectionLifecycleStateTerminated, +} + // GetRemotePeeringConnectionLifecycleStateEnumValues Enumerates the set of values for RemotePeeringConnectionLifecycleStateEnum func GetRemotePeeringConnectionLifecycleStateEnumValues() []RemotePeeringConnectionLifecycleStateEnum { values := make([]RemotePeeringConnectionLifecycleStateEnum, 0) @@ -138,6 +147,12 @@ func GetRemotePeeringConnectionLifecycleStateEnumStringValues() []string { } } +// GetMappingRemotePeeringConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingRemotePeeringConnectionLifecycleStateEnum(val string) (RemotePeeringConnectionLifecycleStateEnum, bool) { + enum, ok := mappingRemotePeeringConnectionLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // RemotePeeringConnectionPeeringStatusEnum Enum with underlying type: string type RemotePeeringConnectionPeeringStatusEnum string @@ -158,6 +173,14 @@ var mappingRemotePeeringConnectionPeeringStatusEnum = map[string]RemotePeeringCo "REVOKED": RemotePeeringConnectionPeeringStatusRevoked, } +var mappingRemotePeeringConnectionPeeringStatusEnumLowerCase = map[string]RemotePeeringConnectionPeeringStatusEnum{ + "invalid": RemotePeeringConnectionPeeringStatusInvalid, + "new": RemotePeeringConnectionPeeringStatusNew, + "pending": RemotePeeringConnectionPeeringStatusPending, + "peered": RemotePeeringConnectionPeeringStatusPeered, + "revoked": RemotePeeringConnectionPeeringStatusRevoked, +} + // GetRemotePeeringConnectionPeeringStatusEnumValues Enumerates the set of values for RemotePeeringConnectionPeeringStatusEnum func GetRemotePeeringConnectionPeeringStatusEnumValues() []RemotePeeringConnectionPeeringStatusEnum { values := make([]RemotePeeringConnectionPeeringStatusEnum, 0) @@ -177,3 +200,9 @@ func GetRemotePeeringConnectionPeeringStatusEnumStringValues() []string { "REVOKED", } } + +// GetMappingRemotePeeringConnectionPeeringStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingRemotePeeringConnectionPeeringStatusEnum(val string) (RemotePeeringConnectionPeeringStatusEnum, bool) { + enum, ok := mappingRemotePeeringConnectionPeeringStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go similarity index 69% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection_drg_attachment_network_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go index 12a59fa9a793..b794943ca9a7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remote_peering_connection_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -25,26 +27,6 @@ type RemotePeeringConnectionDrgAttachmentNetworkDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"true" json:"id"` - - // The remote Oracle Cloud Infrastructure region name. - PeerRegionName *string `mandatory:"false" json:"peerRegionName"` - - // The attachment route target. - PeerAttachmentRouteTarget *string `mandatory:"false" json:"peerAttachmentRouteTarget"` - - // Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors - // tagged with the attachment's import route target. - ImportRouteTarget *string `mandatory:"false" json:"importRouteTarget"` - - // Routes which are exported to the attachment are exported to the route reflectors - // with the route target set to the value of the attachment's export route target. - ExportRouteTarget *string `mandatory:"false" json:"exportRouteTarget"` - - // The MPLS label of the DRG attachment. - MplsLabel *int `mandatory:"false" json:"mplsLabel"` - - // The BGP ASN to use for the IPSec connection's route target. - RegionalOciAsn *string `mandatory:"false" json:"regionalOciAsn"` } // GetId returns Id diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_distribution_statements_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_distribution_statements_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_details.go index 279614c8c05b..80838229a969 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_distribution_statements_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_distribution_statements_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_request_response.go index 6a627ced102a..6c4f4f98449b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // RemoveDrgRouteDistributionStatementsRequest wrapper for the RemoveDrgRouteDistributionStatements operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatementsRequest. type RemoveDrgRouteDistributionStatementsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_rules_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_details.go index e2c05c1bc318..3381bc0e5630 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_rules_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_request_response.go index 66684349a4e2..7c7afb0d6286 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // RemoveDrgRouteRulesRequest wrapper for the RemoveDrgRouteRules operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRulesRequest. type RemoveDrgRouteRulesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_export_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_export_drg_route_distribution_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_export_drg_route_distribution_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_export_drg_route_distribution_request_response.go index 00a1d6d3c820..46e8d73cec6e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_export_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_export_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // RemoveExportDrgRouteDistributionRequest wrapper for the RemoveExportDrgRouteDistribution operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistributionRequest. type RemoveExportDrgRouteDistributionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_image_shape_compatibility_entry_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_image_shape_compatibility_entry_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_image_shape_compatibility_entry_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_image_shape_compatibility_entry_request_response.go index 6e3bf77ecc5d..6806fcb188bf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_image_shape_compatibility_entry_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_image_shape_compatibility_entry_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_import_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_import_drg_route_distribution_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_import_drg_route_distribution_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_import_drg_route_distribution_request_response.go index 6be2055ae0c4..3338ca73440d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_import_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_import_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // RemoveImportDrgRouteDistributionRequest wrapper for the RemoveImportDrgRouteDistribution operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistributionRequest. type RemoveImportDrgRouteDistributionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/softstop_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_subnet_cidr_request_response.go similarity index 67% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/softstop_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_subnet_cidr_request_response.go index 4a776fea077a..7dd8a9fc25d0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/softstop_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_subnet_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,16 +6,23 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// SoftstopInstancePoolRequest wrapper for the SoftstopInstancePool operation -type SoftstopInstancePoolRequest struct { +// RemoveIpv6SubnetCidrRequest wrapper for the RemoveIpv6SubnetCidr operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidrRequest. +type RemoveIpv6SubnetCidrRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. - InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` + + // Details object for removing an IPv6 SUBNET CIDR. + RemoveSubnetIpv6CidrDetails `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 @@ -29,7 +36,7 @@ type SoftstopInstancePoolRequest struct { // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - // Unique Oracle-assigned identifier for the request. + // 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"` @@ -38,12 +45,12 @@ type SoftstopInstancePoolRequest struct { RequestMetadata common.RequestMetadata } -func (request SoftstopInstancePoolRequest) String() string { +func (request RemoveIpv6SubnetCidrRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request SoftstopInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request RemoveIpv6SubnetCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -53,21 +60,21 @@ func (request SoftstopInstancePoolRequest) HTTPRequest(method, path string, bina } // BinaryRequestBody implements the OCIRequest interface -func (request SoftstopInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request RemoveIpv6SubnetCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request SoftstopInstancePoolRequest) RetryPolicy() *common.RetryPolicy { +func (request RemoveIpv6SubnetCidrRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request SoftstopInstancePoolRequest) ValidateEnumValue() (bool, error) { +func (request RemoveIpv6SubnetCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -75,28 +82,30 @@ func (request SoftstopInstancePoolRequest) ValidateEnumValue() (bool, error) { return false, nil } -// SoftstopInstancePoolResponse wrapper for the SoftstopInstancePool operation -type SoftstopInstancePoolResponse struct { +// RemoveIpv6SubnetCidrResponse wrapper for the RemoveIpv6SubnetCidr operation +type RemoveIpv6SubnetCidrResponse struct { // The underlying http response RawResponse *http.Response - // The InstancePool instance - InstancePool `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"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } -func (response SoftstopInstancePoolResponse) String() string { +func (response RemoveIpv6SubnetCidrResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response SoftstopInstancePoolResponse) HTTPResponse() *http.Response { +func (response RemoveIpv6SubnetCidrResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dav_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_vcn_cidr_request_response.go similarity index 65% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dav_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_vcn_cidr_request_response.go index aa96a97ae863..2826474e1c23 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dav_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,19 +6,24 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) -// UpdateDavRequest wrapper for the UpdateDav operation -type UpdateDavRequest struct { +// RemoveIpv6VcnCidrRequest wrapper for the RemoveIpv6VcnCidr operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidrRequest. +type RemoveIpv6VcnCidrRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Direct Attached Vnic. - DavId *string `mandatory:"true" contributesTo:"path" name:"davId"` + // 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 to update a Direct Attached Vnic. - UpdateDavDetails `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 @@ -27,26 +32,25 @@ type UpdateDavRequest struct { // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - // Unique identifier for the request. - // If you need to contact Oracle about a particular request, please provide the request ID. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - // 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"` + // Details object for removing a VCN ipv6 CIDR. + RemoveVcnIpv6CidrDetails `contributesTo:"body"` + // 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 UpdateDavRequest) String() string { +func (request RemoveIpv6VcnCidrRequest) String() string { return common.PointerString(request) } // HTTPRequest implements the OCIRequest interface -func (request UpdateDavRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { +func (request RemoveIpv6VcnCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { _, err := request.ValidateEnumValue() if err != nil { @@ -56,21 +60,21 @@ func (request UpdateDavRequest) HTTPRequest(method, path string, binaryRequestBo } // BinaryRequestBody implements the OCIRequest interface -func (request UpdateDavRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { +func (request RemoveIpv6VcnCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { return nil, false } // RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateDavRequest) RetryPolicy() *common.RetryPolicy { +func (request RemoveIpv6VcnCidrRequest) RetryPolicy() *common.RetryPolicy { return request.RequestMetadata.RetryPolicy } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (request UpdateDavRequest) ValidateEnumValue() (bool, error) { +func (request RemoveIpv6VcnCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -78,26 +82,30 @@ func (request UpdateDavRequest) ValidateEnumValue() (bool, error) { return false, nil } -// UpdateDavResponse wrapper for the UpdateDav operation -type UpdateDavResponse struct { +// RemoveIpv6VcnCidrResponse wrapper for the RemoveIpv6VcnCidr operation +type RemoveIpv6VcnCidrResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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"` + // 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"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } -func (response UpdateDavResponse) String() string { +func (response RemoveIpv6VcnCidrResponse) String() string { return common.PointerString(response) } // HTTPResponse implements the OCIResponse interface -func (response UpdateDavResponse) HTTPResponse() *http.Response { +func (response RemoveIpv6VcnCidrResponse) HTTPResponse() *http.Response { return response.RawResponse } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_network_security_group_security_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_network_security_group_security_rules_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_details.go index 1105ddd49688..59e4c609bf68 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_network_security_group_security_rules_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_network_security_group_security_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_request_response.go index 392131707f7f..7151abd886ec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_public_ip_pool_capacity_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_public_ip_pool_capacity_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_details.go index 3a3162461e3a..78ec495ce3e4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_public_ip_pool_capacity_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_public_ip_pool_capacity_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_public_ip_pool_capacity_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_request_response.go index b6fcc1466407..472922f298a2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_public_ip_pool_capacity_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_access_gateway_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_subnet_ipv6_cidr_details.go similarity index 60% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_access_gateway_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_subnet_ipv6_cidr_details.go index f93d0f0a0439..da5e86498e18 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/private_access_gateway_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_subnet_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,36 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// PrivateAccessGatewaySummary A summary of private access gateway (PAG) information. This object is returned when listing -// PAGs. -type PrivateAccessGatewaySummary struct { +// RemoveSubnetIpv6CidrDetails Details object for removing an IPv6 CIDR Block from a Subnet. +type RemoveSubnetIpv6CidrDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PAG. - Id *string `mandatory:"true" json:"id"` - - // A user-friendly name. Does not have to be unique, and it's changeable. - // Avoid entering confidential information. - DisplayName *string `mandatory:"true" json:"displayName"` + // This field is not required and should only be specified when removing an IPv6 CIDR + // from a subnet's IPv6 address space. + // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // Example: `2001:0db8:0123::/64` + Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"` } -func (m PrivateAccessGatewaySummary) String() string { +func (m RemoveSubnetIpv6CidrDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m PrivateAccessGatewaySummary) ValidateEnumValue() (bool, error) { +func (m RemoveSubnetIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_vcn_cidr_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_details.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_vcn_cidr_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_details.go index 131107da44ae..d6d308430d49 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_vcn_cidr_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_vcn_cidr_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_request_response.go index 51c1a22fd01f..7f8d2ebb5cd6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/remove_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -88,7 +92,8 @@ type RemoveVcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_ipv6_cidr_details.go similarity index 56% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_ip_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_ipv6_cidr_details.go index 50e281513b42..e377e2e21cb1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/endpoint_service_ip_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,31 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// EndpointServiceIpDetails Information about an IP address (in the service VCN) that handles requests to the endpoint service. -type EndpointServiceIpDetails struct { +// RemoveVcnIpv6CidrDetails Details used when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix. You can only remove one of these per request. +type RemoveVcnIpv6CidrDetails struct { - // An IP address (in the service VCN) that handles requests to the endpoint service. - ServiceIp *string `mandatory:"true" json:"serviceIp"` + // This field is not required and should only be specified when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix + // from a VCN's IPv6 address space. + // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // Example: `2001:0db8:0123::/56` + Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` } -func (m EndpointServiceIpDetails) String() string { +func (m RemoveVcnIpv6CidrDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m EndpointServiceIpDetails) ValidateEnumValue() (bool, error) { +func (m RemoveVcnIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reset_action_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reset_action_details.go similarity index 57% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reset_action_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reset_action_details.go index 594b567a5c4a..492628a77923 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reset_action_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reset_action_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,14 +18,23 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// ResetActionDetails Parameters for the reset instance action (https://docs.cloud.oracle.com/iaas/latest/Instance/InstanceAction). If omitted, default values are used. +// ResetActionDetails Parameters for the `reset` InstanceAction. If omitted, default values are used. type ResetActionDetails struct { - // For instances with a date in the Maintenance reboot field, the flag denoting whether reboot migration is enabled for instances that use the DenseIO shape. The default value is 'false'. + // For instances that use a DenseIO shape, the flag denoting whether + // reboot migration (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot) + // is performed for the instance. The default value is `false`. + // If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to `false`), the instance + // will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the + // maintenance process. The local NVMe-based SSD will be preserved. + // If you want to minimize downtime and can delete the SSD, you can set this flag to `true` and proactively reboot the + // instance before the scheduled maintenance time. The instance will be reboot migrated to a healthy host and the SSD will be + // deleted. A short downtime occurs during the migration. + // **Caution:** When `true`, the SSD is permanently deleted. We recommend that you create a backup of the SSD before proceeding. AllowDenseRebootMigration *bool `mandatory:"false" json:"allowDenseRebootMigration"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reset_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reset_instance_pool_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reset_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reset_instance_pool_request_response.go index ba65cd3c06f7..28466a7dec90 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/reset_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/reset_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_rule.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/route_rule.go similarity index 64% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_rule.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/route_rule.go index 1deb35d86dc7..20438641d797 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_rule.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/route_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -58,6 +60,9 @@ type RouteRule struct { // An optional description of your choice for the rule. Description *string `mandatory:"false" json:"description"` + + // A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the route table. + RouteType RouteRuleRouteTypeEnum `mandatory:"false" json:"routeType,omitempty"` } func (m RouteRule) String() string { @@ -70,9 +75,12 @@ func (m RouteRule) String() string { func (m RouteRule) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingRouteRuleDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingRouteRuleDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetRouteRuleDestinationTypeEnumStringValues(), ","))) } + if _, ok := GetMappingRouteRuleRouteTypeEnum(string(m.RouteType)); !ok && m.RouteType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", m.RouteType, strings.Join(GetRouteRuleRouteTypeEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -93,6 +101,11 @@ var mappingRouteRuleDestinationTypeEnum = map[string]RouteRuleDestinationTypeEnu "SERVICE_CIDR_BLOCK": RouteRuleDestinationTypeServiceCidrBlock, } +var mappingRouteRuleDestinationTypeEnumLowerCase = map[string]RouteRuleDestinationTypeEnum{ + "cidr_block": RouteRuleDestinationTypeCidrBlock, + "service_cidr_block": RouteRuleDestinationTypeServiceCidrBlock, +} + // GetRouteRuleDestinationTypeEnumValues Enumerates the set of values for RouteRuleDestinationTypeEnum func GetRouteRuleDestinationTypeEnumValues() []RouteRuleDestinationTypeEnum { values := make([]RouteRuleDestinationTypeEnum, 0) @@ -109,3 +122,51 @@ func GetRouteRuleDestinationTypeEnumStringValues() []string { "SERVICE_CIDR_BLOCK", } } + +// GetMappingRouteRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingRouteRuleDestinationTypeEnum(val string) (RouteRuleDestinationTypeEnum, bool) { + enum, ok := mappingRouteRuleDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// RouteRuleRouteTypeEnum Enum with underlying type: string +type RouteRuleRouteTypeEnum string + +// Set of constants representing the allowable values for RouteRuleRouteTypeEnum +const ( + RouteRuleRouteTypeStatic RouteRuleRouteTypeEnum = "STATIC" + RouteRuleRouteTypeLocal RouteRuleRouteTypeEnum = "LOCAL" +) + +var mappingRouteRuleRouteTypeEnum = map[string]RouteRuleRouteTypeEnum{ + "STATIC": RouteRuleRouteTypeStatic, + "LOCAL": RouteRuleRouteTypeLocal, +} + +var mappingRouteRuleRouteTypeEnumLowerCase = map[string]RouteRuleRouteTypeEnum{ + "static": RouteRuleRouteTypeStatic, + "local": RouteRuleRouteTypeLocal, +} + +// GetRouteRuleRouteTypeEnumValues Enumerates the set of values for RouteRuleRouteTypeEnum +func GetRouteRuleRouteTypeEnumValues() []RouteRuleRouteTypeEnum { + values := make([]RouteRuleRouteTypeEnum, 0) + for _, v := range mappingRouteRuleRouteTypeEnum { + values = append(values, v) + } + return values +} + +// GetRouteRuleRouteTypeEnumStringValues Enumerates the set of values in String for RouteRuleRouteTypeEnum +func GetRouteRuleRouteTypeEnumStringValues() []string { + return []string{ + "STATIC", + "LOCAL", + } +} + +// GetMappingRouteRuleRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingRouteRuleRouteTypeEnum(val string) (RouteRuleRouteTypeEnum, bool) { + enum, ok := mappingRouteRuleRouteTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_table.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/route_table.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_table.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/route_table.go index 134bfd820f91..bf0ef269fa38 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/route_table.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/route_table.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -39,7 +41,7 @@ type RouteTable struct { // The collection of rules for routing destination IPs to network devices. RouteRules []RouteRule `mandatory:"true" json:"routeRules"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN the route table list belongs to. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table list belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a @@ -59,9 +61,6 @@ type RouteTable struct { // The date and time the route table was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - - // Indicates whether or not ECMP is enabled on the route table. - IsEcmpEnabled *bool `mandatory:"false" json:"isEcmpEnabled"` } func (m RouteTable) String() string { @@ -73,7 +72,7 @@ func (m RouteTable) String() string { // Not recommended for calling this function directly func (m RouteTable) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingRouteTableLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingRouteTableLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetRouteTableLifecycleStateEnumStringValues(), ","))) } @@ -101,6 +100,13 @@ var mappingRouteTableLifecycleStateEnum = map[string]RouteTableLifecycleStateEnu "TERMINATED": RouteTableLifecycleStateTerminated, } +var mappingRouteTableLifecycleStateEnumLowerCase = map[string]RouteTableLifecycleStateEnum{ + "provisioning": RouteTableLifecycleStateProvisioning, + "available": RouteTableLifecycleStateAvailable, + "terminating": RouteTableLifecycleStateTerminating, + "terminated": RouteTableLifecycleStateTerminated, +} + // GetRouteTableLifecycleStateEnumValues Enumerates the set of values for RouteTableLifecycleStateEnum func GetRouteTableLifecycleStateEnumValues() []RouteTableLifecycleStateEnum { values := make([]RouteTableLifecycleStateEnum, 0) @@ -119,3 +125,9 @@ func GetRouteTableLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingRouteTableLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingRouteTableLifecycleStateEnum(val string) (RouteTableLifecycleStateEnum, bool) { + enum, ok := mappingRouteTableLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/security_list.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/security_list.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/security_list.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/security_list.go index 989b00f2c82b..8a0fecd38921 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/security_list.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/security_list.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -82,7 +84,7 @@ func (m SecurityList) String() string { // Not recommended for calling this function directly func (m SecurityList) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingSecurityListLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingSecurityListLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetSecurityListLifecycleStateEnumStringValues(), ","))) } @@ -110,6 +112,13 @@ var mappingSecurityListLifecycleStateEnum = map[string]SecurityListLifecycleStat "TERMINATED": SecurityListLifecycleStateTerminated, } +var mappingSecurityListLifecycleStateEnumLowerCase = map[string]SecurityListLifecycleStateEnum{ + "provisioning": SecurityListLifecycleStateProvisioning, + "available": SecurityListLifecycleStateAvailable, + "terminating": SecurityListLifecycleStateTerminating, + "terminated": SecurityListLifecycleStateTerminated, +} + // GetSecurityListLifecycleStateEnumValues Enumerates the set of values for SecurityListLifecycleStateEnum func GetSecurityListLifecycleStateEnumValues() []SecurityListLifecycleStateEnum { values := make([]SecurityListLifecycleStateEnum, 0) @@ -128,3 +137,9 @@ func GetSecurityListLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingSecurityListLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSecurityListLifecycleStateEnum(val string) (SecurityListLifecycleStateEnum, bool) { + enum, ok := mappingSecurityListLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/security_rule.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/security_rule.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/security_rule.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/security_rule.go index eacf7a3c1d18..c63753c7a596 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/security_rule.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -120,14 +122,14 @@ func (m SecurityRule) String() string { // Not recommended for calling this function directly func (m SecurityRule) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingSecurityRuleDirectionEnum[string(m.Direction)]; !ok && m.Direction != "" { + if _, ok := GetMappingSecurityRuleDirectionEnum(string(m.Direction)); !ok && m.Direction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Direction: %s. Supported values are: %s.", m.Direction, strings.Join(GetSecurityRuleDirectionEnumStringValues(), ","))) } - if _, ok := mappingSecurityRuleDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingSecurityRuleDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetSecurityRuleDestinationTypeEnumStringValues(), ","))) } - if _, ok := mappingSecurityRuleSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingSecurityRuleSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetSecurityRuleSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -152,6 +154,12 @@ var mappingSecurityRuleDestinationTypeEnum = map[string]SecurityRuleDestinationT "NETWORK_SECURITY_GROUP": SecurityRuleDestinationTypeNetworkSecurityGroup, } +var mappingSecurityRuleDestinationTypeEnumLowerCase = map[string]SecurityRuleDestinationTypeEnum{ + "cidr_block": SecurityRuleDestinationTypeCidrBlock, + "service_cidr_block": SecurityRuleDestinationTypeServiceCidrBlock, + "network_security_group": SecurityRuleDestinationTypeNetworkSecurityGroup, +} + // GetSecurityRuleDestinationTypeEnumValues Enumerates the set of values for SecurityRuleDestinationTypeEnum func GetSecurityRuleDestinationTypeEnumValues() []SecurityRuleDestinationTypeEnum { values := make([]SecurityRuleDestinationTypeEnum, 0) @@ -170,6 +178,12 @@ func GetSecurityRuleDestinationTypeEnumStringValues() []string { } } +// GetMappingSecurityRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSecurityRuleDestinationTypeEnum(val string) (SecurityRuleDestinationTypeEnum, bool) { + enum, ok := mappingSecurityRuleDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // SecurityRuleDirectionEnum Enum with underlying type: string type SecurityRuleDirectionEnum string @@ -184,6 +198,11 @@ var mappingSecurityRuleDirectionEnum = map[string]SecurityRuleDirectionEnum{ "INGRESS": SecurityRuleDirectionIngress, } +var mappingSecurityRuleDirectionEnumLowerCase = map[string]SecurityRuleDirectionEnum{ + "egress": SecurityRuleDirectionEgress, + "ingress": SecurityRuleDirectionIngress, +} + // GetSecurityRuleDirectionEnumValues Enumerates the set of values for SecurityRuleDirectionEnum func GetSecurityRuleDirectionEnumValues() []SecurityRuleDirectionEnum { values := make([]SecurityRuleDirectionEnum, 0) @@ -201,6 +220,12 @@ func GetSecurityRuleDirectionEnumStringValues() []string { } } +// GetMappingSecurityRuleDirectionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSecurityRuleDirectionEnum(val string) (SecurityRuleDirectionEnum, bool) { + enum, ok := mappingSecurityRuleDirectionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // SecurityRuleSourceTypeEnum Enum with underlying type: string type SecurityRuleSourceTypeEnum string @@ -217,6 +242,12 @@ var mappingSecurityRuleSourceTypeEnum = map[string]SecurityRuleSourceTypeEnum{ "NETWORK_SECURITY_GROUP": SecurityRuleSourceTypeNetworkSecurityGroup, } +var mappingSecurityRuleSourceTypeEnumLowerCase = map[string]SecurityRuleSourceTypeEnum{ + "cidr_block": SecurityRuleSourceTypeCidrBlock, + "service_cidr_block": SecurityRuleSourceTypeServiceCidrBlock, + "network_security_group": SecurityRuleSourceTypeNetworkSecurityGroup, +} + // GetSecurityRuleSourceTypeEnumValues Enumerates the set of values for SecurityRuleSourceTypeEnum func GetSecurityRuleSourceTypeEnumValues() []SecurityRuleSourceTypeEnum { values := make([]SecurityRuleSourceTypeEnum, 0) @@ -234,3 +265,9 @@ func GetSecurityRuleSourceTypeEnumStringValues() []string { "NETWORK_SECURITY_GROUP", } } + +// GetMappingSecurityRuleSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSecurityRuleSourceTypeEnum(val string) (SecurityRuleSourceTypeEnum, bool) { + enum, ok := mappingSecurityRuleSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service.go index 8de93213cb48..6962d0318202 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_gateway.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_gateway.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_gateway.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_gateway.go index 08e7843bab8b..9435ee5e4975 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_gateway.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -89,7 +91,7 @@ func (m ServiceGateway) String() string { // Not recommended for calling this function directly func (m ServiceGateway) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingServiceGatewayLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingServiceGatewayLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetServiceGatewayLifecycleStateEnumStringValues(), ","))) } @@ -117,6 +119,13 @@ var mappingServiceGatewayLifecycleStateEnum = map[string]ServiceGatewayLifecycle "TERMINATED": ServiceGatewayLifecycleStateTerminated, } +var mappingServiceGatewayLifecycleStateEnumLowerCase = map[string]ServiceGatewayLifecycleStateEnum{ + "provisioning": ServiceGatewayLifecycleStateProvisioning, + "available": ServiceGatewayLifecycleStateAvailable, + "terminating": ServiceGatewayLifecycleStateTerminating, + "terminated": ServiceGatewayLifecycleStateTerminated, +} + // GetServiceGatewayLifecycleStateEnumValues Enumerates the set of values for ServiceGatewayLifecycleStateEnum func GetServiceGatewayLifecycleStateEnumValues() []ServiceGatewayLifecycleStateEnum { values := make([]ServiceGatewayLifecycleStateEnum, 0) @@ -135,3 +144,9 @@ func GetServiceGatewayLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingServiceGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingServiceGatewayLifecycleStateEnum(val string) (ServiceGatewayLifecycleStateEnum, bool) { + enum, ok := mappingServiceGatewayLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_id_request_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_id_request_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_id_request_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_id_request_details.go index 716fde707262..96b761da10cf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_id_request_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_id_request_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_id_response_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_id_response_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_id_response_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_id_response_details.go index 26836c93c16a..a67c5b0d5dc8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/service_id_response_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/service_id_response_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape.go index de511222bafe..c4d2cf059d9f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -28,9 +30,6 @@ type Shape struct { // ListShapes. Shape *string `mandatory:"true" json:"shape"` - // The shape's availability domain. - AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // For a subcore burstable VM, the supported baseline OCPU utilization for instances that use this shape. BaselineOcpuUtilizations []ShapeBaselineOcpuUtilizationsEnum `mandatory:"false" json:"baselineOcpuUtilizations,omitempty"` @@ -133,12 +132,12 @@ func (m Shape) ValidateEnumValue() (bool, error) { errMessage := []string{} for _, val := range m.BaselineOcpuUtilizations { - if _, ok := mappingShapeBaselineOcpuUtilizationsEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingShapeBaselineOcpuUtilizationsEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilizations: %s. Supported values are: %s.", val, strings.Join(GetShapeBaselineOcpuUtilizationsEnumStringValues(), ","))) } } - if _, ok := mappingShapeBillingTypeEnum[string(m.BillingType)]; !ok && m.BillingType != "" { + if _, ok := GetMappingShapeBillingTypeEnum(string(m.BillingType)); !ok && m.BillingType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BillingType: %s. Supported values are: %s.", m.BillingType, strings.Join(GetShapeBillingTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -163,6 +162,12 @@ var mappingShapeBaselineOcpuUtilizationsEnum = map[string]ShapeBaselineOcpuUtili "BASELINE_1_1": ShapeBaselineOcpuUtilizations1, } +var mappingShapeBaselineOcpuUtilizationsEnumLowerCase = map[string]ShapeBaselineOcpuUtilizationsEnum{ + "baseline_1_8": ShapeBaselineOcpuUtilizations8, + "baseline_1_2": ShapeBaselineOcpuUtilizations2, + "baseline_1_1": ShapeBaselineOcpuUtilizations1, +} + // GetShapeBaselineOcpuUtilizationsEnumValues Enumerates the set of values for ShapeBaselineOcpuUtilizationsEnum func GetShapeBaselineOcpuUtilizationsEnumValues() []ShapeBaselineOcpuUtilizationsEnum { values := make([]ShapeBaselineOcpuUtilizationsEnum, 0) @@ -181,6 +186,12 @@ func GetShapeBaselineOcpuUtilizationsEnumStringValues() []string { } } +// GetMappingShapeBaselineOcpuUtilizationsEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingShapeBaselineOcpuUtilizationsEnum(val string) (ShapeBaselineOcpuUtilizationsEnum, bool) { + enum, ok := mappingShapeBaselineOcpuUtilizationsEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // ShapeBillingTypeEnum Enum with underlying type: string type ShapeBillingTypeEnum string @@ -197,6 +208,12 @@ var mappingShapeBillingTypeEnum = map[string]ShapeBillingTypeEnum{ "PAID": ShapeBillingTypePaid, } +var mappingShapeBillingTypeEnumLowerCase = map[string]ShapeBillingTypeEnum{ + "always_free": ShapeBillingTypeAlwaysFree, + "limited_free": ShapeBillingTypeLimitedFree, + "paid": ShapeBillingTypePaid, +} + // GetShapeBillingTypeEnumValues Enumerates the set of values for ShapeBillingTypeEnum func GetShapeBillingTypeEnumValues() []ShapeBillingTypeEnum { values := make([]ShapeBillingTypeEnum, 0) @@ -214,3 +231,9 @@ func GetShapeBillingTypeEnumStringValues() []string { "PAID", } } + +// GetMappingShapeBillingTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingShapeBillingTypeEnum(val string) (ShapeBillingTypeEnum, bool) { + enum, ok := mappingShapeBillingTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_connections_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_access_control_service_enabled_platform_options.go similarity index 59% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_connections_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_access_control_service_enabled_platform_options.go index 11b4ecde8b19..2060c6a796d9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/connect_local_peering_connections_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_access_control_service_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,31 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// ConnectLocalPeeringConnectionsDetails Contains details indicating the local peering connection with which you wish to establish a peering relationship. -type ConnectLocalPeeringConnectionsDetails struct { +// ShapeAccessControlServiceEnabledPlatformOptions Configuration options for the Access Control Service. +type ShapeAccessControlServiceEnabledPlatformOptions struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other local peering connection. - PeerId *string `mandatory:"true" json:"peerId"` + // Whether the Access Control Service can be enabled. + AllowedValues []bool `mandatory:"false" json:"allowedValues"` + + // Whether the Access Control Service is enabled by default. + IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"` } -func (m ConnectLocalPeeringConnectionsDetails) String() string { +func (m ShapeAccessControlServiceEnabledPlatformOptions) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m ConnectLocalPeeringConnectionsDetails) ValidateEnumValue() (bool, error) { +func (m ShapeAccessControlServiceEnabledPlatformOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_alternative_object.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_alternative_object.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_alternative_object.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_alternative_object.go index 610a7c46e662..f78c6ce0ebd5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_alternative_object.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_alternative_object.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_input_output_memory_management_unit_enabled_platform_options.go similarity index 57% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_input_output_memory_management_unit_enabled_platform_options.go index 5c7bb85be748..520ba29f6441 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/drg_migration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_input_output_memory_management_unit_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,40 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// DrgMigrationDetails Request object to Drg Migration API -type DrgMigrationDetails struct { +// ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions Configuration options for the input-output memory management unit (IOMMU). +type ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions struct { - // The size of migration batch. - BatchSize *int `mandatory:"false" json:"batchSize"` + // Whether the input-output memory management unit can be enabled. + AllowedValues []bool `mandatory:"false" json:"allowedValues"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG to migrate. - DrgId *string `mandatory:"false" json:"drgId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG. - CompartmentId *string `mandatory:"false" json:"compartmentId"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy to contain the DRG. - TenancyId *string `mandatory:"false" json:"tenancyId"` + // Whether the input-output memory management unit is enabled by default. + IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"` } -func (m DrgMigrationDetails) String() string { +func (m ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m DrgMigrationDetails) ValidateEnumValue() (bool, error) { +func (m ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_max_vnic_attachment_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_max_vnic_attachment_options.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_max_vnic_attachment_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_max_vnic_attachment_options.go index 96193c3845dc..4091d72d50c3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_max_vnic_attachment_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_max_vnic_attachment_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_measured_boot_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_measured_boot_options.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_measured_boot_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_measured_boot_options.go index 558b3b949a44..f2711ef007bd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_measured_boot_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_measured_boot_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_memory_encryption_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_memory_encryption_options.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_memory_encryption_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_memory_encryption_options.go index 96ec5fc959ce..14940fcd6de2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_memory_encryption_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_memory_encryption_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_memory_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_memory_options.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_memory_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_memory_options.go index 9cb529ae8a34..85dcef303f04 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_memory_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_memory_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_networking_bandwidth_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_networking_bandwidth_options.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_networking_bandwidth_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_networking_bandwidth_options.go index b9300c0cfdc6..7f3295e49a8c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_networking_bandwidth_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_networking_bandwidth_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_numa_nodes_per_socket_platform_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_numa_nodes_per_socket_platform_options.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_numa_nodes_per_socket_platform_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_numa_nodes_per_socket_platform_options.go index 30e7b4ed286f..5c2fe039f212 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_numa_nodes_per_socket_platform_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_numa_nodes_per_socket_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -40,7 +42,7 @@ func (m ShapeNumaNodesPerSocketPlatformOptions) ValidateEnumValue() (bool, error errMessage := []string{} for _, val := range m.AllowedValues { - if _, ok := mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AllowedValues: %s. Supported values are: %s.", val, strings.Join(GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumStringValues(), ","))) } } @@ -69,6 +71,13 @@ var mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = map[string] "NPS4": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps4, } +var mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumLowerCase = map[string]ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum{ + "nps0": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps0, + "nps1": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps1, + "nps2": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps2, + "nps4": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps4, +} + // GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumValues Enumerates the set of values for ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum func GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumValues() []ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum { values := make([]ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum, 0) @@ -87,3 +96,9 @@ func GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumStringValues() [] "NPS4", } } + +// GetMappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum(val string) (ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum, bool) { + enum, ok := mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_ocpu_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_ocpu_options.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_ocpu_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_ocpu_options.go index 91ffd6bd1758..e7331a7d2a4d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_ocpu_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_ocpu_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_platform_config_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_platform_config_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go index 028982eb25d1..8d391cbfbb64 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_platform_config_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -34,6 +36,16 @@ type ShapePlatformConfigOptions struct { NumaNodesPerSocketPlatformOptions *ShapeNumaNodesPerSocketPlatformOptions `mandatory:"false" json:"numaNodesPerSocketPlatformOptions"` MemoryEncryptionOptions *ShapeMemoryEncryptionOptions `mandatory:"false" json:"memoryEncryptionOptions"` + + SymmetricMultiThreadingOptions *ShapeSymmetricMultiThreadingEnabledPlatformOptions `mandatory:"false" json:"symmetricMultiThreadingOptions"` + + AccessControlServiceOptions *ShapeAccessControlServiceEnabledPlatformOptions `mandatory:"false" json:"accessControlServiceOptions"` + + VirtualInstructionsOptions *ShapeVirtualInstructionsEnabledPlatformOptions `mandatory:"false" json:"virtualInstructionsOptions"` + + InputOutputMemoryManagementUnitOptions *ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions `mandatory:"false" json:"inputOutputMemoryManagementUnitOptions"` + + PercentageOfCoresEnabledOptions *PercentageOfCoresEnabledOptions `mandatory:"false" json:"percentageOfCoresEnabledOptions"` } func (m ShapePlatformConfigOptions) String() string { @@ -46,7 +58,7 @@ func (m ShapePlatformConfigOptions) String() string { func (m ShapePlatformConfigOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingShapePlatformConfigOptionsTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingShapePlatformConfigOptionsTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetShapePlatformConfigOptionsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -61,7 +73,10 @@ type ShapePlatformConfigOptionsTypeEnum string // Set of constants representing the allowable values for ShapePlatformConfigOptionsTypeEnum const ( ShapePlatformConfigOptionsTypeAmdMilanBm ShapePlatformConfigOptionsTypeEnum = "AMD_MILAN_BM" + ShapePlatformConfigOptionsTypeAmdMilanBmGpu ShapePlatformConfigOptionsTypeEnum = "AMD_MILAN_BM_GPU" ShapePlatformConfigOptionsTypeAmdRomeBm ShapePlatformConfigOptionsTypeEnum = "AMD_ROME_BM" + ShapePlatformConfigOptionsTypeAmdRomeBmGpu ShapePlatformConfigOptionsTypeEnum = "AMD_ROME_BM_GPU" + ShapePlatformConfigOptionsTypeIntelIcelakeBm ShapePlatformConfigOptionsTypeEnum = "INTEL_ICELAKE_BM" ShapePlatformConfigOptionsTypeIntelSkylakeBm ShapePlatformConfigOptionsTypeEnum = "INTEL_SKYLAKE_BM" ShapePlatformConfigOptionsTypeAmdVm ShapePlatformConfigOptionsTypeEnum = "AMD_VM" ShapePlatformConfigOptionsTypeIntelVm ShapePlatformConfigOptionsTypeEnum = "INTEL_VM" @@ -69,12 +84,26 @@ const ( var mappingShapePlatformConfigOptionsTypeEnum = map[string]ShapePlatformConfigOptionsTypeEnum{ "AMD_MILAN_BM": ShapePlatformConfigOptionsTypeAmdMilanBm, + "AMD_MILAN_BM_GPU": ShapePlatformConfigOptionsTypeAmdMilanBmGpu, "AMD_ROME_BM": ShapePlatformConfigOptionsTypeAmdRomeBm, + "AMD_ROME_BM_GPU": ShapePlatformConfigOptionsTypeAmdRomeBmGpu, + "INTEL_ICELAKE_BM": ShapePlatformConfigOptionsTypeIntelIcelakeBm, "INTEL_SKYLAKE_BM": ShapePlatformConfigOptionsTypeIntelSkylakeBm, "AMD_VM": ShapePlatformConfigOptionsTypeAmdVm, "INTEL_VM": ShapePlatformConfigOptionsTypeIntelVm, } +var mappingShapePlatformConfigOptionsTypeEnumLowerCase = map[string]ShapePlatformConfigOptionsTypeEnum{ + "amd_milan_bm": ShapePlatformConfigOptionsTypeAmdMilanBm, + "amd_milan_bm_gpu": ShapePlatformConfigOptionsTypeAmdMilanBmGpu, + "amd_rome_bm": ShapePlatformConfigOptionsTypeAmdRomeBm, + "amd_rome_bm_gpu": ShapePlatformConfigOptionsTypeAmdRomeBmGpu, + "intel_icelake_bm": ShapePlatformConfigOptionsTypeIntelIcelakeBm, + "intel_skylake_bm": ShapePlatformConfigOptionsTypeIntelSkylakeBm, + "amd_vm": ShapePlatformConfigOptionsTypeAmdVm, + "intel_vm": ShapePlatformConfigOptionsTypeIntelVm, +} + // GetShapePlatformConfigOptionsTypeEnumValues Enumerates the set of values for ShapePlatformConfigOptionsTypeEnum func GetShapePlatformConfigOptionsTypeEnumValues() []ShapePlatformConfigOptionsTypeEnum { values := make([]ShapePlatformConfigOptionsTypeEnum, 0) @@ -88,9 +117,18 @@ func GetShapePlatformConfigOptionsTypeEnumValues() []ShapePlatformConfigOptionsT func GetShapePlatformConfigOptionsTypeEnumStringValues() []string { return []string{ "AMD_MILAN_BM", + "AMD_MILAN_BM_GPU", "AMD_ROME_BM", + "AMD_ROME_BM_GPU", + "INTEL_ICELAKE_BM", "INTEL_SKYLAKE_BM", "AMD_VM", "INTEL_VM", } } + +// GetMappingShapePlatformConfigOptionsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingShapePlatformConfigOptionsTypeEnum(val string) (ShapePlatformConfigOptionsTypeEnum, bool) { + enum, ok := mappingShapePlatformConfigOptionsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_secure_boot_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_secure_boot_options.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_secure_boot_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_secure_boot_options.go index 3bda51f15c99..2d250ad60b81 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_secure_boot_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_secure_boot_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/base64_ssl_cert_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_symmetric_multi_threading_enabled_platform_options.go similarity index 58% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/base64_ssl_cert_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_symmetric_multi_threading_enabled_platform_options.go index 57e5cc1829c4..e4181f0dfe09 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/base64_ssl_cert_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_symmetric_multi_threading_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,32 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( - "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// Base64SslCertDetails The 64-based encoded SslCert. -type Base64SslCertDetails struct { +// ShapeSymmetricMultiThreadingEnabledPlatformOptions Configuration options for symmetric multithreading (also called simultaneous multithreading or SMT). +type ShapeSymmetricMultiThreadingEnabledPlatformOptions struct { - // The base 64 encoded string for the Ssl Certificate. - CertContent *string `mandatory:"false" json:"certContent"` + // Whether symmetric multithreading can be enabled. + AllowedValues []bool `mandatory:"false" json:"allowedValues"` + + // Whether symmetric multithreading is enabled by default. + IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"` } -func (m Base64SslCertDetails) String() string { +func (m ShapeSymmetricMultiThreadingEnabledPlatformOptions) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m Base64SslCertDetails) ValidateEnumValue() (bool, error) { +func (m ShapeSymmetricMultiThreadingEnabledPlatformOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { @@ -42,17 +46,3 @@ func (m Base64SslCertDetails) ValidateEnumValue() (bool, error) { } return false, nil } - -// MarshalJSON marshals to json representation -func (m Base64SslCertDetails) MarshalJSON() (buff []byte, e error) { - type MarshalTypeBase64SslCertDetails Base64SslCertDetails - s := struct { - DiscriminatorParam string `json:"contentType"` - MarshalTypeBase64SslCertDetails - }{ - "BASE64ENCODED", - (MarshalTypeBase64SslCertDetails)(m), - } - - return json.Marshal(&s) -} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_trusted_platform_module_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_trusted_platform_module_options.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_trusted_platform_module_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_trusted_platform_module_options.go index 2969fc7869d6..0e0ca175605b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/shape_trusted_platform_module_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_trusted_platform_module_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_block_volume_replica_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_virtual_instructions_enabled_platform_options.go similarity index 61% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_block_volume_replica_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_virtual_instructions_enabled_platform_options.go index 32b980b1f365..0c31249caf7e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/instance_configuration_block_volume_replica_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/shape_virtual_instructions_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,36 +9,36 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// InstanceConfigurationBlockVolumeReplicaDetails Contains the details for the block volume replica -type InstanceConfigurationBlockVolumeReplicaDetails struct { +// ShapeVirtualInstructionsEnabledPlatformOptions Configuration options for the virtualization instructions. +type ShapeVirtualInstructionsEnabledPlatformOptions struct { - // The availability domain of the block volume replica. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + // Whether virtualization instructions can be enabled. + AllowedValues []bool `mandatory:"false" json:"allowedValues"` - // The display name of the block volume replica. You may optionally specify a *display name* for - // the block volume replica, otherwise a default is provided. - DisplayName *string `mandatory:"false" json:"displayName"` + // Whether virtualization instructions are enabled by default. + IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"` } -func (m InstanceConfigurationBlockVolumeReplicaDetails) String() string { +func (m ShapeVirtualInstructionsEnabledPlatformOptions) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m InstanceConfigurationBlockVolumeReplicaDetails) ValidateEnumValue() (bool, error) { +func (m ShapeVirtualInstructionsEnabledPlatformOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/soft_reset_action_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/soft_reset_action_details.go similarity index 57% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/soft_reset_action_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/soft_reset_action_details.go index 2643a027fa90..a139c872a631 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/soft_reset_action_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/soft_reset_action_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,14 +18,23 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// SoftResetActionDetails Parameters for the softReset instance action (https://docs.cloud.oracle.com/iaas/latest/Instance/InstanceAction). If omitted, default values are used. +// SoftResetActionDetails Parameters for the `softReset` InstanceAction. If omitted, default values are used. type SoftResetActionDetails struct { - // For instances with a date in the Maintenance reboot field, the flag denoting whether reboot migration is enabled for instances that use the DenseIO shape. The default value is 'false'. + // For instances that use a DenseIO shape, the flag denoting whether + // reboot migration (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot) + // is performed for the instance. The default value is `false`. + // If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to `false`), the instance + // will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the + // maintenance process. The local NVMe-based SSD will be preserved. + // If you want to minimize downtime and can delete the SSD, you can set this flag to `true` and proactively reboot the + // instance before the scheduled maintenance time. The instance will be reboot migrated to a healthy host and the SSD will be + // deleted. A short downtime occurs during the migration. + // **Caution:** When `true`, the SSD is permanently deleted. We recommend that you create a backup of the SSD before proceeding. AllowDenseRebootMigration *bool `mandatory:"false" json:"allowDenseRebootMigration"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/softreset_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/softreset_instance_pool_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/softreset_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/softreset_instance_pool_request_response.go index 0b7aec93f0e9..1ebb394ffca3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/softreset_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/softreset_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/start_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/start_instance_pool_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/start_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/start_instance_pool_request_response.go index 2425cfd5c1e8..a76bc075bcc5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/start_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/start_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/stop_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/stop_instance_pool_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/stop_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/stop_instance_pool_request_response.go index 13f33a06a1f0..ba0e49ea87a8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/stop_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/stop_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/subnet.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/subnet.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/subnet.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/subnet.go index 43e2617532cb..af72fc6e7905 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/subnet.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -75,7 +77,7 @@ type Subnet struct { // A DNS label for the subnet, used in conjunction with the VNIC's hostname and // VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC - // within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be an alphanumeric string that begins with a letter and is unique within the VCN. // The value cannot be changed. // The absence of this parameter means the Internet and VCN Resolver @@ -95,21 +97,13 @@ type Subnet struct { // Example: `2001:0db8:0123:1111::/64` Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` + // The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, BYOIPv6 CIDR blocks) for the subnet. + Ipv6CidrBlocks []string `mandatory:"false" json:"ipv6CidrBlocks"` + // For an IPv6-enabled subnet, this is the IPv6 address of the virtual router. // Example: `2001:0db8:0123:1111:89ab:cdef:1234:5678` Ipv6VirtualRouterIp *string `mandatory:"false" json:"ipv6VirtualRouterIp"` - // Whether learning mode is enabled for this subnet. The default is `false`. - // **Note:** When a subnet has learning mode enabled, only certain types - // of resources can be launched in the subnet. - // Example: `true` - IsLearningEnabled *bool `mandatory:"false" json:"isLearningEnabled"` - - // The VLAN tag assigned to VNIC Attachments within this Subnet if the Subnet has learning enabled. - // **Note:** When a subnet does not have learning enabled, this field will be null. - // Example: `100` - VlanTag *int `mandatory:"false" json:"vlanTag"` - // Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. // For IPV4, `prohibitInternetIngress` behaves similarly to `prohibitPublicIpOnVnic`. // If it is set to false, VNICs created in this subnet will automatically be assigned public IP @@ -160,7 +154,7 @@ func (m Subnet) String() string { // Not recommended for calling this function directly func (m Subnet) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingSubnetLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingSubnetLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetSubnetLifecycleStateEnumStringValues(), ","))) } @@ -190,6 +184,14 @@ var mappingSubnetLifecycleStateEnum = map[string]SubnetLifecycleStateEnum{ "UPDATING": SubnetLifecycleStateUpdating, } +var mappingSubnetLifecycleStateEnumLowerCase = map[string]SubnetLifecycleStateEnum{ + "provisioning": SubnetLifecycleStateProvisioning, + "available": SubnetLifecycleStateAvailable, + "terminating": SubnetLifecycleStateTerminating, + "terminated": SubnetLifecycleStateTerminated, + "updating": SubnetLifecycleStateUpdating, +} + // GetSubnetLifecycleStateEnumValues Enumerates the set of values for SubnetLifecycleStateEnum func GetSubnetLifecycleStateEnumValues() []SubnetLifecycleStateEnum { values := make([]SubnetLifecycleStateEnum, 0) @@ -209,3 +211,9 @@ func GetSubnetLifecycleStateEnumStringValues() []string { "UPDATING", } } + +// GetMappingSubnetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSubnetLifecycleStateEnum(val string) (SubnetLifecycleStateEnum, bool) { + enum, ok := mappingSubnetLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/subnet_topology.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/subnet_topology.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go index 399bee550951..6283db2ecff2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/subnet_topology.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tcp_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tcp_options.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tcp_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tcp_options.go index 4a4c5b45dc18..81bee22c1499 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tcp_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tcp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_cluster_network_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_cluster_network_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_cluster_network_request_response.go index cf26b53f7221..ea773483906e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -78,7 +82,8 @@ type TerminateClusterNetworkResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_pool_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_pool_request_response.go index 1b38ef96e0e2..72b1965fcc82 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_instance_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_request_response.go index fcb9b430f9c9..a418216a83ac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. @@ -26,10 +30,6 @@ type TerminateInstanceRequest struct { // When set to `true`, the boot volume is preserved. The default value is `false`. PreserveBootVolume *bool `mandatory:"false" contributesTo:"query" name:"preserveBootVolume"` - // Specifies whether to delete or preserve the data volumes when terminating an instance. - // When set to `true`, the boot volume is preserved. The default value is `false`. - PreserveDataVolumes *bool `mandatory:"false" contributesTo:"query" name:"preserveDataVolumes"` - // 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/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_preemption_action.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_preemption_action.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_preemption_action.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_preemption_action.go index 12370e05fb84..8f1033157b84 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/terminate_preemption_action.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/terminate_preemption_action.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology.go index f05bbfe7c1c3..7a61850c513f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -125,12 +127,21 @@ const ( TopologyTypeNetworking TopologyTypeEnum = "NETWORKING" TopologyTypeVcn TopologyTypeEnum = "VCN" TopologyTypeSubnet TopologyTypeEnum = "SUBNET" + TopologyTypePath TopologyTypeEnum = "PATH" ) var mappingTopologyTypeEnum = map[string]TopologyTypeEnum{ "NETWORKING": TopologyTypeNetworking, "VCN": TopologyTypeVcn, "SUBNET": TopologyTypeSubnet, + "PATH": TopologyTypePath, +} + +var mappingTopologyTypeEnumLowerCase = map[string]TopologyTypeEnum{ + "networking": TopologyTypeNetworking, + "vcn": TopologyTypeVcn, + "subnet": TopologyTypeSubnet, + "path": TopologyTypePath, } // GetTopologyTypeEnumValues Enumerates the set of values for TopologyTypeEnum @@ -148,5 +159,12 @@ func GetTopologyTypeEnumStringValues() []string { "NETWORKING", "VCN", "SUBNET", + "PATH", } } + +// GetMappingTopologyTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingTopologyTypeEnum(val string) (TopologyTypeEnum, bool) { + enum, ok := mappingTopologyTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_associated_with_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_entity_relationship.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_associated_with_entity_relationship.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_entity_relationship.go index bc878d5f23ea..a391cfa441d2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_associated_with_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_associated_with_relationship_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_relationship_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_associated_with_relationship_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_relationship_details.go index 1347c6fc0c79..7d25964ec325 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_associated_with_relationship_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_relationship_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_contains_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_contains_entity_relationship.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_contains_entity_relationship.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_contains_entity_relationship.go index faf896c6be3a..781e9a4dd582 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_contains_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_contains_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_entity_relationship.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go index ef630fa1109e..e1bf458c78dd 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -123,6 +125,12 @@ var mappingTopologyEntityRelationshipTypeEnum = map[string]TopologyEntityRelatio "ROUTES_TO": TopologyEntityRelationshipTypeRoutesTo, } +var mappingTopologyEntityRelationshipTypeEnumLowerCase = map[string]TopologyEntityRelationshipTypeEnum{ + "contains": TopologyEntityRelationshipTypeContains, + "associated_with": TopologyEntityRelationshipTypeAssociatedWith, + "routes_to": TopologyEntityRelationshipTypeRoutesTo, +} + // GetTopologyEntityRelationshipTypeEnumValues Enumerates the set of values for TopologyEntityRelationshipTypeEnum func GetTopologyEntityRelationshipTypeEnumValues() []TopologyEntityRelationshipTypeEnum { values := make([]TopologyEntityRelationshipTypeEnum, 0) @@ -140,3 +148,9 @@ func GetTopologyEntityRelationshipTypeEnumStringValues() []string { "ROUTES_TO", } } + +// GetMappingTopologyEntityRelationshipTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingTopologyEntityRelationshipTypeEnum(val string) (TopologyEntityRelationshipTypeEnum, bool) { + enum, ok := mappingTopologyEntityRelationshipTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_routes_to_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_entity_relationship.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_routes_to_entity_relationship.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_entity_relationship.go index 354f999568c9..edde71c89d91 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_routes_to_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_routes_to_relationship_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_relationship_details.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_routes_to_relationship_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_relationship_details.go index 21f677072a01..8e107b676316 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/topology_routes_to_relationship_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_relationship_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -47,7 +49,7 @@ func (m TopologyRoutesToRelationshipDetails) String() string { func (m TopologyRoutesToRelationshipDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingTopologyRoutesToRelationshipDetailsRouteTypeEnum[string(m.RouteType)]; !ok && m.RouteType != "" { + if _, ok := GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum(string(m.RouteType)); !ok && m.RouteType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", m.RouteType, strings.Join(GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -70,6 +72,11 @@ var mappingTopologyRoutesToRelationshipDetailsRouteTypeEnum = map[string]Topolog "DYNAMIC": TopologyRoutesToRelationshipDetailsRouteTypeDynamic, } +var mappingTopologyRoutesToRelationshipDetailsRouteTypeEnumLowerCase = map[string]TopologyRoutesToRelationshipDetailsRouteTypeEnum{ + "static": TopologyRoutesToRelationshipDetailsRouteTypeStatic, + "dynamic": TopologyRoutesToRelationshipDetailsRouteTypeDynamic, +} + // GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues Enumerates the set of values for TopologyRoutesToRelationshipDetailsRouteTypeEnum func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues() []TopologyRoutesToRelationshipDetailsRouteTypeEnum { values := make([]TopologyRoutesToRelationshipDetailsRouteTypeEnum, 0) @@ -86,3 +93,9 @@ func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues() []string "DYNAMIC", } } + +// GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum(val string) (TopologyRoutesToRelationshipDetailsRouteTypeEnum, bool) { + enum, ok := mappingTopologyRoutesToRelationshipDetailsRouteTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_config.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_config.go index e4842df8d8f6..b8b437074bc2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_cpe_device_config.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_cpe_device_config.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_cpe_device_config.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_cpe_device_config.go index 99be841a47c7..2aba79e24576 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_cpe_device_config.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_cpe_device_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_phase_one_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_one_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_phase_one_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_one_details.go index 5607974b4c78..7f9401dea748 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_phase_one_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_one_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_phase_two_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_two_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_phase_two_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_two_details.go index 393afc876e09..7e48affd69df 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_phase_two_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_two_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_route_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_route_summary.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_route_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_route_summary.go index 6b8ab5a48495..f2f95cedfbe7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_route_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_route_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -48,7 +50,7 @@ func (m TunnelRouteSummary) String() string { func (m TunnelRouteSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingTunnelRouteSummaryAdvertiserEnum[string(m.Advertiser)]; !ok && m.Advertiser != "" { + if _, ok := GetMappingTunnelRouteSummaryAdvertiserEnum(string(m.Advertiser)); !ok && m.Advertiser != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Advertiser: %s. Supported values are: %s.", m.Advertiser, strings.Join(GetTunnelRouteSummaryAdvertiserEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -71,6 +73,11 @@ var mappingTunnelRouteSummaryAdvertiserEnum = map[string]TunnelRouteSummaryAdver "ORACLE": TunnelRouteSummaryAdvertiserOracle, } +var mappingTunnelRouteSummaryAdvertiserEnumLowerCase = map[string]TunnelRouteSummaryAdvertiserEnum{ + "customer": TunnelRouteSummaryAdvertiserCustomer, + "oracle": TunnelRouteSummaryAdvertiserOracle, +} + // GetTunnelRouteSummaryAdvertiserEnumValues Enumerates the set of values for TunnelRouteSummaryAdvertiserEnum func GetTunnelRouteSummaryAdvertiserEnumValues() []TunnelRouteSummaryAdvertiserEnum { values := make([]TunnelRouteSummaryAdvertiserEnum, 0) @@ -87,3 +94,9 @@ func GetTunnelRouteSummaryAdvertiserEnumStringValues() []string { "ORACLE", } } + +// GetMappingTunnelRouteSummaryAdvertiserEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingTunnelRouteSummaryAdvertiserEnum(val string) (TunnelRouteSummaryAdvertiserEnum, bool) { + enum, ok := mappingTunnelRouteSummaryAdvertiserEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_security_association_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_security_association_summary.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_security_association_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_security_association_summary.go index bf1ad65536bf..41833fc6acb1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_security_association_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_security_association_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -48,7 +50,7 @@ func (m TunnelSecurityAssociationSummary) String() string { func (m TunnelSecurityAssociationSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum[string(m.TunnelSaStatus)]; !ok && m.TunnelSaStatus != "" { + if _, ok := GetMappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum(string(m.TunnelSaStatus)); !ok && m.TunnelSaStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TunnelSaStatus: %s. Supported values are: %s.", m.TunnelSaStatus, strings.Join(GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -79,6 +81,15 @@ var mappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum = map[string]Tunne "UNKNOWN": TunnelSecurityAssociationSummaryTunnelSaStatusUnknown, } +var mappingTunnelSecurityAssociationSummaryTunnelSaStatusEnumLowerCase = map[string]TunnelSecurityAssociationSummaryTunnelSaStatusEnum{ + "initiating": TunnelSecurityAssociationSummaryTunnelSaStatusInitiating, + "listening": TunnelSecurityAssociationSummaryTunnelSaStatusListening, + "up": TunnelSecurityAssociationSummaryTunnelSaStatusUp, + "down": TunnelSecurityAssociationSummaryTunnelSaStatusDown, + "error": TunnelSecurityAssociationSummaryTunnelSaStatusError, + "unknown": TunnelSecurityAssociationSummaryTunnelSaStatusUnknown, +} + // GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumValues Enumerates the set of values for TunnelSecurityAssociationSummaryTunnelSaStatusEnum func GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumValues() []TunnelSecurityAssociationSummaryTunnelSaStatusEnum { values := make([]TunnelSecurityAssociationSummaryTunnelSaStatusEnum, 0) @@ -99,3 +110,9 @@ func GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues() []strin "UNKNOWN", } } + +// GetMappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum(val string) (TunnelSecurityAssociationSummaryTunnelSaStatusEnum, bool) { + enum, ok := mappingTunnelSecurityAssociationSummaryTunnelSaStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_status.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_status.go index 8f2fa82c49f9..65ba7c1a66c1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/tunnel_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/tunnel_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -48,7 +50,7 @@ func (m TunnelStatus) String() string { func (m TunnelStatus) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingTunnelStatusLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingTunnelStatusLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTunnelStatusLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -75,6 +77,13 @@ var mappingTunnelStatusLifecycleStateEnum = map[string]TunnelStatusLifecycleStat "PARTIAL_UP": TunnelStatusLifecycleStatePartialUp, } +var mappingTunnelStatusLifecycleStateEnumLowerCase = map[string]TunnelStatusLifecycleStateEnum{ + "up": TunnelStatusLifecycleStateUp, + "down": TunnelStatusLifecycleStateDown, + "down_for_maintenance": TunnelStatusLifecycleStateDownForMaintenance, + "partial_up": TunnelStatusLifecycleStatePartialUp, +} + // GetTunnelStatusLifecycleStateEnumValues Enumerates the set of values for TunnelStatusLifecycleStateEnum func GetTunnelStatusLifecycleStateEnumValues() []TunnelStatusLifecycleStateEnum { values := make([]TunnelStatusLifecycleStateEnum, 0) @@ -93,3 +102,9 @@ func GetTunnelStatusLifecycleStateEnumStringValues() []string { "PARTIAL_UP", } } + +// GetMappingTunnelStatusLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingTunnelStatusLifecycleStateEnum(val string) (TunnelStatusLifecycleStateEnum, bool) { + enum, ok := mappingTunnelStatusLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/udp_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/udp_options.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/udp_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/udp_options.go index 27f4960aee94..382a013210e4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/udp_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/udp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_details.go index 70391ee42c19..e236a6d76e92 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_request_response.go index c3abcb9d3dee..510cdb900e69 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go index c91f3866845b..941b152f33af 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -42,11 +44,12 @@ type UpdateBootVolumeDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Elastic Performance (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeelasticperformance.htm) for more information. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. - // For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB. + // * `30`-`120`: Represents the Ultra High Performance option. + // For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"` // Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_kms_key_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_details.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_kms_key_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_details.go index b058f9fcd03b..8041c35e417e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_kms_key_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,21 +9,23 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // UpdateBootVolumeKmsKeyDetails The representation of UpdateBootVolumeKmsKeyDetails type UpdateBootVolumeKmsKeyDetails struct { - // The OCID of the new Key Management key to assign to protect the specified volume. - // This key has to be a valid Key Management key, and policies must exist to allow the user and the Block Volume service to access this key. + // The OCID of the new Vault service key to assign to protect the specified volume. + // This key has to be a valid Vault service key, and policies must exist to allow the user and the Block Volume service to access this key. // If you specify the same OCID as the previous key's OCID, the Block Volume service will use it to regenerate a volume encryption key. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_kms_key_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_request_response.go index 183876d56f2f..c38edfefaa2f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,18 +6,22 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"` - // Updates the Key Management master encryption key assigned to the specified boot volume. + // Updates the Vault service master encryption key assigned to the specified boot volume. UpdateBootVolumeKmsKeyDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_request_response.go index 45c5b51b4f2e..c6a76032c032 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_byoip_range_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_byoip_range_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_details.go index de95bc6a7e85..543b14c295d8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_byoip_range_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_byoip_range_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_request_response.go index eb04c2797616..3dbf6576212d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_capture_filter_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_capture_filter_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go index 74ae9be0fbfc..d5a65cada768 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_capture_filter_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_capture_filter_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_capture_filter_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_request_response.go index 08cdaee31ac8..73a2fffbd2ec 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_capture_filter_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateCaptureFilterRequest wrapper for the UpdateCaptureFilter operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilterRequest. type UpdateCaptureFilterRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // Details object for updating a VTAP. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_details.go index 1df0a2ac9583..d4ed9c52a310 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_instance_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_instance_pool_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_instance_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_instance_pool_details.go index 829bb9a488b8..b5cd51e34680 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_instance_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_request_response.go index 412fe455b398..b5b8a1a224c1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_capacity_reservation_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_capacity_reservation_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_details.go index 5b02a30cd9f0..62d772fbdd84 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_capacity_reservation_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_request_response.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_capacity_reservation_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_request_response.go index 9a27aacf4a46..545f3f96cda3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateComputeCapacityReservationRequest wrapper for the UpdateComputeCapacityReservation operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservationRequest. type UpdateComputeCapacityReservationRequest struct { // The OCID of the compute capacity reservation. @@ -81,7 +85,8 @@ type UpdateComputeCapacityReservationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_cluster_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_cluster_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_details.go index a533d1e00944..698a812b073d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_cluster_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_cluster_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_request_response.go index d8a8c19d5dfe..33aaef77ad62 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateComputeClusterRequest wrapper for the UpdateComputeCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCluster.go.html to see an example of how to use UpdateComputeClusterRequest. type UpdateComputeClusterRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_image_capability_schema_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_image_capability_schema_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_details.go index 48a08169029c..4d7e4353831d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_image_capability_schema_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_image_capability_schema_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_request_response.go index 25f014454f1c..418d1b76fdfa 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_console_history_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_console_history_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_console_history_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_console_history_details.go index 850ed959fc0b..22a0fb80a7fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_console_history_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_console_history_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_console_history_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_console_history_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_console_history_request_response.go index 9dd7e405a9b8..00df371a52a0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cpe_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cpe_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cpe_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cpe_details.go index c107c69db562..b7c4c475d417 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cpe_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cpe_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cpe_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cpe_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cpe_request_response.go index 034bcb416a33..360dbd3141a4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Details object for updating a CPE. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_details.go index 31c381bf81cf..22ce21c0e86b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_group_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_group_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_details.go index de56214d7488..027c71559887 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_group_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_request_response.go index a57f4c6c1439..7767db9d4cae 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // Update CrossConnectGroup fields diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_request_response.go index 7f6051a00ac3..1b1ae1da8a33 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Update CrossConnect fields. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dedicated_vm_host_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dedicated_vm_host_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_details.go index 065ce1ccdaf3..1518117317c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dedicated_vm_host_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dedicated_vm_host_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_request_response.go index 0de3337c1f4f..2ee3e01026d0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dhcp_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dhcp_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go index 310eee8abae6..9d196406842e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dhcp_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -53,7 +55,7 @@ func (m UpdateDhcpDetails) String() string { func (m UpdateDhcpDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateDhcpDetailsDomainNameTypeEnum[string(m.DomainNameType)]; !ok && m.DomainNameType != "" { + if _, ok := GetMappingUpdateDhcpDetailsDomainNameTypeEnum(string(m.DomainNameType)); !ok && m.DomainNameType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DomainNameType: %s. Supported values are: %s.", m.DomainNameType, strings.Join(GetUpdateDhcpDetailsDomainNameTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -117,6 +119,12 @@ var mappingUpdateDhcpDetailsDomainNameTypeEnum = map[string]UpdateDhcpDetailsDom "CUSTOM_DOMAIN": UpdateDhcpDetailsDomainNameTypeCustomDomain, } +var mappingUpdateDhcpDetailsDomainNameTypeEnumLowerCase = map[string]UpdateDhcpDetailsDomainNameTypeEnum{ + "subnet_domain": UpdateDhcpDetailsDomainNameTypeSubnetDomain, + "vcn_domain": UpdateDhcpDetailsDomainNameTypeVcnDomain, + "custom_domain": UpdateDhcpDetailsDomainNameTypeCustomDomain, +} + // GetUpdateDhcpDetailsDomainNameTypeEnumValues Enumerates the set of values for UpdateDhcpDetailsDomainNameTypeEnum func GetUpdateDhcpDetailsDomainNameTypeEnumValues() []UpdateDhcpDetailsDomainNameTypeEnum { values := make([]UpdateDhcpDetailsDomainNameTypeEnum, 0) @@ -134,3 +142,9 @@ func GetUpdateDhcpDetailsDomainNameTypeEnumStringValues() []string { "CUSTOM_DOMAIN", } } + +// GetMappingUpdateDhcpDetailsDomainNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateDhcpDetailsDomainNameTypeEnum(val string) (UpdateDhcpDetailsDomainNameTypeEnum, bool) { + enum, ok := mappingUpdateDhcpDetailsDomainNameTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_options_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dhcp_options_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_options_request_response.go index 33c606a36528..d250bb3587a4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // Request object for updating a set of DHCP options. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_attachment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_details.go index 2ccc9c6e001c..c43b27b67cf2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_attachment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -27,7 +29,7 @@ type UpdateDrgAttachmentDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. // The DRG route table manages traffic inside the DRG. // You can't remove a DRG route table from a DRG attachment, but you can reassign which // DRG route table it uses. @@ -50,7 +52,7 @@ type UpdateDrgAttachmentDetails struct { // If this value is null, no routes are advertised through this attachment. ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"` - // This is the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. + // This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. // For information about why you would associate a route table with a DRG attachment, see: // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_request_response.go index 45e6b4509eaa..f2c3c15c7526 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_details.go index 4001962ed63e..026c1f731336 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_request_response.go index a0def6f424ef..a1a13c420ec7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Details object for updating a DRG. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_details.go index f50ad413f72f..4062dab473eb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_request_response.go index 0c9aae5a4a54..b26c2b8939ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateDrgRouteDistributionRequest wrapper for the UpdateDrgRouteDistribution operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistributionRequest. type UpdateDrgRouteDistributionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statement_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statement_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go index 464180c20a0c..8fd77c0d224f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statement_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statements_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statements_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_details.go index 08e486e90d63..8894b06b6866 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statements_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statements_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_request_response.go index 12656d1bb29a..9f11f9942ed5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateDrgRouteDistributionStatementsRequest wrapper for the UpdateDrgRouteDistributionStatements operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatementsRequest. type UpdateDrgRouteDistributionStatementsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rule_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rule_details.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rule_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rule_details.go index d8614de6f993..3fb8efc730e2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rule_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -31,7 +33,7 @@ type UpdateDrgRouteRuleDetails struct { // or `2001:0db8:0123:45::/56`. Destination *string `mandatory:"false" json:"destination"` - // Type of destination for the rule. Required if `direction` = `EGRESS`. + // Type of destination for the rule. // Allowed values: // * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. DestinationType UpdateDrgRouteRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` @@ -51,7 +53,7 @@ func (m UpdateDrgRouteRuleDetails) String() string { func (m UpdateDrgRouteRuleDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateDrgRouteRuleDetailsDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -72,6 +74,10 @@ var mappingUpdateDrgRouteRuleDetailsDestinationTypeEnum = map[string]UpdateDrgRo "CIDR_BLOCK": UpdateDrgRouteRuleDetailsDestinationTypeCidrBlock, } +var mappingUpdateDrgRouteRuleDetailsDestinationTypeEnumLowerCase = map[string]UpdateDrgRouteRuleDetailsDestinationTypeEnum{ + "cidr_block": UpdateDrgRouteRuleDetailsDestinationTypeCidrBlock, +} + // GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues Enumerates the set of values for UpdateDrgRouteRuleDetailsDestinationTypeEnum func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues() []UpdateDrgRouteRuleDetailsDestinationTypeEnum { values := make([]UpdateDrgRouteRuleDetailsDestinationTypeEnum, 0) @@ -87,3 +93,9 @@ func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string { "CIDR_BLOCK", } } + +// GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum(val string) (UpdateDrgRouteRuleDetailsDestinationTypeEnum, bool) { + enum, ok := mappingUpdateDrgRouteRuleDetailsDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rules_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_details.go index 70f50f8b1c8e..d7ca4b907e1b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rules_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_request_response.go index 701ae5b8deea..af7297e74c21 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateDrgRouteRulesRequest wrapper for the UpdateDrgRouteRules operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRulesRequest. type UpdateDrgRouteRulesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_table_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_table_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_details.go index 9583d6686efb..387f39b6193d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_table_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_request_response.go index 3e3db873575d..da2efca6d787 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateDrgRouteTableRequest wrapper for the UpdateDrgRouteTable operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTableRequest. type UpdateDrgRouteTableRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_request_response.go index 8910bbec6f78..54b6bd7ed740 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Details object for updating an IPSec connection. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_tunnel_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_tunnel_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_request_response.go index e05aff12e496..6c5660e6f4b1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_tunnel_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go index e8fb9ac579dd..c24e56ac5961 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_image_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_image_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_image_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_image_details.go index 5254b3ef3371..38cdd190499f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_image_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_image_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_image_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_image_request_response.go index eaa8fca22958..7a56d3c3ea59 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_agent_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_agent_config_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_agent_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_agent_config_details.go index d00c7e6e70bf..40ea5c4c7527 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_agent_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_agent_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_availability_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_availability_config_details.go similarity index 79% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_availability_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_availability_config_details.go index bc46ba0cd190..5f75b4a0c308 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_availability_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_availability_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -45,7 +47,7 @@ func (m UpdateInstanceAvailabilityConfigDetails) String() string { func (m UpdateInstanceAvailabilityConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum[string(m.RecoveryAction)]; !ok && m.RecoveryAction != "" { + if _, ok := GetMappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum(string(m.RecoveryAction)); !ok && m.RecoveryAction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -68,6 +70,11 @@ var mappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum = map[strin "STOP_INSTANCE": UpdateInstanceAvailabilityConfigDetailsRecoveryActionStopInstance, } +var mappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumLowerCase = map[string]UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum{ + "restore_instance": UpdateInstanceAvailabilityConfigDetailsRecoveryActionRestoreInstance, + "stop_instance": UpdateInstanceAvailabilityConfigDetailsRecoveryActionStopInstance, +} + // GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumValues Enumerates the set of values for UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum func GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumValues() []UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum { values := make([]UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum, 0) @@ -84,3 +91,9 @@ func GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues() "STOP_INSTANCE", } } + +// GetMappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum(val string) (UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum, bool) { + enum, ok := mappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_configuration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_configuration_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_details.go index fe71d69269e2..284c6cb6a933 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_configuration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_configuration_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_request_response.go index 3fc3a25db0b5..a85b97278f04 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_console_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_console_connection_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_details.go index 023d1121375a..d918d46e239d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_console_connection_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_console_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_request_response.go index 2baf2c8f302e..849d92b14f95 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_details.go similarity index 59% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_details.go index d1511dd5545b..caa1d5766414 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -81,10 +83,13 @@ type UpdateInstanceDetails struct { ShapeConfig *UpdateInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"` - // The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported. - // * `LIVE_MIGRATE` - Run maintenance using a live migration. - // * `REBOOT` - Run maintenance using a reboot. - PreferredMaintenanceAction UpdateInstanceDetailsPreferredMaintenanceActionEnum `mandatory:"false" json:"preferredMaintenanceAction,omitempty"` + // The parameter acts as a fail-safe to prevent unwanted downtime when updating a running instance. + // The default is ALLOW_DOWNTIME. + // * `ALLOW_DOWNTIME` - Compute might reboot the instance while updating the instance if a reboot is required. + // * `AVOID_DOWNTIME` - If the instance is in running state, Compute tries to update the instance without rebooting + // it. If the instance requires a reboot to be updated, an error is returned and the instance + // is not updated. If the instance is stopped, it is updated and remains in the stopped state. + UpdateOperationConstraint UpdateInstanceDetailsUpdateOperationConstraintEnum `mandatory:"false" json:"updateOperationConstraint,omitempty"` InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"` @@ -102,6 +107,20 @@ type UpdateInstanceDetails struct { LaunchOptions *UpdateLaunchOptions `mandatory:"false" json:"launchOptions"` AvailabilityConfig *UpdateInstanceAvailabilityConfigDetails `mandatory:"false" json:"availabilityConfig"` + + // For a VM instance, resets the scheduled time that the instance will be reboot migrated for + // infrastructure maintenance, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // If the instance hasn't been rebooted after this date, Oracle reboots the instance within 24 hours of the time + // and date that maintenance is due. + // To get the maximum possible date that a maintenance reboot can be extended, + // use GetInstanceMaintenanceReboot. + // Regardless of how the instance is stopped, this flag is reset to empty as soon as the instance reaches the + // Stopped state. + // To reboot migrate a bare metal instance, use the InstanceAction operation. + // For more information, see + // Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). + // Example: `2018-05-25T21:10:29.600Z` + TimeMaintenanceRebootDue *common.SDKTime `mandatory:"false" json:"timeMaintenanceRebootDue"` } func (m UpdateInstanceDetails) String() string { @@ -114,8 +133,8 @@ func (m UpdateInstanceDetails) String() string { func (m UpdateInstanceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateInstanceDetailsPreferredMaintenanceActionEnum[string(m.PreferredMaintenanceAction)]; !ok && m.PreferredMaintenanceAction != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PreferredMaintenanceAction: %s. Supported values are: %s.", m.PreferredMaintenanceAction, strings.Join(GetUpdateInstanceDetailsPreferredMaintenanceActionEnumStringValues(), ","))) + if _, ok := GetMappingUpdateInstanceDetailsUpdateOperationConstraintEnum(string(m.UpdateOperationConstraint)); !ok && m.UpdateOperationConstraint != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateOperationConstraint: %s. Supported values are: %s.", m.UpdateOperationConstraint, strings.Join(GetUpdateInstanceDetailsUpdateOperationConstraintEnumStringValues(), ","))) } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -123,33 +142,44 @@ func (m UpdateInstanceDetails) ValidateEnumValue() (bool, error) { return false, nil } -// UpdateInstanceDetailsPreferredMaintenanceActionEnum Enum with underlying type: string -type UpdateInstanceDetailsPreferredMaintenanceActionEnum string +// UpdateInstanceDetailsUpdateOperationConstraintEnum Enum with underlying type: string +type UpdateInstanceDetailsUpdateOperationConstraintEnum string -// Set of constants representing the allowable values for UpdateInstanceDetailsPreferredMaintenanceActionEnum +// Set of constants representing the allowable values for UpdateInstanceDetailsUpdateOperationConstraintEnum const ( - UpdateInstanceDetailsPreferredMaintenanceActionLiveMigrate UpdateInstanceDetailsPreferredMaintenanceActionEnum = "LIVE_MIGRATE" - UpdateInstanceDetailsPreferredMaintenanceActionReboot UpdateInstanceDetailsPreferredMaintenanceActionEnum = "REBOOT" + UpdateInstanceDetailsUpdateOperationConstraintAllowDowntime UpdateInstanceDetailsUpdateOperationConstraintEnum = "ALLOW_DOWNTIME" + UpdateInstanceDetailsUpdateOperationConstraintAvoidDowntime UpdateInstanceDetailsUpdateOperationConstraintEnum = "AVOID_DOWNTIME" ) -var mappingUpdateInstanceDetailsPreferredMaintenanceActionEnum = map[string]UpdateInstanceDetailsPreferredMaintenanceActionEnum{ - "LIVE_MIGRATE": UpdateInstanceDetailsPreferredMaintenanceActionLiveMigrate, - "REBOOT": UpdateInstanceDetailsPreferredMaintenanceActionReboot, +var mappingUpdateInstanceDetailsUpdateOperationConstraintEnum = map[string]UpdateInstanceDetailsUpdateOperationConstraintEnum{ + "ALLOW_DOWNTIME": UpdateInstanceDetailsUpdateOperationConstraintAllowDowntime, + "AVOID_DOWNTIME": UpdateInstanceDetailsUpdateOperationConstraintAvoidDowntime, +} + +var mappingUpdateInstanceDetailsUpdateOperationConstraintEnumLowerCase = map[string]UpdateInstanceDetailsUpdateOperationConstraintEnum{ + "allow_downtime": UpdateInstanceDetailsUpdateOperationConstraintAllowDowntime, + "avoid_downtime": UpdateInstanceDetailsUpdateOperationConstraintAvoidDowntime, } -// GetUpdateInstanceDetailsPreferredMaintenanceActionEnumValues Enumerates the set of values for UpdateInstanceDetailsPreferredMaintenanceActionEnum -func GetUpdateInstanceDetailsPreferredMaintenanceActionEnumValues() []UpdateInstanceDetailsPreferredMaintenanceActionEnum { - values := make([]UpdateInstanceDetailsPreferredMaintenanceActionEnum, 0) - for _, v := range mappingUpdateInstanceDetailsPreferredMaintenanceActionEnum { +// GetUpdateInstanceDetailsUpdateOperationConstraintEnumValues Enumerates the set of values for UpdateInstanceDetailsUpdateOperationConstraintEnum +func GetUpdateInstanceDetailsUpdateOperationConstraintEnumValues() []UpdateInstanceDetailsUpdateOperationConstraintEnum { + values := make([]UpdateInstanceDetailsUpdateOperationConstraintEnum, 0) + for _, v := range mappingUpdateInstanceDetailsUpdateOperationConstraintEnum { values = append(values, v) } return values } -// GetUpdateInstanceDetailsPreferredMaintenanceActionEnumStringValues Enumerates the set of values in String for UpdateInstanceDetailsPreferredMaintenanceActionEnum -func GetUpdateInstanceDetailsPreferredMaintenanceActionEnumStringValues() []string { +// GetUpdateInstanceDetailsUpdateOperationConstraintEnumStringValues Enumerates the set of values in String for UpdateInstanceDetailsUpdateOperationConstraintEnum +func GetUpdateInstanceDetailsUpdateOperationConstraintEnumStringValues() []string { return []string{ - "LIVE_MIGRATE", - "REBOOT", + "ALLOW_DOWNTIME", + "AVOID_DOWNTIME", } } + +// GetMappingUpdateInstanceDetailsUpdateOperationConstraintEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateInstanceDetailsUpdateOperationConstraintEnum(val string) (UpdateInstanceDetailsUpdateOperationConstraintEnum, bool) { + enum, ok := mappingUpdateInstanceDetailsUpdateOperationConstraintEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_details.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_details.go index 8f5a6ae635fe..851735d2e7c4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -49,14 +51,6 @@ type UpdateInstancePoolDetails struct { // The number of instances that should be in the instance pool. Size *int `mandatory:"false" json:"size"` - - // A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format. - // The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format - InstanceDisplayNameFormatter *string `mandatory:"false" json:"instanceDisplayNameFormatter"` - - // A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. - // The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format - InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"` } func (m UpdateInstancePoolDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_placement_configuration_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_placement_configuration_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go index dff156d7d10b..0a78e62f91fb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_placement_configuration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -26,7 +28,8 @@ type UpdateInstancePoolPlacementConfigurationDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID of the primary subnet to place instances. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place + // instances. PrimarySubnetId *string `mandatory:"true" json:"primarySubnetId"` // The fault domains to place instances. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_request_response.go index 8be156c5de26..93c9f882f1e9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_request_response.go index fbe564cf6fa1..035e12955325 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. @@ -94,7 +98,8 @@ type UpdateInstanceResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_shape_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_shape_config_details.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_shape_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_shape_config_details.go index c1a66ec702cf..323fed37d724 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_instance_shape_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -41,6 +43,9 @@ type UpdateInstanceShapeConfigDetails struct { // - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU. // - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance. BaselineOcpuUtilization UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"` + + // The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. + Nvmes *int `mandatory:"false" json:"nvmes"` } func (m UpdateInstanceShapeConfigDetails) String() string { @@ -53,7 +58,7 @@ func (m UpdateInstanceShapeConfigDetails) String() string { func (m UpdateInstanceShapeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum[string(m.BaselineOcpuUtilization)]; !ok && m.BaselineOcpuUtilization != "" { + if _, ok := GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -78,6 +83,12 @@ var mappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = map[str "BASELINE_1_1": UpdateInstanceShapeConfigDetailsBaselineOcpuUtilization1, } +var mappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase = map[string]UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum{ + "baseline_1_8": UpdateInstanceShapeConfigDetailsBaselineOcpuUtilization8, + "baseline_1_2": UpdateInstanceShapeConfigDetailsBaselineOcpuUtilization2, + "baseline_1_1": UpdateInstanceShapeConfigDetailsBaselineOcpuUtilization1, +} + // GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues Enumerates the set of values for UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum func GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum { values := make([]UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, 0) @@ -95,3 +106,9 @@ func GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues( "BASELINE_1_1", } } + +// GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool) { + enum, ok := mappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internet_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_details.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internet_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_details.go index 14e50b987db1..1e30fad92294 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internet_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -38,6 +40,9 @@ type UpdateInternetGatewayDetails struct { // Whether the gateway is enabled. IsEnabled *bool `mandatory:"false" json:"isEnabled"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m UpdateInternetGatewayDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internet_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_request_response.go index e3f41634d7f8..365469736137 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // Details for updating the internet gateway. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_details.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_details.go index 15e40c65d9bb..fb9977856939 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -69,7 +71,7 @@ func (m UpdateIpSecConnectionDetails) String() string { func (m UpdateIpSecConnectionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum[string(m.CpeLocalIdentifierType)]; !ok && m.CpeLocalIdentifierType != "" { + if _, ok := GetMappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum(string(m.CpeLocalIdentifierType)); !ok && m.CpeLocalIdentifierType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CpeLocalIdentifierType: %s. Supported values are: %s.", m.CpeLocalIdentifierType, strings.Join(GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -92,6 +94,11 @@ var mappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = map[string]U "HOSTNAME": UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeHostname, } +var mappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumLowerCase = map[string]UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum{ + "ip_address": UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeIpAddress, + "hostname": UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeHostname, +} + // GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues Enumerates the set of values for UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum func GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues() []UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum { values := make([]UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum, 0) @@ -108,3 +115,9 @@ func GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues() []s "HOSTNAME", } } + +// GetMappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum(val string) (UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum, bool) { + enum, ok := mappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_tunnel_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_details.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_tunnel_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_details.go index 4d7c952a9922..7bfbdb884656 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_tunnel_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -64,16 +66,16 @@ func (m UpdateIpSecConnectionTunnelDetails) String() string { func (m UpdateIpSecConnectionTunnelDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateIpSecConnectionTunnelDetailsRoutingEnum[string(m.Routing)]; !ok && m.Routing != "" { + if _, ok := GetMappingUpdateIpSecConnectionTunnelDetailsRoutingEnum(string(m.Routing)); !ok && m.Routing != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Routing: %s. Supported values are: %s.", m.Routing, strings.Join(GetUpdateIpSecConnectionTunnelDetailsRoutingEnumStringValues(), ","))) } - if _, ok := mappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum[string(m.IkeVersion)]; !ok && m.IkeVersion != "" { + if _, ok := GetMappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum(string(m.IkeVersion)); !ok && m.IkeVersion != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IkeVersion: %s. Supported values are: %s.", m.IkeVersion, strings.Join(GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues(), ","))) } - if _, ok := mappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum[string(m.OracleInitiation)]; !ok && m.OracleInitiation != "" { + if _, ok := GetMappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum(string(m.OracleInitiation)); !ok && m.OracleInitiation != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OracleInitiation: %s. Supported values are: %s.", m.OracleInitiation, strings.Join(GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues(), ","))) } - if _, ok := mappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum[string(m.NatTranslationEnabled)]; !ok && m.NatTranslationEnabled != "" { + if _, ok := GetMappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum(string(m.NatTranslationEnabled)); !ok && m.NatTranslationEnabled != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NatTranslationEnabled: %s. Supported values are: %s.", m.NatTranslationEnabled, strings.Join(GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -98,6 +100,12 @@ var mappingUpdateIpSecConnectionTunnelDetailsRoutingEnum = map[string]UpdateIpSe "POLICY": UpdateIpSecConnectionTunnelDetailsRoutingPolicy, } +var mappingUpdateIpSecConnectionTunnelDetailsRoutingEnumLowerCase = map[string]UpdateIpSecConnectionTunnelDetailsRoutingEnum{ + "bgp": UpdateIpSecConnectionTunnelDetailsRoutingBgp, + "static": UpdateIpSecConnectionTunnelDetailsRoutingStatic, + "policy": UpdateIpSecConnectionTunnelDetailsRoutingPolicy, +} + // GetUpdateIpSecConnectionTunnelDetailsRoutingEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsRoutingEnum func GetUpdateIpSecConnectionTunnelDetailsRoutingEnumValues() []UpdateIpSecConnectionTunnelDetailsRoutingEnum { values := make([]UpdateIpSecConnectionTunnelDetailsRoutingEnum, 0) @@ -116,6 +124,12 @@ func GetUpdateIpSecConnectionTunnelDetailsRoutingEnumStringValues() []string { } } +// GetMappingUpdateIpSecConnectionTunnelDetailsRoutingEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateIpSecConnectionTunnelDetailsRoutingEnum(val string) (UpdateIpSecConnectionTunnelDetailsRoutingEnum, bool) { + enum, ok := mappingUpdateIpSecConnectionTunnelDetailsRoutingEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // UpdateIpSecConnectionTunnelDetailsIkeVersionEnum Enum with underlying type: string type UpdateIpSecConnectionTunnelDetailsIkeVersionEnum string @@ -130,6 +144,11 @@ var mappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum = map[string]UpdateI "V2": UpdateIpSecConnectionTunnelDetailsIkeVersionV2, } +var mappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnumLowerCase = map[string]UpdateIpSecConnectionTunnelDetailsIkeVersionEnum{ + "v1": UpdateIpSecConnectionTunnelDetailsIkeVersionV1, + "v2": UpdateIpSecConnectionTunnelDetailsIkeVersionV2, +} + // GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsIkeVersionEnum func GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumValues() []UpdateIpSecConnectionTunnelDetailsIkeVersionEnum { values := make([]UpdateIpSecConnectionTunnelDetailsIkeVersionEnum, 0) @@ -147,6 +166,12 @@ func GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues() []string } } +// GetMappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum(val string) (UpdateIpSecConnectionTunnelDetailsIkeVersionEnum, bool) { + enum, ok := mappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum Enum with underlying type: string type UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum string @@ -161,6 +186,11 @@ var mappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum = map[string]U "RESPONDER_ONLY": UpdateIpSecConnectionTunnelDetailsOracleInitiationResponderOnly, } +var mappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumLowerCase = map[string]UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum{ + "initiator_or_responder": UpdateIpSecConnectionTunnelDetailsOracleInitiationInitiatorOrResponder, + "responder_only": UpdateIpSecConnectionTunnelDetailsOracleInitiationResponderOnly, +} + // GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum func GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumValues() []UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum { values := make([]UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum, 0) @@ -178,6 +208,12 @@ func GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues() []s } } +// GetMappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum(val string) (UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum, bool) { + enum, ok := mappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum Enum with underlying type: string type UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum string @@ -194,6 +230,12 @@ var mappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = map[str "AUTO": UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledAuto, } +var mappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumLowerCase = map[string]UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum{ + "enabled": UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnabled, + "disabled": UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledDisabled, + "auto": UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledAuto, +} + // GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum func GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues() []UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum { values := make([]UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum, 0) @@ -211,3 +253,9 @@ func GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues( "AUTO", } } + +// GetMappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum(val string) (UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum, bool) { + enum, ok := mappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_tunnel_shared_secret_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_shared_secret_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_tunnel_shared_secret_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_shared_secret_details.go index 81ce7dc6dc7d..029ccd647659 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_connection_tunnel_shared_secret_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_shared_secret_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_tunnel_bgp_session_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_bgp_session_details.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_tunnel_bgp_session_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_bgp_session_details.go index e6b1c821ed5f..26bbb06d2574 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_tunnel_bgp_session_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_bgp_session_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_tunnel_encryption_domain_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_encryption_domain_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_tunnel_encryption_domain_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_encryption_domain_details.go index ea1c2aa21442..00f6a21924b2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ip_sec_tunnel_encryption_domain_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_encryption_domain_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ipv6_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ipv6_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_details.go index 296a851d53f9..878a67d50492 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ipv6_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ipv6_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_request_response.go index 7cb8cda3811d..c4d5793345cc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_launch_options.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_launch_options.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_launch_options.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_launch_options.go index c6abfe2a4fae..df627245ce2f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_launch_options.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -69,10 +71,10 @@ func (m UpdateLaunchOptions) String() string { func (m UpdateLaunchOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateLaunchOptionsBootVolumeTypeEnum[string(m.BootVolumeType)]; !ok && m.BootVolumeType != "" { + if _, ok := GetMappingUpdateLaunchOptionsBootVolumeTypeEnum(string(m.BootVolumeType)); !ok && m.BootVolumeType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BootVolumeType: %s. Supported values are: %s.", m.BootVolumeType, strings.Join(GetUpdateLaunchOptionsBootVolumeTypeEnumStringValues(), ","))) } - if _, ok := mappingUpdateLaunchOptionsNetworkTypeEnum[string(m.NetworkType)]; !ok && m.NetworkType != "" { + if _, ok := GetMappingUpdateLaunchOptionsNetworkTypeEnum(string(m.NetworkType)); !ok && m.NetworkType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NetworkType: %s. Supported values are: %s.", m.NetworkType, strings.Join(GetUpdateLaunchOptionsNetworkTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -95,6 +97,11 @@ var mappingUpdateLaunchOptionsBootVolumeTypeEnum = map[string]UpdateLaunchOption "PARAVIRTUALIZED": UpdateLaunchOptionsBootVolumeTypeParavirtualized, } +var mappingUpdateLaunchOptionsBootVolumeTypeEnumLowerCase = map[string]UpdateLaunchOptionsBootVolumeTypeEnum{ + "iscsi": UpdateLaunchOptionsBootVolumeTypeIscsi, + "paravirtualized": UpdateLaunchOptionsBootVolumeTypeParavirtualized, +} + // GetUpdateLaunchOptionsBootVolumeTypeEnumValues Enumerates the set of values for UpdateLaunchOptionsBootVolumeTypeEnum func GetUpdateLaunchOptionsBootVolumeTypeEnumValues() []UpdateLaunchOptionsBootVolumeTypeEnum { values := make([]UpdateLaunchOptionsBootVolumeTypeEnum, 0) @@ -112,6 +119,12 @@ func GetUpdateLaunchOptionsBootVolumeTypeEnumStringValues() []string { } } +// GetMappingUpdateLaunchOptionsBootVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateLaunchOptionsBootVolumeTypeEnum(val string) (UpdateLaunchOptionsBootVolumeTypeEnum, bool) { + enum, ok := mappingUpdateLaunchOptionsBootVolumeTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // UpdateLaunchOptionsNetworkTypeEnum Enum with underlying type: string type UpdateLaunchOptionsNetworkTypeEnum string @@ -126,6 +139,11 @@ var mappingUpdateLaunchOptionsNetworkTypeEnum = map[string]UpdateLaunchOptionsNe "PARAVIRTUALIZED": UpdateLaunchOptionsNetworkTypeParavirtualized, } +var mappingUpdateLaunchOptionsNetworkTypeEnumLowerCase = map[string]UpdateLaunchOptionsNetworkTypeEnum{ + "vfio": UpdateLaunchOptionsNetworkTypeVfio, + "paravirtualized": UpdateLaunchOptionsNetworkTypeParavirtualized, +} + // GetUpdateLaunchOptionsNetworkTypeEnumValues Enumerates the set of values for UpdateLaunchOptionsNetworkTypeEnum func GetUpdateLaunchOptionsNetworkTypeEnumValues() []UpdateLaunchOptionsNetworkTypeEnum { values := make([]UpdateLaunchOptionsNetworkTypeEnum, 0) @@ -142,3 +160,9 @@ func GetUpdateLaunchOptionsNetworkTypeEnumStringValues() []string { "PARAVIRTUALIZED", } } + +// GetMappingUpdateLaunchOptionsNetworkTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateLaunchOptionsNetworkTypeEnum(val string) (UpdateLaunchOptionsNetworkTypeEnum, bool) { + enum, ok := mappingUpdateLaunchOptionsNetworkTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_details.go index 3eb2449e44bb..76ba95f5420f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_request_response.go index b35077f427f1..e88fffb9aa06 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Details object for updating a local peering gateway. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_macsec_key.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_macsec_key.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_macsec_key.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_macsec_key.go index bf6255625a64..c754ba5eef08 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_macsec_key.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_macsec_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_macsec_properties.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_macsec_properties.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go index c5ef47a257b2..60747648bddf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_macsec_properties.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -40,11 +42,11 @@ func (m UpdateMacsecProperties) String() string { // Not recommended for calling this function directly func (m UpdateMacsecProperties) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingMacsecStateEnum[string(m.State)]; !ok && m.State != "" { + if _, ok := GetMappingMacsecStateEnum(string(m.State)); !ok && m.State != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for State: %s. Supported values are: %s.", m.State, strings.Join(GetMacsecStateEnumStringValues(), ","))) } - if _, ok := mappingMacsecEncryptionCipherEnum[string(m.EncryptionCipher)]; !ok && m.EncryptionCipher != "" { + if _, ok := GetMappingMacsecEncryptionCipherEnum(string(m.EncryptionCipher)); !ok && m.EncryptionCipher != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionCipher: %s. Supported values are: %s.", m.EncryptionCipher, strings.Join(GetMacsecEncryptionCipherEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_nat_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_nat_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_details.go index 47a3f6c5048c..717e8b42763c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_nat_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_nat_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_request_response.go index c50e59766edc..c78428fb4f45 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_details.go index 463b45b8c708..c26a2dccb438 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_request_response.go index 019cae8b1e93..45954f704e08 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_security_rules_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_security_rules_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_details.go index 1c47830bd809..cff4fa5e2286 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_security_rules_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_security_rules_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_request_response.go index 471e50da2910..7faec365b7b8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the network security group. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_details.go index 254e8a4cad34..4c9e8b7acca3 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -38,13 +40,13 @@ type UpdatePrivateIpDetails struct { // The hostname for the private IP. Used for DNS. The value // is the hostname portion of the private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `bminstance-1` + // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the private IP to. The VNIC must diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_request_response.go index d1634e0ef95e..2ccc53fe9ab7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` // Private IP details. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_details.go index 65a8327986e6..7c4fc50dcf16 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_pool_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_pool_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_details.go index d40fec12849c..c30ddd47f177 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_pool_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_pool_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_request_response.go index 8f9c0af1fb0b..05c9bf9e3bd5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_request_response.go index 655491e2996f..a1dafee1e7b7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // Public IP details. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_remote_peering_connection_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_remote_peering_connection_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_details.go index 49a3d3771ab6..d89a0d137e80 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_remote_peering_connection_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_remote_peering_connection_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_request_response.go index 8832079e5e19..e99d6726da87 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Request to the update the peering connection to remote region diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_route_table_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_route_table_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_route_table_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_route_table_details.go index 25f72d34892d..64be65894e02 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_route_table_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -38,9 +40,6 @@ type UpdateRouteTableDetails struct { // The collection of rules used for routing destination IPs to network devices. RouteRules []RouteRule `mandatory:"false" json:"routeRules"` - - // Indicates whether or not ECMP is enabled on the route table. - IsEcmpEnabled *bool `mandatory:"false" json:"isEcmpEnabled"` } func (m UpdateRouteTableDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_route_table_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_route_table_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_route_table_request_response.go index 89a01e1f4a9b..14db83d641f6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // Details object for updating a route table. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_list_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_list_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_list_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_list_details.go index 64519cc7d369..53076131c3f0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_list_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_list_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_list_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_list_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_list_request_response.go index 30f8d62e8381..70b2f2ee88be 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // Updated details for the security list. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_rule_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_rule_details.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_rule_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_rule_details.go index df6e1fb733af..d4391c571378 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_security_rule_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_security_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -109,14 +111,14 @@ func (m UpdateSecurityRuleDetails) String() string { // Not recommended for calling this function directly func (m UpdateSecurityRuleDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateSecurityRuleDetailsDirectionEnum[string(m.Direction)]; !ok && m.Direction != "" { + if _, ok := GetMappingUpdateSecurityRuleDetailsDirectionEnum(string(m.Direction)); !ok && m.Direction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Direction: %s. Supported values are: %s.", m.Direction, strings.Join(GetUpdateSecurityRuleDetailsDirectionEnumStringValues(), ","))) } - if _, ok := mappingUpdateSecurityRuleDetailsDestinationTypeEnum[string(m.DestinationType)]; !ok && m.DestinationType != "" { + if _, ok := GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum(string(m.DestinationType)); !ok && m.DestinationType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues(), ","))) } - if _, ok := mappingUpdateSecurityRuleDetailsSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingUpdateSecurityRuleDetailsSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +143,12 @@ var mappingUpdateSecurityRuleDetailsDestinationTypeEnum = map[string]UpdateSecur "NETWORK_SECURITY_GROUP": UpdateSecurityRuleDetailsDestinationTypeNetworkSecurityGroup, } +var mappingUpdateSecurityRuleDetailsDestinationTypeEnumLowerCase = map[string]UpdateSecurityRuleDetailsDestinationTypeEnum{ + "cidr_block": UpdateSecurityRuleDetailsDestinationTypeCidrBlock, + "service_cidr_block": UpdateSecurityRuleDetailsDestinationTypeServiceCidrBlock, + "network_security_group": UpdateSecurityRuleDetailsDestinationTypeNetworkSecurityGroup, +} + // GetUpdateSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsDestinationTypeEnum func GetUpdateSecurityRuleDetailsDestinationTypeEnumValues() []UpdateSecurityRuleDetailsDestinationTypeEnum { values := make([]UpdateSecurityRuleDetailsDestinationTypeEnum, 0) @@ -159,6 +167,12 @@ func GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues() []string { } } +// GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum(val string) (UpdateSecurityRuleDetailsDestinationTypeEnum, bool) { + enum, ok := mappingUpdateSecurityRuleDetailsDestinationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // UpdateSecurityRuleDetailsDirectionEnum Enum with underlying type: string type UpdateSecurityRuleDetailsDirectionEnum string @@ -173,6 +187,11 @@ var mappingUpdateSecurityRuleDetailsDirectionEnum = map[string]UpdateSecurityRul "INGRESS": UpdateSecurityRuleDetailsDirectionIngress, } +var mappingUpdateSecurityRuleDetailsDirectionEnumLowerCase = map[string]UpdateSecurityRuleDetailsDirectionEnum{ + "egress": UpdateSecurityRuleDetailsDirectionEgress, + "ingress": UpdateSecurityRuleDetailsDirectionIngress, +} + // GetUpdateSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsDirectionEnum func GetUpdateSecurityRuleDetailsDirectionEnumValues() []UpdateSecurityRuleDetailsDirectionEnum { values := make([]UpdateSecurityRuleDetailsDirectionEnum, 0) @@ -190,6 +209,12 @@ func GetUpdateSecurityRuleDetailsDirectionEnumStringValues() []string { } } +// GetMappingUpdateSecurityRuleDetailsDirectionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateSecurityRuleDetailsDirectionEnum(val string) (UpdateSecurityRuleDetailsDirectionEnum, bool) { + enum, ok := mappingUpdateSecurityRuleDetailsDirectionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // UpdateSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string type UpdateSecurityRuleDetailsSourceTypeEnum string @@ -206,6 +231,12 @@ var mappingUpdateSecurityRuleDetailsSourceTypeEnum = map[string]UpdateSecurityRu "NETWORK_SECURITY_GROUP": UpdateSecurityRuleDetailsSourceTypeNetworkSecurityGroup, } +var mappingUpdateSecurityRuleDetailsSourceTypeEnumLowerCase = map[string]UpdateSecurityRuleDetailsSourceTypeEnum{ + "cidr_block": UpdateSecurityRuleDetailsSourceTypeCidrBlock, + "service_cidr_block": UpdateSecurityRuleDetailsSourceTypeServiceCidrBlock, + "network_security_group": UpdateSecurityRuleDetailsSourceTypeNetworkSecurityGroup, +} + // GetUpdateSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsSourceTypeEnum func GetUpdateSecurityRuleDetailsSourceTypeEnumValues() []UpdateSecurityRuleDetailsSourceTypeEnum { values := make([]UpdateSecurityRuleDetailsSourceTypeEnum, 0) @@ -223,3 +254,9 @@ func GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues() []string { "NETWORK_SECURITY_GROUP", } } + +// GetMappingUpdateSecurityRuleDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateSecurityRuleDetailsSourceTypeEnum(val string) (UpdateSecurityRuleDetailsSourceTypeEnum, bool) { + enum, ok := mappingUpdateSecurityRuleDetailsSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_service_gateway_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_service_gateway_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_details.go index 168a00e286bc..2f11f3770b81 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_service_gateway_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_service_gateway_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_request_response.go index 402ebe508810..3e27f57fc4ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_subnet_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_subnet_details.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_subnet_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_subnet_details.go index 00260762aa39..c5cd019dd10b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_subnet_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_subnet_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -34,19 +36,6 @@ type UpdateSubnetDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // A DNS label for the subnet, used in conjunction with the VNIC's hostname and - // VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC - // within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`). - // Must be an alphanumeric string that begins with a letter and is unique within the VCN. - // The value cannot be changed. - // This value must be set if you want to use the Internet and VCN Resolver to resolve the - // hostnames of instances in the subnet. It can only be set if the VCN itself - // was created with a DNS label. - // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `subnet123` - DnsLabel *string `mandatory:"false" json:"dnsLabel"` - // 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/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` @@ -79,6 +68,12 @@ type UpdateSubnetDetails struct { // b. The IPv6 CIDR is within the parent VCN IPv6 range. // Example: `2001:0db8:0123:1111::/64` Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` + + // The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: + // - The CIDR blocks must be valid. + // - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. + // - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a subnet. + Ipv6CidrBlocks []string `mandatory:"false" json:"ipv6CidrBlocks"` } func (m UpdateSubnetDetails) String() string { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_subnet_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_subnet_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_subnet_request_response.go index 4d8a7c95ee39..a3bb14dd7f5f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Details object for updating a subnet. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_tunnel_cpe_device_config_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_details.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_tunnel_cpe_device_config_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_details.go index 41f01685a60f..aa591551491c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_tunnel_cpe_device_config_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_tunnel_cpe_device_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_tunnel_cpe_device_config_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_request_response.go index 81016918a153..3e662c9f9c6c 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_tunnel_cpe_device_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vcn_details.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vcn_details.go index ea104a985433..cd2802931afe 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_internal_drg_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,18 +9,20 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// UpdateInternalDrgDetails The request to update an InternalDrg. -type UpdateInternalDrgDetails struct { +// UpdateVcnDetails The representation of UpdateVcnDetails +type UpdateVcnDetails 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/iaas/Content/General/Concepts/resourcetags.htm). @@ -37,14 +39,14 @@ type UpdateInternalDrgDetails struct { FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } -func (m UpdateInternalDrgDetails) String() string { +func (m UpdateVcnDetails) String() string { return common.PointerString(m) } // ValidateEnumValue returns an error when providing an unsupported enum value // This function is being called during constructing API request process // Not recommended for calling this function directly -func (m UpdateInternalDrgDetails) ValidateEnumValue() (bool, error) { +func (m UpdateVcnDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vcn_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vcn_request_response.go index 16876ffe5406..f880c41bed47 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VCN. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_virtual_circuit_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go similarity index 66% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_virtual_circuit_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go index a8b495a2f2e1..c1ef286b4569 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_virtual_circuit_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -41,6 +43,12 @@ type UpdateVirtualCircuitDetails struct { // By default, routing information is shared for all routes in the same market. RoutingPolicy []UpdateVirtualCircuitDetailsRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"` + // Set to `ENABLED` (the default) to activate the BGP session of the virtual circuit, set to `DISABLED` to deactivate the virtual circuit. + BgpAdminState UpdateVirtualCircuitDetailsBgpAdminStateEnum `mandatory:"false" json:"bgpAdminState,omitempty"` + + // Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`. + IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"` + // Deprecated. Instead use `customerAsn`. // If you specify values for both, the request will be rejected. CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"` @@ -106,15 +114,18 @@ func (m UpdateVirtualCircuitDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} for _, val := range m.RoutingPolicy { - if _, ok := mappingUpdateVirtualCircuitDetailsRoutingPolicyEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingUpdateVirtualCircuitDetailsRoutingPolicyEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RoutingPolicy: %s. Supported values are: %s.", val, strings.Join(GetUpdateVirtualCircuitDetailsRoutingPolicyEnumStringValues(), ","))) } } - if _, ok := mappingUpdateVirtualCircuitDetailsProviderStateEnum[string(m.ProviderState)]; !ok && m.ProviderState != "" { + if _, ok := GetMappingUpdateVirtualCircuitDetailsBgpAdminStateEnum(string(m.BgpAdminState)); !ok && m.BgpAdminState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpAdminState: %s. Supported values are: %s.", m.BgpAdminState, strings.Join(GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues(), ","))) + } + if _, ok := GetMappingUpdateVirtualCircuitDetailsProviderStateEnum(string(m.ProviderState)); !ok && m.ProviderState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ProviderState: %s. Supported values are: %s.", m.ProviderState, strings.Join(GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitIpMtuEnum[string(m.IpMtu)]; !ok && m.IpMtu != "" { + if _, ok := GetMappingVirtualCircuitIpMtuEnum(string(m.IpMtu)); !ok && m.IpMtu != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMtu: %s. Supported values are: %s.", m.IpMtu, strings.Join(GetVirtualCircuitIpMtuEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -141,6 +152,13 @@ var mappingUpdateVirtualCircuitDetailsRoutingPolicyEnum = map[string]UpdateVirtu "GLOBAL": UpdateVirtualCircuitDetailsRoutingPolicyGlobal, } +var mappingUpdateVirtualCircuitDetailsRoutingPolicyEnumLowerCase = map[string]UpdateVirtualCircuitDetailsRoutingPolicyEnum{ + "oracle_service_network": UpdateVirtualCircuitDetailsRoutingPolicyOracleServiceNetwork, + "regional": UpdateVirtualCircuitDetailsRoutingPolicyRegional, + "market_level": UpdateVirtualCircuitDetailsRoutingPolicyMarketLevel, + "global": UpdateVirtualCircuitDetailsRoutingPolicyGlobal, +} + // GetUpdateVirtualCircuitDetailsRoutingPolicyEnumValues Enumerates the set of values for UpdateVirtualCircuitDetailsRoutingPolicyEnum func GetUpdateVirtualCircuitDetailsRoutingPolicyEnumValues() []UpdateVirtualCircuitDetailsRoutingPolicyEnum { values := make([]UpdateVirtualCircuitDetailsRoutingPolicyEnum, 0) @@ -160,6 +178,54 @@ func GetUpdateVirtualCircuitDetailsRoutingPolicyEnumStringValues() []string { } } +// GetMappingUpdateVirtualCircuitDetailsRoutingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVirtualCircuitDetailsRoutingPolicyEnum(val string) (UpdateVirtualCircuitDetailsRoutingPolicyEnum, bool) { + enum, ok := mappingUpdateVirtualCircuitDetailsRoutingPolicyEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// UpdateVirtualCircuitDetailsBgpAdminStateEnum Enum with underlying type: string +type UpdateVirtualCircuitDetailsBgpAdminStateEnum string + +// Set of constants representing the allowable values for UpdateVirtualCircuitDetailsBgpAdminStateEnum +const ( + UpdateVirtualCircuitDetailsBgpAdminStateEnabled UpdateVirtualCircuitDetailsBgpAdminStateEnum = "ENABLED" + UpdateVirtualCircuitDetailsBgpAdminStateDisabled UpdateVirtualCircuitDetailsBgpAdminStateEnum = "DISABLED" +) + +var mappingUpdateVirtualCircuitDetailsBgpAdminStateEnum = map[string]UpdateVirtualCircuitDetailsBgpAdminStateEnum{ + "ENABLED": UpdateVirtualCircuitDetailsBgpAdminStateEnabled, + "DISABLED": UpdateVirtualCircuitDetailsBgpAdminStateDisabled, +} + +var mappingUpdateVirtualCircuitDetailsBgpAdminStateEnumLowerCase = map[string]UpdateVirtualCircuitDetailsBgpAdminStateEnum{ + "enabled": UpdateVirtualCircuitDetailsBgpAdminStateEnabled, + "disabled": UpdateVirtualCircuitDetailsBgpAdminStateDisabled, +} + +// GetUpdateVirtualCircuitDetailsBgpAdminStateEnumValues Enumerates the set of values for UpdateVirtualCircuitDetailsBgpAdminStateEnum +func GetUpdateVirtualCircuitDetailsBgpAdminStateEnumValues() []UpdateVirtualCircuitDetailsBgpAdminStateEnum { + values := make([]UpdateVirtualCircuitDetailsBgpAdminStateEnum, 0) + for _, v := range mappingUpdateVirtualCircuitDetailsBgpAdminStateEnum { + values = append(values, v) + } + return values +} + +// GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsBgpAdminStateEnum +func GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues() []string { + return []string{ + "ENABLED", + "DISABLED", + } +} + +// GetMappingUpdateVirtualCircuitDetailsBgpAdminStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVirtualCircuitDetailsBgpAdminStateEnum(val string) (UpdateVirtualCircuitDetailsBgpAdminStateEnum, bool) { + enum, ok := mappingUpdateVirtualCircuitDetailsBgpAdminStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // UpdateVirtualCircuitDetailsProviderStateEnum Enum with underlying type: string type UpdateVirtualCircuitDetailsProviderStateEnum string @@ -174,6 +240,11 @@ var mappingUpdateVirtualCircuitDetailsProviderStateEnum = map[string]UpdateVirtu "INACTIVE": UpdateVirtualCircuitDetailsProviderStateInactive, } +var mappingUpdateVirtualCircuitDetailsProviderStateEnumLowerCase = map[string]UpdateVirtualCircuitDetailsProviderStateEnum{ + "active": UpdateVirtualCircuitDetailsProviderStateActive, + "inactive": UpdateVirtualCircuitDetailsProviderStateInactive, +} + // GetUpdateVirtualCircuitDetailsProviderStateEnumValues Enumerates the set of values for UpdateVirtualCircuitDetailsProviderStateEnum func GetUpdateVirtualCircuitDetailsProviderStateEnumValues() []UpdateVirtualCircuitDetailsProviderStateEnum { values := make([]UpdateVirtualCircuitDetailsProviderStateEnum, 0) @@ -190,3 +261,9 @@ func GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues() []string { "INACTIVE", } } + +// GetMappingUpdateVirtualCircuitDetailsProviderStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVirtualCircuitDetailsProviderStateEnum(val string) (UpdateVirtualCircuitDetailsProviderStateEnum, bool) { + enum, ok := mappingUpdateVirtualCircuitDetailsProviderStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_request_response.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_virtual_circuit_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_request_response.go index df1ca88c41f6..82c4bac628c7 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Update VirtualCircuit fields. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vlan_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vlan_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vlan_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vlan_details.go index 1be65af8d0a2..3934005275cb 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vlan_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vlan_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vlan_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vlan_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vlan_request_response.go index 7a6db088fb11..0569b05b7b60 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vnic_details.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vnic_details.go index eda4f3897487..ec076d742942 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -38,7 +40,7 @@ type UpdateVnicDetails struct { // The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname // portion of the primary private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vnic_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vnic_request_response.go index 61a20a57ec74..6c201414fcef 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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 (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" contributesTo:"path" name:"vnicId"` // Details object for updating a VNIC. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_attachment_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_details.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_attachment_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_details.go index f72e57b248a2..0e16a9f28cf4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_attachment_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -37,7 +39,7 @@ func (m UpdateVolumeAttachmentDetails) String() string { func (m UpdateVolumeAttachmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum[string(m.IscsiLoginState)]; !ok && m.IscsiLoginState != "" { + if _, ok := GetMappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum(string(m.IscsiLoginState)); !ok && m.IscsiLoginState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -70,6 +72,16 @@ var mappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum = map[string]UpdateV "LOGOUT_FAILED": UpdateVolumeAttachmentDetailsIscsiLoginStateLogoutFailed, } +var mappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnumLowerCase = map[string]UpdateVolumeAttachmentDetailsIscsiLoginStateEnum{ + "unknown": UpdateVolumeAttachmentDetailsIscsiLoginStateUnknown, + "logging_in": UpdateVolumeAttachmentDetailsIscsiLoginStateLoggingIn, + "login_succeeded": UpdateVolumeAttachmentDetailsIscsiLoginStateLoginSucceeded, + "login_failed": UpdateVolumeAttachmentDetailsIscsiLoginStateLoginFailed, + "logging_out": UpdateVolumeAttachmentDetailsIscsiLoginStateLoggingOut, + "logout_succeeded": UpdateVolumeAttachmentDetailsIscsiLoginStateLogoutSucceeded, + "logout_failed": UpdateVolumeAttachmentDetailsIscsiLoginStateLogoutFailed, +} + // GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumValues Enumerates the set of values for UpdateVolumeAttachmentDetailsIscsiLoginStateEnum func GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumValues() []UpdateVolumeAttachmentDetailsIscsiLoginStateEnum { values := make([]UpdateVolumeAttachmentDetailsIscsiLoginStateEnum, 0) @@ -91,3 +103,9 @@ func GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumStringValues() []string "LOGOUT_FAILED", } } + +// GetMappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum(val string) (UpdateVolumeAttachmentDetailsIscsiLoginStateEnum, bool) { + enum, ok := mappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_attachment_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_request_response.go index 7247091f40a9..02d91a174472 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateVolumeAttachmentRequest wrapper for the UpdateVolumeAttachment operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachmentRequest. type UpdateVolumeAttachmentRequest struct { // The OCID of the volume attachment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_details.go index 21dde64b7681..c3349da0df21 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_policy_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_details.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_policy_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_details.go index 26f08d95eed0..395186680fac 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_policy_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_policy_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_request_response.go index 536918943145..2af6096b7af4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_request_response.go index 0b3813af278c..f31e230f361b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go index 8fffc6805d2d..057c1480eb64 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -39,12 +41,13 @@ type UpdateVolumeDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Elastic Performance (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeelasticperformance.htm) for more information. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. - // For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB. + // * `30`-`120`: Represents the Ultra High Performance option. + // For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB. VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"` // The size to resize the volume to in GBs. Has to be larger than the current size. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_details.go index 9304bba75268..2ea6d51b29b6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_backup_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_request_response.go index 2fdda712e1e9..033ca87158b0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_details.go index a93136ddc23c..436786e2601a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_request_response.go index 352e314f40c5..e580d703102f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_kms_key_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_details.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_kms_key_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_details.go index 7933abd5d6d8..c0721a815e31 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_kms_key_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,21 +9,23 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // UpdateVolumeKmsKeyDetails The representation of UpdateVolumeKmsKeyDetails type UpdateVolumeKmsKeyDetails struct { - // The OCID of the new Key Management key to assign to protect the specified volume. - // This key has to be a valid Key Management key, and policies must exist to allow the user and the Block Volume service to access this key. + // The OCID of the new Vault service key to assign to protect the specified volume. + // This key has to be a valid Vault service key, and policies must exist to allow the user and the Block Volume service to access this key. // If you specify the same OCID as the previous key's OCID, the Block Volume service will use it to regenerate a volume encryption key. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_request_response.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_kms_key_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_request_response.go index 76450d0d6991..d86cb03f9b81 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,18 +6,22 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"` - // Updates the Key Management master encryption key assigned to the specified volume. + // Updates the Vault service master encryption key assigned to the specified volume. UpdateVolumeKmsKeyDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_request_response.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_request_response.go index 7bc76958895d..54b15b3dfc41 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vtap_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vtap_details.go new file mode 100644 index 000000000000..1bc3bb264cea --- /dev/null +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vtap_details.go @@ -0,0 +1,293 @@ +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateVtapDetails These details can be included in a request to update a virtual test access point (VTAP). +type UpdateVtapDetails 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/iaas/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/iaas/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 source point where packets are captured. + SourceId *string `mandatory:"false" json:"sourceId"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. + TargetId *string `mandatory:"false" json:"targetId"` + + // The IP address of the destination resource where mirrored packets are sent. + TargetIp *string `mandatory:"false" json:"targetIp"` + + // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + CaptureFilterId *string `mandatory:"false" json:"captureFilterId"` + + // Defines an encapsulation header type for the VTAP's mirrored traffic. + EncapsulationProtocol UpdateVtapDetailsEncapsulationProtocolEnum `mandatory:"false" json:"encapsulationProtocol,omitempty"` + + // The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN. + VxlanNetworkIdentifier *int64 `mandatory:"false" json:"vxlanNetworkIdentifier"` + + // Used to start or stop a `Vtap` resource. + // * `TRUE` directs the VTAP to start mirroring traffic. + // * `FALSE` (Default) directs the VTAP to stop mirroring traffic. + IsVtapEnabled *bool `mandatory:"false" json:"isVtapEnabled"` + + // Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT + TrafficMode UpdateVtapDetailsTrafficModeEnum `mandatory:"false" json:"trafficMode,omitempty"` + + // The maximum size of the packets to be included in the filter. + MaxPacketSize *int `mandatory:"false" json:"maxPacketSize"` + + // The IP Address of the source private endpoint. + SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. + SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"` + + // The target type for the VTAP. + TargetType UpdateVtapDetailsTargetTypeEnum `mandatory:"false" json:"targetType,omitempty"` + + // The source type for the VTAP. + SourceType UpdateVtapDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` +} + +func (m UpdateVtapDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateVtapDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingUpdateVtapDetailsEncapsulationProtocolEnum(string(m.EncapsulationProtocol)); !ok && m.EncapsulationProtocol != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncapsulationProtocol: %s. Supported values are: %s.", m.EncapsulationProtocol, strings.Join(GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues(), ","))) + } + if _, ok := GetMappingUpdateVtapDetailsTrafficModeEnum(string(m.TrafficMode)); !ok && m.TrafficMode != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TrafficMode: %s. Supported values are: %s.", m.TrafficMode, strings.Join(GetUpdateVtapDetailsTrafficModeEnumStringValues(), ","))) + } + if _, ok := GetMappingUpdateVtapDetailsTargetTypeEnum(string(m.TargetType)); !ok && m.TargetType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetType: %s. Supported values are: %s.", m.TargetType, strings.Join(GetUpdateVtapDetailsTargetTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingUpdateVtapDetailsSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetUpdateVtapDetailsSourceTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateVtapDetailsEncapsulationProtocolEnum Enum with underlying type: string +type UpdateVtapDetailsEncapsulationProtocolEnum string + +// Set of constants representing the allowable values for UpdateVtapDetailsEncapsulationProtocolEnum +const ( + UpdateVtapDetailsEncapsulationProtocolVxlan UpdateVtapDetailsEncapsulationProtocolEnum = "VXLAN" +) + +var mappingUpdateVtapDetailsEncapsulationProtocolEnum = map[string]UpdateVtapDetailsEncapsulationProtocolEnum{ + "VXLAN": UpdateVtapDetailsEncapsulationProtocolVxlan, +} + +var mappingUpdateVtapDetailsEncapsulationProtocolEnumLowerCase = map[string]UpdateVtapDetailsEncapsulationProtocolEnum{ + "vxlan": UpdateVtapDetailsEncapsulationProtocolVxlan, +} + +// GetUpdateVtapDetailsEncapsulationProtocolEnumValues Enumerates the set of values for UpdateVtapDetailsEncapsulationProtocolEnum +func GetUpdateVtapDetailsEncapsulationProtocolEnumValues() []UpdateVtapDetailsEncapsulationProtocolEnum { + values := make([]UpdateVtapDetailsEncapsulationProtocolEnum, 0) + for _, v := range mappingUpdateVtapDetailsEncapsulationProtocolEnum { + values = append(values, v) + } + return values +} + +// GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsEncapsulationProtocolEnum +func GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues() []string { + return []string{ + "VXLAN", + } +} + +// GetMappingUpdateVtapDetailsEncapsulationProtocolEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVtapDetailsEncapsulationProtocolEnum(val string) (UpdateVtapDetailsEncapsulationProtocolEnum, bool) { + enum, ok := mappingUpdateVtapDetailsEncapsulationProtocolEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// UpdateVtapDetailsTrafficModeEnum Enum with underlying type: string +type UpdateVtapDetailsTrafficModeEnum string + +// Set of constants representing the allowable values for UpdateVtapDetailsTrafficModeEnum +const ( + UpdateVtapDetailsTrafficModeDefault UpdateVtapDetailsTrafficModeEnum = "DEFAULT" + UpdateVtapDetailsTrafficModePriority UpdateVtapDetailsTrafficModeEnum = "PRIORITY" +) + +var mappingUpdateVtapDetailsTrafficModeEnum = map[string]UpdateVtapDetailsTrafficModeEnum{ + "DEFAULT": UpdateVtapDetailsTrafficModeDefault, + "PRIORITY": UpdateVtapDetailsTrafficModePriority, +} + +var mappingUpdateVtapDetailsTrafficModeEnumLowerCase = map[string]UpdateVtapDetailsTrafficModeEnum{ + "default": UpdateVtapDetailsTrafficModeDefault, + "priority": UpdateVtapDetailsTrafficModePriority, +} + +// GetUpdateVtapDetailsTrafficModeEnumValues Enumerates the set of values for UpdateVtapDetailsTrafficModeEnum +func GetUpdateVtapDetailsTrafficModeEnumValues() []UpdateVtapDetailsTrafficModeEnum { + values := make([]UpdateVtapDetailsTrafficModeEnum, 0) + for _, v := range mappingUpdateVtapDetailsTrafficModeEnum { + values = append(values, v) + } + return values +} + +// GetUpdateVtapDetailsTrafficModeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsTrafficModeEnum +func GetUpdateVtapDetailsTrafficModeEnumStringValues() []string { + return []string{ + "DEFAULT", + "PRIORITY", + } +} + +// GetMappingUpdateVtapDetailsTrafficModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVtapDetailsTrafficModeEnum(val string) (UpdateVtapDetailsTrafficModeEnum, bool) { + enum, ok := mappingUpdateVtapDetailsTrafficModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// UpdateVtapDetailsTargetTypeEnum Enum with underlying type: string +type UpdateVtapDetailsTargetTypeEnum string + +// Set of constants representing the allowable values for UpdateVtapDetailsTargetTypeEnum +const ( + UpdateVtapDetailsTargetTypeVnic UpdateVtapDetailsTargetTypeEnum = "VNIC" + UpdateVtapDetailsTargetTypeNetworkLoadBalancer UpdateVtapDetailsTargetTypeEnum = "NETWORK_LOAD_BALANCER" + UpdateVtapDetailsTargetTypeIpAddress UpdateVtapDetailsTargetTypeEnum = "IP_ADDRESS" +) + +var mappingUpdateVtapDetailsTargetTypeEnum = map[string]UpdateVtapDetailsTargetTypeEnum{ + "VNIC": UpdateVtapDetailsTargetTypeVnic, + "NETWORK_LOAD_BALANCER": UpdateVtapDetailsTargetTypeNetworkLoadBalancer, + "IP_ADDRESS": UpdateVtapDetailsTargetTypeIpAddress, +} + +var mappingUpdateVtapDetailsTargetTypeEnumLowerCase = map[string]UpdateVtapDetailsTargetTypeEnum{ + "vnic": UpdateVtapDetailsTargetTypeVnic, + "network_load_balancer": UpdateVtapDetailsTargetTypeNetworkLoadBalancer, + "ip_address": UpdateVtapDetailsTargetTypeIpAddress, +} + +// GetUpdateVtapDetailsTargetTypeEnumValues Enumerates the set of values for UpdateVtapDetailsTargetTypeEnum +func GetUpdateVtapDetailsTargetTypeEnumValues() []UpdateVtapDetailsTargetTypeEnum { + values := make([]UpdateVtapDetailsTargetTypeEnum, 0) + for _, v := range mappingUpdateVtapDetailsTargetTypeEnum { + values = append(values, v) + } + return values +} + +// GetUpdateVtapDetailsTargetTypeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsTargetTypeEnum +func GetUpdateVtapDetailsTargetTypeEnumStringValues() []string { + return []string{ + "VNIC", + "NETWORK_LOAD_BALANCER", + "IP_ADDRESS", + } +} + +// GetMappingUpdateVtapDetailsTargetTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVtapDetailsTargetTypeEnum(val string) (UpdateVtapDetailsTargetTypeEnum, bool) { + enum, ok := mappingUpdateVtapDetailsTargetTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// UpdateVtapDetailsSourceTypeEnum Enum with underlying type: string +type UpdateVtapDetailsSourceTypeEnum string + +// Set of constants representing the allowable values for UpdateVtapDetailsSourceTypeEnum +const ( + UpdateVtapDetailsSourceTypeVnic UpdateVtapDetailsSourceTypeEnum = "VNIC" + UpdateVtapDetailsSourceTypeSubnet UpdateVtapDetailsSourceTypeEnum = "SUBNET" + UpdateVtapDetailsSourceTypeLoadBalancer UpdateVtapDetailsSourceTypeEnum = "LOAD_BALANCER" + UpdateVtapDetailsSourceTypeDbSystem UpdateVtapDetailsSourceTypeEnum = "DB_SYSTEM" + UpdateVtapDetailsSourceTypeExadataVmCluster UpdateVtapDetailsSourceTypeEnum = "EXADATA_VM_CLUSTER" + UpdateVtapDetailsSourceTypeAutonomousDataWarehouse UpdateVtapDetailsSourceTypeEnum = "AUTONOMOUS_DATA_WAREHOUSE" +) + +var mappingUpdateVtapDetailsSourceTypeEnum = map[string]UpdateVtapDetailsSourceTypeEnum{ + "VNIC": UpdateVtapDetailsSourceTypeVnic, + "SUBNET": UpdateVtapDetailsSourceTypeSubnet, + "LOAD_BALANCER": UpdateVtapDetailsSourceTypeLoadBalancer, + "DB_SYSTEM": UpdateVtapDetailsSourceTypeDbSystem, + "EXADATA_VM_CLUSTER": UpdateVtapDetailsSourceTypeExadataVmCluster, + "AUTONOMOUS_DATA_WAREHOUSE": UpdateVtapDetailsSourceTypeAutonomousDataWarehouse, +} + +var mappingUpdateVtapDetailsSourceTypeEnumLowerCase = map[string]UpdateVtapDetailsSourceTypeEnum{ + "vnic": UpdateVtapDetailsSourceTypeVnic, + "subnet": UpdateVtapDetailsSourceTypeSubnet, + "load_balancer": UpdateVtapDetailsSourceTypeLoadBalancer, + "db_system": UpdateVtapDetailsSourceTypeDbSystem, + "exadata_vm_cluster": UpdateVtapDetailsSourceTypeExadataVmCluster, + "autonomous_data_warehouse": UpdateVtapDetailsSourceTypeAutonomousDataWarehouse, +} + +// GetUpdateVtapDetailsSourceTypeEnumValues Enumerates the set of values for UpdateVtapDetailsSourceTypeEnum +func GetUpdateVtapDetailsSourceTypeEnumValues() []UpdateVtapDetailsSourceTypeEnum { + values := make([]UpdateVtapDetailsSourceTypeEnum, 0) + for _, v := range mappingUpdateVtapDetailsSourceTypeEnum { + values = append(values, v) + } + return values +} + +// GetUpdateVtapDetailsSourceTypeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsSourceTypeEnum +func GetUpdateVtapDetailsSourceTypeEnumStringValues() []string { + return []string{ + "VNIC", + "SUBNET", + "LOAD_BALANCER", + "DB_SYSTEM", + "EXADATA_VM_CLUSTER", + "AUTONOMOUS_DATA_WAREHOUSE", + } +} + +// GetMappingUpdateVtapDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateVtapDetailsSourceTypeEnum(val string) (UpdateVtapDetailsSourceTypeEnum, bool) { + enum, ok := mappingUpdateVtapDetailsSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vtap_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vtap_request_response.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vtap_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vtap_request_response.go index 27a856942c7b..147dbfb13982 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/update_vtap_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/update_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpdateVtapRequest wrapper for the UpdateVtap operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtapRequest. type UpdateVtapRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // Details object for updating a VTAP. @@ -87,7 +91,8 @@ type UpdateVtapResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/updated_network_security_group_security_rules.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/updated_network_security_group_security_rules.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/updated_network_security_group_security_rules.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/updated_network_security_group_security_rules.go index eda2a8e08889..e2ca10607bd0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/updated_network_security_group_security_rules.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/updated_network_security_group_security_rules.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/upgrade_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/upgrade_drg_request_response.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/upgrade_drg_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/upgrade_drg_request_response.go index 786093401a2a..97fdb6f2b781 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/upgrade_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/upgrade_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,15 +6,19 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // UpgradeDrgRequest wrapper for the UpgradeDrg operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrgRequest. type UpgradeDrgRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. @@ -80,7 +84,8 @@ type UpgradeDrgResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/upgrade_status.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/upgrade_status.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/upgrade_status.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/upgrade_status.go index f7a6ce6cfa62..5bf469a5e759 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/upgrade_status.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/upgrade_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -41,7 +43,7 @@ func (m UpgradeStatus) String() string { // Not recommended for calling this function directly func (m UpgradeStatus) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingUpgradeStatusStatusEnum[string(m.Status)]; !ok && m.Status != "" { + if _, ok := GetMappingUpgradeStatusStatusEnum(string(m.Status)); !ok && m.Status != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetUpgradeStatusStatusEnumStringValues(), ","))) } @@ -67,6 +69,12 @@ var mappingUpgradeStatusStatusEnum = map[string]UpgradeStatusStatusEnum{ "UPGRADED": UpgradeStatusStatusUpgraded, } +var mappingUpgradeStatusStatusEnumLowerCase = map[string]UpgradeStatusStatusEnum{ + "not_upgraded": UpgradeStatusStatusNotUpgraded, + "in_progress": UpgradeStatusStatusInProgress, + "upgraded": UpgradeStatusStatusUpgraded, +} + // GetUpgradeStatusStatusEnumValues Enumerates the set of values for UpgradeStatusStatusEnum func GetUpgradeStatusStatusEnumValues() []UpgradeStatusStatusEnum { values := make([]UpgradeStatusStatusEnum, 0) @@ -84,3 +92,9 @@ func GetUpgradeStatusStatusEnumStringValues() []string { "UPGRADED", } } + +// GetMappingUpgradeStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpgradeStatusStatusEnum(val string) (UpgradeStatusStatusEnum, bool) { + enum, ok := mappingUpgradeStatusStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validate_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/validate_byoip_range_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validate_byoip_range_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/validate_byoip_range_request_response.go index 3b84ed34d0b5..fb5be49be3d5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/validate_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/validate_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. @@ -73,7 +77,8 @@ type ValidateByoipRangeResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn.go similarity index 83% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn.go index e53bfa334212..5e6ae32513e4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -42,6 +44,12 @@ type Vcn struct { // The VCN's current state. LifecycleState VcnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + // The list of BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. + Byoipv6CidrBlocks []string `mandatory:"false" json:"byoipv6CidrBlocks"` + + // For an IPv6-enabled VCN, this is the list of Private IPv6 CIDR blocks for the VCN's IP address space. + Ipv6PrivateCidrBlocks []string `mandatory:"false" json:"ipv6PrivateCidrBlocks"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default set of DHCP options. DefaultDhcpOptionsId *string `mandatory:"false" json:"defaultDhcpOptionsId"` @@ -62,7 +70,7 @@ type Vcn struct { // A DNS label for the VCN, used in conjunction with the VNIC's hostname and // subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC - // within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be an alphanumeric string that begins with a letter. // The value cannot be changed. // The absence of this parameter means the Internet and VCN Resolver will @@ -102,7 +110,7 @@ func (m Vcn) String() string { // Not recommended for calling this function directly func (m Vcn) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVcnLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVcnLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVcnLifecycleStateEnumStringValues(), ","))) } @@ -132,6 +140,14 @@ var mappingVcnLifecycleStateEnum = map[string]VcnLifecycleStateEnum{ "UPDATING": VcnLifecycleStateUpdating, } +var mappingVcnLifecycleStateEnumLowerCase = map[string]VcnLifecycleStateEnum{ + "provisioning": VcnLifecycleStateProvisioning, + "available": VcnLifecycleStateAvailable, + "terminating": VcnLifecycleStateTerminating, + "terminated": VcnLifecycleStateTerminated, + "updating": VcnLifecycleStateUpdating, +} + // GetVcnLifecycleStateEnumValues Enumerates the set of values for VcnLifecycleStateEnum func GetVcnLifecycleStateEnumValues() []VcnLifecycleStateEnum { values := make([]VcnLifecycleStateEnum, 0) @@ -151,3 +167,9 @@ func GetVcnLifecycleStateEnumStringValues() []string { "UPDATING", } } + +// GetMappingVcnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVcnLifecycleStateEnum(val string) (VcnLifecycleStateEnum, bool) { + enum, ok := mappingVcnLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_dns_resolver_association.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_dns_resolver_association.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_dns_resolver_association.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_dns_resolver_association.go index 0b7a197436d0..77c63159b7ba 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_dns_resolver_association.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_dns_resolver_association.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -41,7 +43,7 @@ func (m VcnDnsResolverAssociation) String() string { // Not recommended for calling this function directly func (m VcnDnsResolverAssociation) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVcnDnsResolverAssociationLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVcnDnsResolverAssociationLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVcnDnsResolverAssociationLifecycleStateEnumStringValues(), ","))) } @@ -69,6 +71,13 @@ var mappingVcnDnsResolverAssociationLifecycleStateEnum = map[string]VcnDnsResolv "TERMINATED": VcnDnsResolverAssociationLifecycleStateTerminated, } +var mappingVcnDnsResolverAssociationLifecycleStateEnumLowerCase = 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) @@ -87,3 +96,9 @@ func GetVcnDnsResolverAssociationLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingVcnDnsResolverAssociationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVcnDnsResolverAssociationLifecycleStateEnum(val string) (VcnDnsResolverAssociationLifecycleStateEnum, bool) { + enum, ok := mappingVcnDnsResolverAssociationLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go similarity index 77% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_create_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go index 7debbe9bf20f..8376d9ae8b30 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_create_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,17 +18,17 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // VcnDrgAttachmentNetworkCreateDetails Specifies the VCN Attachment type VcnDrgAttachmentNetworkCreateDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"true" json:"id"` - // This is the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. + // This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. // For information about why you would associate a route table with a DRG attachment, see // Advanced Scenario: Transit Routing (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). // For information about why you would associate a route table with a DRG attachment, see: @@ -34,8 +36,8 @@ type VcnDrgAttachmentNetworkCreateDetails struct { // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) RouteTableId *string `mandatory:"false" json:"routeTableId"` - // Indicates whether the VCN CIDR(s) or the individual Subnet CIDR(s) are imported from the attachment. - // Routes from the VCN Ingress Route Table are always imported. + // Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. + // Routes from the VCN ingress route table are always imported. VcnRouteType VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum `mandatory:"false" json:"vcnRouteType,omitempty"` } @@ -54,7 +56,7 @@ func (m VcnDrgAttachmentNetworkCreateDetails) String() string { func (m VcnDrgAttachmentNetworkCreateDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum[string(m.VcnRouteType)]; !ok && m.VcnRouteType != "" { + if _, ok := GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum(string(m.VcnRouteType)); !ok && m.VcnRouteType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VcnRouteType: %s. Supported values are: %s.", m.VcnRouteType, strings.Join(GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go index 818c06713821..6b386e20182f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -26,14 +28,14 @@ type VcnDrgAttachmentNetworkDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. // For information about why you would associate a route table with a DRG attachment, see: // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) RouteTableId *string `mandatory:"false" json:"routeTableId"` - // Indicates whether the VCN CIDR(s) or the individual Subnet CIDR(s) are imported from the attachment. - // Routes from the VCN Ingress Route Table are always imported. + // Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. + // Routes from the VCN ingress route table are always imported. VcnRouteType VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum `mandatory:"false" json:"vcnRouteType,omitempty"` } @@ -51,7 +53,7 @@ func (m VcnDrgAttachmentNetworkDetails) String() string { // Not recommended for calling this function directly func (m VcnDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum[string(m.VcnRouteType)]; !ok && m.VcnRouteType != "" { + if _, ok := GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum(string(m.VcnRouteType)); !ok && m.VcnRouteType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VcnRouteType: %s. Supported values are: %s.", m.VcnRouteType, strings.Join(GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues(), ","))) } @@ -89,6 +91,11 @@ var mappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum = map[string]VcnDrgAtt "SUBNET_CIDRS": VcnDrgAttachmentNetworkDetailsVcnRouteTypeSubnetCidrs, } +var mappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumLowerCase = map[string]VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum{ + "vcn_cidrs": VcnDrgAttachmentNetworkDetailsVcnRouteTypeVcnCidrs, + "subnet_cidrs": VcnDrgAttachmentNetworkDetailsVcnRouteTypeSubnetCidrs, +} + // GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumValues Enumerates the set of values for VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum func GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumValues() []VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum { values := make([]VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum, 0) @@ -105,3 +112,9 @@ func GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues() []string { "SUBNET_CIDRS", } } + +// GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum(val string) (VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum, bool) { + enum, ok := mappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_update_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_update_details.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_update_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_update_details.go index 3a761aff9f98..9efb989af870 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_drg_attachment_network_update_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_update_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,21 +18,21 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) // VcnDrgAttachmentNetworkUpdateDetails Specifies the update details for the VCN attachment. type VcnDrgAttachmentNetworkUpdateDetails struct { - // This is the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. + // This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. // For information about why you would associate a route table with a DRG attachment, see: // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) RouteTableId *string `mandatory:"false" json:"routeTableId"` - // Indicates whether the VCN CIDR(s) or the individual Subnet CIDR(s) are imported from the attachment. - // Routes from the VCN Ingress Route Table are always imported. + // Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. + // Routes from the VCN ingress route table are always imported. VcnRouteType VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum `mandatory:"false" json:"vcnRouteType,omitempty"` } @@ -44,7 +46,7 @@ func (m VcnDrgAttachmentNetworkUpdateDetails) String() string { func (m VcnDrgAttachmentNetworkUpdateDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum[string(m.VcnRouteType)]; !ok && m.VcnRouteType != "" { + if _, ok := GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum(string(m.VcnRouteType)); !ok && m.VcnRouteType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VcnRouteType: %s. Supported values are: %s.", m.VcnRouteType, strings.Join(GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_topology.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_topology.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go index bcd28b760b35..0487ba65b3ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vcn_topology.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go similarity index 72% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go index 3ac2141cbefe..9918855897a8 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -67,6 +69,12 @@ type VirtualCircuit struct { // By default, routing information is shared for all routes in the same market. RoutingPolicy []VirtualCircuitRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"` + // Set to `ENABLED` (the default) to activate the BGP session of the virtual circuit, set to `DISABLED` to deactivate the virtual circuit. + BgpAdminState VirtualCircuitBgpAdminStateEnum `mandatory:"false" json:"bgpAdminState,omitempty"` + + // Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`. + IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"` + // Deprecated. Instead use `customerAsn`. // If you specify values for both, the request will be rejected. CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"` @@ -165,34 +173,37 @@ func (m VirtualCircuit) String() string { func (m VirtualCircuit) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVirtualCircuitBgpManagementEnum[string(m.BgpManagement)]; !ok && m.BgpManagement != "" { + if _, ok := GetMappingVirtualCircuitBgpManagementEnum(string(m.BgpManagement)); !ok && m.BgpManagement != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpManagement: %s. Supported values are: %s.", m.BgpManagement, strings.Join(GetVirtualCircuitBgpManagementEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitBgpSessionStateEnum[string(m.BgpSessionState)]; !ok && m.BgpSessionState != "" { + if _, ok := GetMappingVirtualCircuitBgpSessionStateEnum(string(m.BgpSessionState)); !ok && m.BgpSessionState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpSessionState: %s. Supported values are: %s.", m.BgpSessionState, strings.Join(GetVirtualCircuitBgpSessionStateEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitBgpIpv6SessionStateEnum[string(m.BgpIpv6SessionState)]; !ok && m.BgpIpv6SessionState != "" { + if _, ok := GetMappingVirtualCircuitBgpIpv6SessionStateEnum(string(m.BgpIpv6SessionState)); !ok && m.BgpIpv6SessionState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpIpv6SessionState: %s. Supported values are: %s.", m.BgpIpv6SessionState, strings.Join(GetVirtualCircuitBgpIpv6SessionStateEnumStringValues(), ","))) } for _, val := range m.RoutingPolicy { - if _, ok := mappingVirtualCircuitRoutingPolicyEnum[string(val)]; !ok && val != "" { + if _, ok := GetMappingVirtualCircuitRoutingPolicyEnum(string(val)); !ok && val != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RoutingPolicy: %s. Supported values are: %s.", val, strings.Join(GetVirtualCircuitRoutingPolicyEnumStringValues(), ","))) } } - if _, ok := mappingVirtualCircuitLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVirtualCircuitBgpAdminStateEnum(string(m.BgpAdminState)); !ok && m.BgpAdminState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpAdminState: %s. Supported values are: %s.", m.BgpAdminState, strings.Join(GetVirtualCircuitBgpAdminStateEnumStringValues(), ","))) + } + if _, ok := GetMappingVirtualCircuitLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualCircuitLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitProviderStateEnum[string(m.ProviderState)]; !ok && m.ProviderState != "" { + if _, ok := GetMappingVirtualCircuitProviderStateEnum(string(m.ProviderState)); !ok && m.ProviderState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ProviderState: %s. Supported values are: %s.", m.ProviderState, strings.Join(GetVirtualCircuitProviderStateEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitServiceTypeEnum[string(m.ServiceType)]; !ok && m.ServiceType != "" { + if _, ok := GetMappingVirtualCircuitServiceTypeEnum(string(m.ServiceType)); !ok && m.ServiceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ServiceType: %s. Supported values are: %s.", m.ServiceType, strings.Join(GetVirtualCircuitServiceTypeEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingVirtualCircuitTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetVirtualCircuitTypeEnumStringValues(), ","))) } - if _, ok := mappingVirtualCircuitIpMtuEnum[string(m.IpMtu)]; !ok && m.IpMtu != "" { + if _, ok := GetMappingVirtualCircuitIpMtuEnum(string(m.IpMtu)); !ok && m.IpMtu != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMtu: %s. Supported values are: %s.", m.IpMtu, strings.Join(GetVirtualCircuitIpMtuEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -217,6 +228,12 @@ var mappingVirtualCircuitBgpManagementEnum = map[string]VirtualCircuitBgpManagem "ORACLE_MANAGED": VirtualCircuitBgpManagementOracleManaged, } +var mappingVirtualCircuitBgpManagementEnumLowerCase = map[string]VirtualCircuitBgpManagementEnum{ + "customer_managed": VirtualCircuitBgpManagementCustomerManaged, + "provider_managed": VirtualCircuitBgpManagementProviderManaged, + "oracle_managed": VirtualCircuitBgpManagementOracleManaged, +} + // GetVirtualCircuitBgpManagementEnumValues Enumerates the set of values for VirtualCircuitBgpManagementEnum func GetVirtualCircuitBgpManagementEnumValues() []VirtualCircuitBgpManagementEnum { values := make([]VirtualCircuitBgpManagementEnum, 0) @@ -235,6 +252,12 @@ func GetVirtualCircuitBgpManagementEnumStringValues() []string { } } +// GetMappingVirtualCircuitBgpManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitBgpManagementEnum(val string) (VirtualCircuitBgpManagementEnum, bool) { + enum, ok := mappingVirtualCircuitBgpManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VirtualCircuitBgpSessionStateEnum Enum with underlying type: string type VirtualCircuitBgpSessionStateEnum string @@ -249,6 +272,11 @@ var mappingVirtualCircuitBgpSessionStateEnum = map[string]VirtualCircuitBgpSessi "DOWN": VirtualCircuitBgpSessionStateDown, } +var mappingVirtualCircuitBgpSessionStateEnumLowerCase = map[string]VirtualCircuitBgpSessionStateEnum{ + "up": VirtualCircuitBgpSessionStateUp, + "down": VirtualCircuitBgpSessionStateDown, +} + // GetVirtualCircuitBgpSessionStateEnumValues Enumerates the set of values for VirtualCircuitBgpSessionStateEnum func GetVirtualCircuitBgpSessionStateEnumValues() []VirtualCircuitBgpSessionStateEnum { values := make([]VirtualCircuitBgpSessionStateEnum, 0) @@ -266,6 +294,12 @@ func GetVirtualCircuitBgpSessionStateEnumStringValues() []string { } } +// GetMappingVirtualCircuitBgpSessionStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitBgpSessionStateEnum(val string) (VirtualCircuitBgpSessionStateEnum, bool) { + enum, ok := mappingVirtualCircuitBgpSessionStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VirtualCircuitBgpIpv6SessionStateEnum Enum with underlying type: string type VirtualCircuitBgpIpv6SessionStateEnum string @@ -280,6 +314,11 @@ var mappingVirtualCircuitBgpIpv6SessionStateEnum = map[string]VirtualCircuitBgpI "DOWN": VirtualCircuitBgpIpv6SessionStateDown, } +var mappingVirtualCircuitBgpIpv6SessionStateEnumLowerCase = map[string]VirtualCircuitBgpIpv6SessionStateEnum{ + "up": VirtualCircuitBgpIpv6SessionStateUp, + "down": VirtualCircuitBgpIpv6SessionStateDown, +} + // GetVirtualCircuitBgpIpv6SessionStateEnumValues Enumerates the set of values for VirtualCircuitBgpIpv6SessionStateEnum func GetVirtualCircuitBgpIpv6SessionStateEnumValues() []VirtualCircuitBgpIpv6SessionStateEnum { values := make([]VirtualCircuitBgpIpv6SessionStateEnum, 0) @@ -297,6 +336,12 @@ func GetVirtualCircuitBgpIpv6SessionStateEnumStringValues() []string { } } +// GetMappingVirtualCircuitBgpIpv6SessionStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitBgpIpv6SessionStateEnum(val string) (VirtualCircuitBgpIpv6SessionStateEnum, bool) { + enum, ok := mappingVirtualCircuitBgpIpv6SessionStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VirtualCircuitRoutingPolicyEnum Enum with underlying type: string type VirtualCircuitRoutingPolicyEnum string @@ -315,6 +360,13 @@ var mappingVirtualCircuitRoutingPolicyEnum = map[string]VirtualCircuitRoutingPol "GLOBAL": VirtualCircuitRoutingPolicyGlobal, } +var mappingVirtualCircuitRoutingPolicyEnumLowerCase = map[string]VirtualCircuitRoutingPolicyEnum{ + "oracle_service_network": VirtualCircuitRoutingPolicyOracleServiceNetwork, + "regional": VirtualCircuitRoutingPolicyRegional, + "market_level": VirtualCircuitRoutingPolicyMarketLevel, + "global": VirtualCircuitRoutingPolicyGlobal, +} + // GetVirtualCircuitRoutingPolicyEnumValues Enumerates the set of values for VirtualCircuitRoutingPolicyEnum func GetVirtualCircuitRoutingPolicyEnumValues() []VirtualCircuitRoutingPolicyEnum { values := make([]VirtualCircuitRoutingPolicyEnum, 0) @@ -334,6 +386,54 @@ func GetVirtualCircuitRoutingPolicyEnumStringValues() []string { } } +// GetMappingVirtualCircuitRoutingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitRoutingPolicyEnum(val string) (VirtualCircuitRoutingPolicyEnum, bool) { + enum, ok := mappingVirtualCircuitRoutingPolicyEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// VirtualCircuitBgpAdminStateEnum Enum with underlying type: string +type VirtualCircuitBgpAdminStateEnum string + +// Set of constants representing the allowable values for VirtualCircuitBgpAdminStateEnum +const ( + VirtualCircuitBgpAdminStateEnabled VirtualCircuitBgpAdminStateEnum = "ENABLED" + VirtualCircuitBgpAdminStateDisabled VirtualCircuitBgpAdminStateEnum = "DISABLED" +) + +var mappingVirtualCircuitBgpAdminStateEnum = map[string]VirtualCircuitBgpAdminStateEnum{ + "ENABLED": VirtualCircuitBgpAdminStateEnabled, + "DISABLED": VirtualCircuitBgpAdminStateDisabled, +} + +var mappingVirtualCircuitBgpAdminStateEnumLowerCase = map[string]VirtualCircuitBgpAdminStateEnum{ + "enabled": VirtualCircuitBgpAdminStateEnabled, + "disabled": VirtualCircuitBgpAdminStateDisabled, +} + +// GetVirtualCircuitBgpAdminStateEnumValues Enumerates the set of values for VirtualCircuitBgpAdminStateEnum +func GetVirtualCircuitBgpAdminStateEnumValues() []VirtualCircuitBgpAdminStateEnum { + values := make([]VirtualCircuitBgpAdminStateEnum, 0) + for _, v := range mappingVirtualCircuitBgpAdminStateEnum { + values = append(values, v) + } + return values +} + +// GetVirtualCircuitBgpAdminStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpAdminStateEnum +func GetVirtualCircuitBgpAdminStateEnumStringValues() []string { + return []string{ + "ENABLED", + "DISABLED", + } +} + +// GetMappingVirtualCircuitBgpAdminStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitBgpAdminStateEnum(val string) (VirtualCircuitBgpAdminStateEnum, bool) { + enum, ok := mappingVirtualCircuitBgpAdminStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VirtualCircuitLifecycleStateEnum Enum with underlying type: string type VirtualCircuitLifecycleStateEnum string @@ -360,6 +460,17 @@ var mappingVirtualCircuitLifecycleStateEnum = map[string]VirtualCircuitLifecycle "TERMINATED": VirtualCircuitLifecycleStateTerminated, } +var mappingVirtualCircuitLifecycleStateEnumLowerCase = map[string]VirtualCircuitLifecycleStateEnum{ + "pending_provider": VirtualCircuitLifecycleStatePendingProvider, + "verifying": VirtualCircuitLifecycleStateVerifying, + "provisioning": VirtualCircuitLifecycleStateProvisioning, + "provisioned": VirtualCircuitLifecycleStateProvisioned, + "failed": VirtualCircuitLifecycleStateFailed, + "inactive": VirtualCircuitLifecycleStateInactive, + "terminating": VirtualCircuitLifecycleStateTerminating, + "terminated": VirtualCircuitLifecycleStateTerminated, +} + // GetVirtualCircuitLifecycleStateEnumValues Enumerates the set of values for VirtualCircuitLifecycleStateEnum func GetVirtualCircuitLifecycleStateEnumValues() []VirtualCircuitLifecycleStateEnum { values := make([]VirtualCircuitLifecycleStateEnum, 0) @@ -383,6 +494,12 @@ func GetVirtualCircuitLifecycleStateEnumStringValues() []string { } } +// GetMappingVirtualCircuitLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitLifecycleStateEnum(val string) (VirtualCircuitLifecycleStateEnum, bool) { + enum, ok := mappingVirtualCircuitLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VirtualCircuitProviderStateEnum Enum with underlying type: string type VirtualCircuitProviderStateEnum string @@ -397,6 +514,11 @@ var mappingVirtualCircuitProviderStateEnum = map[string]VirtualCircuitProviderSt "INACTIVE": VirtualCircuitProviderStateInactive, } +var mappingVirtualCircuitProviderStateEnumLowerCase = map[string]VirtualCircuitProviderStateEnum{ + "active": VirtualCircuitProviderStateActive, + "inactive": VirtualCircuitProviderStateInactive, +} + // GetVirtualCircuitProviderStateEnumValues Enumerates the set of values for VirtualCircuitProviderStateEnum func GetVirtualCircuitProviderStateEnumValues() []VirtualCircuitProviderStateEnum { values := make([]VirtualCircuitProviderStateEnum, 0) @@ -414,6 +536,12 @@ func GetVirtualCircuitProviderStateEnumStringValues() []string { } } +// GetMappingVirtualCircuitProviderStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitProviderStateEnum(val string) (VirtualCircuitProviderStateEnum, bool) { + enum, ok := mappingVirtualCircuitProviderStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VirtualCircuitServiceTypeEnum Enum with underlying type: string type VirtualCircuitServiceTypeEnum string @@ -430,6 +558,12 @@ var mappingVirtualCircuitServiceTypeEnum = map[string]VirtualCircuitServiceTypeE "LAYER3": VirtualCircuitServiceTypeLayer3, } +var mappingVirtualCircuitServiceTypeEnumLowerCase = map[string]VirtualCircuitServiceTypeEnum{ + "colocated": VirtualCircuitServiceTypeColocated, + "layer2": VirtualCircuitServiceTypeLayer2, + "layer3": VirtualCircuitServiceTypeLayer3, +} + // GetVirtualCircuitServiceTypeEnumValues Enumerates the set of values for VirtualCircuitServiceTypeEnum func GetVirtualCircuitServiceTypeEnumValues() []VirtualCircuitServiceTypeEnum { values := make([]VirtualCircuitServiceTypeEnum, 0) @@ -448,6 +582,12 @@ func GetVirtualCircuitServiceTypeEnumStringValues() []string { } } +// GetMappingVirtualCircuitServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitServiceTypeEnum(val string) (VirtualCircuitServiceTypeEnum, bool) { + enum, ok := mappingVirtualCircuitServiceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VirtualCircuitTypeEnum Enum with underlying type: string type VirtualCircuitTypeEnum string @@ -462,6 +602,11 @@ var mappingVirtualCircuitTypeEnum = map[string]VirtualCircuitTypeEnum{ "PRIVATE": VirtualCircuitTypePrivate, } +var mappingVirtualCircuitTypeEnumLowerCase = map[string]VirtualCircuitTypeEnum{ + "public": VirtualCircuitTypePublic, + "private": VirtualCircuitTypePrivate, +} + // GetVirtualCircuitTypeEnumValues Enumerates the set of values for VirtualCircuitTypeEnum func GetVirtualCircuitTypeEnumValues() []VirtualCircuitTypeEnum { values := make([]VirtualCircuitTypeEnum, 0) @@ -478,3 +623,9 @@ func GetVirtualCircuitTypeEnumStringValues() []string { "PRIVATE", } } + +// GetMappingVirtualCircuitTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitTypeEnum(val string) (VirtualCircuitTypeEnum, bool) { + enum, ok := mappingVirtualCircuitTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_bandwidth_shape.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_bandwidth_shape.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_bandwidth_shape.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_bandwidth_shape.go index 7dc5e5cc60ba..4f88ca7f82b0 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_bandwidth_shape.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_bandwidth_shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go similarity index 66% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go index 3c739253135b..827eb7b25141 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -25,31 +27,6 @@ type VirtualCircuitDrgAttachmentNetworkDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"true" json:"id"` - - // Whether the Fast Connect is an FFAB VirtualCircuit. - // Example: `true` - IsFFAB *bool `mandatory:"false" json:"isFFAB"` - - // This indicates whether FastConnect extends through an edge POP region. - // Example: `true` - IsEdgePop *bool `mandatory:"false" json:"isEdgePop"` - - // Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors - // tagged with the attachment's import route target. - ImportRouteTarget *string `mandatory:"false" json:"importRouteTarget"` - - // Routes which are exported to the attachment are exported to the route reflectors - // with the route target set to the value of the attachment's export route target. - ExportRouteTarget *string `mandatory:"false" json:"exportRouteTarget"` - - // The MPLS label of the DRG attachment - MplsLabel *int `mandatory:"false" json:"mplsLabel"` - - // The BGP ASN to use for the IPSec connection's route target. - RegionalOciAsn *string `mandatory:"false" json:"regionalOciAsn"` - - // The Oracle Cloud Infrastructure region name. - RegionName *string `mandatory:"false" json:"regionName"` } // GetId returns Id diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_ip_mtu.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_ip_mtu.go similarity index 71% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_ip_mtu.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_ip_mtu.go index c8f91f27dbdd..2c64e2cb4dc6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_ip_mtu.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_ip_mtu.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,10 +9,16 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core +import ( + "strings" +) + // VirtualCircuitIpMtuEnum Enum with underlying type: string type VirtualCircuitIpMtuEnum string @@ -27,6 +33,11 @@ var mappingVirtualCircuitIpMtuEnum = map[string]VirtualCircuitIpMtuEnum{ "MTU_9000": VirtualCircuitIpMtuMtu9000, } +var mappingVirtualCircuitIpMtuEnumLowerCase = map[string]VirtualCircuitIpMtuEnum{ + "mtu_1500": VirtualCircuitIpMtuMtu1500, + "mtu_9000": VirtualCircuitIpMtuMtu9000, +} + // GetVirtualCircuitIpMtuEnumValues Enumerates the set of values for VirtualCircuitIpMtuEnum func GetVirtualCircuitIpMtuEnumValues() []VirtualCircuitIpMtuEnum { values := make([]VirtualCircuitIpMtuEnum, 0) @@ -43,3 +54,9 @@ func GetVirtualCircuitIpMtuEnumStringValues() []string { "MTU_9000", } } + +// GetMappingVirtualCircuitIpMtuEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitIpMtuEnum(val string) (VirtualCircuitIpMtuEnum, bool) { + enum, ok := mappingVirtualCircuitIpMtuEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_public_prefix.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_public_prefix.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_public_prefix.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_public_prefix.go index 1fbc0dc3c646..bb09ff91e0e6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/virtual_circuit_public_prefix.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_public_prefix.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -44,7 +46,7 @@ func (m VirtualCircuitPublicPrefix) String() string { // Not recommended for calling this function directly func (m VirtualCircuitPublicPrefix) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVirtualCircuitPublicPrefixVerificationStateEnum[string(m.VerificationState)]; !ok && m.VerificationState != "" { + if _, ok := GetMappingVirtualCircuitPublicPrefixVerificationStateEnum(string(m.VerificationState)); !ok && m.VerificationState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VerificationState: %s. Supported values are: %s.", m.VerificationState, strings.Join(GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues(), ","))) } @@ -70,6 +72,12 @@ var mappingVirtualCircuitPublicPrefixVerificationStateEnum = map[string]VirtualC "FAILED": VirtualCircuitPublicPrefixVerificationStateFailed, } +var mappingVirtualCircuitPublicPrefixVerificationStateEnumLowerCase = map[string]VirtualCircuitPublicPrefixVerificationStateEnum{ + "in_progress": VirtualCircuitPublicPrefixVerificationStateInProgress, + "completed": VirtualCircuitPublicPrefixVerificationStateCompleted, + "failed": VirtualCircuitPublicPrefixVerificationStateFailed, +} + // GetVirtualCircuitPublicPrefixVerificationStateEnumValues Enumerates the set of values for VirtualCircuitPublicPrefixVerificationStateEnum func GetVirtualCircuitPublicPrefixVerificationStateEnumValues() []VirtualCircuitPublicPrefixVerificationStateEnum { values := make([]VirtualCircuitPublicPrefixVerificationStateEnum, 0) @@ -87,3 +95,9 @@ func GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues() []string { "FAILED", } } + +// GetMappingVirtualCircuitPublicPrefixVerificationStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVirtualCircuitPublicPrefixVerificationStateEnum(val string) (VirtualCircuitPublicPrefixVerificationStateEnum, bool) { + enum, ok := mappingVirtualCircuitPublicPrefixVerificationStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vlan.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vlan.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vlan.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vlan.go index 909cb059ba92..d5810dc062a6 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vlan.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vlan.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -92,7 +94,7 @@ func (m Vlan) String() string { // Not recommended for calling this function directly func (m Vlan) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVlanLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVlanLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVlanLifecycleStateEnumStringValues(), ","))) } @@ -122,6 +124,14 @@ var mappingVlanLifecycleStateEnum = map[string]VlanLifecycleStateEnum{ "UPDATING": VlanLifecycleStateUpdating, } +var mappingVlanLifecycleStateEnumLowerCase = map[string]VlanLifecycleStateEnum{ + "provisioning": VlanLifecycleStateProvisioning, + "available": VlanLifecycleStateAvailable, + "terminating": VlanLifecycleStateTerminating, + "terminated": VlanLifecycleStateTerminated, + "updating": VlanLifecycleStateUpdating, +} + // GetVlanLifecycleStateEnumValues Enumerates the set of values for VlanLifecycleStateEnum func GetVlanLifecycleStateEnumValues() []VlanLifecycleStateEnum { values := make([]VlanLifecycleStateEnum, 0) @@ -141,3 +151,9 @@ func GetVlanLifecycleStateEnumStringValues() []string { "UPDATING", } } + +// GetMappingVlanLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVlanLifecycleStateEnum(val string) (VlanLifecycleStateEnum, bool) { + enum, ok := mappingVlanLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vnic.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vnic.go index 1b5bca4be1cd..f2aa7ce67b6d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vnic.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -72,13 +74,13 @@ type Vnic struct { // The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname // portion of the primary private IP's fully qualified domain name (FQDN) - // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). - // Example: `bminstance-1` + // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` // Whether the VNIC is the primary VNIC (the VNIC that is automatically created @@ -137,7 +139,7 @@ func (m Vnic) String() string { // Not recommended for calling this function directly func (m Vnic) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVnicLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVnicLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVnicLifecycleStateEnumStringValues(), ","))) } @@ -165,6 +167,13 @@ var mappingVnicLifecycleStateEnum = map[string]VnicLifecycleStateEnum{ "TERMINATED": VnicLifecycleStateTerminated, } +var mappingVnicLifecycleStateEnumLowerCase = map[string]VnicLifecycleStateEnum{ + "provisioning": VnicLifecycleStateProvisioning, + "available": VnicLifecycleStateAvailable, + "terminating": VnicLifecycleStateTerminating, + "terminated": VnicLifecycleStateTerminated, +} + // GetVnicLifecycleStateEnumValues Enumerates the set of values for VnicLifecycleStateEnum func GetVnicLifecycleStateEnumValues() []VnicLifecycleStateEnum { values := make([]VnicLifecycleStateEnum, 0) @@ -183,3 +192,9 @@ func GetVnicLifecycleStateEnumStringValues() []string { "TERMINATED", } } + +// GetMappingVnicLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVnicLifecycleStateEnum(val string) (VnicLifecycleStateEnum, bool) { + enum, ok := mappingVnicLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vnic_attachment.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vnic_attachment.go index f17596578f1b..c1430a8eea94 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vnic_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vnic_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -87,7 +89,7 @@ func (m VnicAttachment) String() string { // Not recommended for calling this function directly func (m VnicAttachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVnicAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVnicAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVnicAttachmentLifecycleStateEnumStringValues(), ","))) } @@ -115,6 +117,13 @@ var mappingVnicAttachmentLifecycleStateEnum = map[string]VnicAttachmentLifecycle "DETACHED": VnicAttachmentLifecycleStateDetached, } +var mappingVnicAttachmentLifecycleStateEnumLowerCase = map[string]VnicAttachmentLifecycleStateEnum{ + "attaching": VnicAttachmentLifecycleStateAttaching, + "attached": VnicAttachmentLifecycleStateAttached, + "detaching": VnicAttachmentLifecycleStateDetaching, + "detached": VnicAttachmentLifecycleStateDetached, +} + // GetVnicAttachmentLifecycleStateEnumValues Enumerates the set of values for VnicAttachmentLifecycleStateEnum func GetVnicAttachmentLifecycleStateEnumValues() []VnicAttachmentLifecycleStateEnum { values := make([]VnicAttachmentLifecycleStateEnum, 0) @@ -133,3 +142,9 @@ func GetVnicAttachmentLifecycleStateEnumStringValues() []string { "DETACHED", } } + +// GetMappingVnicAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVnicAttachmentLifecycleStateEnum(val string) (VnicAttachmentLifecycleStateEnum, bool) { + enum, ok := mappingVnicAttachmentLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume.go index 743367be09cf..d0cbcc75bdd2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -71,16 +73,17 @@ type Volume struct { // Specifies whether the cloned volume's data has finished copying from the source volume or backup. IsHydrated *bool `mandatory:"false" json:"isHydrated"` - // The OCID of the Key Management key which is the master encryption key for the volume. + // The OCID of the Vault service key which is the master encryption key for the volume. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Elastic Performance (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeelasticperformance.htm) for more information. + // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. + // * `30`-`120`: Represents the Ultra High Performance option. // For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB. VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"` @@ -115,7 +118,7 @@ func (m Volume) String() string { // Not recommended for calling this function directly func (m Volume) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeLifecycleStateEnumStringValues(), ","))) } @@ -242,6 +245,15 @@ var mappingVolumeLifecycleStateEnum = map[string]VolumeLifecycleStateEnum{ "FAULTY": VolumeLifecycleStateFaulty, } +var mappingVolumeLifecycleStateEnumLowerCase = map[string]VolumeLifecycleStateEnum{ + "provisioning": VolumeLifecycleStateProvisioning, + "restoring": VolumeLifecycleStateRestoring, + "available": VolumeLifecycleStateAvailable, + "terminating": VolumeLifecycleStateTerminating, + "terminated": VolumeLifecycleStateTerminated, + "faulty": VolumeLifecycleStateFaulty, +} + // GetVolumeLifecycleStateEnumValues Enumerates the set of values for VolumeLifecycleStateEnum func GetVolumeLifecycleStateEnumValues() []VolumeLifecycleStateEnum { values := make([]VolumeLifecycleStateEnum, 0) @@ -262,3 +274,9 @@ func GetVolumeLifecycleStateEnumStringValues() []string { "FAULTY", } } + +// GetMappingVolumeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeLifecycleStateEnum(val string) (VolumeLifecycleStateEnum, bool) { + enum, ok := mappingVolumeLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_attachment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go index 06bf54f462de..05af4f5b0e67 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -233,11 +235,11 @@ func (m volumeattachment) String() string { // Not recommended for calling this function directly func (m volumeattachment) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeAttachmentLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeAttachmentLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeAttachmentLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVolumeAttachmentIscsiLoginStateEnum[string(m.IscsiLoginState)]; !ok && m.IscsiLoginState != "" { + if _, ok := GetMappingVolumeAttachmentIscsiLoginStateEnum(string(m.IscsiLoginState)); !ok && m.IscsiLoginState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetVolumeAttachmentIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -264,6 +266,13 @@ var mappingVolumeAttachmentLifecycleStateEnum = map[string]VolumeAttachmentLifec "DETACHED": VolumeAttachmentLifecycleStateDetached, } +var mappingVolumeAttachmentLifecycleStateEnumLowerCase = map[string]VolumeAttachmentLifecycleStateEnum{ + "attaching": VolumeAttachmentLifecycleStateAttaching, + "attached": VolumeAttachmentLifecycleStateAttached, + "detaching": VolumeAttachmentLifecycleStateDetaching, + "detached": VolumeAttachmentLifecycleStateDetached, +} + // GetVolumeAttachmentLifecycleStateEnumValues Enumerates the set of values for VolumeAttachmentLifecycleStateEnum func GetVolumeAttachmentLifecycleStateEnumValues() []VolumeAttachmentLifecycleStateEnum { values := make([]VolumeAttachmentLifecycleStateEnum, 0) @@ -283,6 +292,12 @@ func GetVolumeAttachmentLifecycleStateEnumStringValues() []string { } } +// GetMappingVolumeAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeAttachmentLifecycleStateEnum(val string) (VolumeAttachmentLifecycleStateEnum, bool) { + enum, ok := mappingVolumeAttachmentLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeAttachmentIscsiLoginStateEnum Enum with underlying type: string type VolumeAttachmentIscsiLoginStateEnum string @@ -307,6 +322,16 @@ var mappingVolumeAttachmentIscsiLoginStateEnum = map[string]VolumeAttachmentIscs "LOGOUT_FAILED": VolumeAttachmentIscsiLoginStateLogoutFailed, } +var mappingVolumeAttachmentIscsiLoginStateEnumLowerCase = map[string]VolumeAttachmentIscsiLoginStateEnum{ + "unknown": VolumeAttachmentIscsiLoginStateUnknown, + "logging_in": VolumeAttachmentIscsiLoginStateLoggingIn, + "login_succeeded": VolumeAttachmentIscsiLoginStateLoginSucceeded, + "login_failed": VolumeAttachmentIscsiLoginStateLoginFailed, + "logging_out": VolumeAttachmentIscsiLoginStateLoggingOut, + "logout_succeeded": VolumeAttachmentIscsiLoginStateLogoutSucceeded, + "logout_failed": VolumeAttachmentIscsiLoginStateLogoutFailed, +} + // GetVolumeAttachmentIscsiLoginStateEnumValues Enumerates the set of values for VolumeAttachmentIscsiLoginStateEnum func GetVolumeAttachmentIscsiLoginStateEnumValues() []VolumeAttachmentIscsiLoginStateEnum { values := make([]VolumeAttachmentIscsiLoginStateEnum, 0) @@ -328,3 +353,9 @@ func GetVolumeAttachmentIscsiLoginStateEnumStringValues() []string { "LOGOUT_FAILED", } } + +// GetMappingVolumeAttachmentIscsiLoginStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeAttachmentIscsiLoginStateEnum(val string) (VolumeAttachmentIscsiLoginStateEnum, bool) { + enum, ok := mappingVolumeAttachmentIscsiLoginStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup.go index 3d5ebdee6bfe..6d5756c1139d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -70,9 +72,9 @@ type VolumeBackup struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID of the Key Management key which is the master encryption key for the volume backup. - // For more information about the Key Management service and encryption keys, see - // Overview of Key Management (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // The OCID of the Vault service key which is the master encryption key for the volume backup. + // For more information about the Vault service and encryption keys, see + // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` @@ -101,9 +103,6 @@ type VolumeBackup struct { // This field is deprecated. Please use uniqueSizeInGBs. UniqueSizeInMbs *int64 `mandatory:"false" json:"uniqueSizeInMbs"` - // The percentage complete of the operation to create the volume backup, based on the volume backup size. - BackupProgress *int `mandatory:"false" json:"backupProgress"` - // The OCID of the volume. VolumeId *string `mandatory:"false" json:"volumeId"` } @@ -117,14 +116,14 @@ func (m VolumeBackup) String() string { // Not recommended for calling this function directly func (m VolumeBackup) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeBackupLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeBackupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeBackupLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingVolumeBackupTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetVolumeBackupTypeEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingVolumeBackupSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetVolumeBackupSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -155,6 +154,15 @@ var mappingVolumeBackupLifecycleStateEnum = map[string]VolumeBackupLifecycleStat "REQUEST_RECEIVED": VolumeBackupLifecycleStateRequestReceived, } +var mappingVolumeBackupLifecycleStateEnumLowerCase = map[string]VolumeBackupLifecycleStateEnum{ + "creating": VolumeBackupLifecycleStateCreating, + "available": VolumeBackupLifecycleStateAvailable, + "terminating": VolumeBackupLifecycleStateTerminating, + "terminated": VolumeBackupLifecycleStateTerminated, + "faulty": VolumeBackupLifecycleStateFaulty, + "request_received": VolumeBackupLifecycleStateRequestReceived, +} + // GetVolumeBackupLifecycleStateEnumValues Enumerates the set of values for VolumeBackupLifecycleStateEnum func GetVolumeBackupLifecycleStateEnumValues() []VolumeBackupLifecycleStateEnum { values := make([]VolumeBackupLifecycleStateEnum, 0) @@ -176,6 +184,12 @@ func GetVolumeBackupLifecycleStateEnumStringValues() []string { } } +// GetMappingVolumeBackupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupLifecycleStateEnum(val string) (VolumeBackupLifecycleStateEnum, bool) { + enum, ok := mappingVolumeBackupLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeBackupSourceTypeEnum Enum with underlying type: string type VolumeBackupSourceTypeEnum string @@ -190,6 +204,11 @@ var mappingVolumeBackupSourceTypeEnum = map[string]VolumeBackupSourceTypeEnum{ "SCHEDULED": VolumeBackupSourceTypeScheduled, } +var mappingVolumeBackupSourceTypeEnumLowerCase = map[string]VolumeBackupSourceTypeEnum{ + "manual": VolumeBackupSourceTypeManual, + "scheduled": VolumeBackupSourceTypeScheduled, +} + // GetVolumeBackupSourceTypeEnumValues Enumerates the set of values for VolumeBackupSourceTypeEnum func GetVolumeBackupSourceTypeEnumValues() []VolumeBackupSourceTypeEnum { values := make([]VolumeBackupSourceTypeEnum, 0) @@ -207,6 +226,12 @@ func GetVolumeBackupSourceTypeEnumStringValues() []string { } } +// GetMappingVolumeBackupSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupSourceTypeEnum(val string) (VolumeBackupSourceTypeEnum, bool) { + enum, ok := mappingVolumeBackupSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeBackupTypeEnum Enum with underlying type: string type VolumeBackupTypeEnum string @@ -221,6 +246,11 @@ var mappingVolumeBackupTypeEnum = map[string]VolumeBackupTypeEnum{ "INCREMENTAL": VolumeBackupTypeIncremental, } +var mappingVolumeBackupTypeEnumLowerCase = map[string]VolumeBackupTypeEnum{ + "full": VolumeBackupTypeFull, + "incremental": VolumeBackupTypeIncremental, +} + // GetVolumeBackupTypeEnumValues Enumerates the set of values for VolumeBackupTypeEnum func GetVolumeBackupTypeEnumValues() []VolumeBackupTypeEnum { values := make([]VolumeBackupTypeEnum, 0) @@ -237,3 +267,9 @@ func GetVolumeBackupTypeEnumStringValues() []string { "INCREMENTAL", } } + +// GetMappingVolumeBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupTypeEnum(val string) (VolumeBackupTypeEnum, bool) { + enum, ok := mappingVolumeBackupTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_policy.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy.go similarity index 92% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_policy.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy.go index 66d685fe4ee5..3b8dbdbef778 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_policy.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_policy_assignment.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy_assignment.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_policy_assignment.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy_assignment.go index 6103f434c0e2..9433a4d69f6e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_policy_assignment.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy_assignment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_schedule.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_schedule.go similarity index 74% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_schedule.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_schedule.go index 96f6a78cf766..ef2aceb4dd1f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_backup_schedule.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_backup_schedule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -80,23 +82,23 @@ func (m VolumeBackupSchedule) String() string { // Not recommended for calling this function directly func (m VolumeBackupSchedule) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeBackupScheduleBackupTypeEnum[string(m.BackupType)]; !ok && m.BackupType != "" { + if _, ok := GetMappingVolumeBackupScheduleBackupTypeEnum(string(m.BackupType)); !ok && m.BackupType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BackupType: %s. Supported values are: %s.", m.BackupType, strings.Join(GetVolumeBackupScheduleBackupTypeEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupSchedulePeriodEnum[string(m.Period)]; !ok && m.Period != "" { + if _, ok := GetMappingVolumeBackupSchedulePeriodEnum(string(m.Period)); !ok && m.Period != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Period: %s. Supported values are: %s.", m.Period, strings.Join(GetVolumeBackupSchedulePeriodEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupScheduleOffsetTypeEnum[string(m.OffsetType)]; !ok && m.OffsetType != "" { + if _, ok := GetMappingVolumeBackupScheduleOffsetTypeEnum(string(m.OffsetType)); !ok && m.OffsetType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OffsetType: %s. Supported values are: %s.", m.OffsetType, strings.Join(GetVolumeBackupScheduleOffsetTypeEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupScheduleDayOfWeekEnum[string(m.DayOfWeek)]; !ok && m.DayOfWeek != "" { + if _, ok := GetMappingVolumeBackupScheduleDayOfWeekEnum(string(m.DayOfWeek)); !ok && m.DayOfWeek != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DayOfWeek: %s. Supported values are: %s.", m.DayOfWeek, strings.Join(GetVolumeBackupScheduleDayOfWeekEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupScheduleMonthEnum[string(m.Month)]; !ok && m.Month != "" { + if _, ok := GetMappingVolumeBackupScheduleMonthEnum(string(m.Month)); !ok && m.Month != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Month: %s. Supported values are: %s.", m.Month, strings.Join(GetVolumeBackupScheduleMonthEnumStringValues(), ","))) } - if _, ok := mappingVolumeBackupScheduleTimeZoneEnum[string(m.TimeZone)]; !ok && m.TimeZone != "" { + if _, ok := GetMappingVolumeBackupScheduleTimeZoneEnum(string(m.TimeZone)); !ok && m.TimeZone != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TimeZone: %s. Supported values are: %s.", m.TimeZone, strings.Join(GetVolumeBackupScheduleTimeZoneEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -119,6 +121,11 @@ var mappingVolumeBackupScheduleBackupTypeEnum = map[string]VolumeBackupScheduleB "INCREMENTAL": VolumeBackupScheduleBackupTypeIncremental, } +var mappingVolumeBackupScheduleBackupTypeEnumLowerCase = map[string]VolumeBackupScheduleBackupTypeEnum{ + "full": VolumeBackupScheduleBackupTypeFull, + "incremental": VolumeBackupScheduleBackupTypeIncremental, +} + // GetVolumeBackupScheduleBackupTypeEnumValues Enumerates the set of values for VolumeBackupScheduleBackupTypeEnum func GetVolumeBackupScheduleBackupTypeEnumValues() []VolumeBackupScheduleBackupTypeEnum { values := make([]VolumeBackupScheduleBackupTypeEnum, 0) @@ -136,6 +143,12 @@ func GetVolumeBackupScheduleBackupTypeEnumStringValues() []string { } } +// GetMappingVolumeBackupScheduleBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupScheduleBackupTypeEnum(val string) (VolumeBackupScheduleBackupTypeEnum, bool) { + enum, ok := mappingVolumeBackupScheduleBackupTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeBackupSchedulePeriodEnum Enum with underlying type: string type VolumeBackupSchedulePeriodEnum string @@ -156,6 +169,14 @@ var mappingVolumeBackupSchedulePeriodEnum = map[string]VolumeBackupSchedulePerio "ONE_YEAR": VolumeBackupSchedulePeriodYear, } +var mappingVolumeBackupSchedulePeriodEnumLowerCase = map[string]VolumeBackupSchedulePeriodEnum{ + "one_hour": VolumeBackupSchedulePeriodHour, + "one_day": VolumeBackupSchedulePeriodDay, + "one_week": VolumeBackupSchedulePeriodWeek, + "one_month": VolumeBackupSchedulePeriodMonth, + "one_year": VolumeBackupSchedulePeriodYear, +} + // GetVolumeBackupSchedulePeriodEnumValues Enumerates the set of values for VolumeBackupSchedulePeriodEnum func GetVolumeBackupSchedulePeriodEnumValues() []VolumeBackupSchedulePeriodEnum { values := make([]VolumeBackupSchedulePeriodEnum, 0) @@ -176,6 +197,12 @@ func GetVolumeBackupSchedulePeriodEnumStringValues() []string { } } +// GetMappingVolumeBackupSchedulePeriodEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupSchedulePeriodEnum(val string) (VolumeBackupSchedulePeriodEnum, bool) { + enum, ok := mappingVolumeBackupSchedulePeriodEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeBackupScheduleOffsetTypeEnum Enum with underlying type: string type VolumeBackupScheduleOffsetTypeEnum string @@ -190,6 +217,11 @@ var mappingVolumeBackupScheduleOffsetTypeEnum = map[string]VolumeBackupScheduleO "NUMERIC_SECONDS": VolumeBackupScheduleOffsetTypeNumericSeconds, } +var mappingVolumeBackupScheduleOffsetTypeEnumLowerCase = map[string]VolumeBackupScheduleOffsetTypeEnum{ + "structured": VolumeBackupScheduleOffsetTypeStructured, + "numeric_seconds": VolumeBackupScheduleOffsetTypeNumericSeconds, +} + // GetVolumeBackupScheduleOffsetTypeEnumValues Enumerates the set of values for VolumeBackupScheduleOffsetTypeEnum func GetVolumeBackupScheduleOffsetTypeEnumValues() []VolumeBackupScheduleOffsetTypeEnum { values := make([]VolumeBackupScheduleOffsetTypeEnum, 0) @@ -207,6 +239,12 @@ func GetVolumeBackupScheduleOffsetTypeEnumStringValues() []string { } } +// GetMappingVolumeBackupScheduleOffsetTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupScheduleOffsetTypeEnum(val string) (VolumeBackupScheduleOffsetTypeEnum, bool) { + enum, ok := mappingVolumeBackupScheduleOffsetTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeBackupScheduleDayOfWeekEnum Enum with underlying type: string type VolumeBackupScheduleDayOfWeekEnum string @@ -231,6 +269,16 @@ var mappingVolumeBackupScheduleDayOfWeekEnum = map[string]VolumeBackupScheduleDa "SUNDAY": VolumeBackupScheduleDayOfWeekSunday, } +var mappingVolumeBackupScheduleDayOfWeekEnumLowerCase = map[string]VolumeBackupScheduleDayOfWeekEnum{ + "monday": VolumeBackupScheduleDayOfWeekMonday, + "tuesday": VolumeBackupScheduleDayOfWeekTuesday, + "wednesday": VolumeBackupScheduleDayOfWeekWednesday, + "thursday": VolumeBackupScheduleDayOfWeekThursday, + "friday": VolumeBackupScheduleDayOfWeekFriday, + "saturday": VolumeBackupScheduleDayOfWeekSaturday, + "sunday": VolumeBackupScheduleDayOfWeekSunday, +} + // GetVolumeBackupScheduleDayOfWeekEnumValues Enumerates the set of values for VolumeBackupScheduleDayOfWeekEnum func GetVolumeBackupScheduleDayOfWeekEnumValues() []VolumeBackupScheduleDayOfWeekEnum { values := make([]VolumeBackupScheduleDayOfWeekEnum, 0) @@ -253,6 +301,12 @@ func GetVolumeBackupScheduleDayOfWeekEnumStringValues() []string { } } +// GetMappingVolumeBackupScheduleDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupScheduleDayOfWeekEnum(val string) (VolumeBackupScheduleDayOfWeekEnum, bool) { + enum, ok := mappingVolumeBackupScheduleDayOfWeekEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeBackupScheduleMonthEnum Enum with underlying type: string type VolumeBackupScheduleMonthEnum string @@ -287,6 +341,21 @@ var mappingVolumeBackupScheduleMonthEnum = map[string]VolumeBackupScheduleMonthE "DECEMBER": VolumeBackupScheduleMonthDecember, } +var mappingVolumeBackupScheduleMonthEnumLowerCase = map[string]VolumeBackupScheduleMonthEnum{ + "january": VolumeBackupScheduleMonthJanuary, + "february": VolumeBackupScheduleMonthFebruary, + "march": VolumeBackupScheduleMonthMarch, + "april": VolumeBackupScheduleMonthApril, + "may": VolumeBackupScheduleMonthMay, + "june": VolumeBackupScheduleMonthJune, + "july": VolumeBackupScheduleMonthJuly, + "august": VolumeBackupScheduleMonthAugust, + "september": VolumeBackupScheduleMonthSeptember, + "october": VolumeBackupScheduleMonthOctober, + "november": VolumeBackupScheduleMonthNovember, + "december": VolumeBackupScheduleMonthDecember, +} + // GetVolumeBackupScheduleMonthEnumValues Enumerates the set of values for VolumeBackupScheduleMonthEnum func GetVolumeBackupScheduleMonthEnumValues() []VolumeBackupScheduleMonthEnum { values := make([]VolumeBackupScheduleMonthEnum, 0) @@ -314,6 +383,12 @@ func GetVolumeBackupScheduleMonthEnumStringValues() []string { } } +// GetMappingVolumeBackupScheduleMonthEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupScheduleMonthEnum(val string) (VolumeBackupScheduleMonthEnum, bool) { + enum, ok := mappingVolumeBackupScheduleMonthEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeBackupScheduleTimeZoneEnum Enum with underlying type: string type VolumeBackupScheduleTimeZoneEnum string @@ -328,6 +403,11 @@ var mappingVolumeBackupScheduleTimeZoneEnum = map[string]VolumeBackupScheduleTim "REGIONAL_DATA_CENTER_TIME": VolumeBackupScheduleTimeZoneRegionalDataCenterTime, } +var mappingVolumeBackupScheduleTimeZoneEnumLowerCase = map[string]VolumeBackupScheduleTimeZoneEnum{ + "utc": VolumeBackupScheduleTimeZoneUtc, + "regional_data_center_time": VolumeBackupScheduleTimeZoneRegionalDataCenterTime, +} + // GetVolumeBackupScheduleTimeZoneEnumValues Enumerates the set of values for VolumeBackupScheduleTimeZoneEnum func GetVolumeBackupScheduleTimeZoneEnumValues() []VolumeBackupScheduleTimeZoneEnum { values := make([]VolumeBackupScheduleTimeZoneEnum, 0) @@ -344,3 +424,9 @@ func GetVolumeBackupScheduleTimeZoneEnumStringValues() []string { "REGIONAL_DATA_CENTER_TIME", } } + +// GetMappingVolumeBackupScheduleTimeZoneEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeBackupScheduleTimeZoneEnum(val string) (VolumeBackupScheduleTimeZoneEnum, bool) { + enum, ok := mappingVolumeBackupScheduleTimeZoneEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group.go index 0b68b77a667f..70a556af46c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -83,7 +85,7 @@ func (m VolumeGroup) String() string { // Not recommended for calling this function directly func (m VolumeGroup) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeGroupLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeGroupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeGroupLifecycleStateEnumStringValues(), ","))) } @@ -167,19 +169,30 @@ type VolumeGroupLifecycleStateEnum string // Set of constants representing the allowable values for VolumeGroupLifecycleStateEnum const ( - VolumeGroupLifecycleStateProvisioning VolumeGroupLifecycleStateEnum = "PROVISIONING" - VolumeGroupLifecycleStateAvailable VolumeGroupLifecycleStateEnum = "AVAILABLE" - VolumeGroupLifecycleStateTerminating VolumeGroupLifecycleStateEnum = "TERMINATING" - VolumeGroupLifecycleStateTerminated VolumeGroupLifecycleStateEnum = "TERMINATED" - VolumeGroupLifecycleStateFaulty VolumeGroupLifecycleStateEnum = "FAULTY" + VolumeGroupLifecycleStateProvisioning VolumeGroupLifecycleStateEnum = "PROVISIONING" + VolumeGroupLifecycleStateAvailable VolumeGroupLifecycleStateEnum = "AVAILABLE" + VolumeGroupLifecycleStateTerminating VolumeGroupLifecycleStateEnum = "TERMINATING" + VolumeGroupLifecycleStateTerminated VolumeGroupLifecycleStateEnum = "TERMINATED" + VolumeGroupLifecycleStateFaulty VolumeGroupLifecycleStateEnum = "FAULTY" + VolumeGroupLifecycleStateUpdatePending VolumeGroupLifecycleStateEnum = "UPDATE_PENDING" ) var mappingVolumeGroupLifecycleStateEnum = map[string]VolumeGroupLifecycleStateEnum{ - "PROVISIONING": VolumeGroupLifecycleStateProvisioning, - "AVAILABLE": VolumeGroupLifecycleStateAvailable, - "TERMINATING": VolumeGroupLifecycleStateTerminating, - "TERMINATED": VolumeGroupLifecycleStateTerminated, - "FAULTY": VolumeGroupLifecycleStateFaulty, + "PROVISIONING": VolumeGroupLifecycleStateProvisioning, + "AVAILABLE": VolumeGroupLifecycleStateAvailable, + "TERMINATING": VolumeGroupLifecycleStateTerminating, + "TERMINATED": VolumeGroupLifecycleStateTerminated, + "FAULTY": VolumeGroupLifecycleStateFaulty, + "UPDATE_PENDING": VolumeGroupLifecycleStateUpdatePending, +} + +var mappingVolumeGroupLifecycleStateEnumLowerCase = map[string]VolumeGroupLifecycleStateEnum{ + "provisioning": VolumeGroupLifecycleStateProvisioning, + "available": VolumeGroupLifecycleStateAvailable, + "terminating": VolumeGroupLifecycleStateTerminating, + "terminated": VolumeGroupLifecycleStateTerminated, + "faulty": VolumeGroupLifecycleStateFaulty, + "update_pending": VolumeGroupLifecycleStateUpdatePending, } // GetVolumeGroupLifecycleStateEnumValues Enumerates the set of values for VolumeGroupLifecycleStateEnum @@ -199,5 +212,12 @@ func GetVolumeGroupLifecycleStateEnumStringValues() []string { "TERMINATING", "TERMINATED", "FAULTY", + "UPDATE_PENDING", } } + +// GetMappingVolumeGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeGroupLifecycleStateEnum(val string) (VolumeGroupLifecycleStateEnum, bool) { + enum, ok := mappingVolumeGroupLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_backup.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_backup.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_backup.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_backup.go index 78da2b4bb7ee..f6f17d598d9a 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_backup.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -107,14 +109,14 @@ func (m VolumeGroupBackup) String() string { // Not recommended for calling this function directly func (m VolumeGroupBackup) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeGroupBackupLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeGroupBackupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeGroupBackupLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVolumeGroupBackupTypeEnum[string(m.Type)]; !ok && m.Type != "" { + if _, ok := GetMappingVolumeGroupBackupTypeEnum(string(m.Type)); !ok && m.Type != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetVolumeGroupBackupTypeEnumStringValues(), ","))) } - if _, ok := mappingVolumeGroupBackupSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingVolumeGroupBackupSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetVolumeGroupBackupSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -147,6 +149,16 @@ var mappingVolumeGroupBackupLifecycleStateEnum = map[string]VolumeGroupBackupLif "REQUEST_RECEIVED": VolumeGroupBackupLifecycleStateRequestReceived, } +var mappingVolumeGroupBackupLifecycleStateEnumLowerCase = map[string]VolumeGroupBackupLifecycleStateEnum{ + "creating": VolumeGroupBackupLifecycleStateCreating, + "committed": VolumeGroupBackupLifecycleStateCommitted, + "available": VolumeGroupBackupLifecycleStateAvailable, + "terminating": VolumeGroupBackupLifecycleStateTerminating, + "terminated": VolumeGroupBackupLifecycleStateTerminated, + "faulty": VolumeGroupBackupLifecycleStateFaulty, + "request_received": VolumeGroupBackupLifecycleStateRequestReceived, +} + // GetVolumeGroupBackupLifecycleStateEnumValues Enumerates the set of values for VolumeGroupBackupLifecycleStateEnum func GetVolumeGroupBackupLifecycleStateEnumValues() []VolumeGroupBackupLifecycleStateEnum { values := make([]VolumeGroupBackupLifecycleStateEnum, 0) @@ -169,6 +181,12 @@ func GetVolumeGroupBackupLifecycleStateEnumStringValues() []string { } } +// GetMappingVolumeGroupBackupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeGroupBackupLifecycleStateEnum(val string) (VolumeGroupBackupLifecycleStateEnum, bool) { + enum, ok := mappingVolumeGroupBackupLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeGroupBackupSourceTypeEnum Enum with underlying type: string type VolumeGroupBackupSourceTypeEnum string @@ -183,6 +201,11 @@ var mappingVolumeGroupBackupSourceTypeEnum = map[string]VolumeGroupBackupSourceT "SCHEDULED": VolumeGroupBackupSourceTypeScheduled, } +var mappingVolumeGroupBackupSourceTypeEnumLowerCase = map[string]VolumeGroupBackupSourceTypeEnum{ + "manual": VolumeGroupBackupSourceTypeManual, + "scheduled": VolumeGroupBackupSourceTypeScheduled, +} + // GetVolumeGroupBackupSourceTypeEnumValues Enumerates the set of values for VolumeGroupBackupSourceTypeEnum func GetVolumeGroupBackupSourceTypeEnumValues() []VolumeGroupBackupSourceTypeEnum { values := make([]VolumeGroupBackupSourceTypeEnum, 0) @@ -200,6 +223,12 @@ func GetVolumeGroupBackupSourceTypeEnumStringValues() []string { } } +// GetMappingVolumeGroupBackupSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeGroupBackupSourceTypeEnum(val string) (VolumeGroupBackupSourceTypeEnum, bool) { + enum, ok := mappingVolumeGroupBackupSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VolumeGroupBackupTypeEnum Enum with underlying type: string type VolumeGroupBackupTypeEnum string @@ -214,6 +243,11 @@ var mappingVolumeGroupBackupTypeEnum = map[string]VolumeGroupBackupTypeEnum{ "INCREMENTAL": VolumeGroupBackupTypeIncremental, } +var mappingVolumeGroupBackupTypeEnumLowerCase = map[string]VolumeGroupBackupTypeEnum{ + "full": VolumeGroupBackupTypeFull, + "incremental": VolumeGroupBackupTypeIncremental, +} + // GetVolumeGroupBackupTypeEnumValues Enumerates the set of values for VolumeGroupBackupTypeEnum func GetVolumeGroupBackupTypeEnumValues() []VolumeGroupBackupTypeEnum { values := make([]VolumeGroupBackupTypeEnum, 0) @@ -230,3 +264,9 @@ func GetVolumeGroupBackupTypeEnumStringValues() []string { "INCREMENTAL", } } + +// GetMappingVolumeGroupBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeGroupBackupTypeEnum(val string) (VolumeGroupBackupTypeEnum, bool) { + enum, ok := mappingVolumeGroupBackupTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica.go index 7546debc64d5..6a441bc798cf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -80,7 +82,7 @@ func (m VolumeGroupReplica) String() string { // Not recommended for calling this function directly func (m VolumeGroupReplica) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVolumeGroupReplicaLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVolumeGroupReplicaLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVolumeGroupReplicaLifecycleStateEnumStringValues(), ","))) } @@ -112,6 +114,15 @@ var mappingVolumeGroupReplicaLifecycleStateEnum = map[string]VolumeGroupReplicaL "FAULTY": VolumeGroupReplicaLifecycleStateFaulty, } +var mappingVolumeGroupReplicaLifecycleStateEnumLowerCase = map[string]VolumeGroupReplicaLifecycleStateEnum{ + "provisioning": VolumeGroupReplicaLifecycleStateProvisioning, + "available": VolumeGroupReplicaLifecycleStateAvailable, + "activating": VolumeGroupReplicaLifecycleStateActivating, + "terminating": VolumeGroupReplicaLifecycleStateTerminating, + "terminated": VolumeGroupReplicaLifecycleStateTerminated, + "faulty": VolumeGroupReplicaLifecycleStateFaulty, +} + // GetVolumeGroupReplicaLifecycleStateEnumValues Enumerates the set of values for VolumeGroupReplicaLifecycleStateEnum func GetVolumeGroupReplicaLifecycleStateEnumValues() []VolumeGroupReplicaLifecycleStateEnum { values := make([]VolumeGroupReplicaLifecycleStateEnum, 0) @@ -132,3 +143,9 @@ func GetVolumeGroupReplicaLifecycleStateEnumStringValues() []string { "FAULTY", } } + +// GetMappingVolumeGroupReplicaLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVolumeGroupReplicaLifecycleStateEnum(val string) (VolumeGroupReplicaLifecycleStateEnum, bool) { + enum, ok := mappingVolumeGroupReplicaLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_details.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_details.go index ea1de6f98535..842b1648df44 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica_info.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_info.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica_info.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_info.go index 6b5c555f89b3..ae3923fcb039 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_replica_info.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_details.go index 6fd763001d40..01a8de755481 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_backup_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_backup_details.go index c114c207166c..b55dd38d9818 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_details.go index b05f42ebc05b..5688e9d237a4 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_replica_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_replica_details.go similarity index 89% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_replica_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_replica_details.go index 06a4d9ef4f30..b8953371833d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volume_group_replica_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volumes_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volumes_details.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volumes_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volumes_details.go index ff41a46433ca..bf7da713185d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_group_source_from_volumes_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volumes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_kms_key.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_kms_key.go similarity index 73% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_kms_key.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_kms_key.go index 03d9fc97ae41..8b951c90dc60 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_kms_key.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_kms_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,20 +9,22 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) -// VolumeKmsKey The Key Management master encryption key associated with this volume. +// VolumeKmsKey The Vault service master encryption key associated with this volume. type VolumeKmsKey struct { - // The OCID of the Key Management key assigned to this volume. If the volume is not using Key Management, then the `kmsKeyId` will be a null string. + // The OCID of the Vault service key assigned to this volume. If the volume is not using Vault service, then the `kmsKeyId` will be a null string. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_details.go similarity index 90% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_details.go index cf73cb943c99..471e08d6d0bf 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_block_volume_replica_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_block_volume_replica_details.go similarity index 88% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_block_volume_replica_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_block_volume_replica_details.go index ac9695a4fac6..96ac9dd3c2e5 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_block_volume_replica_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_block_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_volume_backup_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_details.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_volume_backup_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_details.go index 31d67f3c9bf8..206e6ef30a1e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_volume_backup_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_volume_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_details.go similarity index 87% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_volume_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_details.go index 0d8ab5d9a656..554909a4c59b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/volume_source_from_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,6 +9,8 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -16,7 +18,7 @@ package core import ( "encoding/json" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vtap.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vtap.go similarity index 72% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vtap.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vtap.go index 63f8a29ec2c1..c47f3d33b489 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vtap.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vtap.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -24,22 +26,22 @@ import ( // A *CaptureFilter* contains a set of *CaptureFilterRuleDetails* governing what traffic a VTAP mirrors. type Vtap struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. VcnId *string `mandatory:"true" json:"vcnId"` - // The VTAP's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). + // The VTAP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The VTAP's administrative lifecycle state. LifecycleState VtapLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. SourceId *string `mandatory:"true" json:"sourceId"` - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). + // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). CaptureFilterId *string `mandatory:"true" json:"captureFilterId"` // Defined tags for this resource. Each key is predefined and scoped to a @@ -63,7 +65,7 @@ type Vtap struct { // Example: `2020-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. TargetId *string `mandatory:"false" json:"targetId"` // The IP address of the destination resource where mirrored packets are sent. @@ -95,7 +97,7 @@ type Vtap struct { // The IP Address of the source private endpoint. SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"` } @@ -108,23 +110,23 @@ func (m Vtap) String() string { // Not recommended for calling this function directly func (m Vtap) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVtapLifecycleStateEnum[string(m.LifecycleState)]; !ok && m.LifecycleState != "" { + if _, ok := GetMappingVtapLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVtapLifecycleStateEnumStringValues(), ","))) } - if _, ok := mappingVtapLifecycleStateDetailsEnum[string(m.LifecycleStateDetails)]; !ok && m.LifecycleStateDetails != "" { + if _, ok := GetMappingVtapLifecycleStateDetailsEnum(string(m.LifecycleStateDetails)); !ok && m.LifecycleStateDetails != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleStateDetails: %s. Supported values are: %s.", m.LifecycleStateDetails, strings.Join(GetVtapLifecycleStateDetailsEnumStringValues(), ","))) } - if _, ok := mappingVtapEncapsulationProtocolEnum[string(m.EncapsulationProtocol)]; !ok && m.EncapsulationProtocol != "" { + if _, ok := GetMappingVtapEncapsulationProtocolEnum(string(m.EncapsulationProtocol)); !ok && m.EncapsulationProtocol != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncapsulationProtocol: %s. Supported values are: %s.", m.EncapsulationProtocol, strings.Join(GetVtapEncapsulationProtocolEnumStringValues(), ","))) } - if _, ok := mappingVtapSourceTypeEnum[string(m.SourceType)]; !ok && m.SourceType != "" { + if _, ok := GetMappingVtapSourceTypeEnum(string(m.SourceType)); !ok && m.SourceType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetVtapSourceTypeEnumStringValues(), ","))) } - if _, ok := mappingVtapTrafficModeEnum[string(m.TrafficMode)]; !ok && m.TrafficMode != "" { + if _, ok := GetMappingVtapTrafficModeEnum(string(m.TrafficMode)); !ok && m.TrafficMode != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TrafficMode: %s. Supported values are: %s.", m.TrafficMode, strings.Join(GetVtapTrafficModeEnumStringValues(), ","))) } - if _, ok := mappingVtapTargetTypeEnum[string(m.TargetType)]; !ok && m.TargetType != "" { + if _, ok := GetMappingVtapTargetTypeEnum(string(m.TargetType)); !ok && m.TargetType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetType: %s. Supported values are: %s.", m.TargetType, strings.Join(GetVtapTargetTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -153,6 +155,14 @@ var mappingVtapLifecycleStateEnum = map[string]VtapLifecycleStateEnum{ "TERMINATED": VtapLifecycleStateTerminated, } +var mappingVtapLifecycleStateEnumLowerCase = map[string]VtapLifecycleStateEnum{ + "provisioning": VtapLifecycleStateProvisioning, + "available": VtapLifecycleStateAvailable, + "updating": VtapLifecycleStateUpdating, + "terminating": VtapLifecycleStateTerminating, + "terminated": VtapLifecycleStateTerminated, +} + // GetVtapLifecycleStateEnumValues Enumerates the set of values for VtapLifecycleStateEnum func GetVtapLifecycleStateEnumValues() []VtapLifecycleStateEnum { values := make([]VtapLifecycleStateEnum, 0) @@ -173,6 +183,12 @@ func GetVtapLifecycleStateEnumStringValues() []string { } } +// GetMappingVtapLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapLifecycleStateEnum(val string) (VtapLifecycleStateEnum, bool) { + enum, ok := mappingVtapLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VtapLifecycleStateDetailsEnum Enum with underlying type: string type VtapLifecycleStateDetailsEnum string @@ -187,6 +203,11 @@ var mappingVtapLifecycleStateDetailsEnum = map[string]VtapLifecycleStateDetailsE "STOPPED": VtapLifecycleStateDetailsStopped, } +var mappingVtapLifecycleStateDetailsEnumLowerCase = map[string]VtapLifecycleStateDetailsEnum{ + "running": VtapLifecycleStateDetailsRunning, + "stopped": VtapLifecycleStateDetailsStopped, +} + // GetVtapLifecycleStateDetailsEnumValues Enumerates the set of values for VtapLifecycleStateDetailsEnum func GetVtapLifecycleStateDetailsEnumValues() []VtapLifecycleStateDetailsEnum { values := make([]VtapLifecycleStateDetailsEnum, 0) @@ -204,6 +225,12 @@ func GetVtapLifecycleStateDetailsEnumStringValues() []string { } } +// GetMappingVtapLifecycleStateDetailsEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapLifecycleStateDetailsEnum(val string) (VtapLifecycleStateDetailsEnum, bool) { + enum, ok := mappingVtapLifecycleStateDetailsEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VtapEncapsulationProtocolEnum Enum with underlying type: string type VtapEncapsulationProtocolEnum string @@ -216,6 +243,10 @@ var mappingVtapEncapsulationProtocolEnum = map[string]VtapEncapsulationProtocolE "VXLAN": VtapEncapsulationProtocolVxlan, } +var mappingVtapEncapsulationProtocolEnumLowerCase = map[string]VtapEncapsulationProtocolEnum{ + "vxlan": VtapEncapsulationProtocolVxlan, +} + // GetVtapEncapsulationProtocolEnumValues Enumerates the set of values for VtapEncapsulationProtocolEnum func GetVtapEncapsulationProtocolEnumValues() []VtapEncapsulationProtocolEnum { values := make([]VtapEncapsulationProtocolEnum, 0) @@ -232,6 +263,12 @@ func GetVtapEncapsulationProtocolEnumStringValues() []string { } } +// GetMappingVtapEncapsulationProtocolEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapEncapsulationProtocolEnum(val string) (VtapEncapsulationProtocolEnum, bool) { + enum, ok := mappingVtapEncapsulationProtocolEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VtapSourceTypeEnum Enum with underlying type: string type VtapSourceTypeEnum string @@ -254,6 +291,15 @@ var mappingVtapSourceTypeEnum = map[string]VtapSourceTypeEnum{ "AUTONOMOUS_DATA_WAREHOUSE": VtapSourceTypeAutonomousDataWarehouse, } +var mappingVtapSourceTypeEnumLowerCase = map[string]VtapSourceTypeEnum{ + "vnic": VtapSourceTypeVnic, + "subnet": VtapSourceTypeSubnet, + "load_balancer": VtapSourceTypeLoadBalancer, + "db_system": VtapSourceTypeDbSystem, + "exadata_vm_cluster": VtapSourceTypeExadataVmCluster, + "autonomous_data_warehouse": VtapSourceTypeAutonomousDataWarehouse, +} + // GetVtapSourceTypeEnumValues Enumerates the set of values for VtapSourceTypeEnum func GetVtapSourceTypeEnumValues() []VtapSourceTypeEnum { values := make([]VtapSourceTypeEnum, 0) @@ -275,6 +321,12 @@ func GetVtapSourceTypeEnumStringValues() []string { } } +// GetMappingVtapSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapSourceTypeEnum(val string) (VtapSourceTypeEnum, bool) { + enum, ok := mappingVtapSourceTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VtapTrafficModeEnum Enum with underlying type: string type VtapTrafficModeEnum string @@ -289,6 +341,11 @@ var mappingVtapTrafficModeEnum = map[string]VtapTrafficModeEnum{ "PRIORITY": VtapTrafficModePriority, } +var mappingVtapTrafficModeEnumLowerCase = map[string]VtapTrafficModeEnum{ + "default": VtapTrafficModeDefault, + "priority": VtapTrafficModePriority, +} + // GetVtapTrafficModeEnumValues Enumerates the set of values for VtapTrafficModeEnum func GetVtapTrafficModeEnumValues() []VtapTrafficModeEnum { values := make([]VtapTrafficModeEnum, 0) @@ -306,6 +363,12 @@ func GetVtapTrafficModeEnumStringValues() []string { } } +// GetMappingVtapTrafficModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapTrafficModeEnum(val string) (VtapTrafficModeEnum, bool) { + enum, ok := mappingVtapTrafficModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VtapTargetTypeEnum Enum with underlying type: string type VtapTargetTypeEnum string @@ -313,11 +376,19 @@ type VtapTargetTypeEnum string const ( VtapTargetTypeVnic VtapTargetTypeEnum = "VNIC" VtapTargetTypeNetworkLoadBalancer VtapTargetTypeEnum = "NETWORK_LOAD_BALANCER" + VtapTargetTypeIpAddress VtapTargetTypeEnum = "IP_ADDRESS" ) var mappingVtapTargetTypeEnum = map[string]VtapTargetTypeEnum{ "VNIC": VtapTargetTypeVnic, "NETWORK_LOAD_BALANCER": VtapTargetTypeNetworkLoadBalancer, + "IP_ADDRESS": VtapTargetTypeIpAddress, +} + +var mappingVtapTargetTypeEnumLowerCase = map[string]VtapTargetTypeEnum{ + "vnic": VtapTargetTypeVnic, + "network_load_balancer": VtapTargetTypeNetworkLoadBalancer, + "ip_address": VtapTargetTypeIpAddress, } // GetVtapTargetTypeEnumValues Enumerates the set of values for VtapTargetTypeEnum @@ -334,5 +405,12 @@ func GetVtapTargetTypeEnumStringValues() []string { return []string{ "VNIC", "NETWORK_LOAD_BALANCER", + "IP_ADDRESS", } } + +// GetMappingVtapTargetTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapTargetTypeEnum(val string) (VtapTargetTypeEnum, bool) { + enum, ok := mappingVtapTargetTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vtap_capture_filter_rule_details.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vtap_capture_filter_rule_details.go similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vtap_capture_filter_rule_details.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vtap_capture_filter_rule_details.go index 0dba40ec6c72..7eba7dfb19be 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/vtap_capture_filter_rule_details.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/vtap_capture_filter_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -9,13 +9,15 @@ // documentation for 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. +// The required permissions are documented in the +// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -57,11 +59,11 @@ func (m VtapCaptureFilterRuleDetails) String() string { // Not recommended for calling this function directly func (m VtapCaptureFilterRuleDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum[string(m.TrafficDirection)]; !ok && m.TrafficDirection != "" { + if _, ok := GetMappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum(string(m.TrafficDirection)); !ok && m.TrafficDirection != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TrafficDirection: %s. Supported values are: %s.", m.TrafficDirection, strings.Join(GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumStringValues(), ","))) } - if _, ok := mappingVtapCaptureFilterRuleDetailsRuleActionEnum[string(m.RuleAction)]; !ok && m.RuleAction != "" { + if _, ok := GetMappingVtapCaptureFilterRuleDetailsRuleActionEnum(string(m.RuleAction)); !ok && m.RuleAction != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RuleAction: %s. Supported values are: %s.", m.RuleAction, strings.Join(GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -84,6 +86,11 @@ var mappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum = map[string]VtapCap "EGRESS": VtapCaptureFilterRuleDetailsTrafficDirectionEgress, } +var mappingVtapCaptureFilterRuleDetailsTrafficDirectionEnumLowerCase = map[string]VtapCaptureFilterRuleDetailsTrafficDirectionEnum{ + "ingress": VtapCaptureFilterRuleDetailsTrafficDirectionIngress, + "egress": VtapCaptureFilterRuleDetailsTrafficDirectionEgress, +} + // GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumValues Enumerates the set of values for VtapCaptureFilterRuleDetailsTrafficDirectionEnum func GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumValues() []VtapCaptureFilterRuleDetailsTrafficDirectionEnum { values := make([]VtapCaptureFilterRuleDetailsTrafficDirectionEnum, 0) @@ -101,6 +108,12 @@ func GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumStringValues() []string } } +// GetMappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum(val string) (VtapCaptureFilterRuleDetailsTrafficDirectionEnum, bool) { + enum, ok := mappingVtapCaptureFilterRuleDetailsTrafficDirectionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + // VtapCaptureFilterRuleDetailsRuleActionEnum Enum with underlying type: string type VtapCaptureFilterRuleDetailsRuleActionEnum string @@ -115,6 +128,11 @@ var mappingVtapCaptureFilterRuleDetailsRuleActionEnum = map[string]VtapCaptureFi "EXCLUDE": VtapCaptureFilterRuleDetailsRuleActionExclude, } +var mappingVtapCaptureFilterRuleDetailsRuleActionEnumLowerCase = map[string]VtapCaptureFilterRuleDetailsRuleActionEnum{ + "include": VtapCaptureFilterRuleDetailsRuleActionInclude, + "exclude": VtapCaptureFilterRuleDetailsRuleActionExclude, +} + // GetVtapCaptureFilterRuleDetailsRuleActionEnumValues Enumerates the set of values for VtapCaptureFilterRuleDetailsRuleActionEnum func GetVtapCaptureFilterRuleDetailsRuleActionEnumValues() []VtapCaptureFilterRuleDetailsRuleActionEnum { values := make([]VtapCaptureFilterRuleDetailsRuleActionEnum, 0) @@ -131,3 +149,9 @@ func GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues() []string { "EXCLUDE", } } + +// GetMappingVtapCaptureFilterRuleDetailsRuleActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingVtapCaptureFilterRuleDetailsRuleActionEnum(val string) (VtapCaptureFilterRuleDetailsRuleActionEnum, bool) { + enum, ok := mappingVtapCaptureFilterRuleDetailsRuleActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/withdraw_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/withdraw_byoip_range_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/withdraw_byoip_range_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/withdraw_byoip_range_request_response.go index 80ebf0a80947..966ec7fdde3e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/core/withdraw_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/core/withdraw_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package core import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // 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. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/featureId.yaml b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/featureId.yaml similarity index 100% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/featureId.yaml rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/featureId.yaml diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/github.whitelist b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/github.whitelist similarity index 100% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/github.whitelist rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/github.whitelist diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/license_header_definition.xml b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/license_header_definition.xml similarity index 100% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/license_header_definition.xml rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/license_header_definition.xml diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/licenseheader.txt b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/licenseheader.txt similarity index 100% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/licenseheader.txt rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/licenseheader.txt diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/oci.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/oci.go similarity index 66% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/oci.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/oci.go index 99302487cc71..b9dba04131f9 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/oci.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/oci.go @@ -1,5 +1,5 @@ /* -This is the official Go SDK for Oracle Cloud Infrastructure +Package oci is the official Go SDK for Oracle Cloud Infrastructure # Installation @@ -19,8 +19,8 @@ them out to stdout "context" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/identity" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/identity" ) func main() { @@ -41,7 +41,7 @@ them out to stdout CompartmentId: &tenancyID, } - r, err := c.ListAvailabilityDomains(context.Background(), request) + r, err := client.ListAvailabilityDomains(context.Background(), request) if err != nil { fmt.Println("Error:", err) return @@ -53,12 +53,12 @@ them out to stdout More examples can be found in the SDK Github repo: https://github.com/oracle/oci-go-sdk/tree/master/example -# Optional fields in the SDK +# Optional Fields in the SDK Optional fields are represented with the `mandatory:"false"` tag on input structs. The SDK will omit all optional fields that are nil when making requests. In the case of enum-type fields, the SDK will omit fields whose value is an empty string. -# Helper functions +# Helper Functions The SDK uses pointers for primitive types in many input structs. To aid in the construction of such structs, the SDK provides functions that return a pointer for a given value. For example: @@ -127,7 +127,7 @@ The example below shows how to create a default signer. signer.Sign(&request) // Execute the request - client.Do(request) + client.Do(&request) The signer also allows more granular control on the headers used for signing. For example: @@ -139,10 +139,10 @@ The signer also allows more granular control on the headers used for signing. Fo request.Header.Set("Date", time.Now().UTC().Format(http.TimeFormat)) // Mandatory headers to be used in the sign process - defaultGenericHeaders = []string{"date", "(request-target)", "host"} + defaultGenericHeaders := []string{"date", "(request-target)", "host"} // Optional headers - optionalHeaders = []string{"content-length", "content-type", "x-content-sha256"} + optionalHeaders := []string{"content-length", "content-type", "x-content-sha256"} // A predicate that specifies when to use the optional signing headers optionalHeadersPredicate := func (r *http.Request) bool { @@ -153,13 +153,13 @@ The signer also allows more granular control on the headers used for signing. Fo provider := common.DefaultConfigProvider() // Build the signer - signer := common.RequestSigner(provider, defaultGenericHeaders, optionalHeaders, optionalHeadersPredicate) + signer := common.RequestSigner(provider, defaultGenericHeaders, optionalHeaders) // Sign the request signer.Sign(&request) // Execute the request - c.Do(request) + client.Do(&request) You can combine a custom signer with the exposed clients in the SDK. This allows you to add custom signed headers to the request. Following is an example: @@ -168,23 +168,23 @@ This allows you to add custom signed headers to the request. Following is an exa provider := common.DefaultConfigProvider() //Create a client for the service you interested in - c, _ := identity.NewIdentityClientWithConfigurationProvider(provider) + client, _ := identity.NewIdentityClientWithConfigurationProvider(provider) //Define a custom header to be signed, and add it to the list of default headers customHeader := "opc-my-token" allHeaders := append(common.DefaultGenericHeaders(), customHeader) //Overwrite the signer in your client to sign the new slice of headers - c.Signer = common.RequestSigner(provider, allHeaders, common.DefaultBodyHeaders()) + client.Signer = common.RequestSigner(provider, allHeaders, common.DefaultBodyHeaders()) //Set the value of the header. This can be done with an Interceptor - c.Interceptor = func(request *http.Request) error { + client.Interceptor = func(request *http.Request) error { request.Header.Add(customHeader, "customvalue") return nil } //Execute your operation as before - c.ListGroups(..) + client.ListGroups(..) Bear in mind that some services have a white list of headers that it expects to be signed. Therefore, adding an arbitrary header can result in authentications errors. @@ -192,13 +192,13 @@ To see a runnable example, see https://github.com/oracle/oci-go-sdk/blob/master/ For more information on the signing algorithm refer to: https://docs.cloud.oracle.com/Content/API/Concepts/signingrequests.htm -# Polymorphic json requests and responses +# Polymorphic JSON Requests and Responses -Some operations accept or return polymorphic json objects. The SDK models such objects as interfaces. Further the SDK provides +Some operations accept or return polymorphic JSON objects. The SDK models such objects as interfaces. Further the SDK provides structs that implement such interfaces. Thus, for all operations that expect interfaces as input, pass the struct in the SDK that satisfies such interface. For example: - c, err := identity.NewIdentityClientWithConfigurationProvider(common.DefaultConfigProvider()) + client, err := identity.NewIdentityClientWithConfigurationProvider(common.DefaultConfigProvider()) if err != nil { panic(err) } @@ -215,17 +215,17 @@ such interface. For example: rCreate.CreateIdentityProviderDetails = details // Make the call - rspCreate, createErr := c.CreateIdentityProvider(context.Background(), rCreate) + rspCreate, createErr := client.CreateIdentityProvider(context.Background(), rCreate) In the case of a polymorphic response you can type assert the interface to the expected type. For example: rRead := identity.GetIdentityProviderRequest{} rRead.IdentityProviderId = common.String("aValidId") - response, err := c.GetIdentityProvider(context.Background(), rRead) + response, err := client.GetIdentityProvider(context.Background(), rRead) provider := response.IdentityProvider.(identity.Saml2IdentityProvider) -An example of polymorphic json request handling can be found here: https://github.com/oracle/oci-go-sdk/blob/master/example/example_core_test.go#L63 +An example of polymorphic JSON request handling can be found here: https://github.com/oracle/oci-go-sdk/blob/master/example/example_core_test.go#L63 # Pagination @@ -251,6 +251,15 @@ Built-in logging in the SDK is controlled via the environment variable "OCI_GO_S If the value of the environment variable does not match any of the above then default logging level is "info". If the environment variable is not present then no logging messages are emitted. +You can also enable logs by code. For example + + var dlog DefaultSDKLogger + dlog.currentLoggingLevel = 2 + dlog.debugLogger = log.New(os.Stderr, "DEBUG ", log.Ldate|log.Lmicroseconds|log.Lshortfile) + SetSDKLogger(dlog) + +This way you enable debug logs by code. + The default destination for logging is Stderr and if you want to output log to a file you can set via environment variable "OCI_GO_SDK_LOG_OUTPUT_MODE". The below are possible values 1. "file" or "f" enables all logging output saved to file @@ -283,7 +292,48 @@ The Retry behavior Precedence (Highest to lowest) is defined as below:- # Default Retry Policy The OCI Go SDK defines a default retry policy that retries on the errors suitable for retries (see https://docs.oracle.com/en-us/iaas/Content/API/References/apierrors.htm), -for a recommended period of time (up to 7 attempts spread out over at most approximately 1.5 minutes). This default retry policy can be created using: +for a recommended period of time (up to 7 attempts spread out over at most approximately 1.5 minutes). The default retry policy is defined by : + +Default Retry-able Errors +Below is the list of default retry-able errors for which retry attempts should be made. + +The following errors should be retried (with backoff). + +HTTP Code Customer-facing Error Code + + 409 IncorrectState + 429 Any Response Body + 500 Any Response Body + 502 Any Response Body + 503 Any Response Body + 504 Any Response Body + +Apart from the above errors, retries should also be attempted in the following Client Side errors : + +1. HTTP Connection timeout +2. Request Connection Errors +3. Request Exceptions +4. Other timeouts (like Read Timeout) + +The above errors can be avoided through retrying and hence, are classified as the default retry-able errors. + +Additionally, retries should also be made for Circuit Breaker exceptions (Exceptions raised by Circuit Breaker in an open state) + +Default Termination Strategy +The termination strategy defines when SDKs should stop attempting to retry. In other words, it's the deadline for retries. +The OCI SDKs should stop retrying the operation after 7 retry attempts. This means the SDKs will have retried for ~98 seconds or ~1.5 minutes have elapsed due to total delays. SDKs will make a total of 8 attempts. (1 initial request + 7 retries) + +Default Delay Strategy +Default Delay Strategy - The delay strategy defines the amount of time to wait between each of the retry attempts. + +The default delay strategy chosen for the SDK – Exponential backoff with jitter, using: + +1. The base time to use in retry calculations will be 1 second +2. An exponent of 2. When calculating the next retry time, the SDK will raise this to the power of the number of attempts +3. A maximum wait time between calls of 30 seconds (Capped) +4. Added jitter value between 0-1000 milliseconds to spread out the requests + +Configure and use default retry policy // use SDK's default retry policy defaultRetryPolicy := common.DefaultRetryPolicy() @@ -308,7 +358,8 @@ or setting default retry via environment varaible, which is a global switch for export OCI_SDK_DEFAULT_RETRY_ENABLED=TRUE -Some services enable retry for operations by default, this can be overridden using any alternatives mentioned above. +Some services enable retry for operations by default, this can be overridden using any alternatives mentioned above. To know which service operations have retries enabled by default, +look at the operation's description in the SDK - it will say whether that it has retries enabled by default # Eventual Consistency @@ -359,8 +410,40 @@ of course, it also enables an application to detect whether the fault has been r Go SDK intergrates sony/gobreaker solution, wraps in a circuit breaker object, which monitors for failures. Once the failures reach a certain threshold, the circuit breaker trips, and all further calls to the circuit breaker return with an error, this also saves the service from being overwhelmed with network calls in case of an outage. -Go SDK enable circuit breaker with default configuration, if you don't want to enable the solution, can disable the functionality before your application running -Go SDK also supports customize Circuit Breaker with specified configuratoins. You can find the examples here: https://github.com/oracle/oci-go-sdk/blob/master/example/example_circuitbreaker_test.go +# Circuit Breaker Configuration definitions + +Circuit Breaker Configuration Definitions +1. Failure Rate Threshold - The state of the CircuitBreaker changes from CLOSED to OPEN when the failure rate is equal or greater than a configurable threshold. For example when more than 50% of the recorded calls have failed. +2. Reset Timeout - The timeout after which an open circuit breaker will attempt a request if a request is made +3. Failure Exceptions - The list of Exceptions that will be regarded as failures for the circuit. +4. Minimum number of calls/ Volume threshold - Configures the minimum number of calls which are required (per sliding window period) before the CircuitBreaker can calculate the error rate. + +# Default Circuit Breaker Configuration + +1. Failure Rate Threshold - 80% - This means when 80% of the requests calculated for a time window of 120 seconds have failed then the circuit will transition from closed to open. +2. Minimum number of calls/ Volume threshold - A value of 10, for the above defined time window of 120 seconds. +3. Reset Timeout - 30 seconds to wait before setting the breaker to halfOpen state, and trying the action again. +4. Failure Exceptions - The failures for the circuit will only be recorded for the retryable/transient exceptions. This means only the following exceptions will be regarded as failure for the circuit. + +HTTP Code Customer-facing Error Code + + 409 IncorrectState + 429 Any Response Body + 500 Any Response Body + 502 Any Response Body + 503 Any Response Body + 504 Any Response Body + +Apart from the above, the following client side exceptions will also be treated as a failure for the circuit : + +1. HTTP Connection timeout +2. Request Connection Errors +3. Request Exceptions +4. Other timeouts (like Read Timeout) + +Go SDK enable circuit breaker with default configuration for most of the service clients, if you don't want to enable the solution, can disable the functionality before your application running +Go SDK also supports customize Circuit Breaker with specified configurations. You can find the examples here: https://github.com/oracle/oci-go-sdk/blob/master/example/example_circuitbreaker_test.go +To know which service clients have circuit breakers enabled, look at the service client's description in the SDK - it will say whether that it has circuit breakers enabled by default # Using the SDK with a Proxy Server @@ -385,14 +468,42 @@ In order to modify the underlying Transport struct in HttpClient, you can do som }, } +# Uploading Large Objects + +The Object Storage service supports multipart uploads to make large object uploads easier by splitting the large object into parts. The Go SDK supports raw multipart upload operations for advanced use cases, as well as a higher level upload class that uses the multipart upload APIs. For links to the APIs used for multipart upload operations, see Managing Multipart Uploads (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingmultipartuploads.htm). Higher level multipart uploads are implemented using the UploadManager, which will: split a large object into parts for you, upload the parts in parallel, and then recombine and commit the parts as a single object in storage. + +This code sample shows how to use the UploadManager to automatically split an object into parts for upload to simplify interaction with the Object Storage service: https://github.com/oracle/oci-go-sdk/blob/master/example/example_objectstorage_test.go + # Forward Compatibility Some response fields are enum-typed. In the future, individual services may return values not covered by existing enums for that field. To address this possibility, every enum-type response field is a modeled as a type that supports any string. Thus if a service returns a value that is not recognized by your version of the SDK, then the response field will be set to this value. -When individual services return a polymorphic json response not available as a concrete struct, the SDK will return an implementation that only satisfies -the interface modeling the polymorphic json response. +When individual services return a polymorphic JSON response not available as a concrete struct, the SDK will return an implementation that only satisfies +the interface modeling the polymorphic JSON response. + +# New Region Support + +If you are using a version of the SDK released prior to the announcement of a new region, you may need to use a workaround to reach it, depending on whether the region is in the oraclecloud.com realm. + +A region is a localized geographic area. For more information on regions and how to identify them, see Regions and Availability Domains(https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). + +A realm is a set of regions that share entities. You can identify your realm by looking at the domain name at the end of the network address. For example, the realm for xyz.abc.123.oraclecloud.com is oraclecloud.com. + +oraclecloud.com Realm: For regions in the oraclecloud.com realm, even if common.Region does not contain the new region, the forward compatibility of the SDK can automatically handle it. You can pass new region names just as you would pass ones that are already defined. For more information on passing region names in the configuration, see Configuring (https://github.com/oracle/oci-go-sdk/blob/master/README.md#configuring). For details on common.Region, see (https://github.com/oracle/oci-go-sdk/blob/master/common/common.go). + +Other Realms: For regions in realms other than oraclecloud.com, you can use the following workarounds to reach new regions with earlier versions of the SDK. + +NOTE: Be sure to supply the appropriate endpoints for your region. + +You can overwrite the target host with client.Host: + + client.Host = 'https://identity.us-gov-phoenix-1.oraclegovcloud.com' + +If you are authenticating via instance principals, you can set the authentication endpoint in an environment variable: + + export OCI_SDK_AUTH_CLIENT_REGION_URL="https://identity.us-gov-phoenix-1.oraclegovcloud.com" # Contributions @@ -411,7 +522,6 @@ To be notified when a new version of the Go SDK is released, subscribe to the fo Please refer to this link: https://github.com/oracle/oci-go-sdk#help */ - package oci //go:generate go run cmd/genver/main.go cmd/genver/version_template.go --output common/version.go diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/wercker.yml b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/wercker.yml similarity index 76% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/wercker.yml rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/wercker.yml index 58255f22c6a0..89d45878056e 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/wercker.yml +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/wercker.yml @@ -8,8 +8,9 @@ build: - script: name: golint-prepare code: | - go get github.com/golang/lint/golint - go install github.com/golang/lint/golint + go get golang.org/x/lint/golint + go install golang.org/x/lint/golint + go get -v github.com/stretchr/testify - script: name: symlinking src code diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/get_work_request_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/get_work_request_request_response.go similarity index 91% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/get_work_request_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/get_work_request_request_response.go index dc844e8ce2bc..17b0a2a40fde 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/get_work_request_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/get_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // GetWorkRequestRequest wrapper for the GetWorkRequest operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_request_errors_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_request_errors_request_response.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_request_errors_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_request_errors_request_response.go index 4d898983fcdd..a547220a253f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_request_errors_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_request_errors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. @@ -70,7 +74,7 @@ func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListWorkRequestErrorsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListWorkRequestErrorsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListWorkRequestErrorsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -121,6 +125,11 @@ var mappingListWorkRequestErrorsSortOrderEnum = map[string]ListWorkRequestErrors "DESC": ListWorkRequestErrorsSortOrderDesc, } +var mappingListWorkRequestErrorsSortOrderEnumLowerCase = map[string]ListWorkRequestErrorsSortOrderEnum{ + "asc": ListWorkRequestErrorsSortOrderAsc, + "desc": ListWorkRequestErrorsSortOrderDesc, +} + // GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum { values := make([]ListWorkRequestErrorsSortOrderEnum, 0) @@ -137,3 +146,9 @@ func GetListWorkRequestErrorsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool) { + enum, ok := mappingListWorkRequestErrorsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_request_logs_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_request_logs_request_response.go similarity index 86% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_request_logs_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_request_logs_request_response.go index 2fe7411c933d..01d4ac17ca5b 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_request_logs_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_request_logs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. @@ -70,7 +74,7 @@ func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingListWorkRequestLogsSortOrderEnum[string(request.SortOrder)]; !ok && request.SortOrder != "" { + if _, ok := GetMappingListWorkRequestLogsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListWorkRequestLogsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { @@ -121,6 +125,11 @@ var mappingListWorkRequestLogsSortOrderEnum = map[string]ListWorkRequestLogsSort "DESC": ListWorkRequestLogsSortOrderDesc, } +var mappingListWorkRequestLogsSortOrderEnumLowerCase = map[string]ListWorkRequestLogsSortOrderEnum{ + "asc": ListWorkRequestLogsSortOrderAsc, + "desc": ListWorkRequestLogsSortOrderDesc, +} + // GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum { values := make([]ListWorkRequestLogsSortOrderEnum, 0) @@ -137,3 +146,9 @@ func GetListWorkRequestLogsSortOrderEnumStringValues() []string { "DESC", } } + +// GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool) { + enum, ok := mappingListWorkRequestLogsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_requests_request_response.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_requests_request_response.go similarity index 93% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_requests_request_response.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_requests_request_response.go index 11ab70006685..eaf7b27f781d 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/list_work_requests_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/list_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,12 +6,16 @@ package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "net/http" "strings" ) // ListWorkRequestsRequest wrapper for the ListWorkRequests operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request.go similarity index 81% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request.go index 45bee8fdd788..ce1607f4a334 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request.go @@ -1,21 +1,21 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Work Requests API // -// Many of the API operations that you use to create and configure cloud resources do not take effect +// Many of the API operations that you use to create and configure Compute resources do not take effect // immediately. In these cases, the operation spawns an asynchronous workflow to fulfill the request. // Work requests provide visibility into the status of these in-progress, long-running workflows. // For more information about work requests and the operations that spawn work requests, see -// Work Requests (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/workrequestoverview.htm). +// Viewing the State of a Compute Work Request (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/viewingworkrequestcompute.htm). // package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -62,7 +62,7 @@ func (m WorkRequest) String() string { // Not recommended for calling this function directly func (m WorkRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingWorkRequestStatusEnum[string(m.Status)]; !ok && m.Status != "" { + if _, ok := GetMappingWorkRequestStatusEnum(string(m.Status)); !ok && m.Status != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetWorkRequestStatusEnumStringValues(), ","))) } @@ -94,6 +94,15 @@ var mappingWorkRequestStatusEnum = map[string]WorkRequestStatusEnum{ "CANCELED": WorkRequestStatusCanceled, } +var mappingWorkRequestStatusEnumLowerCase = map[string]WorkRequestStatusEnum{ + "accepted": WorkRequestStatusAccepted, + "in_progress": WorkRequestStatusInProgress, + "failed": WorkRequestStatusFailed, + "succeeded": WorkRequestStatusSucceeded, + "canceling": WorkRequestStatusCanceling, + "canceled": WorkRequestStatusCanceled, +} + // GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum { values := make([]WorkRequestStatusEnum, 0) @@ -114,3 +123,9 @@ func GetWorkRequestStatusEnumStringValues() []string { "CANCELED", } } + +// GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool) { + enum, ok := mappingWorkRequestStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_error.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_error.go similarity index 85% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_error.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_error.go index 646ea3dc181f..e1237754d231 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_error.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_error.go @@ -1,21 +1,21 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Work Requests API // -// Many of the API operations that you use to create and configure cloud resources do not take effect +// Many of the API operations that you use to create and configure Compute resources do not take effect // immediately. In these cases, the operation spawns an asynchronous workflow to fulfill the request. // Work requests provide visibility into the status of these in-progress, long-running workflows. // For more information about work requests and the operations that spawn work requests, see -// Work Requests (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/workrequestoverview.htm). +// Viewing the State of a Compute Work Request (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/viewingworkrequestcompute.htm). // package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_log_entry.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_log_entry.go similarity index 84% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_log_entry.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_log_entry.go index af7b055b4b74..c1b2623ad1f2 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_log_entry.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_log_entry.go @@ -1,21 +1,21 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Work Requests API // -// Many of the API operations that you use to create and configure cloud resources do not take effect +// Many of the API operations that you use to create and configure Compute resources do not take effect // immediately. In these cases, the operation spawns an asynchronous workflow to fulfill the request. // Work requests provide visibility into the status of these in-progress, long-running workflows. // For more information about work requests and the operations that spawn work requests, see -// Work Requests (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/workrequestoverview.htm). +// Viewing the State of a Compute Work Request (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/viewingworkrequestcompute.htm). // package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_resource.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_resource.go similarity index 78% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_resource.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_resource.go index b377cb708d02..5b6d0ddebff1 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_resource.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_resource.go @@ -1,21 +1,21 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Work Requests API // -// Many of the API operations that you use to create and configure cloud resources do not take effect +// Many of the API operations that you use to create and configure Compute resources do not take effect // immediately. In these cases, the operation spawns an asynchronous workflow to fulfill the request. // Work requests provide visibility into the status of these in-progress, long-running workflows. // For more information about work requests and the operations that spawn work requests, see -// Work Requests (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/workrequestoverview.htm). +// Viewing the State of a Compute Work Request (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/viewingworkrequestcompute.htm). // package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -47,7 +47,7 @@ func (m WorkRequestResource) String() string { // Not recommended for calling this function directly func (m WorkRequestResource) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingWorkRequestResourceActionTypeEnum[string(m.ActionType)]; !ok && m.ActionType != "" { + if _, ok := GetMappingWorkRequestResourceActionTypeEnum(string(m.ActionType)); !ok && m.ActionType != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ActionType: %s. Supported values are: %s.", m.ActionType, strings.Join(GetWorkRequestResourceActionTypeEnumStringValues(), ","))) } @@ -67,7 +67,6 @@ const ( WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" - WorkRequestResourceActionTypeFailed WorkRequestResourceActionTypeEnum = "FAILED" ) var mappingWorkRequestResourceActionTypeEnum = map[string]WorkRequestResourceActionTypeEnum{ @@ -76,7 +75,14 @@ var mappingWorkRequestResourceActionTypeEnum = map[string]WorkRequestResourceAct "DELETED": WorkRequestResourceActionTypeDeleted, "RELATED": WorkRequestResourceActionTypeRelated, "IN_PROGRESS": WorkRequestResourceActionTypeInProgress, - "FAILED": WorkRequestResourceActionTypeFailed, +} + +var mappingWorkRequestResourceActionTypeEnumLowerCase = map[string]WorkRequestResourceActionTypeEnum{ + "created": WorkRequestResourceActionTypeCreated, + "updated": WorkRequestResourceActionTypeUpdated, + "deleted": WorkRequestResourceActionTypeDeleted, + "related": WorkRequestResourceActionTypeRelated, + "in_progress": WorkRequestResourceActionTypeInProgress, } // GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum @@ -96,6 +102,11 @@ func GetWorkRequestResourceActionTypeEnumStringValues() []string { "DELETED", "RELATED", "IN_PROGRESS", - "FAILED", } } + +// GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool) { + enum, ok := mappingWorkRequestResourceActionTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_summary.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_summary.go similarity index 80% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_summary.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_summary.go index fcd49bb4444d..754d7b8031dc 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/work_request_summary.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/work_request_summary.go @@ -1,21 +1,21 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Work Requests API // -// Many of the API operations that you use to create and configure cloud resources do not take effect +// Many of the API operations that you use to create and configure Compute resources do not take effect // immediately. In these cases, the operation spawns an asynchronous workflow to fulfill the request. // Work requests provide visibility into the status of these in-progress, long-running workflows. // For more information about work requests and the operations that spawn work requests, see -// Work Requests (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/workrequestoverview.htm). +// Viewing the State of a Compute Work Request (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/viewingworkrequestcompute.htm). // package workrequests import ( "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" "strings" ) @@ -59,7 +59,7 @@ func (m WorkRequestSummary) String() string { // Not recommended for calling this function directly func (m WorkRequestSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := mappingWorkRequestSummaryStatusEnum[string(m.Status)]; !ok && m.Status != "" { + if _, ok := GetMappingWorkRequestSummaryStatusEnum(string(m.Status)); !ok && m.Status != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetWorkRequestSummaryStatusEnumStringValues(), ","))) } @@ -91,6 +91,15 @@ var mappingWorkRequestSummaryStatusEnum = map[string]WorkRequestSummaryStatusEnu "CANCELED": WorkRequestSummaryStatusCanceled, } +var mappingWorkRequestSummaryStatusEnumLowerCase = map[string]WorkRequestSummaryStatusEnum{ + "accepted": WorkRequestSummaryStatusAccepted, + "in_progress": WorkRequestSummaryStatusInProgress, + "failed": WorkRequestSummaryStatusFailed, + "succeeded": WorkRequestSummaryStatusSucceeded, + "canceling": WorkRequestSummaryStatusCanceling, + "canceled": WorkRequestSummaryStatusCanceled, +} + // GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum { values := make([]WorkRequestSummaryStatusEnum, 0) @@ -111,3 +120,9 @@ func GetWorkRequestSummaryStatusEnumStringValues() []string { "CANCELED", } } + +// GetMappingWorkRequestSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingWorkRequestSummaryStatusEnum(val string) (WorkRequestSummaryStatusEnum, bool) { + enum, ok := mappingWorkRequestSummaryStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/workrequests_workrequest_client.go b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/workrequests_workrequest_client.go similarity index 82% rename from cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/workrequests_workrequest_client.go rename to cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/workrequests_workrequest_client.go index f237996bba5c..ad2d432ad69f 100644 --- a/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/workrequests/workrequests_workrequest_client.go +++ b/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/workrequests/workrequests_workrequest_client.go @@ -1,14 +1,14 @@ -// Copyright (c) 2016, 2018, 2022, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Work Requests API // -// Many of the API operations that you use to create and configure cloud resources do not take effect +// Many of the API operations that you use to create and configure Compute resources do not take effect // immediately. In these cases, the operation spawns an asynchronous workflow to fulfill the request. // Work requests provide visibility into the status of these in-progress, long-running workflows. // For more information about work requests and the operations that spawn work requests, see -// Work Requests (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/workrequestoverview.htm). +// Viewing the State of a Compute Work Request (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/viewingworkrequestcompute.htm). // package workrequests @@ -16,8 +16,8 @@ package workrequests import ( "context" "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v55/common/auth" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common/auth" "net/http" ) @@ -56,7 +56,7 @@ func NewWorkRequestClientWithOboToken(configProvider common.ConfigurationProvide func newWorkRequestClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client WorkRequestClient, err error) { // WorkRequest service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSetting()) + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("WorkRequest")) common.ConfigCircuitBreakerFromEnvVar(&baseClient) common.ConfigCircuitBreakerFromGlobalVar(&baseClient) @@ -68,7 +68,7 @@ func newWorkRequestClientFromBaseClient(baseClient common.BaseClient, configProv // SetRegion overrides the region of this client. func (client *WorkRequestClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("iaas", "https://iaas.{region}.{secondLevelDomain}") + client.Host = common.StringToRegion(region).EndpointForTemplate("workrequests", "https://iaas.{region}.{secondLevelDomain}") } // SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid @@ -80,6 +80,9 @@ func (client *WorkRequestClient) setConfigurationProvider(configProvider common. // Error has been checked already region, _ := configProvider.Region() client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } client.config = &configProvider return nil } @@ -90,6 +93,10 @@ func (client *WorkRequestClient) ConfigurationProvider() *common.ConfigurationPr } // GetWorkRequest Gets the details of a work request. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. func (client WorkRequestClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -133,6 +140,8 @@ func (client WorkRequestClient) getWorkRequest(ctx context.Context, request comm defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest" + err = common.PostProcessServiceError(err, "WorkRequest", "GetWorkRequest", apiReferenceLink) return response, err } @@ -141,6 +150,10 @@ func (client WorkRequestClient) getWorkRequest(ctx context.Context, request comm } // ListWorkRequestErrors Gets the errors for a work request. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. func (client WorkRequestClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -184,6 +197,8 @@ func (client WorkRequestClient) listWorkRequestErrors(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestError/ListWorkRequestErrors" + err = common.PostProcessServiceError(err, "WorkRequest", "ListWorkRequestErrors", apiReferenceLink) return response, err } @@ -192,6 +207,10 @@ func (client WorkRequestClient) listWorkRequestErrors(ctx context.Context, reque } // ListWorkRequestLogs Gets the logs for a work request. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. func (client WorkRequestClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -235,6 +254,8 @@ func (client WorkRequestClient) listWorkRequestLogs(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestLogEntry/ListWorkRequestLogs" + err = common.PostProcessServiceError(err, "WorkRequest", "ListWorkRequestLogs", apiReferenceLink) return response, err } @@ -243,6 +264,10 @@ func (client WorkRequestClient) listWorkRequestLogs(ctx context.Context, request } // ListWorkRequests Lists the work requests in a compartment or for a specified resource. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/workrequests/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. func (client WorkRequestClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -286,6 +311,8 @@ func (client WorkRequestClient) listWorkRequests(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestSummary/ListWorkRequests" + err = common.PostProcessServiceError(err, "WorkRequest", "ListWorkRequests", apiReferenceLink) return response, err }